Search Options

Results per page
Sort
Preferred Languages
Advance

Results 651 - 660 of 1,780 for _build (0.08 sec)

  1. guava-tests/test/com/google/common/collect/ImmutableMultisetFloodingTest.java

              builder.add(o);
            }
            return builder.build();
          }
        },
        BUILDER_ADD_ALL_COLLECTION {
          @Override
          public ImmutableMultiset<Object> create(List<?> keys) {
            ImmutableMultiset.Builder<Object> builder = ImmutableMultiset.builder();
            builder.addAll(keys);
            return builder.build();
          }
        };
    
        @CanIgnoreReturnValue
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/HashMultimap.java

      /**
       * Creates a new, empty {@code HashMultimap} with the default initial capacities.
       *
       * <p>You may also consider the equivalent {@code
       * MultimapBuilder.hashKeys().hashSetValues().build()}, which provides more control over the
       * underlying data structure.
       */
      public static <K extends @Nullable Object, V extends @Nullable Object>
          HashMultimap<K, V> create() {
        return new HashMultimap<>();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 02 10:02:49 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableMap.java

         * will throw an exception if there are duplicate keys. The {@code build()} method will soon be
         * deprecated.
         *
         * @throws IllegalArgumentException if duplicate keys were added
         */
        public ImmutableMap<K, V> build() {
          return buildOrThrow();
        }
    
        /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  4. samples/guide/src/main/java/okhttp3/recipes/kt/CacheResponse.kt

            Cache(
              directory = cacheDirectory,
              // 1 MiB.
              maxSize = 10L * 1024L * 1024L,
            ),
          )
          .build()
    
      fun run() {
        val request =
          Request.Builder()
            .url("http://publicobject.com/helloworld.txt")
            .build()
    
        val response1Body =
          client.newCall(request).execute().use {
            if (!it.isSuccessful) throw IOException("Unexpected code $it")
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/ClientAndServer.java

            .socketFactory(new UnixDomainSocketFactory(socketFile))
            .protocols(Collections.singletonList(Protocol.H2_PRIOR_KNOWLEDGE))
            .build();
    
        Request request = new Request.Builder()
            .url("http://publicobject.com/helloworld.txt")
            .build();
    
        try (Response response = client.newCall(request).execute()) {
          System.out.println(response.body().string());
        }
    
        server.shutdown();
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Dec 24 03:46:30 UTC 2018
    - 2.1K bytes
    - Viewed (0)
  6. guava-tests/benchmark/com/google/common/cache/MapMakerComparisonBenchmark.java

      private final Map<Object, Object> map = new MapMaker().makeMap(); // Returns ConcurrentHashMap
      private final Cache<Object, Object> cache = CacheBuilder.newBuilder().recordStats().build();
      private final Cache<Object, Object> cacheNoStats = CacheBuilder.newBuilder().build();
    
      @BeforeExperiment
      void setUp() {
        map.put(TEST_KEY, TEST_VALUE);
        cache.put(TEST_KEY, TEST_VALUE);
        cacheNoStats.put(TEST_KEY, TEST_VALUE);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 05 17:21:46 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/SessionReuseTest.kt

        enableTls()
    
        val tlsVersion = TlsVersion.forJavaName(tlsVersion)
        val spec =
          ConnectionSpec.Builder(ConnectionSpec.MODERN_TLS)
            .tlsVersions(tlsVersion)
            .build()
    
        var reuseSession = false
    
        val sslContext = handshakeCertificates.sslContext()
        val systemSslSocketFactory = sslContext.socketFactory
        val sslSocketFactory =
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 6K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/test/resources/poms/validation/missing-plugin-artifactId-pom.xml

    <project>
      <modelVersion>4.0.0</modelVersion>
      <artifactId>foo</artifactId>
      <groupId>foo</groupId>
      <version>99.44</version>
      <packaging>bleh</packaging>
      <build>
        <plugins>
          <plugin>
            <version>1.0</version>
          </plugin>
        </plugins>
      </build>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/test/resources/poms/validation/missing-plugin-version-pom.xml

      <modelVersion>4.0.0</modelVersion>
      <artifactId>foo</artifactId>
      <groupId>foo</groupId>
      <version>99.44</version>
      <packaging>bleh</packaging>
      <build>
        <plugins>
          <plugin>
            <artifactId>maven-it-plugin</artifactId>
          </plugin>
        </plugins>
      </build>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1K bytes
    - Viewed (0)
  10. apache-maven/src/assembly/src.xml

            <exclude>**/*.iml</exclude>
            <exclude>**/*.ipr</exclude>
            <exclude>**/.idea/**</exclude>
            <exclude>**/.DS_Store</exclude>
            <exclude>**/build/**</exclude>
          </excludes>
        </fileSet>
        <fileSet>
          <directory>${project.build.directory}/maven-shared-archive-resources/META-INF</directory>
          <outputDirectory>/</outputDirectory>
          <includes>
            <include>DEPENDENCIES</include>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Apr 27 13:14:24 UTC 2022
    - 2.2K bytes
    - Viewed (0)
Back to top