- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 73 for emptyKey (0.12 seconds)
-
src/test/java/jcifs/smb1/util/HMACT64Test.java
assertNotNull(result); assertEquals(16, result.length); } @Test void testHMACT64WithEmptyKey() { // Test with empty key byte[] emptyKey = new byte[0]; HMACT64 hmac = new HMACT64(emptyKey); hmac.engineUpdate(TEST_DATA, 0, TEST_DATA.length); byte[] result = hmac.engineDigest(); assertNotNull(result); assertEquals(16, result.length);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
@Test @DisplayName("Should accept empty keys") void testEmptyKeys() { // Given byte[] emptyKey = new byte[0]; // When/Then assertDoesNotThrow(() -> { Smb2EncryptionContext context = new Smb2EncryptionContext(1, DialectVersion.SMB311, emptyKey, emptyKey); assertNotNull(context, "Context should be created with empty keys"); }, "Should accept empty keys");Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 44.1K bytes - Click Count (0) -
cmd/object-api-utils.go
if p.rawReader != nil { return p.rawReader.ServerSideChecksumResult } return nil } func sealETag(encKey crypto.ObjectKey, md5CurrSum []byte) []byte { var emptyKey [32]byte if bytes.Equal(encKey[:], emptyKey[:]) { return md5CurrSum } return encKey.SealETag(md5CurrSum) } func sealETagFn(key crypto.ObjectKey) SealMD5CurrFn { fn := func(md5sumcurr []byte) []byte {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Jun 25 15:08:54 GMT 2025 - 37.3K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeResult.java
*/ public static UpgradeResult empty() { return new UpgradeResult(Collections.emptySet(), Collections.emptySet(), Collections.emptySet()); } /** * Merges this result with another result, combining the sets of POMs. * This allows proper aggregation of results from multiple strategies without double-counting. */ public UpgradeResult merge(UpgradeResult other) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Jun 07 06:22:47 GMT 2025 - 3.9K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java
} protected Collection<Method> suppressForCheckedMap() { return emptySet(); } protected Collection<Method> suppressForCheckedSortedMap() { return emptySet(); } protected Collection<Method> suppressForEmptyMap() { return emptySet(); } protected Collection<Method> suppressForSingletonMap() { return emptySet(); } protected Collection<Method> suppressForHashMap() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Dec 16 03:23:31 GMT 2025 - 17.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/SetViewTest.java
Set<Object> set = new HashSet<>(); assertThat(union(emptySet(), emptySet()).copyInto(set)).isSameInstanceAs(set); assertThat(intersection(emptySet(), emptySet()).copyInto(set)).isSameInstanceAs(set); assertThat(difference(emptySet(), emptySet()).copyInto(set)).isSameInstanceAs(set); assertThat(symmetricDifference(emptySet(), emptySet()).copyInto(set)).isSameInstanceAs(set); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 29.9K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java
} protected Collection<Method> suppressForEmptyList() { return emptySet(); } protected Collection<Method> suppressForSingletonList() { return emptySet(); } protected Collection<Method> suppressForArraysAsList() { return emptySet(); } protected Collection<Method> suppressForArrayList() { return emptySet(); } protected Collection<Method> suppressForLinkedList() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Sep 04 15:04:05 GMT 2025 - 12K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java
} protected Collection<Method> suppressForEmptyList() { return emptySet(); } protected Collection<Method> suppressForSingletonList() { return emptySet(); } protected Collection<Method> suppressForArraysAsList() { return emptySet(); } protected Collection<Method> suppressForArrayList() { return emptySet(); } protected Collection<Method> suppressForLinkedList() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Sep 04 15:04:05 GMT 2025 - 12.4K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java
} catch (IllegalArgumentException e) { return emptySet(comparator()); } } public ImmutableSortedSet<E> tailSet(E fromElement, boolean inclusive) { checkNotNull(fromElement); if (!inclusive) { E tmp = higher(fromElement); if (tmp == null) { return emptySet(comparator()); } fromElement = tmp; }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Aug 06 18:32:41 GMT 2025 - 15.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/FilteredKeyMultimap.java
import static com.google.common.base.Preconditions.checkNotNull; import static com.google.common.base.Preconditions.checkPositionIndex; import static java.util.Collections.emptyList; import static java.util.Collections.emptySet; import com.google.common.annotations.GwtCompatible; import com.google.common.base.Predicate; import com.google.errorprone.annotations.CanIgnoreReturnValue; import com.google.j2objc.annotations.WeakOuter;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 6.2K bytes - Click Count (0)