Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for shortKey (0.24 sec)

  1. src/test/java/org/codelibs/fess/timer/MonitorTargetTest.java

        public void test_append_shortValue() {
            StringBuilder buf = new StringBuilder();
            Supplier<Object> supplier = () -> Short.valueOf((short) 42);
    
            monitorTarget.append(buf, "shortKey", supplier);
            assertEquals("\"shortKey\":42", buf.toString());
        }
    
        // Test append method with double array
        public void test_append_doubleArray() {
            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)
  2. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

            String longPath = "\\\\server.domain.com\\very_long_share_name_here";
    
            Smb2TreeConnectRequest shortReq = new Smb2TreeConnectRequest(mockConfig, shortPath);
            Smb2TreeConnectRequest longReq = new Smb2TreeConnectRequest(mockConfig, longPath);
    
            // When
            int shortSize = shortReq.size();
            int longSize = longReq.size();
    
            // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/util/HMACT64Test.java

            HMACT64 hmac = new HMACT64(LONG_TEST_KEY);
            assertNotNull(hmac);
        }
    
        @Test
        void testConstructorWithShortKey() {
            // Test constructor with a key shorter than BLOCK_LENGTH (64 bytes)
            HMACT64 hmac = new HMACT64(SHORT_TEST_KEY);
            assertNotNull(hmac);
        }
    
        @Test
        void testEngineUpdateByte() {
            // Test engineUpdate(byte b)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Comparators.java

       * Returns a new comparator which sorts iterables by comparing corresponding elements pairwise
       * until a nonzero result is found; imposes "dictionary order." If the end of one iterable is
       * reached, but not the other, the shorter iterable is considered to be less than the longer one.
       * For example, a lexicographical natural ordering over integers considers {@code [] < [1] < [1,
       * 1] < [1, 2] < [2]}.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/util/HMACT64Test.java

            }
        }
    
        @Test
        void testConstructorWithShortKey() throws NoSuchAlgorithmException {
            // Test constructor with a key shorter than BLOCK_LENGTH (64 bytes)
            try (MockedStatic<Crypto> mockedCrypto = mockStatic(Crypto.class)) {
                mockedCrypto.when(Crypto::getMD5).thenReturn(mockMd5);
                HMACT64 hmac = new HMACT64(SHORT_TEST_KEY);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Functions.java

        public String toString() {
          return "Functions.toStringFunction()";
        }
      }
    
      /**
       * Returns the identity function.
       *
       * <p><b>Discouraged:</b> Prefer using a lambda like {@code v -> v}, which is shorter and often
       * more readable.
       */
      // implementation is "fully variant"; E has become a "pass-through" type
      @SuppressWarnings("unchecked")
      public static <E extends @Nullable Object> Function<E, E> identity() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 17:32:30 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt

       *
       * But this chain is wrong because the attackerSwitch certificate is being used in a CA role even
       * though it is not a CA certificate. There are pinned certificates in the chain! The correct
       * chain is much shorter because it skips the non-CA certificate.
       *
       * ```
       *   attackerCa
       *     -> attackerIntermediate
       *         -> phonyVictim
       * ```
       *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 24.3K bytes
    - Viewed (1)
  8. src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java

                assertEquals(1024, SMBUtil.readInt4(buffer, 4));
                assertEquals(2048, SMBUtil.readInt4(buffer, 32));
            }
    
            @Test
            @DisplayName("Should handle file ID shorter than 16 bytes")
            void testShortFileId() {
                byte[] shortFileId = new byte[8];
                Arrays.fill(shortFileId, (byte) 0xAB);
                request.setFileId(shortFileId);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/witness/WitnessAsyncNotifyMessage.java

            // Context handle (20 bytes)
            if (contextHandle != null) {
                buf.writeOctetArray(contextHandle, 0, Math.min(contextHandle.length, 20));
                // Pad with zeros if context handle is shorter than 20 bytes
                for (int i = contextHandle.length; i < 20; i++) {
                    buf.enc_ndr_small(0);
                }
            } else {
                // Write 20 zero bytes for null context handle
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/UnsignedLongs.java

       * compares, using {@link #compare(long, long)}), the first pair of values that follow any common
       * prefix, or when one array is a prefix of the other, treats the shorter array as the lesser. For
       * example, {@code [] < [1L] < [1L, 2L] < [2L] < [1L << 63]}.
       *
       * <p>The returned comparator is inconsistent with {@link Object#equals(Object)} (since arrays
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 17.8K bytes
    - Viewed (0)
Back to top