Search Options

Results per page
Sort
Preferred Languages
Advance

Results 431 - 440 of 1,417 for Builds (0.1 sec)

  1. okhttp-brotli/src/test/java/okhttp3/brotli/BrotliTestMain.kt

    fun main() {
      val client =
        OkHttpClient.Builder()
          .addInterceptor(BrotliInterceptor)
          .build()
    
      sendRequest("https://httpbin.org/brotli", client)
      sendRequest("https://httpbin.org/gzip", client)
    }
    
    private fun sendRequest(
      url: String,
      client: OkHttpClient,
    ) {
      val req = Request.Builder().url(url).build()
    
      client.newCall(req).execute().use {
        println(it.body.string())
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/graph/StandardImmutableDirectedNetworkTest.java

                .immutable();
    
        return networkBuilder.build();
      }
    
      @Override
      void addNode(Integer n) {
        networkBuilder.addNode(n);
        network = networkBuilder.build();
      }
    
      @Override
      void addEdge(Integer n1, Integer n2, String e) {
        networkBuilder.addEdge(n1, n2, e);
        network = networkBuilder.build();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Apr 09 17:01:22 UTC 2020
    - 2.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java

        assertEquals(HashMultiset.create(asList("a", "b", "a", "c")), multiset);
      }
    
      public void testBuilderAddAll() {
        List<String> a = asList("a", "b");
        List<String> b = asList("c", "d");
        ImmutableSortedMultiset<String> multiset =
            ImmutableSortedMultiset.<String>naturalOrder().addAll(a).addAll(b).build();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/test/resources/poms/validation/missing-resource-directory-pom.xml

      <artifactId>foo</artifactId>
      <groupId>foo</groupId>
      <version>99.44</version>
      <packaging>bleh</packaging>
      <build>
        <resources>
          <resource>
    
          </resource>
        </resources>
        <testResources>
          <testResource>
    
          </testResource>
        </testResources>
      </build>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ImmutableListTest.java

        Object[] listInternalArray = list.array;
        assertSame(builderArray, builderArrayAfterAdds);
        assertSame(builderArray, listInternalArray);
      }
    
      public void testBuilderAdd_varargs() {
        ImmutableList<String> list =
            new ImmutableList.Builder<String>().add("a", "b", "a", "c").build();
        assertEquals(asList("a", "b", "a", "c"), list);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  6. samples/guide/src/main/java/okhttp3/recipes/Progress.java

              return originalResponse.newBuilder()
                  .body(new ProgressResponseBody(originalResponse.body(), progressListener))
                  .build();
            })
            .build();
    
        try (Response response = client.newCall(request).execute()) {
          if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 12 03:31:36 UTC 2019
    - 3.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/ThreadFactoryBuilder.java

       * building, it is still possible to change the options used to build the ThreadFactory and/or
       * build again. State is not shared amongst built instances.
       *
       * @return the fully constructed {@link ThreadFactory}
       */
      public ThreadFactory build() {
        return doBuild(this);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 14 22:50:54 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  8. okhttp-coroutines/src/test/kotlin/okhttp3/coroutines/ExecuteAsyncTest.kt

    import org.junit.jupiter.api.fail
    
    class ExecuteAsyncTest {
      @RegisterExtension
      val clientTestRule = OkHttpClientTestRule()
    
      private var client = clientTestRule.newClientBuilder().build()
    
      private lateinit var server: MockWebServer
    
      val request by lazy { Request(server.url("/")) }
    
      @BeforeEach
      fun setup(server: MockWebServer) {
        this.server = server
      }
    
      @Test
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 18 01:24:38 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/osgi/OsgiTest.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.osgi
    
    import aQute.bnd.build.Project
    import aQute.bnd.build.Workspace
    import aQute.bnd.build.model.BndEditModel
    import aQute.bnd.deployer.repository.LocalIndexedRepo
    import aQute.bnd.osgi.Constants
    import aQute.bnd.service.RepositoryPlugin
    import biz.aQute.resolve.Bndrun
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  10. compat/maven-compat/src/test/projects/project-dependencies-resolver/it0063/pom.xml

          <artifactId>tools</artifactId>
          <version>1.4.2</version>
          <scope>system</scope>
          <systemPath>${jre.home}/../lib/tools.jar</systemPath>
        </dependency>
      </dependencies>
    
      <build>
        <plugins>
          <plugin>
            <groupId>org.apache.maven.its.plugins</groupId>
            <artifactId>maven-it-plugin-dependency-resolution</artifactId>
            <version>2.1-SNAPSHOT</version>
            <configuration>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top