- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 1,751 for key2 (0.03 seconds)
-
android/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 Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 26.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java
Smb2LeaseKey key1 = new Smb2LeaseKey(); Smb2LeaseKey key2 = new Smb2LeaseKey(); Smb2LeaseKey key3 = new Smb2LeaseKey(); when(baseLeaseManager.requestLease(dir1, DirectoryLeaseState.DIRECTORY_READ_HANDLE)).thenReturn(key1); when(baseLeaseManager.requestLease(dir2, DirectoryLeaseState.DIRECTORY_READ_HANDLE)).thenReturn(key2);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 01:47:47 GMT 2025 - 15.9K bytes - Click Count (0) -
compat/maven-model/src/test/java/org/apache/maven/model/ModelTest.java
} @Test void testPropertiesClear() { // Test for issue #11552: NullPointerException when clearing properties Model model = new Model(); model.addProperty("key1", "value1"); model.addProperty("key2", "value2"); assertEquals(2, model.getProperties().size()); // This should not throw NullPointerException model.getProperties().clear();Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Dec 16 08:09:30 GMT 2025 - 2.4K bytes - Click Count (0) -
src/test/java/org/codelibs/core/crypto/CachedCipherTest.java
} @Test public void testDifferentKeys() { final CachedCipher cipher1 = new CachedCipher(); cipher1.setKey("key1"); final CachedCipher cipher2 = new CachedCipher(); cipher2.setKey("key2"); final String original = "Hello World"; final String encrypted1 = cipher1.encryptText(original);Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat Nov 22 11:21:59 GMT 2025 - 5.3K bytes - Click Count (0) -
cmd/sftp-server.go
if len(attribValue) != 1 { continue } if attribKey == "sshPublicKey" && key != nil { key2, _, _, _, err := ssh.ParseAuthorizedKey([]byte(attribValue[0])) if err != nil { return nil, errSFTPPublicKeyBadFormat } if subtle.ConstantTimeCompare(key2.Marshal(), key.Marshal()) != 1 { return nil, errAuthentication } } // Save each attribute to claims.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 16.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/DocumentUtilTest.java
assertEquals(Double.parseDouble(expected), DocumentUtil.getValue(doc, "key1", Double.class).doubleValue()); assertNull(DocumentUtil.getValue(doc, "key2", String.class)); } @Test public void test_strings() { Map<String, Object> doc = new HashMap<>(); doc.put("key1", new String[] { "aaa", "bbb" });
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 12 01:46:45 GMT 2026 - 13.6K bytes - Click Count (0) -
docs/smb3-features/01-smb3-lease-design.md
public class LeaseTest { @Test public void testLeaseKeyGeneration() { Smb2LeaseKey key1 = new Smb2LeaseKey(); Smb2LeaseKey key2 = new Smb2LeaseKey(); assertNotNull(key1.getKey()); assertEquals(16, key1.getKey().length); assertFalse(Arrays.equals(key1.getKey(), key2.getKey())); } @Test public void testLeaseStateFlags() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 22K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
Smb2EncryptionContext context2 = new Smb2EncryptionContext(EncryptionNegotiateContext.CIPHER_AES128_GCM, DialectVersion.SMB311, key2, key2); // When - Wipe keys from context1 context1.secureWipeKeys(); // Then - Context2 should still be functional assertDoesNotThrow(() -> {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 44.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java
// Test initial null map crawlingInfoHelper.putToInfoMap("key1", "value1"); assertNotNull(crawlingInfoHelper.infoMap); // Test adding multiple entries crawlingInfoHelper.putToInfoMap("key2", "value2"); crawlingInfoHelper.putToInfoMap("key3", "value3"); assertEquals("value1", crawlingInfoHelper.infoMap.get("key1")); assertEquals("value2", crawlingInfoHelper.infoMap.get("key2"));Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 12 01:46:45 GMT 2026 - 28.7K bytes - Click Count (0) -
guava/src/com/google/common/base/Joiner.java
* * <ul> * <li>To output a separate entry for each key-value pair, pass {@code multimap.entries()} to a * {@code MapJoiner} method that accepts entries as input, and receive output of the form * {@code key1=A&key1=B&key2=C}. * <li>To output a single entry for each key, pass {@code multimap.asMap()} to a {@code
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Apr 14 15:16:19 GMT 2025 - 21K bytes - Click Count (0)