- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 421 for function (0.61 sec)
-
android/guava-tests/test/com/google/common/collect/AbstractMapsTransformValuesTest.java
* limitations under the License. */ package com.google.common.collect; import com.google.common.annotations.GwtCompatible; import com.google.common.base.Function; import com.google.common.base.Functions; import com.google.common.collect.testing.MapInterfaceTest; import java.util.Collection; import java.util.Iterator; import java.util.Map; import java.util.Map.Entry; import java.util.Set;
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 9.3K bytes - Viewed (0) -
guava/src/com/google/common/base/Predicate.java
/** * Legacy version of {@link java.util.function.Predicate java.util.function.Predicate}. Determines a * true or false value for a given input. * * <p>As this interface extends {@code java.util.function.Predicate}, an instance of this type may * be used as a {@code Predicate} directly. To use a {@code java.util.function.Predicate} where a
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 3.5K bytes - Viewed (0) -
docs/en/docs/advanced/testing-dependencies.md
For these cases, your **FastAPI** application has an attribute `app.dependency_overrides`, it is a simple `dict`. To override a dependency for testing, you put as a key the original dependency (a function), and as the value, your dependency override (another function). And then **FastAPI** will call that override instead of the original dependency. === "Python 3.10+" ```Python hl_lines="26-27 30"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Oct 17 05:59:11 GMT 2023 - 2.9K bytes - Viewed (0) -
buildscripts/cross-compile.sh
[ -n "$BASH_XTRACEFD" ] && set -x function _init() { ## All binaries are static make sure to disable CGO. export CGO_ENABLED=0 ## List of architectures and OS to test coss compilation. SUPPORTED_OSARCH="linux/ppc64le linux/mips64 linux/amd64 linux/arm64 linux/s390x darwin/arm64 darwin/amd64 freebsd/amd64 windows/amd64 linux/arm linux/386 netbsd/amd64 linux/mips openbsd/amd64" } function _build() { local osarch=$1
Shell Script - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Dec 19 01:08:22 GMT 2023 - 958 bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/MappedCollection.java
import java.util.AbstractCollection; import java.util.Collection; import java.util.Iterator; import java.util.function.Function; public class MappedCollection<U, V> extends AbstractCollection<U> { private final Collection<V> list; private final Function<V, U> mapper; public MappedCollection(Collection<V> list, Function<V, U> mapper) { this.list = list; this.mapper = mapper; } @Override
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 1.7K bytes - Viewed (0) -
buildscripts/verify-healing.sh
test $foundFiles1 -eq $foundFiles2 v2=$? [ $v1 == 0 -a $v2 == 0 ] && return 0 sleep 10 done return 1 } function purge() { rm -rf "$1" } function __init__() { echo "Initializing environment" mkdir -p "$WORK_DIR" mkdir -p "$MINIO_CONFIG_DIR" ## version is purposefully set to '3' for minio to migrate configuration file
Shell Script - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 25 21:55:41 GMT 2024 - 4.2K bytes - Viewed (1) -
buildscripts/verify-healing-empty-erasure-set.sh
if ! pkill -9 minio; then echo "no minio process running anymore, proceed." fi fi } function check_online() { if ! grep -q 'Status:' ${WORK_DIR}/dist-minio-*.log; then echo "1" fi } function purge() { rm -rf "$1" } function __init__() { echo "Initializing environment" mkdir -p "$WORK_DIR" mkdir -p "$MINIO_CONFIG_DIR"
Shell Script - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 25 21:55:41 GMT 2024 - 3.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MapsTransformValuesTest.java
*/ package com.google.common.collect; import com.google.common.annotations.GwtCompatible; import com.google.common.base.Function; import com.google.common.base.Functions; import java.util.Map; /** * Tests for {@link Maps#transformValues(Map, Function)}. * * @author Isaac Shum */ @GwtCompatible @ElementTypesAreNonnullByDefault
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Feb 19 20:34:55 GMT 2024 - 1.4K bytes - Viewed (0) -
tensorflow/c/eager/unified_api_testutil.h
using Model = std::function<Status(AbstractContext*, absl::Span<AbstractTensorHandle* const>, absl::Span<AbstractTensorHandle*>)>; // Runs `model` maybe wrapped in a function call op. This can be thought as // being equivalent to the following python code. // // if use_function: // outputs = tf.function(model)(inputs) // else:
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Feb 27 13:57:45 GMT 2024 - 4K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractCatchingFuture.java
* #set(Object)}. */ private static final class CatchingFuture<V extends @Nullable Object, X extends Throwable> extends AbstractCatchingFuture<V, X, Function<? super X, ? extends V>, V> { CatchingFuture( ListenableFuture<? extends V> input, Class<X> exceptionType, Function<? super X, ? extends V> fallback) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 01 21:46:34 GMT 2024 - 8.7K bytes - Viewed (0)