MCPcopy Create free account
hub / github.com/Meituan-Dianping/SQLAdvisor / Compare

Function Compare

extra/yassl/taocrypt/src/integer.cpp:469–478  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

467
468
469static int Compare(const word *A, const word *B, unsigned int N)
470{
471 while (N--)
472 if (A[N] > B[N])
473 return 1;
474 else if (A[N] < B[N])
475 return -1;
476
477 return 0;
478}
479
480static word Increment(word *A, unsigned int N, word B=1)
481{

Callers 2

AS2Function · 0.85
AddMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected