- Sort Score
- Num 10 results
- Language All
Results 611 - 620 of 2,558 for build2 (0.15 seconds)
-
android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java
Builder<String, Integer> builder = new Builder<>(); assertThrows( NullPointerException.class, () -> builder.put(new SimpleEntry<String, Integer>(null, 1))); builder.put("foo", 2); assertMapEquals(builder.buildOrThrow(), "foo", 2); } public void testBuilderPutNullKey() { Builder<String, Integer> builder = new Builder<>();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 36.7K bytes - Click Count (0) -
src/cmd/api/api_test.go
_, err := w.ImportFrom("p", "", 0) if _, nogo := err.(*build.NoGoError); !nogo { t.Errorf("expected *build.NoGoError, got %T", err) } } } func TestIssue41358(t *testing.T) { if *flagCheck { // slow, not worth repeating in -check t.Skip("skipping with -check set") } testenv.MustHaveGoBuild(t) context := new(build.Context) *context = build.Default
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Fri May 02 17:06:27 GMT 2025 - 7.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ClassPathUtil.java
* System#getProperty system property}. */ // TODO(b/65488446): Make this a public API. static URL[] parseJavaClassPath() { ImmutableList.Builder<URL> urls = ImmutableList.builder(); for (String entry : Splitter.on(PATH_SEPARATOR.value()).split(JAVA_CLASS_PATH.value())) { try { try { urls.add(new File(entry).toURI().toURL());
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.3K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/PomBuilder.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 7.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/ClassPathUtil.java
* System#getProperty system property}. */ // TODO(b/65488446): Make this a public API. static URL[] parseJavaClassPath() { ImmutableList.Builder<URL> urls = ImmutableList.builder(); for (String entry : Splitter.on(PATH_SEPARATOR.value()).split(JAVA_CLASS_PATH.value())) { try { try { urls.add(new File(entry).toURI().toURL());
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.3K bytes - Click Count (0) -
regression-test/src/androidTest/java/okhttp/regression/compare/OkHttpClientTest.java
@RunWith(AndroidJUnit4.class) public class OkHttpClientTest { @Test public void get() throws IOException { OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://google.com/robots.txt") .build(); try (Response response = client.newCall(request).execute()) { assertEquals(200, response.code()); assertEquals(Protocol.HTTP_2, response.protocol()); } }Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat Nov 14 17:38:22 GMT 2020 - 1.4K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/AsynchronousGet.kt
import okhttp3.Request import okhttp3.Response class AsynchronousGet { private val client = OkHttpClient() fun run() { val request = Request .Builder() .url("http://publicobject.com/helloworld.txt") .build() client.newCall(request).enqueue( object : Callback { override fun onFailure( call: Call, e: IOException, ) {Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 1.6K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/RouteFailureTest.kt
val ipv4 = InetAddress.getByName("203.0.113.1") val ipv6 = InetAddress.getByName("2001:db8:ffff:ffff:ffff:ffff:ffff:1") val refusedStream = MockResponse .Builder() .onRequestStart(CloseStream(ErrorCode.REFUSED_STREAM.httpCode)) .build() val bodyResponse = MockResponse(body = "body") @BeforeEach fun setUp() { socketFactory = SpecificHostSocketFactory(InetSocketAddress(server1.hostName, server1.port))
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 11.6K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/PerCollectionSizeTestSuiteBuilder.java
import junit.framework.TestSuite; /** * This builder creates a composite test suite, containing a separate test suite for each {@link * CollectionSize} present in the features specified by {@link #withFeatures(Feature...)}. * * @param <B> The concrete type of this builder (the 'self-type'). All the Builder methods of this * class (such as {@link #named(String)}) return this type, so that Builder methods of moreCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 20:54:16 GMT 2025 - 5.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/graph/ValueGraphTest.java
graph = ValueGraphBuilder.directed().build(); graph.putEdgeValue(1, 2, "A"); graph.putEdgeValue(3, 4, "B"); graph.putEdgeValue(5, 6, "C"); int threadCount = 20; ExecutorService executor = newFixedThreadPool(threadCount); CyclicBarrier barrier = new CyclicBarrier(threadCount); ImmutableList.Builder<Future<?>> futures = ImmutableList.builder(); for (int i = 0; i < threadCount; i++) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 07 15:57:03 GMT 2025 - 20.7K bytes - Click Count (0)