- Sort Score
- Result 10 results
- Languages All
Results 391 - 400 of 522 for Feed (0.02 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt
.addHeader("Content-Encoding: gzip") .body(gzip("b")) .build(), ) // Seed the pool with a bad connection. assertContent("a", getResponse(newRequest("/"))) // Give the server time to disconnect. Thread.sleep(500) // This connection will need to be recovered. When it is, transparent gzip should still work! assertContent("b", getResponse(newRequest("/")))
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Jun 21 20:36:35 UTC 2025 - 133.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/synonym/SynonymFile.java
fos = new FileOutputStream(newFile); writer = new BufferedWriter(new OutputStreamWriter(fos, Constants.UTF_8)); fos = null; // Successfully wrapped, no need to close explicitly } catch (final Exception e) { if (fos != null) { try { fos.close(); } catch (final IOException ioe) {
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 20 07:09:00 UTC 2025 - 15.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/MultipartReaderTest.kt
) val part = parts.nextPart()!! assertThat(part.body.readUtf8()).isEqualTo("abcd\r\n--simple boundar\r\n\r\nefgh") assertThat(parts.nextPart()).isNull() } @Test fun `do not need to read entire part`() { val multipart = """ |--simple boundary | |abcd |efgh |ijkl |--simple boundary | |mnopRegistered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed May 28 02:11:14 UTC 2025 - 15.4K bytes - Viewed (0) -
guava/src/com/google/common/net/MediaType.java
private final String subtype; private final ImmutableListMultimap<String, String> parameters; @LazyInit private @Nullable String toString; @LazyInit private int hashCode; // We need to differentiate between "not computed" and "computed to be absent." @SuppressWarnings("NullableOptional") @LazyInit private @Nullable Optional<Charset> parsedCharset;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Oct 02 01:46:40 UTC 2025 - 48K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt
if (peek().onResponseStart is CloseSocket) { requestFinished.await() } return super.dispatch(request) } } dispatcher.enqueue(MockResponse(body = "seed connection pool")) dispatcher.enqueue(MockResponse.Builder().onResponseStart(CloseSocket()).build()) dispatcher.enqueue(MockResponse(body = "retry success")) server.dispatcher = dispatcher
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 19:13:52 UTC 2025 - 147.4K bytes - Viewed (0) -
docs/changelogs/changelog_3x.md
## Version 3.14.0 _2019-03-14_ * **This release deletes the long-deprecated `OkUrlFactory` and `OkApacheClient` APIs.** These facades hide OkHttp's implementation behind another client's API. If you still need this please copy and paste [ObsoleteUrlFactory.java][obsolete_url_factory] or [ObsoleteApacheClient.java][obsolete_apache_client] into your project.Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Feb 06 14:55:54 UTC 2022 - 50.8K bytes - Viewed (0) -
docs/recipes.md
} static class GistFile { String content; } ``` ### Response Caching ([.kt][CacheResponseKotlin], [.java][CacheResponseJava]) To cache responses, you'll need a cache directory that you can read and write to, and a limit on the cache's size. The cache directory should be private, and untrusted applications should not be able to read its contents!Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Aug 30 17:01:12 UTC 2025 - 47.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java
private static ImmutableDoubleArray makeArray(Double[] values) { return ImmutableDoubleArray.copyOf(Arrays.asList(values)); } // Test generators. To let the GWT test suite generator access them, they need to be public named // classes with a public default constructor (not that we run these suites under GWT yet). @J2ktIncompatible @GwtIncompatible // used only from suite @AndroidIncompatible
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 21.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportPoolImpl.java
for (SmbTransportImpl transport : connections) { try { // Check if connection has been idle too long // Note: getLastUseTime() method would need to be added to SmbTransportImpl // For now, we'll use a simple disconnected check if (transport.isDisconnected()) { idle.add(transport);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 33.4K bytes - Viewed (0) -
guava/src/com/google/common/primitives/ImmutableIntArray.java
* hunt through classes like {@link Arrays} and {@link Ints} for them. * <li>Supports a copy-free {@link #subArray} view, so methods that accept this type don't need to * add overloads that accept start and end indexes. * <li>Can be streamed without "breaking the chain": {@code foo.getBarInts().stream()...}.Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 14:49:24 UTC 2025 - 21.5K bytes - Viewed (0)