- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 25 for approach (0.1 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/google/BiMapTestSuiteBuilder.java
?, ? extends OneSizeTestContainerGenerator<BiMap<K, V>, Entry<K, V>>> parentBuilder) { List<TestSuite> derived = super.createDerivedSuites(parentBuilder); // TODO(cpovirk): consider using this approach (derived suites instead of extension) in // ListTestSuiteBuilder, etc.? derived.add( MapTestSuiteBuilder.using(new MapGenerator<K, V>(parentBuilder.getSubjectGenerator()))
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 6.8K bytes - Viewed (0) -
docs/en/docs/how-to/custom-request-and-route.md
But this example is still valid and it shows how to interact with the internal components. /// We can also use this same approach to access the request body in an exception handler. All we need to do is handle the request inside a `try`/`except` block: {* ../../docs_src/custom_request_and_route/tutorial002.py hl[13,15] *}
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 27 22:39:38 UTC 2024 - 4.3K bytes - Viewed (0) -
common/scripts/setup_env.sh
# https://stackoverflow.com/questions/59895/how-can-i-get-the-source-directory-of-a-bash-script-from-within-the-script-itsel # Note: the normal way we use in other scripts in Istio do not work when `source`d, which is why we use this approach SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) REPO_ROOT="$(dirname "$(dirname "${SCRIPT_DIR}")")" LOCAL_ARCH=$(uname -m) # Pass environment set target architecture to build system
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Nov 06 04:52:54 UTC 2024 - 8.3K bytes - Viewed (0) -
android/guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java
// If we clip the safe range used during the per-character tests so it is // below the values of characters in surrogate pairs, this cannot occur. // This approach does mean that we break out of the fast path code in cases // where we don't strictly need to, but this situation will almost never // occur in practice. if (safeMin >= Character.MIN_HIGH_SURROGATE) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 8.6K bytes - Viewed (0) -
docs/en/docs/deployment/docker.md
# FastAPI in Containers - Docker When deploying FastAPI applications a common approach is to build a **Linux container image**. It's normally done using <a href="https://www.docker.com/" class="external-link" target="_blank">**Docker**</a>. You can then deploy that container image in one of a few possible ways. Using Linux containers has several advantages including **security**, **replicability**, **simplicity**, and others. /// tip
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Sep 18 16:09:57 UTC 2024 - 28.5K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractor.java
public class ReflectionValueExtractor { private static final Object[] OBJECT_ARGS = new Object[0]; /** * Use a WeakHashMap here, so the keys (Class objects) can be garbage collected. * This approach prevents permgen space overflows due to retention of discarded * classloaders. */ private static final Map<Class<?>, WeakReference<ClassMap>> CLASS_MAPS = new WeakHashMap<>(); static final int EOF = -1;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 10.8K bytes - Viewed (0) -
guava/src/com/google/common/hash/LittleEndianByteArray.java
/** * Common interface for retrieving a 64-bit long from a little-endian byte array. * * <p>This abstraction allows us to use single-instruction load and put when available, or fall * back on the slower approach of using Longs.fromBytes(byte...). */ private interface LittleEndianBytes { long getLongLittleEndian(byte[] array, int offset); void putLongLittleEndian(byte[] array, int offset, long value); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 9.8K bytes - Viewed (0) -
impl/maven-core/plugin-manager.txt
workspace of an IDE, a local Maven repository, or a remote Maven repository. During development in an IDE we would need layered resolution approach that would allow resolution from the workspace, then the local Maven repository and then from any number of remote Maven repositories. During development from the command line we would need a layered resolution approach that would allow resolution from the local Maven repository and then from any number of remote Maven repositories. In production the resolution...
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 12.9K bytes - Viewed (0) -
android/guava/src/com/google/common/base/MoreObjects.java
* Predicates.notNull())}, static importing as necessary. * * <p><b>Note:</b> if {@code first} is represented as an {@link Optional}, this can be * accomplished with {@link Optional#or(Object) first.or(second)}. That approach also allows for * lazy evaluation of the fallback instance, using {@link Optional#or(Supplier) * first.or(supplier)}. * * <p><b>Java 9 users:</b> use {@code java.util.Objects.requireNonNullElse(first, second)}
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 10 15:41:27 UTC 2024 - 16.1K bytes - Viewed (0) -
src/archive/zip/writer.go
return nil } // Write data descriptor. This is more complicated than one would // think, see e.g. comments in zipfile.c:putextended() and // https://bugs.openjdk.org/browse/JDK-7073588. // The approach here is to write 8 byte sizes if needed without // adding a zip64 extra in the local header (too late anyway). var buf []byte if w.isZip64() { buf = make([]byte, dataDescriptor64Len) } else {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Sep 23 14:32:33 UTC 2024 - 19.4K bytes - Viewed (0)