Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 153 for Alive (0.02 sec)

  1. okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt

          .assertLogEqual("<-- END HTTP")
          .assertNoMoreLogs()
        networkLogs
          .assertLogEqual("--> GET $url http/1.1")
          .assertLogEqual("Host: $host")
          .assertLogEqual("Connection: Keep-Alive")
          .assertLogEqual("Accept-Encoding: gzip")
          .assertLogMatch(Regex("""User-Agent: okhttp/.+"""))
          .assertLogEqual("--> END GET")
          .assertLogMatch(Regex("""<-- 200 OK $url \(\d+ms\)"""))
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Nov 07 02:57:33 UTC 2025
    - 39.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/ds/AbstractDataStore.java

        /**
         * The mime type.
         */
        public String mimeType = "application/datastore";
    
        /**
         * The flag to check if the data store is alive.
         * Volatile to ensure visibility across threads.
         */
        protected volatile boolean alive = true;
    
        /**
         * Default constructor.
         */
        public AbstractDataStore() {
            // nothing
        }
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

            // All connections are in use. It'll be at least the keep alive duration 'til we run again.
            return keepAliveDurationNs
          }
    
          else -> {
            // No connections, idle or in use.
            return -1
          }
        }
      }
    
      /**
       * Prunes any leaked calls and then returns the number of remaining live calls on [connection].
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Oct 08 03:50:05 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_header_param_models/test_tutorial003.py

                            "traceparent": "123",
                            "x_tag": [],
                            "accept": "*/*",
                            "accept-encoding": "gzip, deflate",
                            "connection": "keep-alive",
                            "user-agent": "testclient",
                            "save-data": "true",
                            "if-modified-since": "yesterday",
                            "x-tag": ["one", "two"],
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  5. internal/http/dial_linux.go

    			// Enable TCP quick ACK, John Nagle says
    			// "Set TCP_QUICKACK. If you find a case where that makes things worse, let me know."
    			_ = syscall.SetsockoptInt(fd, syscall.IPPROTO_TCP, unix.TCP_QUICKACK, 1)
    
    			/// Enable keep-alive
    			{
    				_ = unix.SetsockoptInt(fd, unix.SOL_SOCKET, unix.SO_KEEPALIVE, 1)
    
    				// The time (in seconds) the connection needs to remain idle before
    				// TCP starts sending keepalive probes
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Jul 23 10:53:03 UTC 2024
    - 5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

            h[1] = (byte) ((length >> 16) & 0x01);
            h[2] = (byte) ((length >> 8) & 0xFF);
            h[3] = (byte) (length & 0xFF);
            return h;
        }
    
        /**
         * Creates a NetBIOS keep-alive header.
         * Keep-alive packets have type 0x85 and zero length.
         */
        private static byte[] keepAliveHeader() {
            byte[] h = new byte[4];
            h[0] = (byte) SessionServicePacket.SESSION_KEEP_ALIVE;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/AddressPolicy.kt

       * How many concurrent calls should be possible to make at any time.
       * The pool will routinely try to pre-emptively open connections to satisfy this minimum.
       * Connections will still be closed if they idle beyond the keep-alive but will be replaced.
       */
      @JvmField val minimumConcurrentCalls: Int = 0,
      /** How long to wait to retry pre-emptive connection attempts that fail. */
      @JvmField val backoffDelayMillis: Long = 60 * 1000,
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Jun 03 17:10:08 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  8. samples/compare/src/test/kotlin/okhttp3/compare/OkHttpClientTest.kt

        assertThat(recorded.headers["Accept"]).isEqualTo("text/plain")
        assertThat(recorded.headers["Accept-Encoding"]).isEqualTo("gzip")
        assertThat(recorded.headers["Connection"]).isEqualTo("Keep-Alive")
        assertThat(recorded.headers["User-Agent"]!!).matches(Regex("okhttp/.*"))
      }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  9. internal/http/close.go

    	// If resp.Body is not closed, the Client's underlying RoundTripper
    	// (typically Transport) may not be able to reuse a persistent TCP
    	// connection to the server for a subsequent "keep-alive" request.
    	if respBody != nil {
    		// Drain any remaining Body and then close the connection.
    		// Without this closing connection would disallow re-using
    		// the same connection for future uses.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/job/PingSearchEngineJob.java

                        .append(ping.getClusterStatus())
                        .append('.');
            } else if (status == 0) {
                resultBuf.append(ping.getClusterName()).append(" is alive.");
            } else {
                resultBuf.append(ping.getClusterName()).append(" is not available.");
            }
    
            return resultBuf.toString();
        }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 4.4K bytes
    - Viewed (0)
Back to top