- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 206 for Fallback (0.04 seconds)
-
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt
else -> when (ctMember) { is CtField -> ktFile.getSince(ctDeclaringClass, ctMember, fallback = declaringClassSince) is CtConstructor -> ktFile.getSince(ctDeclaringClass, ctMember, fallback = declaringClassSince) is CtMethod -> ktFile.getSince(ctDeclaringClass, ctMember, fallback = declaringClassSince) else -> error("Unsupported japicmp member type '${member::class}'") }
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Jul 08 07:02:19 GMT 2025 - 13.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaErrorHandler.java
} // Runtime exceptions and other errors are likely not recoverable return false; } /** * Check if error suggests fallback to TCP is needed * * @param error the error to check * @return true if TCP fallback is recommended */ public boolean shouldFallbackToTcp(Exception error) { // Hardware errors suggest RDMA is not workingCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 10.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/OptionalTest.java
public void testOr_supplier_present() { assertThat(Optional.of("a").or(Suppliers.ofInstance("fallback"))).isEqualTo("a"); } public void testOr_supplier_absent() { assertEquals("fallback", Optional.absent().or(Suppliers.ofInstance("fallback"))); } public void testOr_nullSupplier_absent() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 10.6K bytes - Click Count (0) -
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); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 19.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java
// Test fallback logic assertTrue(errorHandler.shouldFallbackToTcp(hardwareError), "Hardware errors should suggest TCP fallback"); assertFalse(errorHandler.shouldFallbackToTcp(timeoutError), "Timeout errors should not immediately suggest TCP fallback"); // Test error classification using public APICreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 13.8K bytes - Click Count (0) -
src/main/java/jcifs/smb/Kerb5Authenticator.java
* potential NTLM fallback (if the server does not support kerberos). * * @param subject * represents the user who perform Kerberos authentication. Should at least contain a TGT for the user. * @param domain * domain for NTLM fallback * @param username * user for NTLM fallback * @param passwordCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 13.2K bytes - Click Count (0) -
src/main/java/jcifs/util/SimpleCircuitBreaker.java
* Execute a callable through the circuit breaker with fallback * * @param <T> return type * @param callable the callable to execute * @param fallback fallback supplier if circuit is open * @return the result or fallback value * @throws Exception if execution fails and no fallback provided */ public <T> T call(Callable<T> callable, Callable<T> fallback) throws Exception {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 11.3K bytes - Click Count (0) -
src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java
assertTrue(ex.getMessage().contains("Cannot use netbios/short names")); } @Test @DisplayName("createContext: no Kerberos in initial token and no fallback -> throws") void createContext_noKerberosNoFallback_throws() throws CIFSException { Kerb5Authenticator auth = new Kerb5Authenticator((Subject) null);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.9K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/LittleEndianByteArray.java
* * @author Kevin Damm * @author Kyle Maddison */ final class LittleEndianByteArray { /** * The instance that actually does the work; delegates to VarHandle, Unsafe, or a Java-8 * compatible pure-Java fallback. */ private static final LittleEndianBytes byteArray = makeGetter(); /** * Load 8 bytes into long in a little endian manner, from the substring between position andCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 10.1K bytes - Click Count (0) -
src/test/java/jcifs/util/SimpleCircuitBreakerTest.java
} @Test @DisplayName("Test fallback used when circuit is open") void testFallbackWhenOpen() throws Exception { // Open the circuit circuitBreaker.tripBreaker(); String result = circuitBreaker.call(() -> "primary", () -> "fallback"); assertEquals("fallback", result); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 10.6K bytes - Click Count (0)