- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 1,634 for buildID (0.13 sec)
-
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) -
okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt
server.enqueue( MockResponse.Builder() .body("A") .bodyDelay(1, TimeUnit.SECONDS) .build(), ) val client1 = client.newBuilder() .readTimeout(Duration.ofSeconds(2)) .build() val call1 = client1 .newCall( Request.Builder() .url(server.url("/")) .build(), ) val client2 =
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Apr 11 22:09:35 UTC 2024 - 75.3K bytes - Viewed (0) -
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) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactCoordinatesFactoryRequest.java
.type(type) .build(); } @Nonnull static ArtifactCoordinatesFactoryRequest build(@Nonnull Session session, @Nonnull String coordinateString) { return ArtifactCoordinatesFactoryRequest.builder() .session(nonNull(session, "session")) .coordinateString(nonNull(coordinateString, "coordinateString")) .build(); } @Nonnull
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Tue Aug 27 21:13:34 UTC 2024 - 7.5K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/collect/ImmutableListCreationBenchmark.java
ImmutableList.Builder<Object> builder = new ImmutableList.Builder<>(size); for (int i = 0; i < size; i++) { builder.add(OBJECT); } dummy += builder.build().size(); } return dummy; } @Benchmark int copyArrayList(int reps) { int size = this.size; int dummy = 0; for (int rep = 0; rep < reps; rep++) { List<Object> builder = Lists.newArrayList();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 2.3K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/collect/ImmutableListCreationBenchmark.java
ImmutableList.Builder<Object> builder = new ImmutableList.Builder<>(size); for (int i = 0; i < size; i++) { builder.add(OBJECT); } dummy += builder.build().size(); } return dummy; } @Benchmark int copyArrayList(int reps) { int size = this.size; int dummy = 0; for (int rep = 0; rep < reps; rep++) { List<Object> builder = Lists.newArrayList();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 2.3K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionResolverRequest.java
static VersionResolverRequest build(@Nonnull Session session, @Nonnull ArtifactCoordinates artifactCoordinates) { return builder() .session(nonNull(session, "session cannot be null")) .artifactCoordinates(nonNull(artifactCoordinates, "artifactCoordinates cannot be null")) .build(); } @Nonnull static VersionResolverRequest build( @Nonnull Session session,
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Thu Sep 12 06:19:14 UTC 2024 - 4.3K bytes - Viewed (0) -
android/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) -
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) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainsBuilderRequest.java
.userToolchainsSource(userToolchainsSource) .build(); } @Nonnull static ToolchainsBuilderRequest build( @Nonnull Session session, @Nullable Path installationToolchainsFile, @Nullable Path userToolchainsPath) { return builder() .session(nonNull(session, "session cannot be null")) .installationToolchainsSource(
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Thu Aug 22 14:47:43 UTC 2024 - 5.1K bytes - Viewed (0)