Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 571 - 580 of 1,561 for Handle (0.05 seconds)

  1. src/main/java/jcifs/util/transport/Transport.java

                if (Thread.currentThread() == this.thread) {
                    // we are in the transport thread, ie. on idle disconnecting
                    // this is synchronous operation
                    // This does not handle compound requests
                    synchronized (this.inLock) {
                        final Long peekKey = peekKey();
                        if (peekKey == firstKey) {
                            doRecv(response);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 27.8K bytes
    - Click Count (0)
  2. guava/src/com/google/common/base/Throwables.java

       * declaredType}. Example usage:
       *
       * <pre>
       * try {
       *   someMethodThatCouldThrowAnything();
       * } catch (IKnowWhatToDoWithThisException e) {
       *   handle(e);
       * } catch (Throwable t) {
       *   Throwables.propagateIfInstanceOf(t, IOException.class);
       *   Throwables.propagateIfInstanceOf(t, SQLException.class);
       *   throw Throwables.propagate(t);
       * }
       * </pre>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  3. src/test/java/jcifs/SmbTreeTest.java

            doNothing().when(idempotentTree).close();
    
            // Close multiple times
            idempotentTree.close();
            idempotentTree.close();
    
            // Verify close was called, but implementation should handle idempotency
            verify(idempotentTree, times(2)).close();
        }
    
        /**
         * Test for unwrap with null parameter.
         * Verifies behavior when null is passed to unwrap.
         */
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  4. docs/en/docs/tutorial/security/simple-oauth2.md

    For OAuth2 they are just strings.
    
    ///
    
    ## Code to get the `username` and `password` { #code-to-get-the-username-and-password }
    
    Now let's use the utilities provided by **FastAPI** to handle this.
    
    ### `OAuth2PasswordRequestForm` { #oauth2passwordrequestform }
    
    First, import `OAuth2PasswordRequestForm`, and use it as a dependency with `Depends` in the *path operation* for `/token`:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 9.4K bytes
    - Click Count (0)
  5. cmd/format-erasure.go

    	for _, format := range formats {
    		if format == nil {
    			continue
    		}
    		// NOTE: This code is specifically needed when migrating version
    		// V1 to V2 to V3, in a scenario such as this we only need to handle
    		// single sets since we never used to support multiple sets in releases
    		// with V1 format version.
    		if len(format.Erasure.Sets) > 1 {
    			continue
    		}
    		if format.Erasure.This == "" {
    			return true
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 23.1K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java

    /**
     * Helper class for managing crawling information and statistics.
     * Provides functionality to track crawling sessions, manage document expiration,
     * and handle crawling information storage and retrieval.
     */
    public class CrawlingInfoHelper {
    
        /**
         * Creates a new instance of CrawlingInfoHelper.
         */
        public CrawlingInfoHelper() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 15.2K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java

            assertEquals(0x00, dst[13]);
    
            // Check security information
            assertEquals(0x12345678, SMBUtil.readInt4(dst, 14));
        }
    
        @Test
        @DisplayName("Test with negative FID value (should handle as unsigned)")
        void testNegativeFidValue() {
            int fid = -1; // Will be treated as 0xFFFF in unsigned 16-bit
            querySecurityDesc = new NtTransQuerySecurityDesc(mockConfig, fid, OWNER_SECURITY_INFORMATION);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.9K bytes
    - Click Count (0)
  8. docs/features/interceptors.md

    ```java
    /** This interceptor compresses the HTTP request body. Many webservers can't handle this! */
    final class GzipRequestInterceptor implements Interceptor {
      @Override public Response intercept(Interceptor.Chain chain) throws IOException {
        Request originalRequest = chain.request();
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 8.1K bytes
    - Click Count (0)
  9. src/main/java/jcifs/util/ResourceManager.java

                        }
                    }
                }
            }
    
            if (cleaned > 0) {
                log.info("Cleaned up {} abandoned resources", cleaned);
            }
        }
    
        /**
         * Handle phantom reference detection
         */
        private void handlePhantomReference(Reference<?> ref) {
            // Find the resource holder by phantom reference
            for (ResourceHolder holder : activeResources.values()) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 16.2K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/curl/io/ContentOutputStreamTest.java

        public void testCloseWithAlreadyDeletedFile() throws IOException {
            // ## Arrange ##
            // Write data exceeding threshold to force file creation, then delete the file
            // before close() - close() should handle this gracefully (log warning, not throw)
            ContentOutputStream cos = new ContentOutputStream(5, Curl.tmpDir);
            cos.write(new byte[] { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 }); // exceeds threshold
            cos.flush();
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 12:00:34 GMT 2026
    - 11.7K bytes
    - Click Count (0)
Back to Top