Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 1,634 for buildID (0.19 sec)

  1. android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java

      public void testBuilder_presize_zero() {
        ImmutableIntArray.Builder builder = ImmutableIntArray.builder(0);
        builder.add(5);
        ImmutableIntArray array = builder.build();
        assertThat(array.asList()).containsExactly(5);
      }
    
      public void testBuilder_presize_negative() {
        assertThrows(IllegalArgumentException.class, () -> ImmutableIntArray.builder(-1));
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

      public void testBuilder_presize_zero() {
        ImmutableDoubleArray.Builder builder = ImmutableDoubleArray.builder(0);
        builder.add(5.0);
        ImmutableDoubleArray array = builder.build();
        assertThat(array.asList()).containsExactly(5.0);
      }
    
      public void testBuilder_presize_negative() {
        assertThrows(IllegalArgumentException.class, () -> ImmutableDoubleArray.builder(-1));
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingRequest.java

        /**
         * Sets the POM file of the project to build. Note that providing the path to a POM file via this method will make
         * the model builder operate in project mode. This mode is meant for effective models that are employed during the
         * build process of a local project. Hence the effective model will support the notion of a project directory. To
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/google/BiMapGenerators.java

        @Override
        protected BiMap<String, String> create(Entry<String, String>[] entries) {
          ImmutableBiMap.Builder<String, String> builder = ImmutableBiMap.builder();
          for (Entry<String, String> entry : entries) {
            checkNotNull(entry);
            builder.put(entry.getKey(), entry.getValue());
          }
          return builder.build();
        }
      }
    
      public static class ImmutableBiMapCopyOfGenerator extends TestStringBiMapGenerator {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. okhttp-brotli/src/test/java/okhttp3/brotli/BrotliInterceptorTest.kt

        url: String,
        bodyHex: ByteString,
        fn: Response.Builder.() -> Unit = {},
      ): Response {
        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)
  6. samples/guide/src/main/java/okhttp3/recipes/kt/DevServer.kt

          )
        }
    
      val clientCertificates =
        HandshakeCertificates.Builder()
          .addPlatformTrustedCertificates()
          .addInsecureHost(server.hostName)
          .build()
    
      val client =
        OkHttpClient.Builder()
          .sslSocketFactory(clientCertificates.sslSocketFactory(), clientCertificates.trustManager)
          .build()
    
      fun run() {
        try {
          val request = Request(server.url("/"))
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  7. samples/guide/src/main/java/okhttp3/recipes/kt/ParseResponseWithMoshi.kt

    class ParseResponseWithMoshi {
      private val client = OkHttpClient()
      private val moshi = Moshi.Builder().build()
      private val gistJsonAdapter = moshi.adapter(Gist::class.java)
    
      fun run() {
        val request =
          Request.Builder()
            .url("https://api.github.com/gists/c2a7c39532239ff261be")
            .build()
        client.newCall(request).execute().use { response ->
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactFactoryRequest.java

                    .extension(extension)
                    .build();
        }
    
        static ArtifactFactoryRequest build(
                Session session,
                String groupId,
                String artifactId,
                String version,
                String classifier,
                String extension,
                String type) {
            return ArtifactFactoryRequest.builder()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  9. samples/guide/src/main/java/okhttp3/recipes/RequestBodyCompression.java

      public static final MediaType MEDIA_TYPE_JSON = MediaType.get("application/json");
    
      private final OkHttpClient client = new OkHttpClient.Builder()
          .addInterceptor(new GzipRequestInterceptor())
          .build();
      private final Moshi moshi = new Moshi.Builder().build();
      private final JsonAdapter<Map<String, String>> mapJsonAdapter = moshi.adapter(
          Types.newParameterizedType(Map.class, String.class, String.class));
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat May 25 18:02:55 UTC 2019
    - 3.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/graph/ImmutableNetworkTest.java

                .<String, Integer>immutable()
                .build();
    
        assertThat(emptyNetwork.isDirected()).isTrue();
        assertThat(emptyNetwork.allowsSelfLoops()).isTrue();
        assertThat(emptyNetwork.nodeOrder()).isEqualTo(ElementOrder.<String>natural());
      }
    
      /**
       * Tests that the ImmutableNetwork.Builder doesn't change when the creating NetworkBuilder
       * changes.
       */
      @Test
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun May 05 18:02:35 UTC 2019
    - 5.5K bytes
    - Viewed (0)
Back to top