Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 798 for Close (0.02 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbTransport.java

                    final SmbSession ssn = (SmbSession) iter.next();
                    ssn.logoff(hard);
                }
                socket.shutdownOutput();
                out.close();
                in.close();
                socket.close();
            } finally {
                digest = null;
                socket = null;
                tconHostName = null;
            }
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt

      private val server = MockWebServer()
    
      private var client = clientTestRule.newClient()
      private val callback = RecordingCallback()
    
      @Test
      fun applicationInterceptorsCanShortCircuitResponses() {
        server.close() // Accept no connections.
        val request =
          Request
            .Builder()
            .url("https://localhost:1/")
            .build()
        val interceptorResponse =
          Response
            .Builder()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java

            // Close should have sent FindClose2 exactly once
            ArgumentCaptor<SmbComFindClose2> captor = ArgumentCaptor.forClass(SmbComFindClose2.class);
            verify(tree, times(1)).send(captor.capture(), any());
            assertNotNull(captor.getValue());
    
            // Tree handle is released after close
            verify(tree, atLeastOnce()).release();
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  4. docs/em/docs/tutorial/dependencies/dependencies-with-yield.md

    # 🔗 âŽī¸ 🌾
    
    FastAPI 🐕‍đŸĻē 🔗 👈 <abbr title='sometimes also called "exit", "cleanup", "teardown", "close", "context managers", ...'>➕ 🔁 âŽī¸ 🏁</abbr>.
    
    👉, âš™ī¸ `yield` â†Šī¸ `return`, &amp; ✍ ➕ 🔁 âŽī¸.
    
    /// tip
    
    ⚒ 💭 âš™ī¸ `yield` 1ī¸âƒŖ 👁 🕰.
    
    ///
    
    /// note | 📡 ℹ
    
    🙆 đŸ”ĸ 👈 ☑ âš™ī¸ âŽī¸:
    
    * <a href="https://docs.python.org/3/library/contextlib.html#contextlib.contextmanager" class="external-link" target="_blank">`@contextlib.contextmanager`</a> âš–ī¸
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. samples/guide/src/main/java/okhttp3/recipes/LoggingInterceptors.java

        Request request = new Request.Builder()
            .url("https://publicobject.com/helloworld.txt")
            .build();
    
        Response response = client.newCall(request).execute();
        response.body().close();
      }
    
      private static class LoggingInterceptor implements Interceptor {
        @Override public Response intercept(Chain chain) throws IOException {
          long t1 = System.nanoTime();
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jan 01 15:55:32 UTC 2016
    - 2K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt

      /**
       * Immediately closes the socket connection if it's currently held. Use this to interrupt an
       * in-flight request from any thread. It's the caller's responsibility to close the request body
       * and response body streams; otherwise resources may be leaked.
       *
       * This method is safe to be called concurrently, but provides limited guarantees. If a transport
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:30:11 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  7. cmd/s3-zip-handlers.go

    		if err != nil {
    			writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    			return
    		}
    		defer gr.Close()
    		rc, err = file.Open(gr)
    		if err != nil {
    			writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    			return
    		}
    	} else {
    		rc = io.NopCloser(bytes.NewReader([]byte{}))
    	}
    
    	defer rc.Close()
    
    	if err = setObjectHeaders(ctx, w, fileObjInfo, nil, opts); err != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java

                                return new FileInputStream(new File(file.getPath()));
                            }
    
                            @Override
                            public void close() throws IOException {
                                // Nothing to close
                            }
                        };
                    } catch (Exception e) {
                        throw new RuntimeException(e);
                    }
                }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/curl/CurlResponse.java

        /**
         * Closes the content cache if it is not null.
         *
         * @throws IOException if an I/O error occurs.
         */
        @Override
        public void close() throws IOException {
            if (contentCache != null) {
                contentCache.close();
            }
        }
    
        /**
         * Gets the content of the response using the provided parser function.
         *
         * @param <T> the type of the parsed content.
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:38:18 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  10. src/main/webapp/WEB-INF/view/admin/failureurl/admin_failureurl.jsp

                                                                    </h4>
                                                                    <button type="button" class="close" data-dismiss="modal"
                                                                            aria-label="Close">
                                                                        <span aria-hidden="true">×</span>
                                                                    </button>
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Feb 13 07:47:04 UTC 2020
    - 13.3K bytes
    - Viewed (0)
Back to top