- Sort Score
- Result 10 results
- Languages All
Results 601 - 610 of 989 for BUILDER (0.09 sec)
-
docs/changelogs/upgrading_to_okhttp_4.md
with OkHttp 3.x: must use `object :` with OkHttp 4.x: Kotlin calling OkHttp 3.x: ```kotlin val client = OkHttpClient.Builder() .dns { hostname -> InetAddress.getAllByName(hostname).toList() } .build() ``` Kotlin calling OkHttp 4.x: ```kotlin val client = OkHttpClient.Builder() .dns(object : Dns { override fun lookup(hostname: String) = InetAddress.getAllByName(hostname).toList()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Feb 06 16:58:16 UTC 2022 - 10.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/HttpUrlTest.kt
} @Test fun incompleteBuilderToString() { assertThat(HttpUrl.Builder().scheme("https").encodedPath("/path").toString()) .isEqualTo("https:///path") assertThat(HttpUrl.Builder().host("host.com").encodedPath("/path").toString()) .isEqualTo("//host.com/path") assertThat( HttpUrl.Builder().host("host.com").encodedPath("/path").port(8080).toString(), )
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 67.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Streams.java
boolean isParallel = false; int characteristics = Spliterator.ORDERED | Spliterator.SIZED | Spliterator.NONNULL; long estimatedSize = 0L; ImmutableList.Builder<Spliterator<? extends T>> splitrsBuilder = new ImmutableList.Builder<>(streams.length); for (Stream<? extends T> stream : streams) { isParallel |= stream.isParallel(); Spliterator<? extends T> splitr = stream.spliterator();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:20:11 UTC 2024 - 37.4K bytes - Viewed (0) -
statement.go
default: stmt.DB.Dialector.QuoteTo(writer, fmt.Sprint(field)) } } // Quote returns quoted value func (stmt *Statement) Quote(field interface{}) string { var builder strings.Builder stmt.QuoteTo(&builder, field) return builder.String() } // AddVar add var func (stmt *Statement) AddVar(writer clause.Writer, vars ...interface{}) { for idx, v := range vars { if idx > 0 { writer.WriteByte(',')
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Jun 24 09:42:59 UTC 2024 - 19.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/ConnectionReuseTest.kt
} @Test fun connectionsAreNotReusedWithRequestConnectionClose() { server.enqueue(MockResponse(body = "a")) server.enqueue(MockResponse(body = "b")) val requestA = Request.Builder() .url(server.url("/")) .header("Connection", "close") .build() val requestB = Request(server.url("/")) assertConnectionNotReused(requestA, requestB) } @Test
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 12.3K bytes - Viewed (0) -
compat/maven-compat/pom.xml
<dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-model-builder</artifactId> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-settings</artifactId> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-settings-builder</artifactId> </dependency> <dependency> <groupId>org.apache.maven</groupId>
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/aether/LegacyRepositorySystemSessionExtender.java
p.setProtocol(proxy.getType()); p.setPort(proxy.getPort()); if (proxy.getAuthentication() != null) { repo = new RemoteRepository.Builder(repo).setProxy(proxy).build(); AuthenticationContext authCtx = AuthenticationContext.forProxy(null, repo); p.setUserName(authCtx.get(AuthenticationContext.USERNAME));
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.7K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/ExtractorFactoryTest.java
} public void test_builder() { assertEquals("test", extractorFactory.builder(new ByteArrayInputStream("test".getBytes()), null).extract().getContent()); assertEquals("test", extractorFactory.builder(new ByteArrayInputStream("test".getBytes()), null).filename("test.txt").extract().getContent()); } public void test_addExtractor_weight() {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Tue Jun 18 05:49:13 UTC 2024 - 6.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/PluginHelper.java
factory.setAttribute(XMLConstants.ACCESS_EXTERNAL_SCHEMA, StringUtil.EMPTY); final DocumentBuilder builder = factory.newDocumentBuilder(); final Document document = builder.parse(is); final NodeList nodeList = document.getElementsByTagName("version"); for (int i = 0; i < nodeList.getLength(); i++) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Oct 24 01:47:10 UTC 2024 - 17.8K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http/CancelTest.kt
server.enqueue( MockResponse.Builder() .body( Buffer() .write(ByteArray(responseBodySize)), ) .throttleBody(64 * 1024, 125, MILLISECONDS) // 500 Kbps .build(), ) server.enqueue(MockResponse(body = ".")) val call = client.newCall(Request.Builder().url(server.url("/")).build()) val response = call.execute()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 9.9K bytes - Viewed (0)