Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,781 for buildup (0.07 sec)

  1. okhttp/src/test/java/okhttp3/EventListenerTest.kt

        server.enqueue(
          MockResponse.Builder()
            .code(301)
            .addHeader("Location", "/foo")
            .build(),
        )
        server.enqueue(
          MockResponse.Builder()
            .body("ABC")
            .build(),
        )
        val call =
          client.newCall(
            Request.Builder()
              .url(server.url("/"))
              .build(),
          )
        val response = call.execute()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 56.9K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/OkHttpClientTest.kt

      @Test fun nullInterceptorInList() {
        val builder = OkHttpClient.Builder()
        builder.interceptors().addAll(listOf(null) as List<Interceptor>)
        assertFailsWith<IllegalStateException> {
          builder.build()
        }.also { expected ->
          assertThat(expected.message).isEqualTo("Null interceptor: [null]")
        }
      }
    
      @Test fun nullNetworkInterceptorInList() {
        val builder = OkHttpClient.Builder()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  3. clause/from.go

    	return "FROM"
    }
    
    // Build build from clause
    func (from From) Build(builder Builder) {
    	if len(from.Tables) > 0 {
    		for idx, table := range from.Tables {
    			if idx > 0 {
    				builder.WriteByte(',')
    			}
    
    			builder.WriteQuoted(table)
    		}
    	} else {
    		builder.WriteQuoted(currentTable)
    	}
    
    	for _, join := range from.Joins {
    		builder.WriteByte(' ')
    		join.Build(builder)
    	}
    }
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jul 15 02:25:10 UTC 2020
    - 630 bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/SocksProxyTest.kt

      }
    
      @Test
      fun proxy() {
        server.enqueue(MockResponse.Builder().body("abc").build())
        server.enqueue(MockResponse.Builder().body("def").build())
        val client =
          clientTestRule.newClientBuilder()
            .proxy(socksProxy.proxy())
            .build()
        val request1 = Request.Builder().url(server.url("/")).build()
        val response1 = client.newCall(request1).execute()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/escape/EscapersTest.java

        Escapers.Builder builder = Escapers.builder();
        builder.setSafeRange('a', 'z');
        builder.setUnsafeReplacement("X");
        assertEquals("XheXXuickXXrownXXoxX", builder.build().escape("The Quick Brown Fox!"));
        // Explicit replacements take priority over unsafe characters.
        builder.addEscape(' ', "_");
        builder.addEscape('!', "_");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java

      }
    
      @GwtIncompatible("Builder impl")
      public void testPresizedBuilderDedups() {
        ImmutableSet.Builder<String> builder = ImmutableSet.builderWithExpectedSize(4);
        builder.add("a");
        assertEquals(1, builder.size);
        builder.add("a");
        assertEquals(1, builder.size);
        builder.add("b", "c", "d");
        assertEquals(4, builder.size);
        Object[] table = builder.hashTable;
        assertNotNull(table);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  7. docs/recipes.md

          public void run() throws Exception {
            RequestBody formBody = new FormBody.Builder()
                .add("search", "Jurassic Park")
                .build();
            Request request = new Request.Builder()
                .url("https://en.wikipedia.org/w/index.php")
                .post(formBody)
                .build();
    
            try (Response response = client.newCall(request).execute()) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Feb 18 08:52:22 UTC 2022
    - 40.2K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CommonsCliOptions.java

                        .hasArg()
                        .build());
                options.addOption(Option.builder(LOG_FILE)
                        .longOpt("log-file")
                        .hasArg()
                        .desc("Log file where all build output will go (disables output color)")
                        .build());
                options.addOption(Option.builder()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/CallTest.kt

        client.newCall(Request.Builder().url(server.url("/a")).build()).enqueue(callback)
        callback.await(server.url("/a")).assertBody("abc")
        client.newCall(Request.Builder().url(server.url("/b")).build()).enqueue(callback)
        callback.await(server.url("/b")).assertBody("def")
        client.newCall(Request.Builder().url(server.url("/c")).build()).enqueue(callback)
        callback.await(server.url("/c")).assertBody("ghi")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileInjector.java

                if (profile != null) {
                    Model.Builder builder = Model.newBuilder(model);
                    merger.mergeModelBase(builder, model, profile);
    
                    if (profile.getBuild() != null) {
                        Build build = model.getBuild() != null ? model.getBuild() : Build.newInstance();
                        Build.Builder bbuilder = Build.newBuilder(build);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.3K bytes
    - Viewed (0)
Back to top