- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 1,879 for buildId (0.08 sec)
-
okhttp/src/test/java/okhttp3/RequestTest.kt
@Test fun emptyNameForbidden() { val builder = Request.Builder() assertFailsWith<IllegalArgumentException> { builder.header("", "Value") } assertFailsWith<IllegalArgumentException> { builder.addHeader("", "Value") } } @Test fun headerAllowsTabOnlyInValues() { val builder = Request.Builder() builder.header("key", "sample\tvalue")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 16.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/tls/ClientAuthTest.kt
vararg intermediates: X509Certificate, ): OkHttpClient { val builder = HandshakeCertificates.Builder() .addTrustedCertificate(serverRootCa.certificate) if (heldCertificate != null) { builder.heldCertificate(heldCertificate, *intermediates) } val handshakeCertificates = builder.build() return clientTestRule.newClientBuilder() .sslSocketFactory(
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Jan 14 10:20:09 UTC 2024 - 12.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt
webServer.enqueue( MockResponse.Builder() .code(101) .setHeader("Upgrade", "websocket") .setHeader("Sec-WebSocket-Accept", "ujmZX4KXZqjwy6vi1aQFH5p4Ygk=") .build(), ) webServer.enqueue( MockResponse.Builder() .socketPolicy(SocketPolicy.DisconnectAtStart) .build(), ) val webSocket = newWebSocket()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Mar 31 17:16:15 UTC 2024 - 35.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CertificatePinnerTest.kt
class CertificatePinnerTest { @Test fun malformedPin() { val builder = CertificatePinner.Builder() assertFailsWith<IllegalArgumentException> { builder.add("example.com", "md5/DmxUShsZuNiqPQsX2Oi9uv2sCnw=") } } @Test fun malformedBase64() { val builder = CertificatePinner.Builder() assertFailsWith<IllegalArgumentException> { builder.add("example.com", "sha1/DmxUShsZuNiqPQsX2Oi9uv2sCnw*") } }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 9.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/HeadersChallengesTest.kt
.add("WWW-Authenticate", " , , Basic realm=myrealm") .build() assertThat(headers.parseChallenges("WWW-Authenticate")) .isEqualTo(listOf(Challenge("Basic", mapOf("realm" to "myrealm")))) } @Test fun spacesAroundKeyValueSeparator() { val headers = Headers.Builder() .add("WWW-Authenticate", "Basic realm = \"myrealm\"") .build()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 16.6K bytes - Viewed (0) -
mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt
assertThat(builder.status).isEqualTo("HTTP/1.1 202 That'll do pig") } @Test fun setBodyAdjustsHeaders() { val builder = MockResponse.Builder().body("ABC") assertThat(headersToList(builder)).containsExactly("Content-Length: 3") val response = builder.build() val body = Buffer() response.body!!.writeTo(body)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 23.5K bytes - Viewed (0) -
clause/where.go
} type AndConditions struct { Exprs []Expression } func (and AndConditions) Build(builder Builder) { if len(and.Exprs) > 1 { builder.WriteByte('(') buildExprs(and.Exprs, builder, AndWithSpace) builder.WriteByte(')') } else { buildExprs(and.Exprs, builder, AndWithSpace) } } func Or(exprs ...Expression) Expression { if len(exprs) == 0 { return nil }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Apr 25 12:22:53 UTC 2024 - 5.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/MinMaxPriorityQueue.java
*/ public static <B> Builder<B> orderedBy(Comparator<B> comparator) { return new Builder<>(comparator); } /** * Creates and returns a new builder, configured to build {@code MinMaxPriorityQueue} instances * sized appropriately to hold {@code expectedSize} elements. */ @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 34.1K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/DuplexTest.kt
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 23.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java
unused = builder.build(); // this is *also* allowed } public void testBuildMutate() { ThreadFactory factory1 = builder.setPriority(1).build(); assertEquals(1, factory1.newThread(monitoredRunnable).getPriority()); builder.setPriority(2); // change the state of the builder assertEquals(1, factory1.newThread(monitoredRunnable).getPriority()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 7.5K bytes - Viewed (0)