Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 307 for crossed (0.04 sec)

  1. okhttp-sse/src/main/kotlin/okhttp3/sse/EventSource.kt

      fun request(): Request
    
      /**
       * Immediately and violently release resources held by this event source. This does nothing if
       * the event source has already been closed or canceled.
       */
      fun cancel()
    
      fun interface Factory {
        /**
         * Creates a new event source and immediately returns it. Creating an event source initiates an
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Oct 03 07:51:20 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  2. docs/changelogs/changelog_1x.md

     * New: CacheControl model and parser.
     * New: Protocol selection in MockWebServer.
     * Fix: Route selection shouldn't use TLS modes that we know will fail.
     * Fix: Cache SPDY responses even if the response body is closed prematurely.
     * Fix: Use strict timeouts when aborting a download.
     * Fix: Support Shoutcast HTTP responses like `ICY 200 OK`.
     * Fix: Don't unzip if there isn't a response body.
     * Fix: Don't leak gzip streams on redirects.
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 6.4K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/MockHttp2Peer.kt

      }
    
      /**
       * Shortens the last frame from its original length to `length`. This will cause the peer to
       * close the socket as soon as this frame has been written; otherwise the peer stays open until
       * explicitly closed.
       */
      fun truncateLastFrame(length: Int): Http2Writer {
        val lastFrame = outFrames.removeAt(outFrames.size - 1)
        require(length < bytesOut.size - lastFrame.start)
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/RangeSet.java

     * ignore empty ranges and coalesce connected ranges. For example:
     *
     * {@snippet :
     * RangeSet<Integer> rangeSet = TreeRangeSet.create();
     * rangeSet.add(Range.closed(1, 10)); // {[1, 10]}
     * rangeSet.add(Range.closedOpen(11, 15)); // disconnected range; {[1, 10], [11, 15)}
     * rangeSet.add(Range.closedOpen(15, 20)); // connected range; {[1, 10], [11, 20)}
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  5. mockwebserver/src/main/kotlin/mockwebserver3/Dispatcher.kt

       * should return immediately. Responses returned after shutdown will not be transmitted: their
       * socket connections have already been closed.
       */
      public open override fun close() {}
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/suggest/SuggesterResourceLoadingTest.java

                assertEquals("Braces should be balanced", openBraces, closeBraces);
            }
        }
    
        /**
         * Test that InputStream is properly closed even when exception occurs.
         * Verifies try-with-resources cleanup behavior.
         */
        @Test
        public void testResourceLoading_exceptionHandling() {
            try {
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ExtractorResourceManagementTest.java

    import org.dbflute.utflute.core.PlainTestCase;
    
    /**
     * Test class to verify proper resource management in Extractor implementations.
     * This test ensures that resources are properly closed even when exceptions occur.
     */
    public class ExtractorResourceManagementTest extends PlainTestCase {
        private static final Logger logger = LogManager.getLogger(ExtractorResourceManagementTest.class);
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Callback.kt

      /**
       * Called when the HTTP response was successfully returned by the remote server. The callback may
       * proceed to read the response body with [Response.body]. The response is still live until its
       * response body is [closed][ResponseBody]. The recipient of the callback may consume the response
       * body on another thread.
       *
       * Note that transport-layer success (receiving a HTTP response code, headers and body) does not
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/rdma/disni/DisniRdmaConnection.java

                // if (endpoint != null) {
                //     endpoint.close();
                // }
            } finally {
                state = RdmaConnectionState.CLOSED;
            }
    
            log.debug("DiSNI RDMA connection closed");
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/MultipartReaderTest.kt

        val partAbc = parts.nextPart()!!
        val partMno = parts.nextPart()!!
    
        assertFailsWith<IllegalStateException> {
          partAbc.body.request(20)
        }.also { expected ->
          assertThat(expected).hasMessage("closed")
        }
    
        assertThat(partMno.body.readUtf8()).isEqualTo("mnop")
        assertThat(parts.nextPart()).isNull()
      }
    
      @Test fun `cannot read part after calling close`() {
        val multipart =
          """
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed May 28 02:11:14 UTC 2025
    - 15.4K bytes
    - Viewed (0)
Back to top