Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 221 for keys2 (0.24 sec)

  1. pkg/volume/util/atomic_writer_test.go

    					"add/new/keys2.txt": {Mode: 0644, Data: []byte("addNewKeys2")},
    					"add/new/keys3.txt": {Mode: 0644, Data: []byte("addNewKeys3")},
    				},
    			},
    		},
    		{
    			name: "remove 1",
    			payloads: []map[string]FileProjection{
    				{
    					"foo/bar.txt":         {Mode: 0644, Data: []byte("foo/bar")},
    					"bar//zab.txt":        {Mode: 0644, Data: []byte("bar/zab.txt")},
    					"foo/blaz/bar.txt":    {Mode: 0644, Data: []byte("foo/blaz/bar")},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 09:02:45 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/values_test.go

    					"key2": "a2",
    					"val":  1,
    				},
    				map[string]interface{}{
    					"key1": "b1",
    					"key2": "b2",
    					"val":  2,
    				},
    			}, &multiKeyMapListSchema),
    			rhs: UnstructuredToVal([]interface{}{
    				map[string]interface{}{
    					"key1": "a1",
    					"key2": "a2",
    					"val":  1,
    				},
    				map[string]interface{}{
    					"key1": "c1",
    					"key2": "c2",
    					"val":  3,
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  3. src/runtime/map_test.go

    	const key2 = "x"
    
    	m := make(map[string]int)
    	m[key1] = 99
    	delete(m, key1)
    	m[key2] += 1
    	if n2 := m[key2]; n2 != 1 {
    		t.Errorf("incremented 0 to %d", n2)
    	}
    }
    
    func TestIncrementAfterDeleteKeyValueString(t *testing.T) {
    	const key1 = ""
    	const key2 = "x"
    
    	m := make(map[string]string)
    	m[key1] = "99"
    	delete(m, key1)
    	m[key2] += "1"
    	if n2 := m[key2]; n2 != "1" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  4. pkg/apis/core/v1/helper/helpers_test.go

    		reqs   []v1.NodeSelectorRequirement
    		terms  []v1.NodeSelectorTerm
    		exists bool
    	}{
    		{
    			name:   "empty set of keys in empty set of terms",
    			reqs:   []v1.NodeSelectorRequirement{},
    			terms:  []v1.NodeSelectorTerm{},
    			exists: false,
    		},
    		{
    			name: "key existence in terms with all keys specified",
    			reqs: []v1.NodeSelectorRequirement{
    				{
    					Key:      "key1",
    					Operator: v1.NodeSelectorOpIn,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 23:03:54 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/endpoints/filters/authentication_test.go

    				"X-Remote-Group-2":      {"two-a", "two-b"},
    				"X-Remote-extra-1-key1": {"alfa", "bravo"},
    				"X-Remote-Extra-1-Key2": {"charlie", "delta"},
    				"X-Remote-Extra-1-":     {"india", "juliet"},
    				"X-Remote-extra-2-":     {"kilo", "lima"},
    				"X-Remote-extra-2-Key1": {"echo", "foxtrot"},
    				"X-Remote-Extra-2-key2": {"golf", "hotel"},
    			},
    		},
    
    		"extra prefix matches case-insensitive with unrelated headers": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/python/py_function_lib.py

          each identifying a `SignatureDef`.
    
      Raises:
        ValueError: Iff `representative_dataset` does not satisfy the conditions
          above.
      """
      if isinstance(representative_dataset, Mapping):
        if set(signature_keys) != set(representative_dataset.keys()):
          raise ValueError(
              'The signature keys and the keys of representative dataset map '
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 05:32:11 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  7. pilot/pkg/model/endpointshards.go

    		keys = append(keys, k)
    	}
    	if len(keys) >= 2 {
    		sort.Slice(keys, func(i, j int) bool {
    			if keys[i].Provider == keys[j].Provider {
    				return keys[i].Cluster < keys[j].Cluster
    			}
    			return keys[i].Provider < keys[j].Provider
    		})
    	}
    	return keys
    }
    
    // CopyEndpoints takes a snapshot of all endpoints. As input, it takes a map of port name to number, to allow it to group
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableMap.java

        }
    
        @SuppressWarnings("unchecked")
        final Object legacyReadResolve() {
          K[] keys = (K[]) this.keys;
          V[] values = (V[]) this.values;
    
          Builder<K, V> builder = makeBuilder(keys.length);
    
          for (int i = 0; i < keys.length; i++) {
            builder.put(keys[i], values[i]);
          }
          return builder.buildOrThrow();
        }
    
        /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableBiMap.java

      /**
       * Returns a {@link Collector} that accumulates elements into an {@code ImmutableBiMap} whose keys
       * and values are the result of applying the provided mapping functions to the input elements.
       * Entries appear in the result {@code ImmutableBiMap} in encounter order.
       *
       * <p>If the mapped keys or values contain duplicates (according to {@link
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableMap.java

        }
    
        @SuppressWarnings("unchecked")
        final Object legacyReadResolve() {
          K[] keys = (K[]) this.keys;
          V[] values = (V[]) this.values;
    
          Builder<K, V> builder = makeBuilder(keys.length);
    
          for (int i = 0; i < keys.length; i++) {
            builder.put(keys[i], values[i]);
          }
          return builder.buildOrThrow();
        }
    
        /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 30 14:39:16 UTC 2024
    - 44.6K bytes
    - Viewed (0)
Back to top