- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 921 for builder_ (0.12 sec)
-
android/guava-tests/test/com/google/common/collect/ImmutableListTest.java
ImmutableList.Builder<String> builder = ImmutableList.builder(); assertThrows(NullPointerException.class, () -> builder.addAll((Iterable<String>) null)); } { ImmutableList.Builder<String> builder = ImmutableList.builder(); assertThrows(NullPointerException.class, () -> builder.addAll((Iterator<String>) null)); } { ImmutableList.Builder<String> builder = ImmutableList.builder();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 24.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableRangeMapTest.java
private static final int MAX_BOUND = 10; static { ImmutableList.Builder<Range<Integer>> builder = ImmutableList.builder(); builder.add(Range.<Integer>all()); // Add one-ended ranges for (int i = MIN_BOUND; i <= MAX_BOUND; i++) { for (BoundType type : BoundType.values()) { builder.add(Range.upTo(i, type)); builder.add(Range.downTo(i, type)); } } // Add two-ended ranges
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 9.6K 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) -
mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt
) for (i in 0..599) { val builder = MockResponse.Builder().code(i) val expectedReason = reasons[i / 100] assertThat(builder.status).isEqualTo("HTTP/1.1 $i $expectedReason") assertThat(headersToList(builder)).containsExactly("Content-Length: 0") } } @Test fun setStatusControlsWholeStatusLine() { val builder = MockResponse.Builder().status("HTTP/1.1 202 That'll do pig")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 23.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/HeadersKotlinTest.kt
@Test fun builderGetOperator() { val builder = Headers.Builder() builder.add("a", "b") builder.add("c", "d") assertThat(builder["a"]).isEqualTo("b") assertThat(builder["c"]).isEqualTo("d") assertThat(builder["e"]).isNull() } @Test fun builderSetOperator() { val builder = Headers.Builder() builder["a"] = "b" builder["c"] = "d" builder["e"] = Date(0L) builder["g"] = Instant.EPOCH
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Dec 21 01:54:49 UTC 2023 - 2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt
@Test fun cookieBuilder() { var builder: Cookie.Builder = Cookie.Builder() builder = builder.name("") builder = builder.value("") builder = builder.expiresAt(0L) builder = builder.domain("") builder = builder.hostOnlyDomain("") builder = builder.path("") builder = builder.secure() builder = builder.httpOnly() builder = builder.sameSite("None")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 01 14:21:25 UTC 2024 - 46.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java
} public void testBuilderOrderKeysBy() { ImmutableSetMultimap.Builder<String, Integer> builder = ImmutableSetMultimap.builder(); builder.put("b", 3); builder.put("d", 2); builder.put("a", 5); builder.orderKeysBy(Collections.reverseOrder()); builder.put("c", 4); builder.put("a", 2); builder.put("b", 6);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 26.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/user/cbean/cq/bs/BsUserCQ.java
if (opLambda != null) { opLambda.callback(builder); } } public void setCarLicense_Wildcard(String carLicense) { setCarLicense_Wildcard(carLicense, null); } public void setCarLicense_Wildcard(String carLicense, ConditionOptionCall<WildcardQueryBuilder> opLambda) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 326.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java
ImmutableMultiset.Builder<String> builder = ImmutableMultiset.builder(); builder.addCopies("a", 2); builder.add("b"); builder.add("c"); builder.setCount("b", 0); ImmutableMultiset<String> multiset = builder.build(); assertThat(multiset.elementSet()).containsExactly("a", "c").inOrder(); builder.add("b");
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 20.8K bytes - Viewed (0)