Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 89 for emptyKey (0.06 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. src/test/java/org/codelibs/fess/util/WebApiUtilTest.java

            // setObject should handle various inputs
            try {
                WebApiUtil.setObject("validKey", "validValue");
                WebApiUtil.setObject("", "emptyKey");
                WebApiUtil.setObject("nullValue", null);
                WebApiUtil.setObject(null, "nullKey");
                WebApiUtil.setObject(null, null);
            } catch (Exception e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  5. 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 {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jun 25 15:08:54 UTC 2025
    - 37.3K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java

      }
    
      protected Collection<Method> suppressForHashSet() {
        return emptySet();
      }
    
      protected Collection<Method> suppressForLinkedHashSet() {
        return emptySet();
      }
    
      protected Collection<Method> suppressForEnumSet() {
        return emptySet();
      }
    
      protected Collection<Method> suppressForSynchronizedNavigableSet() {
        return emptySet();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 19.8K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java

        return emptySet();
      }
    
      private Collection<Method> suppressForEmptySortedMap() {
        return emptySet();
      }
    
      protected Collection<Method> suppressForSingletonMap() {
        return emptySet();
      }
    
      protected Collection<Method> suppressForHashMap() {
        return emptySet();
      }
    
      protected Collection<Method> suppressForHashtable() {
        return emptySet();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 16:28:01 UTC 2025
    - 21.8K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/TestsForQueuesInJavaUtil.java

      }
    
      protected Collection<Method> suppressForArrayDeque() {
        return emptySet();
      }
    
      protected Collection<Method> suppressForLinkedList() {
        return emptySet();
      }
    
      protected Collection<Method> suppressForArrayBlockingQueue() {
        return emptySet();
      }
    
      protected Collection<Method> suppressForConcurrentLinkedQueue() {
        return emptySet();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 16:28:01 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  9. 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)
  10. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 16:28:01 UTC 2025
    - 17.2K bytes
    - Viewed (0)
Back to top