- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 1,083 for Function (0.59 sec)
-
android/guava/src/com/google/common/base/Present.java
@Override public Set<T> asSet() { return Collections.singleton(reference); } @Override public <V> Optional<V> transform(Function<? super T, V> function) { return new Present<>( checkNotNull( function.apply(reference), "the Function passed to Optional.transform() must not return null.")); } @Override public boolean equals(@Nullable Object obj) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Apr 15 22:14:00 UTC 2025 - 2.5K bytes - Viewed (0) -
docs/en/docs/tutorial/query-params-str-validations.md
**Using `Annotated` is recommended** instead of the default value in function parameters, it is **better** for multiple reasons. 🤓 The **default** value of the **function parameter** is the **actual default** value, that's more intuitive with Python in general. 😌
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 20 15:55:38 UTC 2025 - 16.7K bytes - Viewed (0) -
buildscripts/heal-inconsistent-versions.sh
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri May 26 05:07:25 UTC 2023 - 1.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfPresentTester.java
public class MapComputeIfPresentTester<K, V> extends AbstractMapTester<K, V> { @MapFeature.Require(SUPPORTS_PUT) public void testComputeIfPresent_supportedAbsent() { assertNull( "computeIfPresent(notPresent, function) should return null", getMap() .computeIfPresent( k3(), (k, v) -> { throw new AssertionFailedError(); })); expectUnchanged();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 6.1K bytes - Viewed (0) -
src/bufio/example_test.go
// Create a custom split function by wrapping the existing ScanWords function. split := func(data []byte, atEOF bool) (advance int, token []byte, err error) { advance, token, err = bufio.ScanWords(data, atEOF) if err == nil && token != nil { _, err = strconv.ParseInt(string(token), 10, 32) } return } // Set the split function for the scanning operation. scanner.Split(split)
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Fri Nov 01 21:52:12 UTC 2024 - 5.5K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/EnrichedReportRenderer.groovy
<script type="text/javascript"> function getAllErrorCorrections() { var changeElements = \$(".well pre"); var result = []; changeElements.each((idx, val) => result.push(JSON.parse(val.textContent))); return result; } function appendErrorCorrections(reason) {Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Tue Feb 07 20:38:43 UTC 2023 - 7.2K bytes - Viewed (0) -
docs/en/docs/tutorial/dependencies/classes-as-dependencies.md
The key factor is that a dependency should be a "callable". A "**callable**" in Python is anything that Python can "call" like a function. So, if you have an object `something` (that might _not_ be a function) and you can "call" it (execute it) like: ```Python something() ``` or ```Python something(some_argument, some_keyword_argument="foo") ``` then it is a "callable".
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 6.7K bytes - Viewed (0) -
buildscripts/verify-healing-with-root-disks.sh
echo "minio executable binary not found in current directory" exit 1 fi WORK_DIR="$(mktemp -d)" MINIO_CONFIG_DIR="$WORK_DIR/.minio" MINIO=("$PWD/minio" --config-dir "$MINIO_CONFIG_DIR" server) function start_minio() { start_port=$1 export MINIO_ROOT_USER=minio export MINIO_ROOT_PASSWORD=minio123 unset MINIO_KMS_AUTO_ENCRYPTION # do not auto-encrypt objects unset MINIO_CI_CD unset CI args=()
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri May 26 05:07:25 UTC 2023 - 2.2K bytes - Viewed (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*.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Dec 16 16:33:45 UTC 2025 - 3.1K bytes - Viewed (0) -
guava/src/com/google/common/cache/CacheLoader.java
} /** * Returns a cache loader that uses {@code function} to load keys, without supporting either * reloading or bulk loading. This allows creating a cache loader using a lambda expression. * * <p>The returned object is serializable if {@code function} is serializable. * * @param function the function to be used for loading values; must never return {@code null}Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 9.5K bytes - Viewed (0)