Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 1,308 for key2 (0.01 sec)

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

            ImmutableSetMultimap.builderWithExpectedKeys(0);
        builder.put("key", "value");
        assertThat(builder.build().entries()).containsExactly(Maps.immutableEntry("key", "value"));
      }
    
      public void testBuilderWithExpectedKeysPositive() {
        ImmutableSetMultimap.Builder<String, String> builder =
            ImmutableSetMultimap.builderWithExpectedKeys(1);
        builder.put("key", "value");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 28.7K bytes
    - Viewed (0)
  2. cmd/test-utils_test.go

    func StartTestTLSServer(t TestErrHandler, instanceType string, cert, key []byte) TestServer {
    	// Fetch TLS key and pem files from test-data/ directory.
    	//	dir, _ := os.Getwd()
    	//	testDataDir := filepath.Join(filepath.Dir(dir), "test-data")
    	//
    	//	pemFile := filepath.Join(testDataDir, "server.pem")
    	//	keyFile := filepath.Join(testDataDir, "server.key")
    	cer, err := tls.X509KeyPair(cert, key)
    	if err != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 77K bytes
    - Viewed (0)
  3. prepare_stmt.go

    	}
    
    	return nil, ErrInvalidDB
    }
    
    // Close closes all prepared statements in the store
    func (db *PreparedStmtDB) Close() {
    	db.Mux.Lock()
    	defer db.Mux.Unlock()
    
    	for _, key := range db.Stmts.Keys() {
    		db.Stmts.Delete(key)
    	}
    }
    
    // Reset Deprecated use Close instead
    func (db *PreparedStmtDB) Reset() {
    	db.Close()
    }
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Apr 25 08:22:26 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/lease/LeaseManager.java

            if (entry != null) {
                entry.updateState(grantedState);
                log.debug("Updated lease {} to state: 0x{}", key, Integer.toHexString(grantedState));
            } else {
                log.warn("Attempted to update non-existent lease: {}", key);
            }
        }
    
        /**
         * Get lease entry by key
         *
         * @param key lease key
         * @return lease entry or null if not found
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  5. cmd/handler-utils_test.go

    			},
    			shouldFail: false,
    		},
    		// Fail if header key is not in canonicalized form
    		{
    			header: http.Header{
    				"x-amz-meta-appid": []string{"amz-meta"},
    			},
    			metadata: map[string]string{
    				"x-amz-meta-appid": "amz-meta",
    			},
    			shouldFail: false,
    		},
    		// Support multiple values
    		{
    			header: http.Header{
    				"x-amz-meta-key": []string{"amz-meta1", "amz-meta2"},
    			},
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java

        @Override
        public Collection<UnhashableObject> create(UnhashableObject[] elements) {
          ImmutableMap.Builder<Integer, UnhashableObject> builder = ImmutableMap.builder();
          int key = 1;
          for (UnhashableObject value : elements) {
            builder.put(key++, value);
          }
          return builder.buildOrThrow().values();
        }
      }
    
      public static class ImmutableMapKeyListGenerator extends TestStringListGenerator {
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/RelatedContentHelperTest.java

            String key = relatedContentHelper.getHostKey(entity);
            assertEquals("", key);
        }
    
        public void test_getHostKey_withVirtualHost() {
            RelatedContent entity = createRelatedContent("term", "content", "example.com");
            String key = relatedContentHelper.getHostKey(entity);
            assertEquals("example.com", key);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  8. samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt

     *
     * See https://stackoverflow.com/questions/61929216/how-to-log-tlsv1-3-keys-in-jsse-for-wireshark-to-decode-traffic
     *
     * Steps to run in your own code
     *
     * 1. In your main method `WireSharkListenerFactory.register()`
     * 2. Create Listener factory `val eventListenerFactory = WireSharkListenerFactory(
    logFile = File("/tmp/key.log"), tlsVersions = tlsVersions, launch = launch)`
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat May 10 11:15:14 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableTable.java

          }
          return this;
        }
    
        /**
         * Associates all of the given table's keys and values in the built table. Duplicate row key
         * column key pairs are not allowed, and will cause {@link #build} to fail.
         *
         * @throws NullPointerException if any key or value in {@code table} is null
         */
        @CanIgnoreReturnValue
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java

        }
        assertEquals(10, removalListener.getCount());
      }
    
      private static void getAll(LoadingCache<Integer, Integer> cache, List<Integer> keys) {
        for (int i : keys) {
          cache.getUnchecked(i);
        }
      }
    
      private static class WatchedCreatorLoader extends CacheLoader<String, Integer> {
        boolean wasCalled = false; // must be set in load()
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 18.7K bytes
    - Viewed (0)
Back to top