- Sort Score
- Result 10 results
- Languages All
Results 5271 - 5280 of 5,421 for return (0.04 sec)
-
guava-testlib/src/com/google/common/util/concurrent/testing/MockFutureListener.java
} @Override public void run() { countDownLatch.countDown(); } /** * Verify that the listener completes in a reasonable amount of time, and Asserts that the future * returns the expected data. * * @throws Throwable if the listener isn't called or if it resulted in a throwable or if the * result doesn't match the expected value. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri May 12 18:12:42 UTC 2023 - 3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RouteDatabase.kt
_failedRoutes.add(failedRoute) } /** Records success connecting to [route]. */ @Synchronized fun connected(route: Route) { _failedRoutes.remove(route) } /** Returns true if [route] has failed recently and should be avoided. */ @Synchronized fun shouldPostpone(route: Route): Boolean = route in _failedRoutes
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 1.5K bytes - Viewed (0) -
android/guava/src/com/google/common/base/PatternCompiler.java
@RestrictedApi( explanation = "PatternCompiler is an implementation detail of com.google.common.base", allowedOnPath = ".*/com/google/common/base/.*") CommonPattern compile(String pattern); /** * Returns {@code true} if the regex implementation behaves like Perl -- notably, by supporting * possessive quantifiers but also being susceptible to catastrophic backtracking. */ @RestrictedApi(Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 1.7K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AsyncFunction.java
* * @author Chris Povirk * @since 11.0 */ @GwtCompatible public interface AsyncFunction<I extends @Nullable Object, O extends @Nullable Object> { /** * Returns an output {@code Future} to use in place of the given {@code input}. The output {@code * Future} need not be {@linkplain Future#isDone done}, making {@code AsyncFunction} suitable for * asynchronous derivations. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 1.5K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvTargetNameTest.java
* Verifies that the original string is returned after encoding and decoding. */ @Test void testGetTargetNameFromStringConstructor() { String targetName = "MyService/Host.Domain.com"; AvTargetName avTargetName = new AvTargetName(targetName); // Verify that getTargetName returns the original stringRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.1K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcDfsRootEnumTest.java
// When FileEntry[] entries = dfsRootEnum.getEntries(); // Then assertNotNull(entries, "The returned entries array should not be null."); assertEquals(2, entries.length, "The number of entries should be correct."); // The getEntries method returns FileEntry objects. We can check their names.Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RetryTlsHandshake.kt
e is InterruptedIOException -> false // If the problem was a CertificateException from the X509TrustManager, do not retry. e is SSLHandshakeException && e.cause is CertificateException -> false // e.g. a certificate pinning error. e is SSLPeerUnverifiedException -> false // Retry for all other SSL failures. e is SSLException -> true else -> falseRegistered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 1.7K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactManager.java
import org.apache.maven.api.annotations.Nonnull; /** * * @since 4.0.0 */ @Experimental public interface ArtifactManager extends Service { /** * Returns the path of the file previously associated to this artifact * or {@code Optional.empty()} if no path has been associated. */ @Nonnull Optional<Path> getPath(@Nonnull Artifact artifact); /**Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Tue Aug 27 21:13:34 UTC 2024 - 1.5K bytes - Viewed (0) -
cmd/xl-storage_windows_test.go
} err = fs.AppendFile(context.Background(), "voldir", "/file", []byte("hello")) if err != nil { t.Fatal(err) } // Try to create a file that includes a file in its path components. // In *nix, this returns syscall.ENOTDIR while in windows we receive the following error. err = fs.AppendFile(context.Background(), "voldir", "/file/obj1", []byte("hello")) if err != errFileAccessDenied {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Nov 29 06:35:16 UTC 2023 - 2.8K bytes - Viewed (0) -
docs/pt/docs/advanced/custom-response.md
### `HTMLResponse` Usa algum texto ou sequência de bytes e retorna uma resposta HTML. Como você leu acima. ### `PlainTextResponse` Usa algum texto ou sequência de bytes para retornar uma resposta de texto não formatado. {* ../../docs_src/custom_response/tutorial005.py hl[2,7,9] *} ### `JSONResponse` Pega alguns dados e retorna uma resposta com codificação `application/json`.Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 13.2K bytes - Viewed (0)