Search Options

Results per page
Sort
Preferred Languages
Advance

Results 501 - 510 of 941 for builder_ (0.16 sec)

  1. android/guava-tests/test/com/google/common/math/QuantilesTest.java

      private static ImmutableList<Double> generatePseudorandomDataset() {
        Random random = new Random(2211275185798966364L);
        ImmutableList.Builder<Double> largeDatasetBuilder = ImmutableList.builder();
        for (int i = 0; i < PSEUDORANDOM_DATASET_SIZE; i++) {
          largeDatasetBuilder.add(random.nextGaussian());
        }
        return largeDatasetBuilder.build();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 29.7K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/SettingsBuilderRequest.java

                @Nonnull Session session,
                @Nullable Source installationSettingsSource,
                @Nullable Source projectSettingsSource,
                @Nullable Source userSettingsSource) {
            return builder()
                    .session(nonNull(session, "session cannot be null"))
                    .installationSettingsSource(installationSettingsSource)
                    .projectSettingsSource(projectSettingsSource)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 17 09:25:53 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  3. android-test/src/androidTest/java/okhttp/android/test/alpn/AlpnOverrideTest.kt

        client =
          client.newBuilder()
            .sslSocketFactory(CustomSSLSocketFactory(client.sslSocketFactory), client.x509TrustManager!!)
            .connectionSpecs(
              listOf(
                ConnectionSpec.Builder(ConnectionSpec.MODERN_TLS)
                  .supportsTlsExtensions(false)
                  .build(),
              ),
            )
            .eventListener(
              object : EventListener() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. samples/guide/src/main/java/okhttp3/recipes/kt/DevServer.kt

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

    import okhttp3.OkHttpClient
    import okhttp3.Request
    
    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)
  6. android/guava-tests/test/com/google/common/primitives/UnsignedLongTest.java

      private static final ImmutableSet<Long> TEST_LONGS;
      private static final ImmutableSet<BigInteger> TEST_BIG_INTEGERS;
    
      static {
        ImmutableSet.Builder<Long> testLongsBuilder = ImmutableSet.builder();
        ImmutableSet.Builder<BigInteger> testBigIntegersBuilder = ImmutableSet.builder();
    
        // The values here look like 111...11101...010 in binary, where the initial 111...1110 takes
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/SortedSetTestSuiteBuilder.java

      public static <E> SortedSetTestSuiteBuilder<E> using(TestSortedSetGenerator<E> generator) {
        SortedSetTestSuiteBuilder<E> builder = new SortedSetTestSuiteBuilder<>();
        builder.usingGenerator(generator);
        return builder;
      }
    
      @SuppressWarnings("rawtypes") // class literals
      @Override
      protected List<Class<? extends AbstractTester>> getTesters() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/SortedSetTestSuiteBuilder.java

      public static <E> SortedSetTestSuiteBuilder<E> using(TestSortedSetGenerator<E> generator) {
        SortedSetTestSuiteBuilder<E> builder = new SortedSetTestSuiteBuilder<>();
        builder.usingGenerator(generator);
        return builder;
      }
    
      @SuppressWarnings("rawtypes") // class literals
      @Override
      protected List<Class<? extends AbstractTester>> getTesters() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/IndexingHelper.java

            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            return searchEngineClient.getDocument(fessConfig.getIndexDocumentUpdateIndex(), builder -> {
                builder.setQuery(QueryBuilders.idsQuery().addIds(id));
                builder.setFetchSource(fields, null);
                return true;
            }).orElse(null);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/management/DefaultPluginManagementInjector.java

                    return target.withPlugins(newPlugins);
                }
                return target;
            }
    
            @Override
            protected void mergePlugin_Executions(
                    Plugin.Builder builder,
                    Plugin target,
                    Plugin source,
                    boolean sourceDominant,
                    Map<Object, Object> context) {
                List<PluginExecution> src = source.getExecutions();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.9K bytes
    - Viewed (0)
Back to top