Search Options

Results per page
Sort
Preferred Languages
Advance

Results 521 - 530 of 1,656 for key (0.01 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. 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)
  3. 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)
  4. 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)
  5. 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)
  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. 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)
  8. 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)
  9. 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)
  10. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RemoteSnapshotMetadata.java

            if (versioning != null) {
                for (SnapshotVersion sv : versioning.getSnapshotVersions()) {
                    String key = getKey(sv.getClassifier(), sv.getExtension());
                    if (!versions.containsKey(key)) {
                        versions.put(key, sv);
                    }
                }
            }
    
            metadata.getVersioning().setSnapshotVersions(new ArrayList<>(versions.values()));
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top