Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 204 for dashes (0.97 sec)

  1. src/main/java/jcifs/util/InputValidator.java

         * @return normalized path
         */
        public static String normalizeSmbPath(String path) {
            validateSmbPath(path);
    
            // Normalize slashes
            path = path.replace('/', '\\');
    
            // Remove redundant slashes
            path = path.replaceAll("\\\\+", "\\\\");
    
            // Remove trailing slash unless it's root
            if (path.length() > 1 && path.endsWith("\\")) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/NtlmUtilTest.java

            // Assert
            assertArrayEquals(expected, actual, "NT hash must match known test vector");
        }
    
        @Test
        @DisplayName("getNTHash: verify different passwords produce different hashes")
        void testGetNTHash_differentPasswords() {
            // Arrange
            String password1 = "password";
            String password2 = "Password";
    
            // Act
            byte[] hash1 = NtlmUtil.getNTHash(password1);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/DfsImplTest.java

            dfsImpl = new DfsImpl(mockContext);
        }
    
        // Test for the constructor
        @Test
        void testDfsImplConstructor() {
            // The constructor is called in setUp(), so if no exception is thrown, this test passes.
            assertNotNull(dfsImpl);
        }
    
        // Tests for isTrustedDomain
        @Test
        void testIsTrustedDomain_DfsDisabled() throws SmbAuthException {
            // Scenario: DFS is disabled in the configuration.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/rank/fusion/RankFusionSearcherTest.java

            assertEquals("test_rank_fusion", rankFusionSearcher.getName());
        }
    
        public void test_getName_cachesBehavior() {
            // Test that getName() caches the result after first call
            String firstName = rankFusionSearcher.getName();
            String secondName = rankFusionSearcher.getName();
            assertSame(firstName, secondName);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java

            } catch (final Exception e) {
                return url;
            }
        }
    
        /**
         * Gets the character encoding for a parent URL from cache or data service.
         * Caches encoding information to improve performance on subsequent requests.
         *
         * @param parentUrl the parent URL to get encoding for
         * @param sessionId the session ID for the crawling session
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/hash/LittleEndianByteArray.java

        if (usingVarHandle != null) {
          return usingVarHandle;
        }
    
        try {
          /*
           * UnsafeByteArray uses Unsafe.getLong() in an unsupported way, which is known to cause
           * crashes on Android when running in 32-bit mode. For maximum safety, we shouldn't use
           * Unsafe.getLong() at all, but the performance benefit on x86_64 is too great to ignore, so
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:49:18 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/util/HMACT64Test.java

            // This test uses a real MD5 instance to verify the HMAC calculation logic
            // HMACT64 is a modified HMAC-MD5 where the key is truncated at 64 bytes
            // instead of being hashed when it exceeds the block size.
    
            byte[] key = { (byte) 0x0b, (byte) 0x0b, (byte) 0x0b, (byte) 0x0b, (byte) 0x0b, (byte) 0x0b, (byte) 0x0b, (byte) 0x0b, (byte) 0x0b,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/SafeTreeSet.java

    import java.util.SortedSet;
    import java.util.TreeSet;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A wrapper around {@code TreeSet} that aggressively checks to see if elements are mutually
     * comparable. This implementation passes the navigable set test suites.
     *
     * @author Louis Wasserman
     */
    @GwtIncompatible
    public final class SafeTreeSet<E> implements Serializable, NavigableSet<E> {
      @SuppressWarnings("unchecked")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java

                // Test with concrete implementation
                assertDoesNotThrow(() -> concreteImplementation.replaceCache());
            }
    
            @Test
            @DisplayName("Should check if resolve hashes")
            void testIsResolveHashes() {
                // Test with mock
                when(mockReferralData.isResolveHashes()).thenReturn(true);
                assertTrue(mockReferralData.isResolveHashes());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/net/InetAddresses.java

       *   <li>If the IPv6 address contains an embedded IPv4 address, the function hashes that.
       *   <li>Otherwise, it hashes the upper 64 bits of the IPv6 address.
       * </ul>
       *
       * <p>A "coerced" IPv4 address is equivalent to itself.
       *
       * <p>NOTE: This method is failsafe for security purposes: ALL IPv6 addresses (except localhost
       * (::1)) are hashed to avoid the security risk associated with extracting an embedded IPv4
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
Back to top