- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 528 for functional (1.44 sec)
-
android/guava/src/com/google/common/graph/PredecessorsFunction.java
* limitations under the License. */ package com.google.common.graph; import com.google.common.annotations.Beta; import com.google.errorprone.annotations.DoNotMock; /** * A functional interface for <a * href="https://en.wikipedia.org/wiki/Graph_(discrete_mathematics)">graph</a>-structured data. * * <p>This interface is meant to be used as the type of a parameter to graph algorithms (such as
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 4K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/SuccessorsFunction.java
* limitations under the License. */ package com.google.common.graph; import com.google.common.annotations.Beta; import com.google.errorprone.annotations.DoNotMock; /** * A functional interface for <a * href="https://en.wikipedia.org/wiki/Graph_(discrete_mathematics)">graph</a>-structured data. * * <p>This interface is meant to be used as the type of a parameter to graph algorithms (such as
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 4.2K bytes - Viewed (0) -
guava/src/com/google/common/math/LongMath.java
* * <p>This differs from {@code Long.bitCount(x) == 1}, because {@code * Long.bitCount(Long.MIN_VALUE) == 1}, but {@link Long#MIN_VALUE} is not a power of two. */ // Whenever both tests are cheap and functional, it's faster to use &, | instead of &&, || @SuppressWarnings("ShortCircuitBoolean") public static boolean isPowerOfTwo(long x) { return x > 0 & (x & (x - 1)) == 0; } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Aug 29 16:20:07 UTC 2025 - 46.8K bytes - Viewed (0) -
src/test/java/jcifs/util/AuthenticationRateLimiterTest.java
// The rate limiter should still be functional after concurrent access assertTrue(concurrentLimiter.checkAttempt("finaluser", "192.168.3.1"), "Rate limiter should still be functional after concurrent operations"); // Verify that the rate limiter tracked some activity
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/SmbNegotiationRequestTest.java
} @Test @DisplayName("Test lambda implementation (if applicable)") void testLambdaImplementation() { // Given - Using a functional interface pattern SmbNegotiationRequest lambdaRequest = () -> true; // When boolean result = lambdaRequest.isSigningEnforced(); // Then
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.4K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt
import okhttp3.internal.http.RealInterceptorChain import okhttp3.internal.http.RecordingProxySelector import okhttp3.tls.HandshakeCertificates import okhttp3.tls.internal.TlsUtil.localhost /** * OkHttp is usually tested with functional tests: these use public APIs to confirm behavior against * MockWebServer. In cases where logic is particularly tricky, we use unit tests. This class makes * it easy to get sample values to use in such tests. *
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri May 30 21:28:20 UTC 2025 - 7.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/query/QueryCommand.java
return defaultField; } return field; } /** * Functional interface for building query builders with field and boost parameters. */ protected interface DefaultQueryBuilderFunction { /** * Applies the function to create a query builder for the specified field and boost. * @param field The field name.
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 9.6K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java
extends AbstractTransformFuture<I, O, Function<? super I, ? extends O>, O> { TransformFuture( ListenableFuture<? extends I> inputFuture, Function<? super I, ? extends O> function) { super(inputFuture, function); } @Override @ParametricNullness O doTransform(Function<? super I, ? extends O> function, @ParametricNullness I input) { return function.apply(input); } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 20 18:03:37 UTC 2025 - 10.8K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java
extends AbstractTransformFuture<I, O, Function<? super I, ? extends O>, O> { TransformFuture( ListenableFuture<? extends I> inputFuture, Function<? super I, ? extends O> function) { super(inputFuture, function); } @Override @ParametricNullness O doTransform(Function<? super I, ? extends O> function, @ParametricNullness I input) { return function.apply(input); } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 20 18:03:37 UTC 2025 - 10.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaErrorHandler.java
throw (IOException) lastError; } else { throw new IOException("RDMA operation failed after " + (retryCount + 1) + " attempts", lastError); } } /** * Functional interface for RDMA operations that can be retried * * @param <T> the type of result returned by the operation */ @FunctionalInterface public interface RdmaOperation<T> { /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 10.5K bytes - Viewed (0)