Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for key1 (0.15 sec)

  1. 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
                  }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 112.3K bytes
    - Viewed (0)
  2. 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
                  }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 110.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Maps.java

          Iterable<K> keys, Function<? super K, V> valueFunction) {
        return toMap(keys.iterator(), valueFunction);
      }
    
      /**
       * Returns an immutable map whose keys are the distinct elements of {@code keys} and whose value
       * for each key was computed by {@code valueFunction}. The map's iteration order is the order of
       * the first appearance of each key in {@code keys}.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/cache/LocalCache.java

        return (result != null) ? result : defaultValue;
      }
    
      V getOrLoad(K key) throws ExecutionException {
        return get(key, defaultLoader);
      }
    
      ImmutableMap<K, V> getAllPresent(Iterable<?> keys) {
        int hits = 0;
        int misses = 0;
    
        ImmutableMap.Builder<K, V> result = ImmutableMap.builder();
        for (Object key : keys) {
          V value = get(key);
          if (value == null) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 144.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/LocalCache.java

        return (result != null) ? result : defaultValue;
      }
    
      V getOrLoad(K key) throws ExecutionException {
        return get(key, defaultLoader);
      }
    
      ImmutableMap<K, V> getAllPresent(Iterable<?> keys) {
        int hits = 0;
        int misses = 0;
    
        ImmutableMap.Builder<K, V> result = ImmutableMap.builder();
        for (Object key : keys) {
          V value = get(key);
          if (value == null) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  6. cmd/server_test.go

    		{getListObjectsV1URL(s.endPoint, bucketName, "", "1000", "url"), []string{"<Key>foo+bar+1</Key>", "<Key>foo+bar+2</Key>", "<Key>foo+%01+bar</Key>"}},
    		{
    			getListObjectsV2URL(s.endPoint, bucketName, "", "1000", "", ""),
    			[]string{
    				"<Key>foo bar 1</Key>",
    				"<Key>foo bar 2</Key>",
    				"<Key>foo &#x1; bar</Key>",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  7. cmd/object-handlers.go

    // while reading the object from another source.
    // Notice: The S3 client can send secret keys in headers for encryption related jobs,
    // the handler should ensure to remove these keys before sending them to the object layer.
    // Currently these keys are:
    //   - X-Amz-Server-Side-Encryption-Customer-Key
    //   - X-Amz-Copy-Source-Server-Side-Encryption-Customer-Key
    func (api objectAPIHandlers) CopyObjectHandler(w http.ResponseWriter, r *http.Request) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/mylasta/action/FessLabels.java

        /** The key of the message: Data Store */
        public static final String LABELS_menu_data_store = "{labels.menu_data_store}";
    
        /** The key of the message: Label */
        public static final String LABELS_menu_label_type = "{labels.menu_label_type}";
    
        /** The key of the message: Key Match */
        public static final String LABELS_menu_key_match = "{labels.menu_key_match}";
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Fri Mar 22 11:58:34 GMT 2024
    - 146.4K bytes
    - Viewed (0)
  9. cmd/bucket-replication.go

    }
    
    type caseInsensitiveMap map[string]string
    
    // Lookup map entry case insensitively.
    func (m caseInsensitiveMap) Lookup(key string) (string, bool) {
    	if len(m) == 0 {
    		return "", false
    	}
    	for _, k := range []string{
    		key,
    		strings.ToLower(key),
    		http.CanonicalHeaderKey(key),
    	} {
    		v, ok := m[k]
    		if ok {
    			return v, ok
    		}
    	}
    	return "", false
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  10. istioctl/pkg/authz/testdata/configdump.yaml

                   "metadata": {
                    "kind": {
                     "request": {}
                    },
                    "metadata_key": {
                     "key": "envoy.filters.http.rbac",
                     "path": [
                      {
                       "key": "istio_dry_run_allow_shadow_effective_policy_id"
                      }
                     ]
                    }
                   }
                  },
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Jun 21 14:20:23 GMT 2023
    - 206.7K bytes
    - Viewed (2)
Back to top