- Sort Score
- Result 10 results
- Languages All
Results 201 - 210 of 893 for builder2 (0.1 sec)
-
docs/recipes.md
Use `FormBody.Builder` to build a request body that works like an HTML `<form>` tag. Names and values will be encoded using an HTML-compatible form URL encoding. === ":material-language-kotlin: Kotlin" ```kotlin private val client = OkHttpClient() fun run() { val formBody = FormBody.Builder() .add("search", "Jurassic Park") .build()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Fri Feb 18 08:52:22 UTC 2022 - 40.2K bytes - Viewed (0) -
okhttp-tls/src/test/java/okhttp3/tls/HandshakeCertificatesTest.kt
.certificateAuthority(1) .build() val serverIntermediate = HeldCertificate.Builder() .certificateAuthority(0) .signedBy(serverRoot) .build() val serverCertificate = HeldCertificate.Builder() .signedBy(serverIntermediate) .build() val server = HandshakeCertificates.Builder() .addTrustedCertificate(clientRoot.certificate)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Apr 11 22:09:35 UTC 2024 - 7.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/client/CrawlerEngineClient.java
final Builder builder = Settings.builder().putList("http.hosts", hosts).put("processors", fessConfig.getCrawlerHttpProcessors()) .put("http.heartbeat_interval", fessConfig.getFesenHeartbeatInterval()); final String username = fessConfig.getFesenUsername(); final String password = fessConfig.getFesenPassword();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableBiMap.java
return copyOf(Arrays.asList(entries2)); } /** * Returns a new builder. The generated builder is equivalent to the builder created by the {@link * Builder} constructor. */ public static <K, V> Builder<K, V> builder() { return new Builder<>(); } /** * Returns a new builder, expecting the specified number of entries to be added. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 21:21:17 UTC 2024 - 22.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableCollectionTest.java
assertEquals(1, ImmutableCollection.Builder.expandedCapacity(0, 1)); assertEquals(2, ImmutableCollection.Builder.expandedCapacity(0, 2)); assertEquals(2, ImmutableCollection.Builder.expandedCapacity(1, 2)); assertEquals( Integer.MAX_VALUE, ImmutableCollection.Builder.expandedCapacity(0, Integer.MAX_VALUE)); assertEquals( Integer.MAX_VALUE, ImmutableCollection.Builder.expandedCapacity(1, Integer.MAX_VALUE));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 1.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CacheControlJvmTest.kt
@Throws(Exception::class) fun secondsMustBeNonNegative() { val builder = CacheControl.Builder() assertFailsWith<IllegalArgumentException> { builder.maxAge(-1, TimeUnit.SECONDS) } } @Test @Throws(Exception::class) fun timePrecisionIsTruncatedToSeconds() { val cacheControl = CacheControl.Builder() .maxAge(4999, TimeUnit.MILLISECONDS) .build()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 7.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/DuplexTest.kt
.sendResponse("response F\n") .exhaustRequest() .exhaustResponse() server.enqueue( MockResponse.Builder() .clearHeaders() .streamHandler(body) .build(), ) val call = client.newCall( Request.Builder() .url(server.url("/")) .post(AsyncRequestBody()) .build(), )
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 23.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/BiMapGenerators.java
@Override protected BiMap<String, String> create(Entry<String, String>[] entries) { ImmutableBiMap.Builder<String, String> builder = ImmutableBiMap.builder(); for (Entry<String, String> entry : entries) { checkNotNull(entry); builder.put(entry.getKey(), entry.getValue()); } return builder.build(); } } public static class ImmutableBiMapCopyOfGenerator extends TestStringBiMapGenerator {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 2.3K bytes - Viewed (0) -
clause/group_by.go
return "GROUP BY" } // Build build group by clause func (groupBy GroupBy) Build(builder Builder) { for idx, column := range groupBy.Columns { if idx > 0 { builder.WriteByte(',') } builder.WriteQuoted(column) } if len(groupBy.Having) > 0 { builder.WriteString(" HAVING ") Where{Exprs: groupBy.Having}.Build(builder) } } // MergeClause merge group by clause
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Tue Mar 30 10:28:09 UTC 2021 - 1K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java
} public static <K extends Comparable<?>, V> Builder<K, V> naturalOrder() { return new Builder<K, V>(Ordering.natural()); } public static <K, V> Builder<K, V> orderedBy(Comparator<K> comparator) { return new Builder<K, V>(comparator); } public static <K extends Comparable<?>, V> Builder<K, V> reverseOrder() { return new Builder<K, V>(Ordering.natural().reverse()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 27 19:19:19 UTC 2024 - 16.4K bytes - Viewed (0)