Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,771 for keys2 (0.11 sec)

  1. 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)
  2. 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)
  3. pkg/kubelet/checkpointmanager/checkpoint_manager_test.go

    	err = manager.GetCheckpoint("key1", checkpoint1)
    	assert.EqualError(t, err, "checkpoint is corrupted")
    
    	// Test ListCheckpoints
    	keys, err := manager.ListCheckpoints()
    	assert.NoError(t, err)
    	sort.Strings(keys)
    	assert.Equal(t, keys, []string{"key1", "key2"})
    
    	// Test RemoveCheckpoints
    	err = manager.RemoveCheckpoint("key1")
    	assert.NoError(t, err)
    	// Test Remove Nonexisted Checkpoints
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 12 06:41:04 UTC 2018
    - 6.6K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. test/typeparam/metrics.go

    	defer m.mu.Unlock()
    	if m.m == nil {
    		m.m = make(map[key2[T1, T2]]int)
    	}
    	m.m[key2[T1, T2]{v1, v2}]++
    }
    
    // Count returns the number of instances we've seen of v1/v2.
    func (m *_Metric2[T1, T2]) Count(v1 T1, v2 T2) int {
    	m.mu.Lock()
    	defer m.mu.Unlock()
    	return m.m[key2[T1, T2]{v1, v2}]
    }
    
    // Metrics returns all the values we've seen, in an indeterminate order.
    func (m *_Metric2[T1, T2]) Metrics() (r1 []T1, r2 []T2) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 4.4K 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. 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)
Back to top