Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,308 for key2 (0.15 sec)

  1. src/archive/tar/reader_test.go

    		{"3 somelongkey=\n", nil, false},
    		{"50 tooshort=\n", nil, false},
    		{"13 key1=haha\n13 key2=nana\n13 key3=kaka\n",
    			map[string]string{"key1": "haha", "key2": "nana", "key3": "kaka"}, true},
    		{"13 key1=val1\n13 key2=val2\n8 key1=\n",
    			map[string]string{"key1": "", "key2": "val2"}, true},
    		{"22 GNU.sparse.size=10\n26 GNU.sparse.numblocks=2\n" +
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Oct 03 15:48:09 UTC 2024
    - 46.9K bytes
    - Viewed (0)
  2. 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)
  3. docs/smb3-features/01-smb3-lease-design.md

    public class LeaseTest {
        
        @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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 22K bytes
    - Viewed (0)
  4. 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java

            // Test initial null map
            crawlingInfoHelper.putToInfoMap("key1", "value1");
            assertNotNull(crawlingInfoHelper.infoMap);
    
            // Test adding multiple entries
            crawlingInfoHelper.putToInfoMap("key2", "value2");
            crawlingInfoHelper.putToInfoMap("key3", "value3");
    
            assertEquals("value1", crawlingInfoHelper.infoMap.get("key1"));
            assertEquals("value2", crawlingInfoHelper.infoMap.get("key2"));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Joiner.java

       *
       * <ul>
       *   <li>To output a separate entry for each key-value pair, pass {@code multimap.entries()} to a
       *       {@code MapJoiner} method that accepts entries as input, and receive output of the form
       *       {@code key1=A&key1=B&key2=C}.
       *   <li>To output a single entry for each key, pass {@code multimap.asMap()} to a {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/curl/CurlRequestTest.java

            CurlRequest result = request.param("key1", "value1").param("key2", "value2");
    
            assertSame(request, result); // Fluent API
        }
    
        @Test
        public void testParamWithNullValue() {
            CurlRequest request = new CurlRequest(Method.GET, "https://example.com");
    
            CurlRequest result = request.param("key", null);
    
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/Joiner.java

       *
       * <ul>
       *   <li>To output a separate entry for each key-value pair, pass {@code multimap.entries()} to a
       *       {@code MapJoiner} method that accepts entries as input, and receive output of the form
       *       {@code key1=A&key1=B&key2=C}.
       *   <li>To output a single entry for each key, pass {@code multimap.asMap()} to a {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 15:16:19 UTC 2025
    - 21K bytes
    - Viewed (0)
  9. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        String key1 = "key1";
        String key2 = "key2";
    
        assertEquals(
            key2,
            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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 110.5K bytes
    - Viewed (0)
Back to top