Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,308 for key7 (0.03 sec)

  1. src/test/java/jcifs/util/SecureKeyManagerTest.java

        public void testGenerateRandomKey() {
            byte[] key1 = keyManager.generateRandomKey(32);
            byte[] key2 = keyManager.generateRandomKey(32);
    
            assertNotNull(key1, "Should generate key 1");
            assertNotNull(key2, "Should generate key 2");
            assertEquals(32, key1.length, "Key 1 should have correct length");
            assertEquals(32, key2.length, "Key 2 should have correct length");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/hash/HashTestUtils.java

          while (same != 0xffffffff || diff != 0xffffffff) {
            int key1 = rand.nextInt();
            // flip input bit for key2
            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);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/suggest/settings/SuggestSettingsBuilderTest.java

            assertEquals(100, builder.initialSettings.get("key2"));
            assertEquals(true, builder.initialSettings.get("key3"));
    
            // Test overwriting existing setting
            builder.addInitialSettings("key1", "newValue1");
            assertEquals(3, builder.initialSettings.size());
            assertEquals("newValue1", builder.initialSettings.get("key1"));
        }
    
        @Test
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java

                Smb2LeaseKey key3 = limitedManager.requestLease("/share/file3.txt", Smb2LeaseState.SMB2_LEASE_READ_CACHING);
    
                // key3 should definitely exist (just created)
                assertNotNull(limitedManager.getLease(key3));
    
                // key1 should have been evicted (oldest)
                assertNull(limitedManager.getLease(key1));
    
                // key2 should still exist (not the oldest)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/pac/kerberos/KerberosCredentialsTest.java

                KerberosKey[] keys = credentials.getKeys();
                assertEquals(0, keys.length);
            }
        }
    
        /**
         * Test getKey method when the requested key type exists.
         *
         * @throws LoginException if login fails.
         */
        @Test
        void testGetKey_KeyExists() throws LoginException {
            when(key1.getKeyType()).thenReturn(KEY_TYPE_1);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/Striped.java

     * i.e. {@code if (key1.equals(key2))} then {@code striped.get(key1) == striped.get(key2)} (assuming
     * {@link Object#hashCode()} is correctly implemented for the keys). Note that if {@code key1} is
     * <strong>not</strong> equal to {@code key2}, it is <strong>not</strong> guaranteed that {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/LinkedListMultimap.java

     * {@link #entries()}. Unlike {@link LinkedHashMultimap}, the iteration order is kept consistent
     * between keys, entries and values. For example, calling:
     *
     * {@snippet :
     * multimap.remove(key1, foo);
     * }
     *
     * <p>changes the entries iteration order to {@code [key2=bar, key1=baz]} and the key iteration
     * order to {@code [key2, key1]}. The {@link #entries()} iterator returns mutable map entries, and
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  8. .github/workflows/root.key

    Harshavardhana <******@****.***> 1620513629 -0700
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sat May 08 22:40:29 UTC 2021
    - 119 bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/util/HMACT64Test.java

        }
    
        @Test
        void testDifferentKeysProduceDifferentResults() {
            // Test that different keys produce different results
            byte[] key1 = "key1".getBytes();
            byte[] key2 = "key2".getBytes();
    
            HMACT64 hmac1 = new HMACT64(key1);
            HMACT64 hmac2 = new HMACT64(key2);
    
            hmac1.engineUpdate(TEST_DATA, 0, TEST_DATA.length);
            hmac2.engineUpdate(TEST_DATA, 0, TEST_DATA.length);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

            Smb2EncryptionContext context2 =
                    new Smb2EncryptionContext(EncryptionNegotiateContext.CIPHER_AES128_GCM, DialectVersion.SMB311, key2, key2);
    
            // When - Wipe keys from context1
            context1.secureWipeKeys();
    
            // Then - Context2 should still be functional
            assertDoesNotThrow(() -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
Back to top