- Sort Score
- Num 10 results
- Language All
Results 501 - 510 of 1,198 for Functions (0.06 seconds)
-
android/guava/src/com/google/common/base/Absent.java
return null; } @Override public Set<T> asSet() { return Collections.emptySet(); } @Override public <V> Optional<V> transform(Function<? super T, V> function) { checkNotNull(function); return Optional.absent(); } @Override public boolean equals(@Nullable Object obj) { return this == obj; } @Override public int hashCode() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Apr 15 22:14:00 GMT 2025 - 2.6K bytes - Click Count (0) -
src/test/java/jcifs/smb/MIENameTest.java
if (bufferSupplierOrBytes instanceof byte[]) { buf = (byte[]) bufferSupplierOrBytes; } else { @SuppressWarnings("unchecked") java.util.function.Supplier<byte[]> sup = (java.util.function.Supplier<byte[]>) bufferSupplierOrBytes; buf = sup.get(); } // Act + Assert Throwable t = assertThrows(expected, () -> new MIEName(buf));
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/SortedLists.java
* * <p>Equivalent to {@link #binarySearch(List, Object, Comparator, KeyPresentBehavior, * KeyAbsentBehavior)} using {@link Lists#transform(List, Function) Lists.transform(list, * keyFunction)}. */ public static <E extends @Nullable Object, K extends @Nullable Object> int binarySearch( List<E> list, Function<? super E, K> keyFunction, @ParametricNullness K key,Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 10.9K bytes - Click Count (0) -
docs/es/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md
En algunos casos realmente no necesitas el valor de retorno de una dependencia dentro de tu *path operation function*. O la dependencia no devuelve un valor. Pero aún necesitas que sea ejecutada/resuelta. Para esos casos, en lugar de declarar un parámetro de *path operation function* con `Depends`, puedes añadir una `list` de `dependencies` al decorador de *path operation*.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 3.1K bytes - Click Count (0) -
cmd/admin-handlers_test.go
// admin-handler unit tests. type adminErasureTestBed struct { erasureDirs []string objLayer ObjectLayer router *mux.Router done context.CancelFunc } // prepareAdminErasureTestBed - helper function that setups a single-node // Erasure backend for admin-handler tests. func prepareAdminErasureTestBed(ctx context.Context) (*adminErasureTestBed, error) { ctx, cancel := context.WithCancel(ctx)Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 13.9K bytes - Click Count (1) -
tensorflow/c/eager/c_api_unified_experimental_test.cc
TF_DeleteAbstractTensor(add_output2); TF_DeleteOutputList(func_outputs); } /** * We traced so far this function: * * def two_adds(a, b): * my_add1 = a + b * my_add2 = b + b * return my_add1, my_add2 * * Now we will execute this function with an eager context: * * output1, output2 = two_adds(2.0, 3.0) *
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 12 05:11:17 GMT 2024 - 39.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/DosErrorTest.java
assertTrue(msgs.length >= 3, "Expect at least the first 3 entries present"); assertEquals("The operation completed successfully.", msgs[0]); assertEquals("Incorrect function.", msgs[1]); assertEquals("Incorrect function.", msgs[2]); } @Test @DisplayName("Messages: accessing invalid index throws ArrayIndexOutOfBoundsException") void messagesOutOfBoundsThrows() { // Arrange
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.9K bytes - Click Count (0) -
fastapi/datastructures.py
class UploadFile(StarletteUploadFile): """ A file uploaded in a request. Define it as a *path operation function* (or dependency) parameter. If you are using a regular `def` function, you can use the `upload_file.file` attribute to access the raw standard Python file (blocking, not async), useful and needed for non-async code. Read more about it in the
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 15 11:44:39 GMT 2026 - 5.2K bytes - Click Count (0) -
docs/fr/docs/tutorial/testing.md
/// /// tip | Astuce Si vous souhaitez appeler des fonctions `async` dans vos tests en dehors de l’envoi de requêtes à votre application FastAPI (par exemple des fonctions de base de données asynchrones), consultez les [Tests asynchrones](../advanced/async-tests.md) dans le tutoriel avancé. /// ## Séparer les tests { #separating-tests }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 6.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Interners.java
} } } /** * Returns a function that delegates to the {@link Interner#intern} method of the given interner. * * @since 8.0 */ public static <E> Function<E, E> asFunction(Interner<E> interner) { return new InternerFunction<>(checkNotNull(interner)); } private static final class InternerFunction<E> implements Function<E, E> { private final Interner<E> interner;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 6K bytes - Click Count (0)