Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,152 for keys2 (0.09 sec)

  1. staging/src/k8s.io/apiserver/pkg/cel/openapi/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: Mon Oct 23 22:30:17 UTC 2023
    - 17.7K bytes
    - Viewed (0)
  2. 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)
  3. staging/src/k8s.io/apiserver/pkg/cel/common/equality_test.go

                    foo:
                    - key: key1
                      bar: value1
                    - key: key2
                      bar: value2
                `),
    			RootOldObject: mustUnstructured(`
                    foo:
                    - key: key1
                      bar: value1
                    - key: key2
                      bar: value2
                `),
    			KeyPath: []interface{}{"foo"},
    			NewValue: mustUnstructured(`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 13 21:36:46 UTC 2023
    - 21.1K bytes
    - Viewed (0)
  4. platforms/software/security/src/test/resources/keyrings/valid-with-extra-metadata.keys

    Tom Tresansky <******@****.***> 1697026569 -0400
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 65.5K bytes
    - Viewed (0)
  5. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/btree/BTreeIndexedCacheTest.java

            createCache();
    
            String key1 = new String(new byte[]{2, 31});
            String key2 = new String(new byte[]{1, 62});
            cache.put(key1, 1);
            cache.put(key2, 2);
    
            assertThat(cache.get(key1), equalTo(1));
            assertThat(cache.get(key2), equalTo(2));
    
            cache.close();
        }
    
        private void checkAdds(Integer... values) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1/types_encryption.go

    type AESConfiguration struct {
    	// keys is a list of keys to be used for creating the AES transformer.
    	// Each key has to be 32 bytes long for AES-CBC and 16, 24 or 32 bytes for AES-GCM.
    	Keys []Key `json:"keys"`
    }
    
    // SecretboxConfiguration contains the API configuration for an Secretbox transformer.
    type SecretboxConfiguration struct {
    	// keys is a list of keys to be used for creating the Secretbox transformer.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Dec 18 20:54:24 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  7. 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)
  8. platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/adapter/WeakIdentityHashMapTest.groovy

            foo == "Foo"
            map.get(thing) == "Foo"
        }
    
        def "map preserves entries until keys in use"() {
            WeakIdentityHashMap<Thing, String> map = new WeakIdentityHashMap<>()
    
            Thing key1 = new Thing("Key1")
            Thing key2 = new Thing("Key2")
    
    
            when:
            map.put(key1, "Foo")
            map.put(key2, "Bar")
    
            then:
            map.keySet().every { it.get() != null }
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  9. pilot/pkg/model/jwks_resolver.go

    		return true, nil
    	}
    
    	// Sort both sets of keys by "kid (key ID)" to be able to directly compare
    	oldKeys, oldKeysExists := oldJWKs["keys"].([]any)
    	newKeys, newKeysExists := newJWKs["keys"].([]any)
    	if oldKeysExists && newKeysExists {
    		sort.Slice(oldKeys, func(i, j int) bool {
    			key1, ok1 := oldKeys[i].(map[string]any)
    			key2, ok2 := oldKeys[j].(map[string]any)
    			if ok1 && ok2 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 09:47:21 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/apis/apiserver/types_encryption.go

    type AESConfiguration struct {
    	// keys is a list of keys to be used for creating the AES transformer.
    	// Each key has to be 32 bytes long for AES-CBC and 16, 24 or 32 bytes for AES-GCM.
    	Keys []Key
    }
    
    // SecretboxConfiguration contains the API configuration for an Secretbox transformer.
    type SecretboxConfiguration struct {
    	// keys is a list of keys to be used for creating the Secretbox transformer.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Dec 18 20:54:24 UTC 2023
    - 5.5K bytes
    - Viewed (0)
Back to top