Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 375 for Keys (0.25 sec)

  1. 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)
  2. 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)
  3. staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/testdata/invalid-configs/invalid-typo.yaml

    apiVersion: apiserver.config.k8s.io/v1
    resources:
      - resources:
          - secrets
        providers:
          - aesgcm:
              keys:
                - name: key1
                  secret: c2VjcmV0IGlzIHNlY3VyZQ==
                - name: key2
                  secret: dGhpcyBpcyBwYXNzd29yZA==
          - secretbox:
              keys:
                - name: key1
                  secret: YWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXoxMjM0NTY=
          - kms:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 16:56:39 UTC 2024
    - 941 bytes
    - Viewed (0)
  4. internal/store/batch_test.go

    	}
    	keys, items, err := batch.GetAll()
    	if err != nil {
    		t.Fatalf("unable to get the items from the batch; %v", err)
    	}
    	if len(items) != int(limit) {
    		t.Fatalf("Expected length of the batch items to be %v but got %v", limit, len(items))
    	}
    	if len(keys) != int(limit) {
    		t.Fatalf("Expected length of the batch keys to be %v but got %v", limit, len(items))
    	}
    	batchLen = batch.Len()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Oct 07 15:07:38 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  5. src/internal/types/testdata/fixedbugs/issue61879.go

    	return k
    }
    
    func Foo[M ~map[InterfaceA[T]]V, T comparable, V any](m M) {
    	// DO SOMETHING HERE
    	return
    }
    
    func Bar() {
    	keys := make([]InterfaceA[int], 0, 10)
    	m := make(map[InterfaceA[int]]int)
    	for i := 0; i < 10; i++ {
    		keys = append(keys, NewInterfaceA[int](i))
    		m[keys[i]] = i
    	}
    
    	Foo(m) // panic here
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 19:42:56 UTC 2023
    - 1K bytes
    - Viewed (0)
  6. platforms/software/security/src/main/java/org/gradle/security/internal/KeyringFilePublicKeyService.java

                        }
                        keys = new LoadedKeys(ImmutableMap.copyOf(keyToKeyringBuilder), longIdLongPGPPublicKeyBuilder.build());
                        LOGGER.info("Loaded {} keys from {}", keys.keyToKeyring.size(), keyRingFile);
                    } catch (IOException e) {
                        throw new UncheckedIOException(e);
                    }
                }
                return keys;
            }
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/notations/ComponentIdentifierParserTest.groovy

            [group: 'foo']                              | "Required keys [name, version] are missing from map {group=foo}."
            [name: 'foo']                               | "Required keys [group, version] are missing from map {name=foo}."
            [version: 'foo']                            | "Required keys [group, name] are missing from map {version=foo}."
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/TreeMultimap.java

     * according to the key comparator ordering or the natural ordering of the keys. Similarly, {@code
     * get}, {@code removeAll}, and {@code replaceValues} return collections that iterate through the
     * values according to the value comparator ordering or the natural ordering of the values. The
     * collections generated by {@code entries}, {@code keys}, and {@code values} iterate across the
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat Mar 09 00:21:17 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/TreeMultimap.java

     * according to the key comparator ordering or the natural ordering of the keys. Similarly, {@code
     * get}, {@code removeAll}, and {@code replaceValues} return collections that iterate through the
     * values according to the value comparator ordering or the natural ordering of the values. The
     * collections generated by {@code entries}, {@code keys}, and {@code values} iterate across the
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat Mar 09 00:21:17 UTC 2024
    - 8.7K 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