- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 318 for returningT2 (0.17 seconds)
-
docs/en/docs/advanced/response-directly.md
**FastAPI** provides the same `starlette.responses` as `fastapi.responses` just as a convenience for you, the developer. But most of the available responses come directly from Starlette. /// ## Returning a custom `Response` { #returning-a-custom-response }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 4K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/FakeTimeLimiterTest.java
super.setUp(); timeLimiter = new FakeTimeLimiter(); } public void testCallWithTimeout_propagatesReturnValue() throws Exception { String result = timeLimiter.callWithTimeout(Callables.returning(RETURN_VALUE), DELAY_MS, MILLISECONDS); assertThat(result).isEqualTo(RETURN_VALUE); } public void testCallWithTimeout_wrapsCheckedException() throws Exception {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 4.1K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/MavenCling.java
} /** * ClassWorld Launcher "enhanced" entry point: returning exitCode and accepts Class World. */ public static int main(String[] args, ClassWorld world) throws IOException { return new MavenCling(world).run(args, null, null, null, false); } /** * ClassWorld Launcher "embedded" entry point: returning exitCode and accepts Class World and streams. */ public static int main(Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jun 11 13:14:09 GMT 2025 - 3K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java
* second invocation, so implementors have made various choices, including: * * <ul> * <li>returning the same iterator again * <li>throwing an exception of some kind * <li>or the usual, <i>robust</i> behavior, which all known {@link Collection} implementations * have, of returning a new, independent iterator * </ul> *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 3.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/CallablesTest.java
public class CallablesTest extends TestCase { @J2ktIncompatible // TODO(b/324550390): Enable public void testReturning() throws Exception { assertThat(Callables.returning(null).call()).isNull(); Object value = new Object(); Callable<Object> callable = Callables.returning(value); assertThat(callable.call()).isEqualTo(value); // Expect the same value on subsequent calls assertThat(callable.call()).isEqualTo(value); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 4K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/CallablesTest.java
public class CallablesTest extends TestCase { @J2ktIncompatible // TODO(b/324550390): Enable public void testReturning() throws Exception { assertThat(Callables.returning(null).call()).isNull(); Object value = new Object(); Callable<Object> callable = Callables.returning(value); assertThat(callable.call()).isEqualTo(value); // Expect the same value on subsequent calls assertThat(callable.call()).isEqualTo(value); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 4K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndXResponse.java
} catch (final UnsupportedEncodingException uee) { return 0; } bufferIndex += len + 1; // win98 observed not returning nativeFileSystem /* Problems here with iSeries returning ASCII even though useUnicode = true * Fortunately we don't really need nativeFileSystem for anything. if( byteCount > bufferIndex - start ) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 2.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndXResponse.java
} catch (final UnsupportedEncodingException uee) { return 0; } bufferIndex += len + 1; // win98 observed not returning nativeFileSystem // Problems here with iSeries returning ASCII even though useUnicode = true // Fortunately we don't really need nativeFileSystem for anything. // However, we'll try to read it safely for compatibility
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.1K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java
* second invocation, so implementors have made various choices, including: * * <ul> * <li>returning the same iterator again * <li>throwing an exception of some kind * <li>or the usual, <i>robust</i> behavior, which all known {@link Collection} implementations * have, of returning a new, independent iterator * </ul> *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 3.1K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/MavenEncCling.java
} /** * ClassWorld Launcher "enhanced" entry point: returning exitCode and accepts Class World. */ public static int main(String[] args, ClassWorld world) throws IOException { return new MavenEncCling(world).run(args, null, null, null, false); } /** * ClassWorld Launcher "embedded" entry point: returning exitCode and accepts Class World and streams. */ public static int main(Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jun 11 13:14:09 GMT 2025 - 3K bytes - Click Count (0)