MCPcopy Create free account
hub / github.com/apache/kudu / equals

Method equals

java/kudu-client/src/main/java/org/apache/kudu/client/Bytes.java:1097–1099  ·  view source on GitHub ↗

Tests whether two byte arrays have the same contents. @param a First non-null byte array to compare. @param b Second non-null byte array to compare. @return true if the two arrays are identical, false otherwise.

(final byte[] a, final byte[] b)

Source from the content-addressed store, hash-verified

1095 * {@code false} otherwise.
1096 */
1097 public static boolean equals(final byte[] a, final byte[] b) {
1098 return memcmp(a, b) == 0;
1099 }
1100
1101 /**
1102 * {@code memcmp(3)} in Java for possibly {@code null} arrays, hooray.

Callers 15

assertBytesEqualsMethod · 0.95
deserializeMethod · 0.95
verifyChannelBindingsMethod · 0.95
inSameLocationMethod · 0.45
AsyncKuduClientMethod · 0.45
getOneOfRoleOrNullMethod · 0.45
checkColumnMethod · 0.45
incrementColumnMethod · 0.45
isCellEqualMethod · 0.45
isCellIncrementedMethod · 0.45
RangePartitionMethod · 0.45
setRowMethod · 0.45

Calls 1

memcmpMethod · 0.95

Tested by 1

assertBytesEqualsMethod · 0.76