- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 220 for genkey (0.09 seconds)
-
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")); } @Test public void test_remove() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 10.7K bytes - Click Count (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"); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.5K bytes - Click Count (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)) {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/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 {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 35.5K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java
this.samples = new SampleElements<>( mapSamples.e0().getKey(), mapSamples.e1().getKey(), mapSamples.e2().getKey(), mapSamples.e3().getKey(), mapSamples.e4().getKey()); } @Override public SampleElements<K> samples() { return samples; } @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 30 16:59:10 GMT 2025 - 18.2K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/StandardTable.java
while (true) { if (entryIterator.hasNext()) { Entry<C, V> entry = entryIterator.next(); if (!seen.containsKey(entry.getKey())) { seen.put(entry.getKey(), entry.getValue()); return entry.getKey(); } } else if (mapIterator.hasNext()) { entryIterator = mapIterator.next().entrySet().iterator(); } else {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 29.4K bytes - Click Count (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);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 22.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MapsCollectionTest.java
BiMap<String, String> bimap = HashBiMap.create(entries.length); for (Entry<String, String> entry : entries) { checkArgument(!bimap.containsKey(entry.getKey())); bimap.put(entry.getKey(), entry.getValue()); } return Maps.unmodifiableBiMap(bimap); } }) .named("unmodifiableBiMap[HashBiMap]")
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 32.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java
assertThat(cache.asMap().replace(entry.getKey(), newValue)) .isSameInstanceAs(entry.getValue()); assertThat(cache.asMap().replace(entry.getKey(), newValue, entry.getValue())).isTrue(); Object newKey = new Object(); assertThat(cache.asMap().replace(newKey, entry.getValue())).isNull(); assertThat(cache.asMap().replace(newKey, entry.getValue(), newValue)).isFalse();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 15.4K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/classrealm/DefaultClassRealmManager.java
Objects.requireNonNull(model, "model cannot be null"); ClassLoader parent = getMavenApiRealm(); return createRealm(getKey(model), RealmType.Project, parent, null, null, artifacts); } private static String getKey(Model model) { return "project>" + model.getGroupId() + ":" + model.getArtifactId() + ":" + model.getVersion(); } @Override
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 13.5K bytes - Click Count (0)