- Sort Score
- Result 10 results
- Languages All
Results 201 - 210 of 1,083 for Function (0.03 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfAbsentTester.java
public class MapComputeIfAbsentTester<K, V> extends AbstractMapTester<K, V> { @MapFeature.Require(SUPPORTS_PUT) public void testComputeIfAbsent_supportedAbsent() { assertEquals( "computeIfAbsent(notPresent, function) should return new value", v3(), getMap() .computeIfAbsent( k3(), k -> { assertEquals(k3(), k); return v3();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 6.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java
private static final String RESULT_DATA = "SUCCESS"; private SettableFuture<String> outputFuture; // Signals that the function is waiting to complete private CountDownLatch funcIsWaitingLatch; // Signals the function so it will complete private CountDownLatch funcCompletionLatch; @Override protected ListenableFuture<String> buildChainingFuture(ListenableFuture<Integer> inputFuture) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:07:52 UTC 2025 - 6.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java
private static final String RESULT_DATA = "SUCCESS"; private SettableFuture<String> outputFuture; // Signals that the function is waiting to complete private CountDownLatch funcIsWaitingLatch; // Signals the function so it will complete private CountDownLatch funcCompletionLatch; @Override protected ListenableFuture<String> buildChainingFuture(ListenableFuture<Integer> inputFuture) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:07:52 UTC 2025 - 6.4K bytes - Viewed (0) -
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() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Apr 15 22:14:00 UTC 2025 - 2.6K bytes - Viewed (0) -
internal/once/init.go
"sync/atomic" ) // Inspired from Golang sync.Once but it is only marked // initialized when the provided function returns nil. // Init represents the structure. type Init struct { done uint32 m sync.Mutex } // Do is similar to sync.Once.Do - makes one successful // call to the function. ie, it invokes the function // if it is not successful yet. func (l *Init) Do(f func() error) error {Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue May 09 04:20:31 UTC 2023 - 2.1K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/ProjectBuildList.java
package org.apache.maven.lifecycle.internal; import java.util.Collections; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Set; import java.util.function.Function; import java.util.stream.Collectors; import org.apache.maven.artifact.ArtifactUtils; import org.apache.maven.execution.MavenSession; import org.apache.maven.project.MavenProject; /** * <p>
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.1K bytes - Viewed (0) -
docs/en/docs/tutorial/body.md
/// ## Use the model { #use-the-model } Inside of the function, you can access all the attributes of the model object directly: {* ../../docs_src/body/tutorial002_py310.py *} ## Request body + path parameters { #request-body-path-parameters } You can declare path parameters and request body at the same time.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 20 15:55:38 UTC 2025 - 6.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/PathMappingHelper.java
} } return replaceUrl(cachedPathMappingList, url); } /** * Creates a path matcher function for path mapping. * * @param matcher the regex matcher * @param replacement the replacement string * @return the path matcher function */ public BiFunction<String, Matcher, String> createPathMatcher(final Matcher matcher, final String replacement) { // for PathMappingRegistered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 9.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/base/login/FessLoginAssist.java
* * @param <CREDENTIAL> the credential type * @param credentialType the class of the credential type * @param oneArgLambda the function to apply for credential resolution */ public <CREDENTIAL extends LoginCredential> void resolve(final Class<CREDENTIAL> credentialType,Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 12.1K bytes - Viewed (0) -
cmd/metrics-v3-types.go
Descriptors []MetricDescriptor // (Optional) Extra (constant) label KV pairs to be added to each metric in // the group. ExtraLabels map[string]string // Loader functions to load metrics. Only one of these will be set. Metrics // returned by these functions must be present in the `Descriptors` list. loader MetricsLoaderFn bucketLoader BucketMetricsLoaderFn // Cache for all metrics groups. Set via `.SetCache` method.
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Feb 28 19:33:08 UTC 2025 - 15.6K bytes - Viewed (0)