- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 1,006 for Builder (0.09 sec)
-
okhttp/src/test/java/okhttp3/CacheTest.kt
// Setting a low transfer speed ensures that stream discarding will time out. val builder = MockResponse.Builder() .throttleBody(6, 1, TimeUnit.SECONDS) transferKind.setBody(builder, "ABCDE\nFGHIJKLMNOPQRSTUVWXYZ", 1024) server.enqueue(builder.build()) server.enqueue( MockResponse.Builder() .body("Request #2") .build(), ) val response1 = get(server.url("/"))
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 108.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/escape/EscapersTest.java
Escapers.Builder builder = Escapers.builder(); builder.setSafeRange('a', 'z'); builder.setUnsafeReplacement("X"); assertEquals("XheXXuickXXrownXXoxX", builder.build().escape("The Quick Brown Fox!")); // Explicit replacements take priority over unsafe characters. builder.addEscape(' ', "_"); builder.addEscape('!', "_");
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 15:00:32 UTC 2024 - 3.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/entity/PingResponse.java
try (OutputStream out = SearchEngineUtil.getXContentBuilderOutputStream((builder, params) -> { builder.startObject(); if (fieldSet.contains(CLUSTER_NAME)) { builder.field(CLUSTER_NAME, response.getClusterName()); } if (fieldSet.contains(STATUS)) { builder.field(STATUS, response.getStatus().name().toLowerCase(Locale.ROOT)); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 5.9K bytes - Viewed (2) -
okhttp-tls/README.md
[builder][held_certificate_builder] to create a self-signed certificate that a test server can use for HTTPS: ```java HeldCertificate localhostCertificate = new HeldCertificate.Builder() .addSubjectAlternativeName("localhost") .build(); ``` [`HandshakeCertificates`][handshake_certificates] keeps the certificates for a TLS handshake.
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Dec 17 15:34:10 UTC 2023 - 9.1K bytes - Viewed (0) -
clause/on_conflict.go
func (onConflict OnConflict) Build(builder Builder) { if onConflict.OnConstraint != "" { builder.WriteString("ON CONSTRAINT ") builder.WriteString(onConflict.OnConstraint) builder.WriteByte(' ') } else { if len(onConflict.Columns) > 0 { builder.WriteByte('(') for idx, column := range onConflict.Columns { if idx > 0 { builder.WriteByte(',') } builder.WriteQuoted(column) }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Fri Oct 07 05:46:20 UTC 2022 - 1.3K bytes - Viewed (0) -
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) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/BuildableDOMCategory.groovy
DomBuilder builder = new DomBuilder(sibling.ownerDocument, null) cl.delegate = builder cl.call() def parent = sibling.parentNode def next = sibling.nextSibling builder.elements.each { element -> parent.insertBefore(element, next) } return builder.elements.size() == 1 ? builder.elements[0] : builder.elements }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Aug 11 15:32:19 UTC 2022 - 2.8K bytes - Viewed (0) -
okhttp-dnsoverhttps/api/okhttp-dnsoverhttps.api
public final fun includeIPv6 (Z)Lokhttp3/dnsoverhttps/DnsOverHttps$Builder; public final fun post (Z)Lokhttp3/dnsoverhttps/DnsOverHttps$Builder; public final fun resolvePrivateAddresses (Z)Lokhttp3/dnsoverhttps/DnsOverHttps$Builder; public final fun resolvePublicAddresses (Z)Lokhttp3/dnsoverhttps/DnsOverHttps$Builder; public final fun systemDns (Lokhttp3/Dns;)Lokhttp3/dnsoverhttps/DnsOverHttps$Builder;
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Feb 27 15:23:43 UTC 2022 - 1.5K bytes - Viewed (0) -
clause/update.go
func (update Update) Name() string { return "UPDATE" } // Build build update clause func (update Update) Build(builder Builder) { if update.Modifier != "" { builder.WriteString(update.Modifier) builder.WriteByte(' ') } if update.Table.Name == "" { builder.WriteQuoted(currentTable) } else { builder.WriteQuoted(update.Table) } } // MergeClause merge update clause
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Mar 09 09:07:00 UTC 2020 - 737 bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/user/cbean/cq/bs/BsRoleCQ.java
MatchPhrasePrefixQueryBuilder builder = regMatchPhrasePrefixQ("name", name); if (opLambda != null) { opLambda.callback(builder); } } public void setName_Fuzzy(String name) { setName_Fuzzy(name, null); } public void setName_Fuzzy(String name, ConditionOptionCall<MatchQueryBuilder> opLambda) { MatchQueryBuilder builder = regFuzzyQ("name", name);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 13.9K bytes - Viewed (0)