Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 729 for keys2 (0.22 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/apiserver/pkg/storage/value/encrypt/aes/aes_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	aes24block, err := aes.NewCipher(bytes.Repeat([]byte("b"), 24))
    	if err != nil {
    		t.Fatal(err)
    	}
    	key32 := bytes.Repeat([]byte("c"), 32)
    	aes32block, err := aes.NewCipher(key32)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	ctx := context.Background()
    	tests := []struct {
    		name string
    		t    value.Transformer
    	}{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 21 19:25:52 UTC 2023
    - 23.2K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. guava/src/com/google/common/util/concurrent/Striped.java

     * i.e. {@code if (key1.equals(key2))} then {@code striped.get(key1) == striped.get(key2)} (assuming
     * {@link Object#hashCode()} is correctly implemented for the keys). Note that if {@code key1} is
     * <strong>not</strong> equal to {@code key2}, it is <strong>not</strong> guaranteed that {@code
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 10 20:55:18 UTC 2023
    - 20.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/Striped.java

     * i.e. {@code if (key1.equals(key2))} then {@code striped.get(key1) == striped.get(key2)} (assuming
     * {@link Object#hashCode()} is correctly implemented for the keys). Note that if {@code key1} is
     * <strong>not</strong> equal to {@code key2}, it is <strong>not</strong> guaranteed that {@code
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 10 20:55:18 UTC 2023
    - 20.3K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top