Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 1,161 for handler (0.04 sec)

  1. docs/en/docs/reference/dependencies.md

    ## `Depends()`
    
    Dependencies are handled mainly with the special function `Depends()` that takes a callable.
    
    Here is the reference for it and its parameters.
    
    You can import it directly from `fastapi`:
    
    ```python
    from fastapi import Depends
    ```
    
    ::: fastapi.Depends
    
    ## `Security()`
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 671 bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseState.java

         */
        public static boolean canCacheEnumeration(int state) {
            return Smb2LeaseState.hasReadCaching(state);
        }
    
        /**
         * Check if directory can keep handles open
         * @param state lease state
         * @return true if directory handles can be kept open
         */
        public static boolean canKeepHandlesOpen(int state) {
            return Smb2LeaseState.hasHandleCaching(state);
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/SmbResourceException.java

            return requestedResources;
        }
    
        private String generateRecoveryHint() {
            switch (resourceType) {
            case FILE_HANDLE:
                return "Close unused file handles or increase the file handle limit";
            case CONNECTION:
                return "Close idle connections or increase the connection pool size";
            case MEMORY:
                return "Reduce buffer sizes or increase heap memory";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java

        /**
         * Get failure count for a handle
         *
         * @param handle notification handle
         * @return number of consecutive failures
         */
        private int getFailureCount(ChangeNotificationHandle handle) {
            return failureCounts.getOrDefault(handle.getDirectoryPath(), 0);
        }
    
        /**
         * Increment failure count for a handle
         *
         * @param handle notification handle
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/SmbTreeHandleTest.java

            assertTrue(smbTreeHandle.isSameTree(smbTreeHandle), "isSameTree should return true for the same handle");
            assertFalse(smbTreeHandle.isSameTree(anotherHandle), "isSameTree should return false for a different handle");
        }
    
        /**
         * Test for isSMB2() method.
         * Verifies that the method returns the correct SMB protocol version status.
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  6. CHANGELOG/CHANGELOG-1.9.md

    * Cluster Autoscaler 1.0.0 ([#53005](https://github.com/kubernetes/kubernetes/pull/53005), [@mwielgus](https://github.com/mwielgus))
    * Remove the --docker-exec-handler flag. Only native exec handler is supported. ([#52287](https://github.com/kubernetes/kubernetes/pull/52287), [@yujuhong](https://github.com/yujuhong))
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Tue Nov 16 10:46:27 UTC 2021
    - 313.7K bytes
    - Viewed (0)
  7. mockwebserver/src/main/kotlin/mockwebserver3/SocketHandler.kt

     */
    package mockwebserver3
    
    import okio.Socket
    
    /**
     * Handles a call's request and response streams directly. Use this instead of [MockResponseBody] to
     * begin sending response data before all request data has been received.
     *
     * See [okhttp3.RequestBody.isDuplex].
     */
    public interface SocketHandler {
      public fun handle(socket: Socket)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 14 16:09:26 UTC 2025
    - 940 bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/UrlFilterTest.java

        public void test_init_withNullSessionId() {
            urlFilter.init(null);
            // Should handle null session ID gracefully
            assertNotNull(urlFilter);
        }
    
        /**
         * Test initialization with empty session ID
         */
        public void test_init_withEmptySessionId() {
            urlFilter.init("");
            // Should handle empty session ID gracefully
            assertNotNull(urlFilter);
        }
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 19K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcConnectionMonitorTarget.java

     * idleConnectionTimeout the timeout duration (in milliseconds) for idle connections
     *
     * <p>Methods:</p>
     * <ul>
     *   <li>{@link #expired()}: Handles the expiration of connections by closing expired and idle connections.</li>
     * </ul>
     *
     * <p>Logging:</p>
     * <ul>
     *   <li>Logs a warning if the clientConnectionManager is null.</li>
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbFilenameFilterTest.java

            verifyNoInteractions(mockDir);
        }
    
        /**
         * Invalid/null inputs: ensure filters can handle null name and dir.
         */
        @ParameterizedTest
        @DisplayName("null and empty names are handled explicitly")
        @NullAndEmptySource
        @ValueSource(strings = { " \t\n" })
        void handlesNullAndEmptyNames(String name) throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.3K bytes
    - Viewed (0)
Back to top