Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 790 for _close (0.09 sec)

  1. docs/changelogs/changelog_2x.md

     *  Fix: Don't re-encode `+` as `%20` in encoded URL query strings. OkHttp
        prefers `%20` when doing its own encoding, but will retain `+` when that is
        provided.
     *  Fix: Enforce that callers call `WebSocket.close()` on IO errors. Error
        handling in WebSockets is significantly improved.
     *  Fix: Don't use SPDY/3 style header concatenation for HTTP/2 request headers.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 26.6K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt

        if (connectionUser.candidateConnection() != null) {
          check(toClose == null)
          return ReusePlan(candidate)
        }
    
        // The call's connection was released.
        toClose?.closeQuietly()
        connectionUser.connectionReleased(candidate)
        connectionUser.connectionConnectionReleased(candidate)
        if (toClose != null) {
          connectionUser.connectionConnectionClosed(candidate)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 12K bytes
    - Viewed (0)
  3. src/main/java/jcifs/util/AuthenticationRateLimiter.java

            totalAttemptsBlocked.set(0);
            totalAccountsLocked.set(0);
            totalIpsBlocked.set(0);
            log.info("Rate limiter state reset");
        }
    
        @Override
        public void close() {
            if (!closed.compareAndSet(false, true)) {
                return;
            }
    
            cleanupScheduler.shutdownNow();
            try {
                cleanupScheduler.awaitTermination(5, TimeUnit.SECONDS);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/sql/ResultSetUtil.java

         */
        protected ResultSetUtil() {
        }
    
        /**
         * Closes the result set.
         * <p>
         * If {@link ResultSet#close()} throws an exception, an error message is logged. The exception is not rethrown.
         * </p>
         *
         * @param resultSet
         *            The result set
         */
        public static void close(final ResultSet resultSet) {
            if (resultSet == null) {
                return;
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/zip/ZipFileUtil.java

        }
    
        /**
         * Closes the Zip file.
         * <p>
         * If {@link ZipFile#close()} throws an exception, an error message is logged. The exception is not rethrown.
         * </p>
         *
         * @param zipFile
         *            Zip file. Must not be {@literal null}.
         */
        public static void close(final ZipFile zipFile) {
            assertArgumentNotNull("zipFile", zipFile);
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketReaderTest.kt

        }
      }
    
      @Test fun closeReservedSetThrows() {
        data.write("880203ec".decodeHex()) // Close with code 1004
        data.write("880203ed".decodeHex()) // Close with code 1005
        data.write("880203ee".decodeHex()) // Close with code 1006
        for (i in 1015..2999) {
          data.write(("8802" + format("%04X", i)).decodeHex()) // Close with code 'i'
        }
        var count = 0
        while (!data.exhausted()) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/CharSourceTest.java

        StringWriter writer = new StringWriter();
        char[] buf = new char[64];
        int read;
        while ((read = reader.read(buf)) != -1) {
          writer.write(buf, 0, read);
        }
        reader.close();
        writer.close();
    
        assertTrue(source.wasStreamClosed());
        assertEquals(STRING, writer.toString());
      }
    
      public void testLines() throws IOException {
        source = new TestCharSource(LINES);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/MockHttp2Peer.kt

            // Write a frame.
            val length = (end - start).toInt()
            outputStream.write(outBytes, start.toInt(), length)
    
            // If the last frame was truncated, immediately close the connection.
            if (truncated) {
              socket.close()
            }
          } else {
            // read a frame
            val inFrame = InFrame(i, reader)
            reader.nextFrame(false, inFrame)
            inFrames.add(inFrame)
          }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/jar/JarFileUtil.java

            return FileUtil.getCanonicalPath(jarFile);
        }
    
        /**
         * Closes the JAR file.
         * <p>
         * If {@link JarFile#close()} throws an exception, an error message is logged. The exception is not re-thrown.
         * </p>
         *
         * @param jarFile the JAR file (must not be {@literal null})
         */
        public static void close(final JarFile jarFile) {
            assertArgumentNotNull("jarFile", jarFile);
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt

     *
     * ```java
     * client.connectionPool().evictAll();
     * ```
     *
     * If your client has a cache, call [close()][Cache.close]. Note that it is an error to create calls
     * against a cache that is closed, and doing so will cause the call to crash.
     *
     * ```java
     * client.cache().close();
     * ```
     *
     * OkHttp also uses daemon threads for HTTP/2 connections. These will exit automatically if they
     * remain idle.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 51.7K bytes
    - Viewed (0)
Back to top