Searched refs:bytes2 (Results 1 – 4 of 4) sorted by relevance
64 public float getDistance(byte bytes1[], byte bytes2[]) { in getDistance() argument67 if (bytes1.length > bytes2.length) { in getDistance()69 array1 = bytes2; in getDistance()71 array2 = bytes2; in getDistance()161 if (bytes1[i] != bytes2[i]) { in getDistance()
417 final byte[] bytes2 = StringUtils.hexStringToByteArray(bytesStr); in testHexStringUtils()419 assertTrue(bytes[i] == bytes2[i]); in testHexStringUtils()421 final String bytesStr2 = StringUtils.byteArrayToHexString(bytes2); in testHexStringUtils()
369 final byte[] bytes2 = new TestDnsRecordByteArrayBuilder() in testDnsSvcbRecord_invalidDnsRecord()373 assertThrows(BufferUnderflowException.class, () -> makeDnsSvcbRecordFromByteArray(bytes2)); in testDnsSvcbRecord_invalidDnsRecord()
259 byte[] bytes2 = new byte[] {4, 5, 6}; in testConcatByteArrays()262 assertThat(CarServiceUtils.concatByteArrays(bytes1, bytes2)).asList() in testConcatByteArrays()