Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 897 for map1 (0.09 sec)

  1. src/crypto/hmac/hmac.go

    	return hm
    }
    
    // Equal compares two MACs for equality without leaking timing information.
    func Equal(mac1, mac2 []byte) bool {
    	// We don't have to be constant time if the lengths of the MACs are
    	// different as that suggests that a completely different hash function
    	// was used.
    	return subtle.ConstantTimeCompare(mac1, mac2) == 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/HashBiMapTest.java

        map.put("foo", 1);
        map.put("bar", 2);
        map.put("quux", 3);
    
        map.remove("bar");
        assertThat(map.entrySet())
            .containsExactly(Maps.immutableEntry("foo", 1), Maps.immutableEntry("quux", 3))
            .inOrder();
      }
    
      public void testInsertionOrderAfterRemoveLast() {
        BiMap<String, Integer> map = HashBiMap.create();
        map.put("foo", 1);
        map.put("bar", 2);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  3. src/maps/example_test.go

    	// Output:
    	// m2 is: map[one:1 two:2]
    	// m1 is: map[one:1 two:2]
    	// m2 is: map[one:100 two:2]
    	// m4 is: map[one:[1 2 3] two:[4 5 6]]
    	// m3 is: map[one:[100 2 3] two:[4 5 6]]
    	// m4 is: map[one:[100 2 3] two:[4 5 6]]
    }
    
    func ExampleDeleteFunc() {
    	m := map[string]int{
    		"one":   1,
    		"two":   2,
    		"three": 3,
    		"four":  4,
    	}
    	maps.DeleteFunc(m, func(k string, v int) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 11 20:21:56 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  4. hack/update-generated-docs.sh

      mkdir -p "${dest}/docs/man/man1/"
      genman "${dest}/docs/man/man1/" "kube-apiserver"
      genman "${dest}/docs/man/man1/" "kube-controller-manager"
      genman "${dest}/docs/man/man1/" "kube-proxy"
      genman "${dest}/docs/man/man1/" "kube-scheduler"
      genman "${dest}/docs/man/man1/" "kubelet"
      genman "${dest}/docs/man/man1/" "kubectl"
      genman "${dest}/docs/man/man1/" "kubeadm"
    
      mkdir -p "${dest}/docs/yaml/kubectl/"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:33 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/AbstractFilteredMapTest.java

          input -> input.getKey().length() == input.getValue();
    
      abstract Map<String, Integer> createUnfiltered();
    
      public void testFilteredKeysIllegalPut() {
        Map<String, Integer> unfiltered = createUnfiltered();
        Map<String, Integer> filtered = Maps.filterKeys(unfiltered, NOT_LENGTH_3);
        filtered.put("a", 1);
        filtered.put("b", 2);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/AbstractFilteredMapTest.java

          input -> input.getKey().length() == input.getValue();
    
      abstract Map<String, Integer> createUnfiltered();
    
      public void testFilteredKeysIllegalPut() {
        Map<String, Integer> unfiltered = createUnfiltered();
        Map<String, Integer> filtered = Maps.filterKeys(unfiltered, NOT_LENGTH_3);
        filtered.put("a", 1);
        filtered.put("b", 2);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api-builders/src/main/java/org/gradle/tooling/internal/provider/runner/BuildOperationMapper.java

            return Collections.emptyList();
        }
    
        /**
         * Maps the descriptor for the given build operation.
         */
        TO createDescriptor(DETAILS details, BuildOperationDescriptor buildOperation, @Nullable OperationIdentifier parent);
    
        /**
         * Maps the start event for the given build operation.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/SparseImmutableTable.java

          ImmutableSet<R> rowSpace,
          ImmutableSet<C> columnSpace) {
        Map<R, Integer> rowIndex = Maps.indexMap(rowSpace);
        Map<R, Map<C, V>> rows = Maps.newLinkedHashMap();
        for (R row : rowSpace) {
          rows.put(row, new LinkedHashMap<C, V>());
        }
        Map<C, Map<R, V>> columns = Maps.newLinkedHashMap();
        for (C col : columnSpace) {
          columns.put(col, new LinkedHashMap<R, V>());
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  9. src/unique/handle_test.go

    	// Manually load the value out of the map.
    	typ := abi.TypeOf(value)
    	a, ok := uniqueMaps.Load(typ)
    	if !ok {
    		return
    	}
    	m := a.(*uniqueMap[T])
    	wp, ok := m.Load(value)
    	if !ok {
    		return
    	}
    	if wp.Strong() != nil {
    		t.Errorf("value %v still referenced a handle (or tiny block?) ", value)
    		return
    	}
    	t.Errorf("failed to drain internal maps of %v", value)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 18:14:07 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. platforms/jvm/language-java/src/test/groovy/org/gradle/external/javadoc/internal/GroupsJavadocOptionFileOptionTest.groovy

    import com.google.common.collect.Maps
    import spock.lang.Specification
    
    class GroupsJavadocOptionFileOptionTest extends Specification {
        private JavadocOptionFileWriterContext writerContextMock = Mock()
        private final String optionName = "testOption"
    
        private GroupsJavadocOptionFileOption groupsFile = new GroupsJavadocOptionFileOption(optionName, Maps.<String, List<String>>newLinkedHashMap())
    
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 1.9K bytes
    - Viewed (0)
Back to top