- Sort Score
- Result 10 results
- Languages All
Results 661 - 670 of 880 for called (0.07 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt
assertThat(response.code).isEqualTo(expectedResponseCode) // Exhaust the content stream. response.body.string() val cached = cacheGet(cache, request) if (shouldWriteToCache) { assertThat(cached).isNotNull() cached!!.body.close() } else { assertThat(cached).isNull() } server.close() // tearDown() isn't sufficient; this test starts multiple servers }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 113.6K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/base/LazyStackTraceBenchmark.java
import com.google.caliper.api.SkipThisScenarioException; import java.util.List; import org.jspecify.annotations.NullUnmarked; /** * Quick and dirty benchmark of {@link Throwables#lazyStackTrace(Throwable)}. We benchmark a "caller * finder" implementation that might be used in a logging framework. */ @NullUnmarked public class LazyStackTraceBenchmark { @Param({"20", "200", "2000"}) int stackDepth; @Param({"-1", "3", "15"})Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.6K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/base/LazyStackTraceBenchmark.java
import com.google.caliper.api.SkipThisScenarioException; import java.util.List; import org.jspecify.annotations.NullUnmarked; /** * Quick and dirty benchmark of {@link Throwables#lazyStackTrace(Throwable)}. We benchmark a "caller * finder" implementation that might be used in a logging framework. */ @NullUnmarked public class LazyStackTraceBenchmark { @Param({"20", "200", "2000"}) int stackDepth; @Param({"-1", "3", "15"})Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.6K bytes - Viewed (0) -
okhttp-logging-interceptor/api/logging-interceptor.api
public fun cacheConditionalHit (Lokhttp3/Call;Lokhttp3/Response;)V public fun cacheHit (Lokhttp3/Call;Lokhttp3/Response;)V public fun cacheMiss (Lokhttp3/Call;)V public fun callEnd (Lokhttp3/Call;)V public fun callFailed (Lokhttp3/Call;Ljava/io/IOException;)V public fun callStart (Lokhttp3/Call;)V public fun canceled (Lokhttp3/Call;)V public fun connectEnd (Lokhttp3/Call;Ljava/net/InetSocketAddress;Ljava/net/Proxy;Lokhttp3/Protocol;)V
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Apr 06 09:14:38 UTC 2024 - 4.5K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Source.java
*/ @Nullable Path getPath(); /** * Creates a new input stream to read the source contents. * Each call creates a fresh stream starting from the beginning. * The caller is responsible for closing the returned stream. * * @return a new input stream positioned at the start of the content * @throws IOException if the stream cannot be created or openedRegistered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jan 29 09:46:53 UTC 2025 - 4K bytes - Viewed (0) -
okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt
} } // TODO GET preferred order - with tests to confirm this // 1. successful fresh cached GET response // 2. unsuccessful (404, 500) fresh cached GET response // 3. successful network response // 4. successful stale cached GET response // 5. unsuccessful response @Test fun usesCache() { val cache = Cache(cacheFs, "cache".toPath(), (100 * 1024).toLong())
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 11.7K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/AbstractCrawlerClient.java
/** The property name for maximum cached content size. */ public static final String MAX_CACHED_CONTENT_SIZE = "maxCachedContentSize"; /** The crawler container. */ @Resource protected CrawlerContainer crawlerContainer; /** The initialization parameter map. */ protected Map<String, Object> initParamMap; /** The maximum cached content size in bytes. Default is 1MB. */Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 9.7K bytes - Viewed (0) -
compat/maven-builder-support/src/main/java/org/apache/maven/building/Source.java
*/ @Deprecated(since = "4.0.0") public interface Source { /** * Gets a byte stream to the source contents. Closing the returned stream is the responsibility of the caller. * * @return A byte stream to the source contents, never {@code null}. * @throws IOException in case of IO issue */ InputStream getInputStream() throws IOException; /**Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jan 15 18:51:29 UTC 2025 - 1.8K bytes - Viewed (0) -
android/guava/src/com/google/common/io/ByteArrayDataInput.java
/** * An extension of {@code DataInput} for reading from in-memory byte arrays; its methods offer * identical functionality but do not throw {@link IOException}. * * <p><b>Warning:</b> The caller is responsible for not attempting to read past the end of the * array. If any method encounters the end of the array prematurely, it throws {@linkRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Dec 27 20:25:25 UTC 2024 - 2.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHookTest.java
// Should handle ClassNotFoundException gracefully customHook.hook(assistantDirector); // Verify no exception is thrown to the caller assertTrue(true); } // Test shutdownCommonsHttpClient private method with reflection public void test_shutdownCommonsHttpClient_reflection() throws Exception {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 8.7K bytes - Viewed (0)