Search Options

Results per page
Sort
Preferred Languages
Advance

Results 521 - 530 of 1,656 for Key (0.06 sec)

  1. guava/src/com/google/common/collect/TreeBasedTable.java

          }
        }
    
        @Override
        public boolean containsKey(@CheckForNull Object key) {
          return rangeContains(key) && super.containsKey(key);
        }
    
        @Override
        @CheckForNull
        public V put(C key, V value) {
          checkArgument(rangeContains(checkNotNull(key)));
          return super.put(key, value);
        }
      }
    
      // rowKeySet() and rowMap() are defined here so they appear in the Javadoc.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  2. cmd/erasure-sets_test.go

    func BenchmarkCrcHash(b *testing.B) {
    	cases := []struct {
    		key int
    	}{
    		{16},
    		{64},
    		{128},
    		{256},
    		{512},
    		{1024},
    	}
    	for _, testCase := range cases {
    		testCase := testCase
    		key := randString(testCase.key)
    		b.Run("", func(b *testing.B) {
    			b.SetBytes(1024)
    			b.ReportAllocs()
    			b.ResetTimer()
    			for i := 0; i < b.N; i++ {
    				crcHashMod(key, 16)
    			}
    		})
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Feb 12 07:21:56 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. docs/debugging/hash-set/main.go

    	sum64 := siphash.Hash(k0, k1, []byte(key))
    	return int(sum64 % uint64(cardinality))
    }
    
    // hashOrder - hashes input key to return consistent
    // hashed integer slice. Returned integer order is salted
    // with an input key. This results in consistent order.
    // NOTE: collisions are fine, we are not looking for uniqueness
    // in the slices returned.
    func hashOrder(key string, cardinality int) []int {
    	if cardinality <= 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  4. internal/config/certs_test.go

    	t.Cleanup(func() {
    		os.Unsetenv(EnvCertPassword)
    	})
    	for i, testCase := range loadX509KeyPairTests {
    		privateKey, err := createTempFile("private.key", testCase.privateKey)
    		if err != nil {
    			t.Fatalf("Test %d: failed to create tmp private key file: %v", i, err)
    		}
    		certificate, err := createTempFile("public.crt", testCase.certificate)
    		if err != nil {
    			os.Remove(privateKey)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 21.6K bytes
    - Viewed (0)
  5. guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

                  }
    
                  @Override
                  public @Nullable String remove(Object key) {
                    return map.remove(key);
                  }
    
                  @Override
                  public boolean remove(Object key, Object value) {
                    return map.remove(key, value);
                  }
    
                  class EntrySet extends AbstractSet<Map.Entry<String, String>> {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/Utils.java

            for (String key : properties.stringPropertyNames()) {
                map.put(key, properties.getProperty(key));
            }
            return map;
        }
    
        @Nonnull
        public static Properties toProperties(Map<String, String> properties) {
            requireNonNull(properties, "properties");
            Properties map = new Properties();
            for (String key : properties.keySet()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/http2/HpackTest.kt

        bytesIn.writeByte(0x0a) // Literal name (len = 10)
        bytesIn.writeUtf8("custom-key")
        bytesIn.writeByte(0x0d) // Literal value (len = 13)
        bytesIn.writeUtf8("custom-header")
        hpackReader!!.readHeaders()
        assertThat(hpackReader!!.headerCount).isEqualTo(0)
        assertThat(hpackReader!!.getAndResetHeaderList()).isEqualTo(
          headerEntries("custom-key", "custom-header"),
        )
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/SortedSetMultimapAsMapTester.java

        for (K key : multimap().keySet()) {
          SortedSet<V> valueSet = (SortedSet<V>) multimap().asMap().get(key);
          assertEquals(multimap().valueComparator(), valueSet.comparator());
        }
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testAsMapRemoveImplementsSortedSet() {
        List<K> keys = new ArrayList<>(multimap().keySet());
        for (K key : keys) {
          resetCollection();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Serialization.java

       * Multimap#asMap} view determines the ordering in which data is written to the stream.
       *
       * <p>The serialized output consists of the number of distinct keys, and then for each distinct
       * key: the key, the number of values for that key, and the key's values.
       */
      static <K extends @Nullable Object, V extends @Nullable Object> void writeMultimap(
          Multimap<K, V> multimap, ObjectOutputStream stream) throws IOException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  10. helm/minio/templates/deployment.yaml

                    secretKeyRef:
                      name: {{ template "minio.secretName" . }}
                      key: rootUser
                - name: MINIO_ROOT_PASSWORD
                  valueFrom:
                    secretKeyRef:
                      name: {{ template "minio.secretName" . }}
                      key: rootPassword
                {{- if .Values.extraSecret }}
                - name: MINIO_CONFIG_ENV_FILE
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 15:48:31 UTC 2024
    - 8.6K bytes
    - Viewed (0)
Back to top