Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 841 - 850 of 1,428 for handle_ (0.06 seconds)

  1. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationTest.java

            assertEquals(0x04, buffer[0] & 0xFF, "First byte must still be 0x04");
            assertEquals(0, buffer[1], "Second byte must be null terminator");
        }
    
        @Test
        @DisplayName("writeBytesWireFormat handles empty string gracefully")
        void testWriteEmptyString() {
            when(mockConfig.getOemEncoding()).thenReturn("windows-1252");
            SmbComQueryInformation emptyCmd = new SmbComQueryInformation(mockConfig, "");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/SmbFileFilterTest.java

            verifyNoMoreInteractions(smbFile);
        }
    
        @ParameterizedTest(name = "getName='{0}' -> accepted={1}")
        @MethodSource("nameCases")
        @DisplayName("accept: name-based filter handles normal, empty, and null names")
        void accept_nameBasedFilter_handlesEdgeNames(String name, boolean expected) throws Exception {
            // Arrange: filter that accepts non-empty names ending with .txt
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  3. tests/test_response_dependency.py

    """Test using special types (Response, Request, BackgroundTasks) as dependency annotations.
    
    These tests verify that special FastAPI types can be used with Depends() annotations
    and that the dependency injection system properly handles them.
    """
    
    from typing import Annotated
    
    from fastapi import BackgroundTasks, Depends, FastAPI, Request, Response
    from fastapi.responses import JSONResponse
    from fastapi.testclient import TestClient
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 05 18:23:16 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/script/groovy/GroovyEngineTest.java

        }
    
        /**
         * Test that evaluate handles null paramMap safely
         */
        @Test
        public void test_evaluate_nullParamMap() {
            assertEquals("test", groovyEngine.evaluate("return 'test'", null));
            assertEquals(123, groovyEngine.evaluate("return 123", null));
        }
    
        /**
         * Test that evaluate handles empty paramMap
         */
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 06:03:38 GMT 2026
    - 29.1K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/helper/VirtualHostHelper.java

    import org.lastaflute.web.response.next.HtmlNext;
    import org.lastaflute.web.util.LaRequestUtil;
    
    /**
     * Helper class for managing virtual host configurations and routing.
     * This class provides functionality to handle virtual host-based routing
     * and path resolution based on HTTP headers.
     */
    public class VirtualHostHelper {
    
        /**
         * Default constructor.
         */
        public VirtualHostHelper() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  6. docs/en/docs/tutorial/cookie-param-models.md

    You can see the defined cookies in the docs UI at `/docs`:
    
    <div class="screenshot">
    <img src="/img/tutorial/cookie-param-models/image01.png">
    </div>
    
    /// info
    
    Have in mind that, as **browsers handle cookies** in special ways and behind the scenes, they **don't** easily allow **JavaScript** to touch them.
    
    If you go to the **API docs UI** at `/docs` you will be able to see the **documentation** for cookies for your *path operations*.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 10 11:48:27 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/base/login/EntraIdCredential.java

                }
                return permissions;
            }
    
            @Override
            public boolean refresh() {
                // MSAL4J handles token refresh internally through silent authentication
                // Check if token is still valid by comparing absolute timestamps
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb/DosFileFilterTest.java

        /**
         * Tests the constructor of DosFileFilter.
         * This test ensures that the constructor runs without errors and correctly initializes the object.
         * The wildcard parameter is stored but its filtering logic is handled server-side,
         * so we only verify its acceptance here.
         */
        @Test
        void testConstructor() {
            // The constructor should not throw any exceptions with valid inputs.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileInjector.java

    import org.apache.maven.model.Reporting;
    import org.apache.maven.model.building.ModelBuildingRequest;
    import org.apache.maven.model.building.ModelProblemCollector;
    import org.apache.maven.model.merge.MavenModelMerger;
    
    /**
     * Handles profile injection into the model.
     *
     * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead
     */
    @Named
    @Singleton
    @Deprecated(since = "4.0.0")
    @SuppressWarnings({"checkstyle:methodname"})
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 8K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

            // Ensure proper cleanup before delete
            file.close();
            Thread.sleep(500); // Give more time for handle release
            System.gc(); // Force garbage collection
            Thread.sleep(200);
    
            // Delete using a completely new context to avoid handle issues
            CIFSContext deleteContext = createFreshContext();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 56K bytes
    - Click Count (0)
Back to Top