Search Options

Results per page
Sort
Preferred Languages
Advance

Results 331 - 340 of 528 for contention (0.2 sec)

  1. samples/compare/src/test/kotlin/okhttp3/compare/JavaHttpClientTest.kt

        val recorded = server.takeRequest()
        assertThat(recorded.headers["Accept"]).isEqualTo("text/plain")
        assertThat(recorded.headers["Accept-Encoding"]).isNull() // No built-in gzip.
        assertThat(recorded.headers["Connection"]).isEqualTo("Upgrade, HTTP2-Settings")
        if (PlatformVersion.majorVersion < 19) {
          assertThat(recorded.headers["Content-Length"]).isEqualTo("0")
        }
        assertThat(recorded.headers["HTTP2-Settings"]).isNotNull()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  2. src/cmd/buildid/buildid.go

    	f, err := os.Open(file)
    	if err != nil {
    		log.Fatal(err)
    	}
    	matches, hash, err := buildid.FindAndHash(f, id, 0)
    	f.Close()
    	if err != nil {
    		log.Fatal(err)
    	}
    
    	// <= go 1.7 doesn't embed the contentID or actionID, so no slash is present
    	if !strings.Contains(id, "/") {
    		log.Fatalf("%s: build ID is a legacy format...binary too old for this tool", file)
    	}
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Jun 21 19:58:04 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. .github/CONTRIBUTING.md

    Contributing
    ============
    
    If you would like to contribute code to OkHttp you can do so through GitHub by
    forking the repository and sending a pull request.
    
    When submitting code, please make every effort to follow existing conventions
    and style in order to keep the code as readable as possible. Please also make
    sure your code compiles by running `./gradlew check`. Checkstyle failures
    during compilation indicate errors in your style and can be viewed in the
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Mar 17 04:16:26 UTC 2019
    - 1.4K bytes
    - Viewed (0)
  4. samples/compare/src/test/kotlin/okhttp3/compare/OkHttpClientTest.kt

        val recorded = server.takeRequest()
        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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  5. compat/maven-builder-support/src/main/java/org/apache/maven/building/Source.java

         */
        InputStream getInputStream() throws IOException;
    
        /**
         * Provides a user-friendly hint about the location of the source. This could be a local file path, a URI or just an
         * empty string. The intention is to assist users during error reporting.
         *
         * @return A user-friendly hint about the location of the source, never {@code null}.
         */
        String getLocation();
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 15 18:51:29 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  6. mockwebserver/src/main/kotlin/mockwebserver3/QueueDispatcher.kt

        this.failFastResponse = failFastResponse
      }
    
      private companion object {
        /**
         * Enqueued on shutdown to release threads waiting on [dispatch]. Note that this response
         * isn't transmitted because the connection is closed before this response is returned.
         */
        private val DEAD_LETTER = MockResponse(code = HTTP_UNAVAILABLE)
    
        private val logger = Logger.getLogger(QueueDispatcher::class.java.name)
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 14 16:09:26 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/com/ServerData.java

         */
        public int smaxMpxCount;
        /**
         * Maximum buffer size the server can handle.
         */
        public int maxBufferSize;
        /**
         * Session key for this connection.
         */
        public int sessKey;
        /**
         * Server capabilities bitmap.
         */
        public int scapabilities;
        /**
         * OEM domain name of the server.
         */
        public String oemDomainName;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  8. okhttp-sse/src/main/kotlin/okhttp3/sse/EventSourceListener.kt

       * @param data The `data` line of the event.
       */
      open fun onEvent(
        eventSource: EventSource,
        id: String?,
        type: String?,
        data: String,
      ) {
      }
    
      /**
       * Invoked when the HTTP connection has been closed normally.
       *
       * No further calls to this listener will be made.
       */
      open fun onClosed(eventSource: EventSource) {
      }
    
      /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:47:47 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbTransportImpl.java

                // Log circuit breaker rejection
                auditLogger.logSecurityViolation("Circuit breaker open for SMB connection",
                        java.util.Map.of("address", address.getHostAddress(), "port", String.valueOf(port)));
                throw new IOException("Connection rejected by circuit breaker: " + e.getMessage(), e);
            } catch (RuntimeException e) {
                // Unwrap IOException from RuntimeException
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbSessionImpl.java

                log.trace("Release session " + usage + " " + this);
            }
    
            if (usage == 0) {
                if (log.isDebugEnabled()) {
                    log.debug("Usage dropped to zero, release connection " + this.transport);
                }
                // Ensure atomic cleanup of all resources
                synchronized (this) {
                    // Double-check usage count within synchronized block
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
Back to top