- Sort Score
- Result 10 results
- Languages All
Results 831 - 840 of 945 for builder2 (0.11 sec)
-
guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java
/** * Unit test of {@link MutableTypeToInstanceMap}. * * @author Ben Yu */ public class MutableTypeToInstanceMapTest extends TestCase { @AndroidIncompatible // problem with suite builders on Android public static Test suite() { TestSuite suite = new TestSuite(); suite.addTestSuite(MutableTypeToInstanceMapTest.class); suite.addTest( MapTestSuiteBuilder.using(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 17:15:24 UTC 2024 - 7.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/StripedTest.java
@Override public Semaphore get() { return new Semaphore(1, false); } }; private static List<Striped<?>> weakImplementations() { return ImmutableList.<Striped<?>>builder() .add(new Striped.SmallLazyStriped<ReadWriteLock>(50, READ_WRITE_LOCK_SUPPLIER)) .add(new Striped.SmallLazyStriped<ReadWriteLock>(64, READ_WRITE_LOCK_SUPPLIER))
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jun 26 12:58:35 UTC 2024 - 8.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/StripedTest.java
@Override public Semaphore get() { return new Semaphore(1, false); } }; private static List<Striped<?>> weakImplementations() { return ImmutableList.<Striped<?>>builder() .add(new Striped.SmallLazyStriped<ReadWriteLock>(50, READ_WRITE_LOCK_SUPPLIER)) .add(new Striped.SmallLazyStriped<ReadWriteLock>(64, READ_WRITE_LOCK_SUPPLIER))
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jun 26 12:58:35 UTC 2024 - 8.4K bytes - Viewed (0) -
guava/src/com/google/common/cache/CacheBuilder.java
* explanation. * * @param <K> the most general key type this builder will be able to create caches for. This is * normally {@code Object} unless it is constrained by using a method like {@code * #removalListener}. Cache keys may not be null. * @param <V> the most general value type this builder will be able to create caches for. This is
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 51.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/ReflectionFreeAssertThrows.java
return ImmutableMap.of(); } } private static final ImmutableMap<Class<? extends Throwable>, Predicate<Throwable>> INSTANCE_OF = ImmutableMap.<Class<? extends Throwable>, Predicate<Throwable>>builder() .put(ArithmeticException.class, e -> e instanceof ArithmeticException) .put( ArrayIndexOutOfBoundsException.class, e -> e instanceof ArrayIndexOutOfBoundsException)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 15:00:32 UTC 2024 - 6.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/ValueGraphTest.java
int threadCount = 20; ExecutorService executor = newFixedThreadPool(threadCount); final CyclicBarrier barrier = new CyclicBarrier(threadCount); ImmutableList.Builder<Future<?>> futures = ImmutableList.builder(); for (int i = 0; i < threadCount; i++) { futures.add( executor.submit( new Callable<@Nullable Void>() { @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 17.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/ws/RealWebSocketTest.kt
webSocketCloseTimeout: Long = RealWebSocket.CANCEL_AFTER_CLOSE_MILLIS, ) { val url = "http://example.com/websocket" val response = Response.Builder() .code(101) .message("OK") .request(Request.Builder().url(url).build()) .headers(responseHeaders!!) .protocol(Protocol.HTTP_1_1) .build() webSocket = RealWebSocket(
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Apr 11 01:59:58 UTC 2024 - 18.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/ToStringHelperTest.java
} @GwtIncompatible // Class names are obfuscated in GWT public void testToString_complexFields() { Map<String, Integer> map = ImmutableMap.<String, Integer>builder().put("abc", 1).put("def", 2).put("ghi", 3).build(); String toTest = MoreObjects.toStringHelper(new TestClass()) .add("field1", "This is string.")
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 09 21:19:18 UTC 2024 - 21.3K bytes - Viewed (0) -
cmd/admin-handlers-config-kv.go
} } } subSysConfigs, err := cfg.GetSubsysInfo(subSys, target, true) if err != nil { writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL) return } var s strings.Builder for _, subSysConfig := range subSysConfigs { subSysConfig.WriteTo(&s, false) } password := cred.SecretKey econfigData, err := madmin.EncryptData(password, []byte(s.String())) if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 15.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/DerivedGoogleCollectionGenerators.java
import java.util.Map; import java.util.Map.Entry; import java.util.Set; import org.checkerframework.checker.nullness.qual.Nullable; /** * Derived suite generators for Guava collection interfaces, split out of the suite builders so that * they are available to GWT. * * @author Louis Wasserman */ @GwtCompatible @ElementTypesAreNonnullByDefault public final class DerivedGoogleCollectionGenerators {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 6.8K bytes - Viewed (0)