Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 660 for detection (0.81 sec)

  1. src/test/java/org/codelibs/fess/api/WebApiRequestTest.java

            webApiRequest = new WebApiRequest(mockRequest, customPath);
    
            assertEquals(originalPath, webApiRequest.getServletPath());
        }
    
        // Test edge cases for SAStruts.method detection
        public void test_getServletPath_withSAStrutsMethodSubstring_returnsSuperPath() {
            final String originalPath = "/original/path";
            final String customPath = "/api/v1/search";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/platform/Platform.kt

     * manager that was used to create an [SSLSocketFactory].
     *
     * Not supported by choice on JDK9+ due to access checks.
     *
     * ### Android Cleartext Permit Detection
     *
     * Supported on Android 6.0+ via `NetworkSecurityPolicy`.
     */
    open class Platform {
      /** Prefix used on custom headers. */
      fun getPrefix() = "OkHttp"
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/InputValidatorTest.java

            assertThrows(IllegalArgumentException.class, () -> InputValidator.validateArrayBounds(src, 0, dst, 50, 60));
        }
    
        @ParameterizedTest
        @DisplayName("Test path traversal detection")
        @ValueSource(strings = { "../etc/passwd", "..\\windows\\system32", "folder/../../../etc", "test/../../root", "..\\..\\..\\windows" })
        void testPathTraversal(String path) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

            Smb2TreeConnectResponse responseWithNull = new Smb2TreeConnectResponse(null);
    
            // Then
            assertNotNull(responseWithNull);
        }
    
        @Test
        @DisplayName("Should test encryption flag detection")
        void testEncryptionFlagDetection() throws SMBProtocolDecodingException {
            // Given - response with encryption flag set
            byte[] buffer = createValidResponseBuffer(0, 0x8000, 0, 0);
    
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/UserInfoHelper.java

        }
    
        /**
         * Sets whether the user identification cookie should be marked as secure.
         *
         * @param cookieSecure true if the cookie should be secure (HTTPS only), false otherwise, or null for auto-detection
         */
        public void setCookieSecure(final Boolean cookieSecure) {
            this.cookieSecure = cookieSecure;
        }
    
        /**
         * Sets whether the user identification cookie should be HTTP-only.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

        assertSame(firstException.getCause(), expected.getCause());
        // lockA should work after lockB is released.
        lockB.unlock();
        lockA.lock();
      }
    
      // Tests transitive deadlock detection.
      public void testDeadlock_threeLocks() {
        // Establish an ordering from lockA -> lockB.
        lockA.lock();
        lockB.lock();
        lockB.unlock();
        lockA.unlock();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

        assertSame(firstException.getCause(), expected.getCause());
        // lockA should work after lockB is released.
        lockB.unlock();
        lockA.lock();
      }
    
      // Tests transitive deadlock detection.
      public void testDeadlock_threeLocks() {
        // Establish an ordering from lockA -> lockB.
        lockA.lock();
        lockB.lock();
        lockB.unlock();
        lockA.unlock();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  8. apache-maven/src/assembly/maven/conf/settings.xml

       |
       | As noted above, profiles can be activated in a variety of ways. One way - the activeProfiles
       | section of this document (settings.xml) - will be discussed later. Another way essentially
       | relies on the detection of a property, either matching a particular value for the property,
       | or merely testing its existence. Profiles can also be activated by JDK version prefix, where a
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 22 07:44:50 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/AllocInfoTest.java

                boolean hasEnoughSpace = allocInfo.getFree() >= requiredSpace;
    
                // Then
                assertTrue(hasEnoughSpace);
            }
    
            @Test
            @DisplayName("Should support full disk detection pattern")
            void shouldSupportFullDiskDetectionPattern() {
                // Given
                TestAllocInfo fullDisk = new TestAllocInfo(1024L, 0L);
                TestAllocInfo partialDisk = new TestAllocInfo(1024L, 512L);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/util/ServerResponseValidator.java

     *
     * Features:
     * - Buffer bounds checking
     * - Integer overflow prevention
     * - Size validation
     * - Protocol compliance checking
     * - Malformed response detection
     */
    public class ServerResponseValidator {
    
        private static final Logger log = LoggerFactory.getLogger(ServerResponseValidator.class);
    
        // Protocol limits
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.6K bytes
    - Viewed (0)
Back to top