Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 182 for unqueued (0.07 sec)

  1. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourcesHttpTest.kt

      @BeforeEach
      fun before(server: MockWebServer) {
        this.server = server
      }
    
      @AfterEach
      fun after() {
        listener.assertExhausted()
      }
    
      @Test
      fun processResponse() {
        server.enqueue(
          MockResponse.Builder()
            .body(
              """
              |data: hey
              |
              |
              """.trimMargin(),
            ).setHeader("content-type", "text/event-stream")
            .build(),
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

    
      public void testThatFinalizerStops() {
        weaklyReferenceQueue();
        GcFinalization.awaitClear(queueReference);
      }
    
      /** If we don't keep a strong reference to the reference object, it won't be enqueued. */
      @Nullable FinalizableWeakReference<Object> reference;
    
      /** Create the FRQ in a method that goes out of scope so that we're sure it will be reclaimed. */
      private void weaklyReferenceQueue() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. cmd/site-replication-metrics_gen.go

    			}
    		case "ReplicaCount":
    			z.ReplicaCount, err = dc.ReadInt64()
    			if err != nil {
    				err = msgp.WrapError(err, "ReplicaCount")
    				return
    			}
    		case "Queued":
    			err = z.Queued.DecodeMsg(dc)
    			if err != nil {
    				err = msgp.WrapError(err, "Queued")
    				return
    			}
    		case "Proxied":
    			err = z.Proxied.DecodeMsg(dc)
    			if err != nil {
    				err = msgp.WrapError(err, "Proxied")
    				return
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 40.6K bytes
    - Viewed (0)
  4. android-test-app/src/main/kotlin/okhttp/android/testapp/MainActivity.kt

        super.onCreate(savedInstanceState)
    
        val client = OkHttpClient()
    
        val url = "https://github.com/square/okhttp".toHttpUrl()
        println(url.topPrivateDomain())
    
        client.newCall(Request(url)).enqueue(
          object : Callback {
            override fun onFailure(
              call: Call,
              e: IOException,
            ) {
              println("failed: $e")
            }
    
            override fun onResponse(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  5. samples/guide/src/main/java/okhttp3/recipes/HttpsServer.java

            .heldCertificate(localhostCertificate)
            .build();
        MockWebServer server = new MockWebServer();
        server.useHttps(serverCertificates.sslSocketFactory(), false);
        server.enqueue(new MockResponse());
    
        HandshakeCertificates clientCertificates = new HandshakeCertificates.Builder()
            .addTrustedCertificate(localhostCertificate.certificate())
            .build();
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 02 14:04:37 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/opensearch/extension/analysis/NGramSynonymTokenizer.java

                tokenizePartialBlock(nextStart, synonym.startOffset, afterSynonymProduced);
    
                // enqueue prev-synonym
                processPrevSynonym(synonym.startOffset, idx > 0 ? synonyms.get(idx - 1).endOffset : 0);
    
                if (expand) {
                    queue.add(synonym);
                }
    
                // enqueue synonyms
                bytesReader.reset(synonym.output.bytes, synonym.output.offset, synonym.output.length);
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 17K bytes
    - Viewed (0)
  7. cmd/mrf.go

    // but not written in all disks (having quorum)
    type PartialOperation struct {
    	Bucket              string
    	Object              string
    	VersionID           string
    	Versions            []byte
    	SetIndex, PoolIndex int
    	Queued              time.Time
    	BitrotScan          bool
    }
    
    // mrfState sncapsulates all the information
    // related to the global background MRF.
    type mrfState struct {
    	opCh chan PartialOperation
    
    	closed  int32
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:26:05 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  8. samples/guide/src/main/java/okhttp3/recipes/kt/AsynchronousGet.kt

      private val client = OkHttpClient()
    
      fun run() {
        val request =
          Request.Builder()
            .url("http://publicobject.com/helloworld.txt")
            .build()
    
        client.newCall(request).enqueue(
          object : Callback {
            override fun onFailure(
              call: Call,
              e: IOException,
            ) {
              e.printStackTrace()
            }
    
            override fun onResponse(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. okhttp-coroutines/src/main/kotlin/okhttp3/coroutines/ExecuteAsync.kt

    @ExperimentalCoroutinesApi // resume with a resource cleanup.
    suspend fun Call.executeAsync(): Response =
      suspendCancellableCoroutine { continuation ->
        continuation.invokeOnCancellation {
          this.cancel()
        }
        this.enqueue(
          object : Callback {
            override fun onFailure(
              call: Call,
              e: IOException,
            ) {
              continuation.resumeWithException(e)
            }
    
            override fun onResponse(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 18 01:24:38 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  10. docs/contribute/debug_logging.md

    [2020-01-01 00:00:00] << 0x00000003     0 DATA          END_STREAM
    [2020-01-01 00:00:00] << 0x00000000     8 GOAWAY
    [2020-01-01 00:00:05] << 0x00000000     8 GOAWAY
    ```
    
    ### Task Runner Logging 
    
    This logs task enqueues, starts, and finishes.
    
    ```
    [2020-01-01 00:00:00] Q10000 scheduled after   0 µs: OkHttp ConnectionPool
    [2020-01-01 00:00:00] Q10000 starting              : OkHttp ConnectionPool
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 16:35:36 UTC 2022
    - 2.7K bytes
    - Viewed (0)
Back to top