- Sort Score
- Num 10 results
- Language All
Results 5271 - 5280 of 7,804 for RETURN (0.11 seconds)
-
guava-tests/test/com/google/common/util/concurrent/ClosingFutureFinishToValueAndCloserTest.java
new NoOpValueAndCloserConsumer<>(), finishToValueAndCloserExecutor)); } @Override <T> T getFinalValue(ClosingFuture<T> closingFuture) throws ExecutionException { return finishToValueAndCloser(closingFuture).get(); } @Override void assertFinallyFailsWithException(ClosingFuture<?> closingFuture) { assertThatFutureFailsWithException(closingFuture.statusFuture());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 5.2K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt
* auth param, this is up to the caller that interprets these challenges. */ fun challenges(): List<Challenge> { return headers.parseChallenges( when (code) { HTTP_UNAUTHORIZED -> "WWW-Authenticate" HTTP_PROXY_AUTH -> "Proxy-Authenticate" else -> return emptyList() }, ) } /**
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jul 28 14:39:28 GMT 2025 - 18.1K bytes - Click Count (0) -
api/maven-api-di/src/main/java/org/apache/maven/di/tool/DiIndexProcessor.java
logError("Error updating file", e); } } return true; } /** * Gets the fully qualified class name for a type element, including handling inner classes. * * @param typeElement the type element to get the class name for * @return the fully qualified class name */ private String getFullClassName(TypeElement typeElement) {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Apr 03 13:33:59 GMT 2025 - 7.8K bytes - Click Count (0) -
android/guava/src/com/google/common/io/LineBuffer.java
import java.io.IOException; /** * Package-protected abstract class that implements the line reading algorithm used by {@link * LineReader}. Line separators are per {@link java.io.BufferedReader}: line feed, carriage return, * or carriage return followed immediately by a linefeed. * * <p>Subclasses must implement {@link #handleLine}, call {@link #add} to pass character data, and * call {@link #finish} at the end of stream. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 18 02:54:30 GMT 2025 - 3.9K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/SneakyThrows.java
* Throwable}. But we <i>can</i> write {@code sneakyThrow(t);}. * * <p>We sometimes also use {@code sneakyThrow} for testing how our code responds to * sneaky checked exception. * * @return never; this method declares a return type of {@link Error} only so that callers can * write {@code throw sneakyThrow(t);} to convince the compiler that the statement will always * throw. */ @CanIgnoreReturnValue
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Dec 30 18:44:22 GMT 2024 - 2.4K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/TestContainerGenerator.java
* Returns the iteration ordering of elements, given the order in which they were added to the * container. This method may return the original list unchanged, the original list modified in * place, or a different list. * * <p>If the order is non-deterministic, as with {@link java.util.HashSet}, this method can return * its input unmodified. Provided that the test suite is built without {@linkCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2.4K bytes - Click Count (0) -
guava/src/com/google/common/base/SneakyThrows.java
* Throwable}. But we <i>can</i> write {@code sneakyThrow(t);}. * * <p>We sometimes also use {@code sneakyThrow} for testing how our code responds to * sneaky checked exception. * * @return never; this method declares a return type of {@link Error} only so that callers can * write {@code throw sneakyThrow(t);} to convince the compiler that the statement will always * throw. */ @CanIgnoreReturnValue
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 03 21:52:39 GMT 2025 - 2.4K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/metadata/TestMetadataSource.java
dependencies.add(a); } catch (Exception e) { throw new ArtifactMetadataRetrievalException("Error retrieving metadata", e, a); } } return new ResolutionGroup(artifact, dependencies, remoteRepositories); } @Override public List<ArtifactVersion> retrieveAvailableVersions(
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 3.7K bytes - Click Count (0) -
fastapi/sse.py
""" media_type = "text/event-stream" def _check_id_no_null(v: str | None) -> str | None: if v is not None and "\0" in v: raise ValueError("SSE 'id' must not contain null characters") return v class ServerSentEvent(BaseModel): """Represents a single Server-Sent Event. When `yield`ed from a *path operation function* that usesCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 01 09:21:52 GMT 2026 - 6.2K bytes - Click Count (0) -
helm-releases/minio-5.0.10.tgz
$ATTEMPTS -gt $LIMIT ]; then exit 1 ; fi ; sleep 2 ; # 1 second intervals between attempts $MC_COMMAND ; STATUS=$? ; done ; set -e ; # reset `e` as active return 0 } # checkBucketExists ($bucket) # Check if the bucket exists, by using the exit code of `mc ls` checkBucketExists() { BUCKET=$1 CMD=$(${MC} stat myminio/$BUCKET > /dev/null 2>&1) return $? } # createBucket ($bucket, $policy, $purge) # Ensure bucket exists, purging if asked to createBucket() { BUCKET=$1 POLICY=$2 PURGE=$3 VERSIONING=$4 OBJECTLOCKING=$5...
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sat May 27 00:05:49 GMT 2023 - 20.3K bytes - Click Count (0)