Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 1,081 for keys (0.11 sec)

  1. guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

        CacheLoader<Integer, String> recursiveLoader =
            new CacheLoader<Integer, String>() {
              @Override
              public String load(Integer key) {
                if (key > 0) {
                  return key + ", " + cacheRef.get().getUnchecked(key - 1);
                } else {
                  return "0";
                }
              }
            };
    
        LoadingCache<Integer, String> recursiveCache =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  2. cmd/utils_test.go

    	}
    }
    
    // Test queries()
    func TestQueries(t *testing.T) {
    	testCases := []struct {
    		keys      []string
    		keyvalues []string
    	}{
    		{
    			[]string{"aaaa", "bbbb"},
    			[]string{"aaaa", "{aaaa:.*}", "bbbb", "{bbbb:.*}"},
    		},
    	}
    
    	for i, test := range testCases {
    		keyvalues := restQueries(test.keys...)
    		for j := range keyvalues {
    			if keyvalues[j] != test.keyvalues[j] {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Feb 23 21:28:14 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/LinkedListMultimapTest.java

        map.put("foo", 2);
        map.put("bar", 3);
        map.put("bar", 4);
        assertEquals("[bar=1, foo=2, bar=3, bar=4]", map.entries().toString());
        assertThat(map.keys()).containsExactly("bar", "foo", "bar", "bar").inOrder();
        map.keys().remove("bar"); // bar is no longer the first key!
        assertEquals("{foo=[2], bar=[3, 4]}", map.toString());
      }
    
      public void testLinkedValues() {
        Multimap<String, Integer> map = create();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java

        ImmutableBiMap<String, Integer> bimap =
            ImmutableBiMap.copyOf(ImmutableMap.of("one", 1, "two", 2, "three", 3, "four", 4));
        Set<String> keys = bimap.keySet();
        assertEquals(newHashSet("one", "two", "three", "four"), keys);
        assertThat(keys).containsExactly("one", "two", "three", "four").inOrder();
      }
    
      public void testValues() {
        ImmutableBiMap<String, Integer> bimap =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/graph/AbstractUndirectedNetworkConnections.java

     * @param <N> Node parameter type
     * @param <E> Edge parameter type
     */
    @ElementTypesAreNonnullByDefault
    abstract class AbstractUndirectedNetworkConnections<N, E> implements NetworkConnections<N, E> {
      /** Keys are edges incident to the origin node, values are the node at the other end. */
      final Map<E, N> incidentEdgeMap;
    
      AbstractUndirectedNetworkConnections(Map<E, N> incidentEdgeMap) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 2.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/CompactHashing.java

        return (prefix & ~mask) | (suffix & mask);
      }
    
      static int remove(
          @CheckForNull Object key,
          @CheckForNull Object value,
          int mask,
          Object table,
          int[] entries,
          @Nullable Object[] keys,
          @CheckForNull @Nullable Object[] values) {
        int hash = Hashing.smearedHash(key);
        int tableIndex = hash & mask;
        int next = tableGet(table, tableIndex);
        if (next == UNSET) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 15:34:52 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/misc/DynamicProperties.java

        @Override
        public Object get(final Object key) {
            return getProperties().get(key);
        }
    
        @Override
        public String getProperty(final String key, final String defaultValue) {
            return getProperties().getProperty(key, defaultValue);
        }
    
        @Override
        public String getProperty(final String key) {
            return getProperties().getProperty(key);
        }
    
        @Override
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/core/v1/generated.proto

    // the triple <key,value,effect> using the matching operator <operator>.
    message Toleration {
      // Key is the taint key that the toleration applies to. Empty means match all taint keys.
      // If the key is empty, operator must be Exists; this combination means to match all values and all keys.
      // +optional
      optional string key = 1;
    
      // Operator represents a key's relationship to the value.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 255.8K bytes
    - Viewed (0)
  9. cmd/encryption-v1.go

    			return input, nil
    		}
    		var key []byte
    		if k, err := crypto.SSEC.ParseHTTP(h); err == nil {
    			key = k[:]
    		}
    		key, err := decryptObjectMeta(key, o.Bucket, o.Name, o.UserDefined)
    		if err != nil {
    			return nil, err
    		}
    		mac := hmac.New(sha256.New, key)
    		mac.Write([]byte(baseKey))
    		return sio.DecryptBuffer(nil, input, sio.Config{Key: mac.Sum(nil), CipherSuites: fips.DARECiphers()})
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Oct 13 13:06:08 UTC 2024
    - 37.2K bytes
    - Viewed (0)
  10. internal/config/callhome/callhome.go

    	"github.com/minio/minio/internal/config"
    	"github.com/minio/pkg/v3/env"
    )
    
    // Callhome related keys
    const (
    	Enable    = "enable"
    	Frequency = "frequency"
    )
    
    // DefaultKVS - default KV config for subnet settings
    var DefaultKVS = config.KVS{
    	config.KV{
    		Key:   Enable,
    		Value: "off",
    	},
    	config.KV{
    		Key:   Frequency,
    		Value: "24h",
    	},
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top