- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 364 for factor (0.04 sec)
-
guava-tests/test/com/google/common/cache/PopulatedCachesTest.java
private Iterable<LoadingCache<Object, Object>> caches() { // lots of different ways to configure a LoadingCache CacheBuilderFactory factory = cacheFactory(); return Iterables.transform( factory.buildAllPermutations(), new Function<CacheBuilder<Object, Object>, LoadingCache<Object, Object>>() { @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 15.1K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Platform.java
import java.util.concurrent.ExecutionException; import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeoutException; import org.jspecify.annotations.Nullable; /** Methods factored out so that they can be emulated differently in GWT. */ @GwtCompatible final class Platform { static boolean isInstanceOfThrowableClass( @Nullable Throwable t, Class<? extends Throwable> expectedClass) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 2.1K bytes - Viewed (0) -
android/guava/src/com/google/common/math/LinearTransformation.java
*/ @J2ktIncompatible @GwtIncompatible public abstract class LinearTransformation { /** * Constructor for use by subclasses inside Guava. * * @deprecated Create instances by using the static factory methods of the class. */ @Deprecated public LinearTransformation() {} /** * Start building an instance which maps {@code x = x1} to {@code y = y1}. Both arguments must be
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 9.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/TreeTraverser.java
* implement it: * * {@snippet : * // won't work * TreeTraverser<NodeType> traverser = node -> node.getChildNodes(); * } * * Instead, you can pass a lambda expression to the {@code using} factory method: * * {@snippet : * TreeTraverser<NodeType> traverser = TreeTraverser.using(node -> node.getChildNodes()); * } * * @author Louis Wasserman * @since 15.0
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 8.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/EnumMultisetTest.java
ms.add(Color.RED, 2); Set<Object> uniqueEntries = Sets.newIdentityHashSet(); uniqueEntries.addAll(ms.entrySet()); assertEquals(3, uniqueEntries.size()); } // Wrapper of EnumMultiset factory methods, because we need to skip create(Class). // create(Enum1.class) is equal to create(Enum2.class) but testEquals() expects otherwise. // For the same reason, we need to skip create(Iterable, Class).
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapCreationTester.java
import java.lang.reflect.Method; import java.util.List; import java.util.Map.Entry; import org.junit.Ignore; /** * A generic JUnit test which tests creation (typically through a constructor or static factory * method) of a map. Can't be invoked directly; please see {@link * com.google.common.collect.testing.MapTestSuiteBuilder}. * * @author Chris Povirk * @author Kevin Bourrillion */ @GwtCompatible
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SIDCacheImplTest.java
// Verify resolveSids0 called exactly once with the two SIDs needing resolution ArgumentCaptor<SID[]> captor = ArgumentCaptor.forClass(SID[].class); verify(cache, times(1)).resolveSids0(isNull(), same(ctx), captor.capture()); SID[] resolvedFirst = captor.getValue(); assertEquals(2, resolvedFirst.length); assertEquals("user1", ((SID) resolvedFirst[0]).acctName);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14K bytes - Viewed (0) -
src/test/java/jcifs/smb/NetServerFileEntryAdapterIteratorTest.java
ArgumentCaptor<SmbResource> captor = ArgumentCaptor.forClass(SmbResource.class); verify(filter, times(2)).accept(captor.capture()); assertNotNull(r); assertTrue(r.getName().startsWith("TAKEME")); // The first filtered resource name should correspond to the rejected entry assertTrue(captor.getAllValues().get(0).getName().startsWith("SKIPME")); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java
// Assert: verify return and the captured argument equals input assertTrue(result); ArgumentCaptor<Integer> captor = ArgumentCaptor.forClass(Integer.class); verify(handle, times(1)).hasCapability(captor.capture()); assertEquals(cap, captor.getValue()); } @Test @DisplayName("hasCapability(cap): propagates CIFSException on failure")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.20.md
### Bug or Regression - Added jitter factor to lease controller that better smears load on kube-apiserver over time. ([#101652](https://github.com/kubernetes/kubernetes/pull/101652), [@marseel](https://github.com/marseel)) [SIG API Machinery and Scalability]
Registered: Fri Sep 05 09:05:11 UTC 2025 - Last Modified: Wed Jan 19 21:05:45 UTC 2022 - 409K bytes - Viewed (0)