Search Options

Results per page
Sort
Preferred Languages
Advance

Results 611 - 620 of 1,501 for Builds (0.04 sec)

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

    import kotlin.test.Test
    import kotlin.time.Duration.Companion.seconds
    
    class CacheControlTest {
      @Test
      @Throws(Exception::class)
      fun emptyBuilderIsEmpty() {
        val cacheControl = CacheControl.Builder().build()
        assertThat(cacheControl.toString()).isEqualTo("")
        assertThat(cacheControl.noCache).isFalse()
        assertThat(cacheControl.noStore).isFalse()
        assertThat(cacheControl.maxAgeSeconds).isEqualTo(-1)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/collect/ImmutableListCreationBenchmark.java

        for (int rep = 0; rep < reps; rep++) {
          ImmutableList.Builder<Object> builder = ImmutableList.builder();
          for (int i = 0; i < size; i++) {
            builder.add(OBJECT);
          }
          dummy += builder.build().size();
        }
        return dummy;
      }
    
      @Benchmark
      int preSizedBuilderAdd(int reps) {
        int size = this.size;
        int dummy = 0;
        for (int rep = 0; rep < reps; rep++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.3K bytes
    - Viewed (0)
  3. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/MojoFailureException.java

     * Throwing this exception causes a "BUILD FAILURE" message to be displayed.
     *
     */
    public class MojoFailureException extends AbstractMojoExecutionException {
        /**
         * Construct a new <code>MojoFailureException</code> exception providing the source and a short and long message:
         * these messages are used to improve the message written at the end of Maven build.
         *
         * @param source
         * @param shortMessage
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/test/resources/poms/inheritance/plugin-configuration-parent.xml

          <post>******@****.***</post>
          <subscribe>******@****.***</subscribe>
          <unsubscribe>******@****.***</unsubscribe>
        </mailingList>
      </mailingLists>
    
      <build>
        <plugins>
          <plugin>
            <groupId>inheritance.configuration</groupId>
            <artifactId>default</artifactId>
            <version>2.0</version>
            <configuration>
              <defaults>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/FastFallbackTest.kt

            .connectTimeout(60, TimeUnit.SECONDS) // Deliberately exacerbate slow fallbacks.
            .dns { dnsResults }
            .fastFallback(true)
            .build()
        url =
          serverIpv4.url("/")
            .newBuilder()
            .host("localhost")
            .build()
      }
    
      @AfterEach
      internal fun tearDown() {
        serverIpv4.shutdown()
        serverIpv6.shutdown()
      }
    
      @Test
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  6. samples/crawler/src/main/java/okhttp3/sample/Crawler.java

        if (previous != null) hostnameCount = previous;
        if (hostnameCount.incrementAndGet() > 100) return;
    
        Request request = new Request.Builder()
            .url(url)
            .build();
        try (Response response = client.newCall(request).execute()) {
          String responseSource = response.networkResponse() != null ? ("(network: "
              + response.networkResponse().code()
              + " over "
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Aug 12 07:26:27 UTC 2021
    - 4.6K bytes
    - Viewed (0)
  7. okhttp-brotli/src/test/java/okhttp3/brotli/BrotliInterceptorTest.kt

        return Response.Builder()
          .body(bodyHex.toResponseBody("text/plain".toMediaType()))
          .code(200)
          .message("OK")
          .request(Request.Builder().url(url).build())
          .protocol(Protocol.HTTP_2)
          .apply(fn)
          .build()
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  8. compat/maven-toolchain-model/pom.xml

          <artifactId>maven-api-meta</artifactId>
        </dependency>
        <dependency>
          <groupId>org.codehaus.plexus</groupId>
          <artifactId>plexus-xml</artifactId>
        </dependency>
      </dependencies>
    
      <build>
        <plugins>
          <plugin>
            <groupId>org.codehaus.modello</groupId>
            <artifactId>modello-maven-plugin</artifactId>
            <configuration>
              <version>1.1.0</version>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. internal/disk/directio_unsupported.go

    // OpenBSD, Windows, and illumos do not support O_DIRECT.
    // On Windows there is no documentation on disabling O_DIRECT.
    // For these systems we do not attempt to build the 'directio' dependency since
    // the O_DIRECT symbol may not be exposed resulting in a failed build.
    //
    //
    // On illumos an explicit O_DIRECT flag is not necessary for two primary
    // reasons. Note that ZFS is effectively the default filesystem on illumos
    // systems.
    //
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 18 18:08:15 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  10. samples/guide/src/main/java/okhttp3/recipes/CheckHandshake.java

      };
    
      private final OkHttpClient client = new OkHttpClient.Builder()
          .addNetworkInterceptor(CHECK_HANDSHAKE_INTERCEPTOR)
          .build();
    
      public void run() throws Exception {
        Request request = new Request.Builder()
            .url("https://publicobject.com/helloworld.txt")
            .build();
    
        try (Response response = client.newCall(request).execute()) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 14:55:09 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top