Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 960 for correctly (0.05 sec)

  1. src/test/java/jcifs/http/NtlmHttpFilterTest.java

        @Test
        void testDoFilter_ntlmType1Message() throws Exception {
            // Test NTLM Type 1 message handling
            // This test verifies that when a Type 1 NTLM message is received,
            // the filter processes it correctly through NtlmSsp.authenticate
    
            // Create a minimal filter config that won't try to connect to a real server
            Map<String, String> initParams = new HashMap<>();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  2. apache-maven/src/assembly/maven/bin/mvn.cmd

    for %%i in (java.exe) do set "JAVACMD=%%~$PATH:i"
    goto checkJavaCmd
    
    :javaHomeSet
    set "JAVACMD=%JAVA_HOME%\bin\java.exe"
    
    if not exist "%JAVACMD%" (
      echo The JAVA_HOME environment variable is not defined correctly, so Apache Maven cannot be started. >&2
      echo JAVA_HOME is set to "%JAVA_HOME%", but "%%JAVA_HOME%%\bin\java.exe" does not exist. >&2
      goto error
    )
    
    :checkJavaCmd
    if not exist "%JAVACMD%" (
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jul 24 09:49:07 UTC 2025
    - 9.6K bytes
    - Viewed (3)
  3. src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java

            }
        }
    
        @Nested
        @DisplayName("State Management Tests")
        class StateManagementTests {
    
            @Test
            @DisplayName("Should reset state correctly")
            void testReset() {
                // Set initial state
                response.received();
                assertTrue(response.isReceived());
    
                // Reset
                response.reset();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/AuthenticationRateLimiterTest.java

            } finally {
                concurrentLimiter.close();
            }
        }
    
        @Test
        public void testAutoCloseableInterface() throws Exception {
            // Test that rate limiter implements AutoCloseable correctly
            try (AuthenticationRateLimiter autoLimiter = new AuthenticationRateLimiter()) {
                assertTrue(autoLimiter.checkAttempt("user", "192.168.1.13"));
            }
            // Should auto-close without issues
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/com/ServerDataTest.java

            serverData.encryptionKey = new byte[] { 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, (byte) 0x88 };
            serverData.guid = new byte[16];
    
            // Then - verify all values are set correctly
            assertEquals((byte) 0x98, serverData.sflags);
            assertEquals(0xC853, serverData.sflags2);
            assertEquals(50, serverData.smaxMpxCount);
            assertEquals(16644, serverData.maxBufferSize);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17K bytes
    - Viewed (0)
  6. cmd/signature-v4.go

    func getSignature(signingKey []byte, stringToSign string) string {
    	return hex.EncodeToString(sumHMAC(signingKey, []byte(stringToSign)))
    }
    
    // Check to see if Policy is signed correctly.
    func doesPolicySignatureMatch(formValues http.Header) (auth.Credentials, APIErrorCode) {
    	// For SignV2 - Signature field will be valid
    	if _, ok := formValues[xhttp.AmzSignatureV2]; ok {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Dec 13 22:19:12 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/AbstractService.java

       * methods like {@link #state}, {@link #failureCause} and notably {@link #toString} can be run
       * without grabbing the lock.
       *
       * <p>To update this field correctly the lock must be held to guarantee that the state is
       * consistent.
       */
      private volatile StateSnapshot snapshot = new StateSnapshot(NEW);
    
      /** Constructor for use by subclasses. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/helper/SearchHelperTest.java

            assertEquals(testData, new String(decompressed));
            // For small strings, gzip overhead might make compressed data larger
            // So we just verify that compression/decompression works correctly
            assertNotNull(compressed);
            assertTrue(compressed.length > 0);
        }
    
        // Helper methods for creating mock objects
        private SearchRequestParams createMockSearchRequestParams() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/cache/CacheEvictionTest.java

        CacheTesting.drainRecencyQueues(cache);
        assertThat(keySet).contains(0);
      }
    
      public void testEviction_invalidateAll() {
        // test that .invalidateAll() resets total weight state correctly
        IdentityLoader<Integer> loader = identityLoader();
        LoadingCache<Integer, Integer> cache =
            CacheBuilder.newBuilder().concurrencyLevel(1).maximumSize(10).build(loader);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 15K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

            // root fallback
            SmbResourceLocatorImpl d = locator("smb:///");
            assertEquals("smb://", d.getName());
        }
    
        @Test
        @DisplayName("Parent URL is computed correctly")
        void testGetParent() {
            SmbResourceLocatorImpl a = locator("smb://server/share/dir/file.txt");
            assertEquals("smb://server/share/dir/", a.getParent());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
Back to top