- Sort Score
- Num 10 results
- Language All
Results 141 - 150 of 159 for Finished (0.2 seconds)
-
internal/ioutil/ioutil.go
} type ioret[V any] struct { val V err error } // WithDeadline will execute a function with a deadline and return a value of a given type. // If the deadline/context passes before the function finishes executing, // the zero value and the context error is returned. func WithDeadline[V any](ctx context.Context, timeout time.Duration, work func(ctx context.Context) (result V, err error)) (result V, err error) {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 11.1K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/CollectorTester.java
R result = (R) finalAccum; assertEquivalent(expectedResult, result); } assertEquivalent(expectedResult, collector.finisher().apply(finalAccum)); } } private void assertEquivalent(R expected, R actual) { assertTrue( "Expected " + expected + " got " + actual + " modulo equivalence " + equivalence,Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 16 22:01:32 GMT 2025 - 6.8K bytes - Click Count (0) -
build-logic/buildquality/src/test/kotlin/gradlebuild/testcleanup/TestFilesCleanupServiceTest.kt
.withPluginClasspath() .forwardOutput() /* This is a workaround to use `--no-daemon` with TestKit. Without this, daemon may keep writing to project dir after the test finishes, resulting in errors like: org.junit.platform.commons.JUnitException: Failed to close extension context at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Feb 10 00:16:44 GMT 2026 - 11.6K bytes - Click Count (0) -
docs/en/docs/advanced/stream-data.md
/// By using a `with` block, we make sure that the file-like object is closed after the generator function (the function with `yield`) is done. So, after it finishes sending the response.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 5.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java
final ListenableFuture<String> future; final String name; final Runnable finisher; TestFuture(ListenableFuture<String> future, String name, Runnable finisher) { this.future = future; this.name = name; this.finisher = finisher; } } /** * A collection of several futures, covering cancellation, success, and failure (both {@linkCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 134K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesTest.java
final ListenableFuture<String> future; final String name; final Runnable finisher; TestFuture(ListenableFuture<String> future, String name, Runnable finisher) { this.future = future; this.name = name; this.finisher = finisher; } } /** * A collection of several futures, covering cancellation, success, and failure (both {@linkCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 134K bytes - Click Count (0) -
docs/en/docs/tutorial/dependencies/dependencies-with-yield.md
```Python with open("./somefile.txt") as f: contents = f.read() print(contents) ``` Underneath, the `open("./somefile.txt")` creates an object that is called a "Context Manager". When the `with` block finishes, it makes sure to close the file, even if there were exceptions. When you create a dependency with `yield`, **FastAPI** will internally create a context manager for it, and combine it with some other related tools.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 12.6K bytes - Click Count (0) -
tensorflow/c/eager/c_api.h
// // If async execution is enabled, the call may simply enqueue the execution // and return "non-ready" handles in `retvals`. Note that any handles contained // in 'op' should not be mutated till the kernel execution actually finishes. // // For sync execution, if any of the inputs to `op` are not ready, this call // will block till they become ready and then return when the kernel execution // is done.
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Apr 27 21:07:00 GMT 2023 - 22.8K bytes - Click Count (0) -
src/bufio/scan_test.go
for scanner.Scan() { t.Fatal("read should fail") } err := scanner.Err() if err != io.ErrUnexpectedEOF { t.Errorf("unexpected error: %v", err) } } // Test that Scan finishes if we have endless empty reads. type endlessZeros struct{} func (endlessZeros) Read(p []byte) (int, error) { return 0, nil } func TestBadReader(t *testing.T) { scanner := NewScanner(endlessZeros{})
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Sep 22 16:22:42 GMT 2023 - 14.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/Multimap.java
* Set}, respectively. * * <p>For example, the "presidents" code snippet above used a {@code ListMultimap}; if it had used a * {@code SetMultimap} instead, two presidents would have vanished, and last names might or might * not appear in chronological order. * * <p><b>Warning:</b> instances of type {@code Multimap} may not implement {@link Object#equals} in
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 15.7K bytes - Click Count (0)