- Sort Score
- Result 10 results
- Languages All
Results 841 - 850 of 956 for builder_ (0.07 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-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) -
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) -
src/cmd/asm/internal/lex/lex_test.go
func lines(a ...string) string { return strings.Join(a, "\n") + "\n" } // drain returns a single string representing the processed input tokens. func drain(input *Input) string { var buf strings.Builder for { tok := input.Next() if tok == scanner.EOF { return buf.String() } if tok == '#' { continue } if buf.Len() > 0 { buf.WriteByte('.') }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Aug 29 07:48:38 UTC 2023 - 5.8K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/Exchange.kt
throw e } } fun responseHeadersStart() { eventListener.responseHeadersStart(call) } @Throws(IOException::class) fun readResponseHeaders(expectContinue: Boolean): Response.Builder? { try { val result = codec.readResponseHeaders(expectContinue) result?.initExchange(this) return result } catch (e: IOException) { eventListener.responseFailed(call, e)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 9.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/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: Mon Oct 21 15:41:36 UTC 2024 - 7K bytes - Viewed (0)