Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for _observer (0.04 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt

            .Builder()
            .url(webServer.url("/"))
            .build()
        val response = client.newCall(regularRequest).execute()
        response.close()
        assertThat(webServer.takeRequest().exchangeIndex).isEqualTo(0)
        assertThat(webServer.takeRequest().exchangeIndex).isEqualTo(1)
      }
    
      /** https://github.com/square/okhttp/issues/5705  */
      @Test
      fun closeWithoutSuccessfulConnect() {
        val request =
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/MapMaker.java

       * table is internally partitioned to try to permit the indicated number of concurrent updates
       * without contention. Because assignment of entries to these partitions is not necessarily
       * uniform, the actual concurrency observed may vary. Ideally, you should choose a value to
       * accommodate as many threads as will ever concurrently modify the table. Using a significantly
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/CallHandshakeTest.kt

      /** Ciphers in order we observed directly on the socket. */
      private lateinit var handshakeEnabledCipherSuites: List<String>
    
      /** Ciphers in order we observed on sslSocketFactory defaults. */
      private lateinit var defaultEnabledCipherSuites: List<String>
    
      /** Ciphers in order we observed on sslSocketFactory supported. */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java

      // * Future completion can be observed if the waitersField field contains a TOMBSTONE
    
      // Timed Get
      // There are a few design constraints to consider
      // * We want to be responsive to small timeouts, unpark() has non trivial latency overheads (I
      //   have observed 12 micros on 64-bit linux systems to wake up a parked thread). So if the
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/AbstractFutureState.java

      // * Future completion can be observed if the waitersField field contains a TOMBSTONE
    
      // Timed Get
      // There are a few design constraints to consider
      // * We want to be responsive to small timeouts, unpark() has non trivial latency overheads (I
      //   have observed 12 micros on 64-bit linux systems to wake up a parked thread). So if the
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

                }
              };
          executor.execute(errorTask);
          service.execute(barrierTask); // submit directly to the service
          // the barrier task runs after the error task so we know that the error has been observed by
          // SequentialExecutor by the time the barrier is satisfied
          barrier.await(1, SECONDS);
          executor.execute(barrierTask);
          // timeout means the second task wasn't even tried
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/ClientAuthTest.kt

        server.requireClientAuth()
        val call = client.newCall(Request.Builder().url(server.url("/")).build())
        assertFailsWith<IOException> {
          call.execute()
        }
    
        // Observed Events are variable
        // JDK 14
        // CallStart, ProxySelectStart, ProxySelectEnd, DnsStart, DnsEnd, ConnectStart, SecureConnectStart,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt

          )
        peer.sendFrame().headers(true, 2, expectedResponseHeaders)
        peer.sendFrame().data(true, 3, data(0), 0)
        peer.play()
        val observer = RecordingPushObserver()
    
        // Play it back.
        val connection = connect(peer, observer, Http2Connection.Listener.REFUSE_INCOMING_STREAMS)
        val client = connection.newStream(headerEntries("b", "banana"), false)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 75.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/Futures.java

      //    (hypothetical) unsafe read by our caller. Note: adding 'volatile' does not fix this issue,
      //    it would just add an edge such that if done() observed non-null, then it would also
      //    definitely observe all earlier writes, but we still have no guarantee that done() would see
      //    the initial write (just stronger guarantees if it does).
      //
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 64.3K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt

            .certificatePinner(certificatePinner)
            .build()
    
        // Add a bad intermediate CA and have that issue a rogue certificate for localhost. Prepare
        // an SSL context for an attacking webserver. It includes both these rogue certificates plus the
        // trusted good certificate above. The attack is that by including the good certificate in the
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 24.3K bytes
    - Viewed (1)
Back to top