- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 596 for hash2 (0.02 sec)
-
src/test/java/jcifs/smb/PreauthIntegrityTest.java
// Verify hash is not null byte[] hash = transport.getPreauthIntegrityHash(); assertNotNull(hash); // Verify hash is a copy, not the original byte[] hash2 = transport.getPreauthIntegrityHash(); assertNotSame(hash, hash2); assertArrayEquals(hash, hash2); } /** * Test that pre-auth hash is reset on error */ @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 10.5K bytes - Viewed (0) -
guava/src/com/google/common/hash/BloomFilterStrategies.java
long hash1 = lowerEight(bytes); long hash2 = upperEight(bytes); boolean bitsChanged = false; long combinedHash = hash1; for (int i = 0; i < numHashFunctions; i++) { // Make the combined hash positive and indexable bitsChanged |= bits.set((combinedHash & Long.MAX_VALUE) % bitSize); combinedHash += hash2; } return bitsChanged; }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Jan 08 14:27:16 UTC 2025 - 10.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/HashTestUtils.java
int key2 = key1 ^ (1 << i); // get hashes int hash1 = function.hashInt(key1).asInt(); int hash2 = function.hashInt(key2).asInt(); // test whether the hash values have same output bits same |= ~(hash1 ^ hash2); // test whether the hash values have different output bits diff |= hash1 ^ hash2; count++;Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:19:59 UTC 2025 - 25.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashTestUtils.java
int key2 = key1 ^ (1 << i); // get hashes int hash1 = function.hashInt(key1).asInt(); int hash2 = function.hashInt(key2).asInt(); // test whether the hash values have same output bits same |= ~(hash1 ^ hash2); // test whether the hash values have different output bits diff |= hash1 ^ hash2; count++;Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:19:59 UTC 2025 - 25.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmUtilTest.java
// Act byte[] hash1 = NtlmUtil.getNTHash(password1); byte[] hash2 = NtlmUtil.getNTHash(password2); // Assert assertFalse(Arrays.equals(hash1, hash2), "Different passwords should produce different hashes"); assertEquals(16, hash1.length, "NT hash should be 16 bytes"); assertEquals(16, hash2.length, "NT hash should be 16 bytes"); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12K bytes - Viewed (1) -
src/test/java/jcifs/util/CryptoTest.java
@DisplayName("Should calculate MD4 hash correctly") void testMD4Hash() { // Given String input = "Hello World"; byte[] data = input.getBytes(); // When MessageDigest md4 = Crypto.getMD4(); byte[] hash = md4.digest(data); // Then assertNotNull(hash); assertEquals(16, hash.length); // MD4 produces 128-bit hash } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportImplTest.java
byte[] hash1 = transport.calculatePreauthHash(input, 0, input.length, null); assertNotNull(hash1); assertEquals(64, hash1.length, "SHA-512 size"); byte[] hash2 = transport.calculatePreauthHash(new byte[] { 50 }, 0, 1, hash1); assertNotNull(hash2); assertEquals(64, hash2.length);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameTest.java
} @Test void hashCode_shouldBeConsistent() { Name name = new Name(mockConfig, "TEST", 0x20, "scope"); int hash1 = name.hashCode(); int hash2 = name.hashCode(); assertEquals(hash1, hash2); } @Test void hashCode_withSameValues_shouldBeEqual() { Name name1 = new Name(mockConfig, "TEST", 0x20, "scope");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0) -
src/archive/zip/zip_test.go
} if !bytes.Equal(buf, all[i:i+j]) { t.Errorf("ReadAt(%d, %d) = %q; want %q", i, j, buf, all[i:i+j]) } } } } // fakeHash32 is a dummy Hash32 that always returns 0. type fakeHash32 struct { hash.Hash32 } func (fakeHash32) Write(p []byte) (int, error) { return len(p), nil } func (fakeHash32) Sum32() uint32 { return 0 } func TestZip64(t *testing.T) {
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 19.6K bytes - Viewed (0) -
requirements_lock_3_10.txt
--hash=sha256:0af291f4fe114be0280cdd29d533696a77b5b49cfde5467176ecab32353395c4 \ --hash=sha256:0f55e69f030f7163dffe9fd0752b32f070566451afe180f99dbeeb81f511ad8d \ --hash=sha256:1a2bc9f351a75ef49d664206d51f8e5ede9da246602dc2d2726837620ea034b2 \ --hash=sha256:22e14b5d70560b8dd51ec22863f370d1e595ac3d024cb8ad7d308b4cd95f8313 \ --hash=sha256:234ac59ea147c59ee4da87a0c0f098e9c8d169f4dc2a159ef720f1a61bbe27cd \Registered: Tue Dec 30 12:39:10 UTC 2025 - Last Modified: Mon Dec 08 17:43:36 UTC 2025 - 67.7K bytes - Viewed (0)