MCPcopy Index your code
hub / github.com/nodejs/node / cmp

Method cmp

deps/v8/tools/testrunner/objects/testcase.py:557–558  ·  view source on GitHub ↗
(x, y)

Source from the content-addressed store, hash-verified

555 # Make sure that test cases are sorted correctly if sorted without
556 # key function. But using a key function is preferred for speed.
557 def cmp(x, y):
558 return (x > y) - (x < y)
559 return cmp(
560 (self.suite.name, self.name, self.variant),
561 (other.suite.name, other.name, other.variant)

Callers 3

closeMethod · 0.80
WriteMethod · 0.80
build_and_checkFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected