- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 155 for genkey (0.04 sec)
-
src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java
when(mockReferralData.getKey()).thenReturn(key); doNothing().when(mockReferralData).setKey(key); mockReferralData.setKey(key); String retrievedKey = mockReferralData.getKey(); assertEquals(key, retrievedKey); verify(mockReferralData, times(1)).setKey(key); verify(mockReferralData, times(1)).getKey();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 28.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
// Given byte[] encKey = new byte[16]; byte[] decKey = new byte[16]; new SecureRandom().nextBytes(encKey); new SecureRandom().nextBytes(decKey); // When using try-with-resources assertDoesNotThrow(() -> { try (Smb2EncryptionContext context = new Smb2EncryptionContext(1, DialectVersion.SMB311, encKey, decKey)) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 44.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/DocMapTest.java
DocMap docMap = new DocMap(parentMap); assertNull(docMap.put("newKey", "newValue")); assertEquals("newValue", docMap.get("newKey")); assertEquals("newValue", docMap.put("newKey", "updatedValue")); assertEquals("updatedValue", docMap.get("newKey")); assertNull(docMap.get("nonexistent")); } public void test_remove() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 10.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/PopulatedCachesTest.java
// don't let the new entry get GCed warmed.add(entryOf(entry.getKey(), newValue)); Object newKey = new Object(); assertNull(cache.asMap().put(newKey, entry.getValue())); // this getUnchecked() call shouldn't be a cache miss; verified below assertEquals(newValue, cache.getUnchecked(entry.getKey()));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java
// When byte[] encKey = Smb3KeyDerivation.deriveEncryptionKey(dialect, sessionKey, preauthIntegrity); // Then assertNotNull(encKey, "Encryption key should not be null"); assertEquals(16, encKey.length, "Encryption key should be 16 bytes"); assertFalse(Arrays.equals(sessionKey, encKey), "Encryption key should be different from session key"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.5K bytes - Viewed (0) -
docs/smb3-features/01-smb3-lease-design.md
} // Create new lease Smb2LeaseKey newKey = new Smb2LeaseKey(); LeaseEntry newEntry = new LeaseEntry(newKey, path, requestedState); leases.put(newKey, newEntry); pathToLease.put(path, newKey); return newKey; } finally { lock.writeLock().unlock(); } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 22K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java
try { int expectedKeyLength = getKeyLength(); byte[] encKey = getEncryptionKey(); byte[] decKey = getDecryptionKey(); try { boolean valid = encKey != null && encKey.length == expectedKeyLength && decKey != null && decKey.length == expectedKeyLength; return valid; } finally {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 35.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java
} @Test @DisplayName("Should get and set key") void testKey() { assertNull(referralData.getKey()); referralData.setKey("cache-key-123"); assertEquals("cache-key-123", referralData.getKey()); } @Test @DisplayName("Should get server") void testGetServer() { assertNull(referralData.getServer());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseContextTest.java
decodedContext.decode(buffer, 0, buffer.length); // Verify decoded values assertArrayEquals(originalKey.getKey(), decodedContext.getLeaseKey().getKey()); assertEquals(originalLeaseState, decodedContext.getLeaseState()); assertEquals(originalScope, decodedContext.getCacheScope()); assertEquals(60000L, decodedContext.getMaxCacheAge());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 10.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TreeRangeMap.java
RangeMapEntry(Range<K> range, V value) { super(range, value); } boolean contains(K value) { return getKey().contains(value); } Cut<K> getLowerBound() { return getKey().lowerBound; } Cut<K> getUpperBound() { return getKey().upperBound; } } @Override public @Nullable V get(K key) { Entry<Range<K>, V> entry = getEntry(key);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 18 15:05:43 UTC 2025 - 22.8K bytes - Viewed (0)