Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for emptyKey (0.03 sec)

  1. 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);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  2. 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");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  3. 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);
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.9K bytes
    - Viewed (0)
  4. 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() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Dec 16 03:23:31 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  5. 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() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 04 15:04:05 UTC 2025
    - 12K bytes
    - Viewed (0)
  6. 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() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 04 15:04:05 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  7. 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;
        }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  8. 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;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/features/TesterRequirements.java

      }
    
      public TesterRequirements(TesterRequirements tr) {
        this(tr.getPresentFeatures(), tr.getAbsentFeatures());
      }
    
      public TesterRequirements() {
        this(Collections.emptySet(), Collections.emptySet());
      }
    
      public final Set<Feature<?>> getPresentFeatures() {
        return presentFeatures;
      }
    
      public final Set<Feature<?>> getAbsentFeatures() {
        return absentFeatures;
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 20:54:16 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/features/TesterRequirements.java

      }
    
      public TesterRequirements(TesterRequirements tr) {
        this(tr.getPresentFeatures(), tr.getAbsentFeatures());
      }
    
      public TesterRequirements() {
        this(Collections.emptySet(), Collections.emptySet());
      }
    
      public final Set<Feature<?>> getPresentFeatures() {
        return presentFeatures;
      }
    
      public final Set<Feature<?>> getAbsentFeatures() {
        return absentFeatures;
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 20:54:16 UTC 2025
    - 2.6K bytes
    - Viewed (0)
Back to top