Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 1,781 for buildup (0.12 sec)

  1. api/maven-api-plugin/src/test/java/org/apache/maven/api/plugin/descriptor/another/ExtendedPluginDescriptorTest.java

            // make sure to call the subclasses' builder methods first, otherwise fluent API would not work
            builder.additionalField("additional")
                    .groupId("org.apache.maven")
                    .artifactId("maven-plugin-api")
                    .version("1.0.0");
            ExtendedPluginDescriptor descriptor = builder.build();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 07:05:43 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourcesHttpTest.kt

      fun processResponse() {
        server.enqueue(
          MockResponse.Builder()
            .body(
              """
              |data: hey
              |
              |
              """.trimMargin(),
            ).setHeader("content-type", "text/event-stream")
            .build(),
        )
        val request =
          Request.Builder()
            .url(server.url("/"))
            .build()
        val response = client.newCall(request).execute()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/reflect/ClassPath.java

          ImmutableSet.Builder<ResourceInfo> builder = ImmutableSet.builder();
          scannedFiles.add(home);
          scan(home, scannedFiles, builder);
          return builder.build();
        }
    
        private void scan(File file, Set<File> scannedUris, ImmutableSet.Builder<ResourceInfo> builder)
            throws IOException {
          try {
            if (!file.exists()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jan 05 17:43:40 UTC 2022
    - 24.9K bytes
    - Viewed (0)
  4. regression-test/src/androidTest/java/okhttp/regression/compare/AndroidHttpEngineTest.kt

              .build(),
          )
          .setDnsOptions(
            DnsOptions.Builder()
              .setUseHttpStackDnsResolver(DnsOptions.DNS_OPTION_ENABLED)
              .setStaleDns(DnsOptions.DNS_OPTION_ENABLED)
              .setPersistHostCache(DnsOptions.DNS_OPTION_ENABLED)
              .build(),
          )
          .setQuicOptions(
            QuicOptions.Builder()
              .addAllowedQuicHost("google.com")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 24 13:19:43 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  5. okhttp-android/src/androidTest/kotlin/okhttp3/android/AndroidAsyncDnsTest.kt

          HeldCertificate.Builder()
            .addSubjectAlternativeName("localhost")
            .build()
        return@lazy HandshakeCertificates.Builder()
          .addPlatformTrustedCertificates()
          .heldCertificate(heldCertificate)
          .addTrustedCertificate(heldCertificate.certificate)
          .build()
      }
    
      @Before
      fun init() {
        assumeTrue("Supported on API 29+", Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q)
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderTest.java

            ModelBuilder builder = new DefaultModelBuilderFactory().newInstance();
            assertNotNull(builder);
    
            DefaultModelBuildingRequest request = new DefaultModelBuildingRequest();
            request.setModelSource(new StringModelSource(BASE1));
            request.setModelResolver(new CycleInImportsResolver());
    
            assertThrows(ModelBuildingException.class, () -> builder.build(request));
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java

        assertThrows(IllegalArgumentException.class, () -> builder.addCopies("a", -2));
      }
    
      public void testBuilderSetCountHandlesNullsCorrectly() {
        ImmutableSortedMultiset.Builder<String> builder =
            new ImmutableSortedMultiset.Builder<>(Ordering.natural().nullsFirst());
        assertThrows(NullPointerException.class, () -> builder.setCount(null, 2));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

       *
       * <p><b>Performance note:</b> The {@link ImmutableLongArray} that is built will very likely
       * occupy more memory than necessary; to trim memory usage, build using {@code
       * builder.build().trimmed()}.
       */
      public static Builder builder() {
        return new Builder(10);
      }
    
      /**
       * A builder for {@link ImmutableLongArray} instances; obtained using {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/primitives/ImmutableIntArray.java

       *
       * <p><b>Performance note:</b> The {@link ImmutableIntArray} that is built will very likely occupy
       * more memory than necessary; to trim memory usage, build using {@code
       * builder.build().trimmed()}.
       */
      public static Builder builder() {
        return new Builder(10);
      }
    
      /**
       * A builder for {@link ImmutableIntArray} instances; obtained using {@link
       * ImmutableIntArray#builder}.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  10. mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt

        this.streamHandler = builder.streamHandler
        this.webSocketListener = builder.webSocketListener
        this.inTunnel = builder.inTunnel
        this.informationalResponses = builder.informationalResponses.toList()
        this.throttleBytesPerPeriod = builder.throttleBytesPerPeriod
        this.throttlePeriodNanos = builder.throttlePeriodNanos
        this.socketPolicy = builder.socketPolicy
        this.bodyDelayNanos = builder.bodyDelayNanos
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top