Home
last modified time | relevance | path

Searched refs:abs_cmp (Results 1 – 1 of 1) sorted by relevance

/external/protobuf/python/google/protobuf/internal/
Dmessage_test.py453 abs_cmp = lambda a, b: cmp(abs(a), abs(b)) function
454 message.repeated_int32.sort(sort_function=abs_cmp)
456 message.repeated_int32.sort(cmp=abs_cmp, reverse=True)