Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 45 for key_2 (0.08 sec)

  1. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

        String key1 = "QED";
        String key2 = "R&D";
        assertThat(key1.hashCode()).isEqualTo(key2.hashCode());
        ImmutableMap<String, Integer> map =
            ImmutableMap.<String, Integer>builder()
                .put(key1, 1)
                .put(key2, 2)
                .put(key1, 3)
                .put(key2, 4)
                .buildKeepingLast();
        assertMapEquals(map, key1, 3, key2, 4);
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 36.7K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/crypto/CachedCipherTest.java

        public void testDifferentKeys() {
            final CachedCipher cipher1 = new CachedCipher();
            cipher1.setKey("key1");
    
            final CachedCipher cipher2 = new CachedCipher();
            cipher2.setKey("key2");
    
            final String original = "Hello World";
            final String encrypted1 = cipher1.encryptText(original);
            final String encrypted2 = cipher2.encryptText(original);
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  3. cmd/sftp-server.go

    		if len(attribValue) != 1 {
    			continue
    		}
    
    		if attribKey == "sshPublicKey" && key != nil {
    			key2, _, _, _, err := ssh.ParseAuthorizedKey([]byte(attribValue[0]))
    			if err != nil {
    				return nil, errSFTPPublicKeyBadFormat
    			}
    
    			if subtle.ConstantTimeCompare(key2.Marshal(), key.Marshal()) != 1 {
    				return nil, errAuthentication
    			}
    		}
    		// Save each attribute to claims.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

        void testKeyIsolationBetweenInstances() {
            // Given
            byte[] key1 = new byte[16];
            byte[] key2 = new byte[16];
            new SecureRandom().nextBytes(key1);
            new SecureRandom().nextBytes(key2);
    
            Smb2EncryptionContext context1 =
                    new Smb2EncryptionContext(EncryptionNegotiateContext.CIPHER_AES128_GCM, DialectVersion.SMB311, key1, key1);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  5. docs/smb3-features/01-smb3-lease-design.md

        
        @Test
        public void testLeaseKeyGeneration() {
            Smb2LeaseKey key1 = new Smb2LeaseKey();
            Smb2LeaseKey key2 = new Smb2LeaseKey();
            
            assertNotNull(key1.getKey());
            assertEquals(16, key1.getKey().length);
            assertFalse(Arrays.equals(key1.getKey(), key2.getKey()));
        }
        
        @Test
        public void testLeaseStateFlags() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 22K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Joiner.java

       *       {@code key1=A&key1=B&key2=C}.
       *   <li>To output a single entry for each key, pass {@code multimap.asMap()} to a {@code
       *       MapJoiner} method that accepts a map as input, and receive output of the form {@code
       *       key1=[A, B]&key2=C}.
       * </ul>
       *
       * @since 2.0
       */
      public static final class MapJoiner {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 15:16:19 UTC 2025
    - 21K bytes
    - Viewed (0)
  7. src/test/java/jcifs/audit/SecurityAuditLoggerTest.java

        }
    
        @Test
        @DisplayName("Test log event")
        void testLogEvent() {
            Map<String, Object> context = new HashMap<>();
            context.put("key1", "value1");
            context.put("key2", "value2");
    
            logger.logEvent(EventType.CONFIGURATION_CHANGE, Severity.INFO, "Configuration changed", context);
    
            Map<EventType, Long> stats = logger.getStatistics();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HpackTest.kt

          'r'.code,
        )
      }
    
      @Test
      fun dynamicTableEvictionWhenSizeLowered() {
        val headerBlock =
          headerEntries(
            "custom-key1",
            "custom-header",
            "custom-key2",
            "custom-header",
          )
        hpackWriter!!.writeHeaders(headerBlock)
        assertThat(hpackWriter!!.headerCount).isEqualTo(2)
        hpackWriter!!.resizeHeaderTable(56)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 38.6K bytes
    - Viewed (0)
  9. docs/security/README.md

                       |          |                        |          |
                   +---+---+      |                    +---+---+      |
                   | KEK_1 |      |                    | KEK_2 |      |
                   +---+---+      |                    +---+---+      |
                       |          |                        |          |
                       |          |                        |          |
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Feb 26 09:25:50 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        String key1 = "key1";
        String key2 = "key2";
    
        assertThat(
                cache.get(
                    key1,
                    new CacheLoader<String, String>() {
                      @Override
                      public String load(String key) throws Exception {
                        return cache.get(key2, identityLoader()); // loads a different key, should work
                      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 12 00:25:21 UTC 2025
    - 117.5K bytes
    - Viewed (0)
Back to top