Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 45 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/timer/MonitorTargetTest.java

        public void test_append_emptyString() {
            StringBuilder buf = new StringBuilder();
            Supplier<Object> supplier = () -> "";
    
            monitorTarget.append(buf, "emptyKey", supplier);
            assertEquals("\"emptyKey\":\"\"", buf.toString());
        }
    
        // Test append with very long string
        public void test_append_veryLongString() {
            StringBuilder buf = new StringBuilder();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11K bytes
    - Viewed (0)
  3. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  4. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Sep 04 15:04:05 UTC 2025
    - 12K bytes
    - Viewed (0)
  5. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.9K bytes
    - Viewed (0)
  6. android/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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  7. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableSetMultimap.java

       * values.
       */
      private final transient ImmutableSet<V> emptySet;
    
      ImmutableSetMultimap(
          ImmutableMap<K, ImmutableSet<V>> map,
          int size,
          @Nullable Comparator<? super V> valueComparator) {
        super(map, size);
        this.emptySet = emptySet(valueComparator);
      }
    
      // views
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

       * values.
       */
      private final transient ImmutableSet<V> emptySet;
    
      ImmutableSetMultimap(
          ImmutableMap<K, ImmutableSet<V>> map,
          int size,
          @Nullable Comparator<? super V> valueComparator) {
        super(map, size);
        this.emptySet = emptySet(valueComparator);
      }
    
      // views
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/google/MultisetTestSuiteBuilder.java

    package com.google.common.collect.testing.google;
    
    import static com.google.common.base.Preconditions.checkArgument;
    import static com.google.common.collect.testing.Helpers.copyToList;
    import static java.util.Collections.emptySet;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.collect.Multiset;
    import com.google.common.collect.Multiset.Entry;
    import com.google.common.collect.Multisets;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 10.5K bytes
    - Viewed (0)
Back to top