Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 342 for Kqueue (0.18 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt

        trailers(Protocol.HTTP_1_1)
      }
    
      @Test
      fun trailersHttp2() {
        trailers(Protocol.HTTP_2)
      }
    
      private fun trailers(protocol: Protocol) {
        enableProtocol(protocol)
    
        server.enqueue(
          MockResponse
            .Builder()
            .addHeader("h1", "v1")
            .trailers(headersOf("t1", "v2"))
            .body(protocol, "Hello")
            .build(),
        )
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 18:57:05 UTC 2025
    - 18K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/FastFallbackTest.kt

            ).build()
    
        // Set up a same-connection retry.
        serverIpv4.enqueue(
          MockResponse
            .Builder()
            .onRequestStart(CloseStream(ErrorCode.REFUSED_STREAM.httpCode))
            .build(),
        )
        serverIpv4.enqueue(
          MockResponse(body = "this was the 2nd request on IPv4"),
        )
        serverIpv6.enqueue(
          MockResponse(body = "unexpected call to IPv6"),
        )
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/LocalCacheMapComputeTest.java

    import static org.junit.Assert.assertThrows;
    
    import com.google.common.util.concurrent.UncheckedExecutionException;
    import java.util.ArrayList;
    import java.util.List;
    import java.util.Queue;
    import java.util.concurrent.ConcurrentLinkedQueue;
    import java.util.concurrent.ExecutionException;
    import java.util.function.IntConsumer;
    import java.util.stream.IntStream;
    import junit.framework.TestCase;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:49:18 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/ServerTruncatesRequestTest.kt

      @Test
      fun serverDisconnectsBeforeSecondRequestHttp1() {
        enableProtocol(Protocol.HTTP_1_1)
    
        server.enqueue(MockResponse(code = 200, body = "Req1"))
        server.enqueue(MockResponse(code = 200, body = "Req2"))
    
        val eventListener =
          object : EventListener() {
            var socket: SSLSocket? = null
            var closed = false
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt

            .requestIOException()
            .exhaustResponse()
        server.enqueue(
          MockResponse
            .Builder()
            .clearHeaders()
            .code(HttpURLConnection.HTTP_MOVED_PERM)
            .addHeader("Location: /b")
            .socketHandler(body)
            .build(),
        )
        server.enqueue(
          MockResponse
            .Builder()
            .body("this is /b")
            .build(),
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/CookiesTest.kt

      }
    
      @Test
      fun receiveAndSendMultipleCookies() {
        server.enqueue(
          MockResponse
            .Builder()
            .addHeader("Set-Cookie", "a=android")
            .addHeader("Set-Cookie", "b=banana")
            .build(),
        )
        server.enqueue(MockResponse())
        val cookieManager = CookieManager(null, CookiePolicy.ACCEPT_ORIGINAL_SERVER)
        client =
          client
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 13K bytes
    - Viewed (0)
  7. cmd/metrics-v3-cluster-notification.go

    	notificationEventsSkippedTotalMD    = NewCounterMD(notificationEventsSkippedTotal, "Events that were skipped to be sent to the targets due to the in-memory queue being full")
    )
    
    // loadClusterNotificationMetrics - `MetricsLoaderFn` for cluster notification metrics.
    func loadClusterNotificationMetrics(_ context.Context, m MetricValues, _ *metricsCache) error {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 24 04:10:35 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. cmd/metrics-v3-logger-webhook.go

    	webhookFailedMessagesMD = NewCounterMD(webhookFailedMessages,
    		"Number of messages that failed to send",
    		allWebhookLabels...)
    	webhookQueueLengthMD = NewGaugeMD(webhookQueueLength,
    		"Webhook queue length",
    		allWebhookLabels...)
    	webhookTotalMessagesMD = NewCounterMD(webhookTotalMessages,
    		"Total number of messages sent to this target",
    		allWebhookLabels...)
    )
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 14 07:27:33 UTC 2024
    - 2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

    import static org.junit.Assert.assertThrows;
    
    import com.google.common.collect.ImmutableList;
    import java.util.ArrayDeque;
    import java.util.ArrayList;
    import java.util.List;
    import java.util.Queue;
    import java.util.concurrent.CountDownLatch;
    import java.util.concurrent.CyclicBarrier;
    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.Executor;
    import java.util.concurrent.ExecutorService;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        assertFalse(segment.clearValueForTesting(key, hash, valueRef));
        segment.setWeakValueReferenceForTesting(entry, valueRef);
        assertTrue(segment.clearValueForTesting(key, hash, valueRef));
      }
    
      // reference queues
    
      public void testDrainKeyReferenceQueueOnWrite() {
        for (MapMaker maker : allWeakKeyStrengthMakers()) {
          MapMakerInternalMap<Object, Object, ?, ?> map = makeMap(maker.concurrencyLevel(1));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 35.1K bytes
    - Viewed (0)
Back to top