Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 98 for fallbacks (0.04 sec)

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

          )
    
        client =
          clientTestRule
            .newClientBuilder()
            .eventListenerFactory(clientTestRule.wrap(listener))
            .connectTimeout(60, TimeUnit.SECONDS) // Deliberately exacerbate slow fallbacks.
            .dns { dnsResults }
            .fastFallback(true)
            .build()
        url =
          serverIpv4
            .url("/")
            .newBuilder()
            .host("localhost")
            .build()
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  2. android/pom.xml

                </signature>
                <ignores>
                  <!-- Unsafe isn't part of the documented Android API, but it is available.
                       And in cases where it's not, we have fallbacks (except maybe Striped64 (b/307807965)?). -->
                  <ignore>sun.misc.Unsafe</ignore>
                </ignores>
              </configuration>
              <executions>
                <execution>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Sep 04 21:35:58 UTC 2025
    - 24.3K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

        server.protocolNegotiationEnabled = true
        server.protocols = client.protocols
      }
    
      /**
       * Used during tests that involve TLS connection fallback attempts. OkHttp includes the
       * TLS_FALLBACK_SCSV cipher on fallback connections. See [FallbackTestClientSocketFactory]
       * for details.
       */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 133.2K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackTest.java

            IndexUpdateCallback callback1 = createMockCallback(10, 500);
            IndexUpdateCallback callback2 = createMockCallback(20, 1000);
    
            assertEquals(10L, callback1.getDocumentSize());
            assertEquals(500L, callback1.getExecuteTime());
    
            assertEquals(20L, callback2.getDocumentSize());
            assertEquals(1000L, callback2.getExecuteTime());
    
            // Test store operations
            DataStoreParams params = new DataStoreParams();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

       * java.util.concurrent.CompletableFuture#thenAcceptAsync}.
       *
       * @param callback The callback to invoke when this {@code Future} is completed.
       * @param executor The executor to run {@code callback} when the future completes.
       */
      public final void addCallback(FutureCallback<? super V> callback, Executor executor) {
        Futures.addCallback(this, callback, executor);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt

                    Request
                      .Builder()
                      .url(server.url("/a"))
                      .build()
                  try {
                    val callbackA = RecordingCallback()
                    client.newCall(requestA).enqueue(callbackA)
                    callbackA.await(requestA.url).assertBody("a")
                  } catch (e: Exception) {
                    throw RuntimeException(e)
                  }
                }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/Futures.java

       *
       * @param future The future attach the callback to.
       * @param callback The callback to invoke when {@code future} is completed.
       * @param executor The executor to run {@code callback} when the future completes.
       * @since 10.0
       */
      public static <V extends @Nullable Object> void addCallback(
          ListenableFuture<V> future, FutureCallback<? super V> callback, Executor executor) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 64.3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/util/InputStreamThreadTest.java

            String input = "callback1\ncallback2";
            InputStream is = new ByteArrayInputStream(input.getBytes(StandardCharsets.UTF_8));
    
            List<String> callbackResults = new ArrayList<>();
            Consumer<String> callback = line -> callbackResults.add(line);
    
            InputStreamThread thread = new InputStreamThread(is, StandardCharsets.UTF_8, 10, callback);
            thread.start();
            thread.join(1000);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  9. okhttp-sse/src/main/kotlin/okhttp3/sse/internal/RealEventSource.kt

      private val call: Call?,
      private val request: Request,
      private val listener: EventSourceListener,
    ) : EventSource,
      ServerSentEventReader.Callback,
      Callback {
      constructor(call: Call, listener: EventSourceListener) : this(call, call.request(), listener)
    
      constructor(response: Response, listener: EventSourceListener) : this(null, response.request, listener)
    
      @Volatile private var canceled = false
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:47:47 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/util/SearchEngineUtilTest.java

            // Test that the functional interface works correctly
            XContentBuilderCallback callback = (builder, params) -> {
                builder.startObject();
                builder.field("callback", "test");
                builder.endObject();
                return builder;
            };
    
            assertNotNull(callback);
    
            // Verify the interface can be used in context
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 13.6K bytes
    - Viewed (0)
Back to top