- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 60 for key_2 (0.02 seconds)
-
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) -
android/guava/src/com/google/common/collect/LinkedListMultimap.java
* for the following multimap definition: * * {@snippet : * Multimap<K, V> multimap = LinkedListMultimap.create(); * multimap.put(key1, foo); * multimap.put(key2, bar); * multimap.put(key1, baz); * } * * ... the iteration order for {@link #keys()} is {@code [key1, key2, key1]}, and similarly for * {@link #entries()}. Unlike {@link LinkedHashMultimap}, the iteration order is kept consistentCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 26.6K bytes - Click Count (0) -
compat/maven-model/src/test/java/org/apache/maven/model/ModelTest.java
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(); assertEquals(0, model.getProperties().size()); }
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/main/java/jcifs/dcerpc/DcerpcHandle.java
*/ public abstract class DcerpcHandle implements DcerpcConstants, AutoCloseable { /* * Bindings are in the form: * proto:\\server[key1=val1,key2=val2] * or * proto:server[key1=val1,key2=val2] * or * proto:[key1=val1,key2=val2] * * If a key is absent it is assumed to be 'endpoint'. Thus the * following are equivalent: * proto:\\ts0.win.net[endpoint=\pipe\srvsvc]Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 15.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/timer/MonitorTargetTest.java
monitorTarget.append(buf, "key1", () -> "value1"); buf.append(","); monitorTarget.append(buf, "key2", () -> 123); buf.append(","); monitorTarget.append(buf, "key3", () -> null); assertEquals("\"key1\":\"value1\",\"key2\":123,\"key3\":null", buf.toString()); } // Test append with empty string @Test public void test_append_emptyString() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11.3K bytes - Click Count (0) -
src/test/java/org/codelibs/core/crypto/CachedCipherTest.java
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); final String encrypted2 = cipher2.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/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" + "23 GNU.sparse.offset=1\n25 GNU.sparse.numbytes=2\n" +Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Dec 30 15:28:53 GMT 2025 - 47.5K bytes - Click Count (0) -
docs/smb3-features/01-smb3-lease-design.md
@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
void testKeyIsolationBetweenInstances() { // Given byte[] key1 = new byte[16]; byte[] key2 = new byte[16]; new SecureRandom().nextBytes(key1); new SecureRandom().nextBytes(key2); Smb2EncryptionContext context1 = new Smb2EncryptionContext(EncryptionNegotiateContext.CIPHER_AES128_GCM, DialectVersion.SMB311, key1, key1);
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)