Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,680 for Keys (0.36 sec)

  1. guava-testlib/src/com/google/common/collect/testing/TestMapEntrySetGenerator.java

        this.keys = keys;
        this.values = values;
      }
    
      @Override
      public SampleElements<Entry<K, V>> samples() {
        return SampleElements.mapEntries(keys, values);
      }
    
      @Override
      public Set<Entry<K, V>> create(Object... elements) {
        Entry<K, V>[] entries = createArray(elements.length);
        System.arraycopy(elements, 0, entries, 0, elements.length);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ObjectCountHashMap.java

       * by init(), which the constructor calls.
       */
    
      /** The keys of the entries in the map. */
      transient @Nullable Object[] keys;
    
      /** The values of the entries in the map. */
      transient int[] values;
    
      transient int size;
    
      transient int modCount;
    
      /**
       * The hashtable. Its values are indexes to the keys, values, and entries arrays.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 01 22:07:10 UTC 2021
    - 15K bytes
    - Viewed (0)
  3. src/expvar/expvar.go

    	return b
    }
    
    // Init removes all keys from the map.
    func (v *Map) Init() *Map {
    	v.keysMu.Lock()
    	defer v.keysMu.Unlock()
    	v.keys = v.keys[:0]
    	v.m.Clear()
    	return v
    }
    
    // addKey updates the sorted list of keys in v.keys.
    func (v *Map) addKey(key string) {
    	v.keysMu.Lock()
    	defer v.keysMu.Unlock()
    	// Using insertion sort to place key into the already-sorted v.keys.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 21:32:11 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  4. pkg/kube/krt/filter.go

    	listFromIndex func() any
    	indexMatches  func(any) bool
    }
    
    func (f *filter) String() string {
    	attrs := []string{}
    	if !f.keys.IsNil() {
    		attrs = append(attrs, "keys="+f.keys.String())
    	}
    	if f.selectsNonEmpty != nil {
    		attrs = append(attrs, fmt.Sprintf("selectsNonEmpty=%v", f.selectsNonEmpty))
    	}
    	if f.selects != nil {
    		attrs = append(attrs, fmt.Sprintf("selects=%v", f.selects))
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. pkg/kubelet/checkpointmanager/testing/util.go

    	mstore.Lock()
    	defer mstore.Unlock()
    	delete(mstore.mem, key)
    	return nil
    }
    
    // List returns all the keys from the store
    func (mstore *MemStore) List() ([]string, error) {
    	mstore.Lock()
    	defer mstore.Unlock()
    	keys := make([]string, 0)
    	for key := range mstore.mem {
    		keys = append(keys, key)
    	}
    	return keys, nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 16 05:30:20 UTC 2018
    - 1.7K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/util/cache/lruexpirecache.go

    // might return "not found".
    //
    // Keys are returned ordered from least recently used to most recently used.
    func (c *LRUExpireCache) Keys() []interface{} {
    	c.lock.Lock()
    	defer c.lock.Unlock()
    
    	now := c.clock.Now()
    
    	val := make([]interface{}, 0, c.evictionList.Len())
    	for element := c.evictionList.Back(); element != nil; element = element.Prev() {
    		// Only return unexpired keys
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:48 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/testdata/valid-configs/legacy.yaml

        providers:
          - identity: {}
          - aesgcm:
              keys:
                - name: key1
                  secret: c2VjcmV0IGlzIHNlY3VyZQ==
                - name: key2
                  secret: dGhpcyBpcyBwYXNzd29yZA==
          - kms:
              name: testprovider
              endpoint: unix:///tmp/testprovider.sock
              cachesize: 10
          - aescbc:
              keys:
                - name: key1
                  secret: c2VjcmV0IGlzIHNlY3VyZQ==
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 14 21:59:25 UTC 2019
    - 729 bytes
    - Viewed (0)
  8. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/CrossBuildInMemoryCacheFactory.java

     * Note that this implementation should only be used to create global scoped services.
     * Note that this implementation currently retains strong references to keys and values during the whole lifetime of a build session.
     *
     * Uses a simple algorithm to collect unused values, by retaining strong references to all keys and values used during the current build session, and the previous build session.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/python/representative_dataset.py

                expected_input_keys is not None
                and set(repr_sample.keys()) != expected_input_keys
            ):
              raise KeyError(
                  'Invalid input keys for representative sample. The function'
                  f' expects input keys of: {set(expected_input_keys)}. Got:'
                  f' {set(repr_sample.keys())}. Please provide correct input keys'
                  ' for representative samples.'
              )
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 22:55:22 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/testdata/valid-configs/identity-first.yaml

              name: testproviderv2
              endpoint: unix:///tmp/testprovider.sock
          - aescbc:
              keys:
                - name: key1
                  secret: c2VjcmV0IGlzIHNlY3VyZQ==
                - name: key2
                  secret: dGhpcyBpcyBwYXNzd29yZA==
          - secretbox:
              keys:
                - name: key1
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 30 23:18:14 UTC 2023
    - 903 bytes
    - Viewed (0)
Back to top