- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 1,318 for key3 (0.02 seconds)
-
tests/lru_test.go
lru := lru.NewLRU[string, int](2, nil, time.Hour) lru.Add("key1", 1) lru.Add("key2", 2) lru.Add("key3", 3) if _, ok := lru.Get("key1"); ok { t.Errorf("Expected key1 to be removed, but it still exists") } } func TestLRU_Add_UnlimitedSize_NoEviction(t *testing.T) { lru := lru.NewLRU[string, int](0, nil, time.Hour) lru.Add("key1", 1) lru.Add("key2", 2) lru.Add("key3", 3) if _, ok := lru.Get("key1"); !ok {
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Mon Sep 08 09:19:22 GMT 2025 - 10.4K bytes - Click Count (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesTest.java
pw.println(""); pw.println("# A value comment"); pw.println("key1 = val1"); pw.println(""); pw.println("# Another value comment"); pw.println("key2 = ${key1}/foo"); pw.println(""); pw.println("# A third comment"); pw.println("key3 = val3"); pw.println(""); MavenProperties props = new MavenProperties();
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Oct 16 06:12:36 GMT 2025 - 16.4K bytes - Click Count (0) -
src/archive/tar/reader_test.go
{"3 somelongkey=\n", nil, false}, {"50 tooshort=\n", nil, false}, {"13 key1=haha\n13 key2=nana\n13 key3=kaka\n", map[string]string{"key1": "haha", "key2": "nana", "key3": "kaka"}, true}, {"13 key1=val1\n13 key2=val2\n8 key1=\n", map[string]string{"key1": "", "key2": "val2"}, true}, {"22 GNU.sparse.size=10\n26 GNU.sparse.numblocks=2\n" +Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Mon Dec 15 16:34:13 GMT 2025 - 47.5K bytes - Click Count (0) -
KEYS.md
# Signing key for Gradle artifacts Below is the public PGP key used to sign all Gradle artifacts. The key ID is `E2F38302C8075E3D` and its fingerprint is `1BD97A6A154E7810EE0BC832E2F38302C8075E3D`. You can also find the key in the [Gradle website](https://gradle.org/keys/) and on [public key servers](https://keys.openpgp.org/search?q=maven-publishing%40gradle.com). ## Verification instructions ### Importing the key
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Dec 04 14:29:13 GMT 2025 - 4.7K bytes - Click Count (0) -
internal/kms/secret-key.go
} return NewBuiltin(keyID, key) } // NewBuiltin returns a single-key KMS that derives new DEKs from the // given key. func NewBuiltin(keyID string, key []byte) (*KMS, error) { if len(key) != 32 { return nil, errors.New("kms: invalid key length " + strconv.Itoa(len(key))) } return &KMS{ Type: Builtin, DefaultKey: keyID, conn: secretKey{ keyID: keyID, key: key, },
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Apr 21 16:23:51 GMT 2025 - 8.4K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/model/PropertiesTest.java
// Check order by collecting keys in iteration order List<String> keys = new ArrayList<>(resultProps.keySet()); // Verify the original insertion order is maintained assertEquals(3, keys.size()); assertEquals("third", keys.get(0)); assertEquals("first", keys.get(1)); assertEquals("second", keys.get(2)); } @TestCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Jun 12 07:26:53 GMT 2025 - 10.5K bytes - Click Count (0) -
internal/config/identity/openid/jwks_test.go
t.Fatal("Unmarshal: ", err) } else if len(jk.Keys) != 2 { t.Fatalf("Expected 2 keys, got %d", len(jk.Keys)) } keys := make([]crypto.PublicKey, len(jk.Keys)) for ii, jks := range jk.Keys { var err error keys[ii], err = jks.DecodePublicKey() if err != nil { t.Fatalf("Failed to decode key %d: %v", ii, err) } } //nolint:gocritic if key0, ok := keys[0].(*ecdsa.PublicKey); !ok {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Jan 02 17:15:06 GMT 2022 - 9.8K bytes - Click Count (0) -
internal/crypto/key.go
} // SealedKey represents a sealed object key. It can be stored // at an untrusted location. type SealedKey struct { Key [64]byte // The encrypted and authenticated object-key. IV [32]byte // The random IV used to encrypt the object-key. Algorithm string // The sealing algorithm used to encrypt the object key. } // Seal encrypts the ObjectKey using the 256 bit external key and IV. The sealedCreated: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri May 16 14:27:42 GMT 2025 - 6.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/hash/HashTestUtils.java
while (same != 0xffffffff || diff != 0xffffffff) { int key1 = rand.nextInt(); // flip input bit for key2 int key2 = key1 ^ (1 << i); // get hashes int hash1 = function.hashInt(key1).asInt(); int hash2 = function.hashInt(key2).asInt(); // test whether the hash values have same output bits same |= ~(hash1 ^ hash2);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 18:19:59 GMT 2025 - 25.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/LinkedListMultimap.java
* {@link #entries()}. Unlike {@link LinkedHashMultimap}, the iteration order is kept consistent * between keys, entries and values. For example, calling: * * {@snippet : * multimap.remove(key1, foo); * } * * <p>changes the entries iteration order to {@code [key2=bar, key1=baz]} and the key iteration * order to {@code [key2, key1]}. The {@link #entries()} iterator returns mutable map entries, andCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 27K bytes - Click Count (0)