- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 196 for functional (0.15 sec)
-
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) -
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) -
src/test/java/jcifs/smb/FileEntryTest.java
@Override public long length() { return length; } @Override public int getFileIndex() { return fileIndex; } } // Functional helpers for concise parameterized tests private interface IntGetter { int apply(FileEntry e); } private interface LongGetter { long apply(FileEntry e); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10K bytes - Viewed (0) -
docs/SMB3_IMPLEMENTATION_PLAN.md
### Infrastructure - Windows Server test lab - RDMA-capable test hardware - Continuous integration environment - Performance testing infrastructure ## Success Metrics 1. **Functional Completeness**: All features pass Windows Protocol Test Suite 2. **Performance**: - Multi-channel provides >1.5x throughput improvement - RDMA reduces latency by >50% 3. **Reliability**:
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 10.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java
CacheBuilder<Object, Object> builder = CacheBuilder.from(parse("maximumSize=9000")); builder.build(CacheLoader.from(Suppliers.ofInstance(null))); } public void testDisableCaching() { // Functional test: assert that CacheBuilderSpec.disableCaching() // disables caching. It's irrelevant how it does so. CacheBuilder<Object, Object> builder = CacheBuilder.from(CacheBuilderSpec.disableCaching());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 19.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/SearchEngineUtilTest.java
try { SearchEngineUtil.class.getMethod("scroll", String.class, java.util.function.Function.class); } catch (NoSuchMethodException e) { fail("scroll method should exist with correct signature"); } } public void test_XContentBuilderCallback_interface() { // Test that the functional interface works correctly XContentBuilderCallback callback = (builder, params) -> {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 13.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryAdapterIteratorTest.java
* * This test class verifies the basic functionality of DirFileEntryAdapterIterator. * Due to the iterator's constructor calling advance() immediately, which requires * the adapt() method to be functional, we test the behavior using simple mock * scenarios that don't require complex filter setups. */ @ExtendWith(MockitoExtension.class) class DirFileEntryAdapterIteratorTest { @Mock
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.4K bytes - Viewed (0)