Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 911 - 920 of 2,996 for switch (0.03 seconds)

  1. docs/en/docs/features.md

    Security and authentication integrated. Without any compromise with databases or data models.
    
    All the security schemes defined in OpenAPI, including:
    
    * HTTP Basic.
    * **OAuth2** (also with **JWT tokens**). Check the tutorial on [OAuth2 with JWT](tutorial/security/oauth2-jwt.md).
    * API keys in:
        * Headers.
        * Query parameters.
        * Cookies, etc.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/job/PurgeThumbnailJobTest.java

            assertNotNull(job);
            assertEquals(30L * 24 * 60 * 60 * 1000L, job.getExpiry());
        }
    
        // Test getExpiry with default value
        @Test
        public void test_getExpiry_default() {
            assertEquals(30L * 24 * 60 * 60 * 1000L, purgeThumbnailJob.getExpiry());
        }
    
        // Test expiry setter with valid value
        @Test
        public void test_expiry_validValue() {
            long newExpiry = 60L * 24 * 60 * 60 * 1000L; // 60 days
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 7.4K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/script/ScriptEngineTest.java

        }
    
        // Test evaluate method with empty template
        @Test
        public void test_evaluate_withEmptyTemplate() {
            String template = "";
            Map<String, Object> paramMap = new HashMap<>();
            paramMap.put("key", "value");
    
            Object result = scriptEngine.evaluate(template, paramMap);
            assertEquals("", result);
        }
    
        // Test evaluate method with null template
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 12.5K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/exception/ContainerNotAvailableExceptionTest.java

            assertEquals(componentName, exception.getComponentName());
        }
    
        @Test
        public void test_longComponentName() {
            // Test with a very long component name
            String longName = "com.example.very.long.package.name.with.many.nested.levels.MyVeryLongComponentNameThatExceedsNormalLength";
            ContainerNotAvailableException exception = new ContainerNotAvailableException(longName, null);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/util/SMBUtilTest.java

            // Test with simple value
            SMBUtil.writeInt2(0x1234L, dst, 0);
            assertEquals((byte) 0x34, dst[0]);
            assertEquals((byte) 0x12, dst[1]);
    
            // Test with max value for 2 bytes
            SMBUtil.writeInt2(0xFFFFL, dst, 2);
            assertEquals((byte) 0xFF, dst[2]);
            assertEquals((byte) 0xFF, dst[3]);
    
            // Test with zero
            SMBUtil.writeInt2(0L, dst, 4);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java

            assertNotNull(sd.getOwnerGroupSid());
            assertNull(sd.getAces());
        }
    
        @Test
        @DisplayName("Test decode with owner SID only")
        void testDecodeWithOwnerSidOnly() throws SMBProtocolDecodingException {
            // Prepare buffer with owner SID only
            prepareMinimalSecurityDescriptorBuffer(testBuffer, 0, true, false, false);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.6K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java

            Properties props = new Properties();
            config = new PropertyConfiguration(props);
        }
    
        @Test
        @DisplayName("Test constructor with SMB_INFO_ALLOCATION")
        void testConstructorWithSmbInfoAllocation() {
            // Create instance with SMB_INFO_ALLOCATION
            trans2QueryFSInfo = new Trans2QueryFSInformation(config, FileSystemInformation.SMB_INFO_ALLOCATION);
    
            // Verify initialization
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.9K bytes
    - Click Count (0)
  8. docs/en/docs/advanced/websockets.md

    In your production system, you probably have a frontend created with a modern framework like React, Vue.js or Angular.
    
    And to communicate using WebSockets with your backend you would probably use your frontend's utilities.
    
    Or you might have a native mobile application that communicates with your WebSocket backend directly, in native code.
    
    Or you might have any other way to communicate with the WebSocket endpoint.
    
    ---
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  9. tests/test_additional_responses_router.py

    @router.get(
        "/b",
        responses={
            502: {"description": "Error 2"},
            "4XX": {"description": "Error with range, upper"},
        },
    )
    async def b():
        return "b"
    
    
    @router.get(
        "/c",
        responses={
            "400": {"description": "Error with str"},
            "5xx": {"description": "Error with range, lower"},
            "default": {"description": "A default response"},
        },
    )
    async def c():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 5.6K bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/UpgradeContext.java

            logger.info("");
        }
    
        // Semantic logging methods with icons for upgrade operations
    
        /**
         * Logs a successful operation with a checkmark icon.
         */
        public void success(String message) {
            logger.info(getCurrentIndent() + ConsoleIcon.SUCCESS.getIcon(terminal) + " " + message);
        }
    
        /**
         * Logs an error with an X icon.
         */
        public void failure(String message) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 4.7K bytes
    - Click Count (0)
Back to Top