- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 315 for keeps (0.04 sec)
-
guava-testlib/src/com/google/common/testing/TestLogHandler.java
* } * </pre> * * @author Kevin Bourrillion * @since 10.0 */ @GwtCompatible @NullMarked public class TestLogHandler extends Handler { private final Object lock = new Object(); /** We will keep a private list of all logged records */ @GuardedBy("lock") private final List<LogRecord> list = new ArrayList<>(); /** Adds the most recently logged record to our list. */ @OverrideRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.8K bytes - Viewed (0) -
.github/CONTRIBUTING.md
If you would like to contribute code to OkHttp you can do so through GitHub by forking the repository and sending a pull request. When submitting code, please make every effort to follow existing conventions and style in order to keep the code as readable as possible. Please also make sure your code compiles by running `./gradlew check`. Checkstyle failures during compilation indicate errors in your style and can be viewed in the `checkstyle-result.xml` file.
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Mar 17 04:16:26 UTC 2019 - 1.4K bytes - Viewed (0) -
samples/compare/src/test/kotlin/okhttp3/compare/OkHttpClientTest.kt
val recorded = server.takeRequest() assertThat(recorded.headers["Accept"]).isEqualTo("text/plain") assertThat(recorded.headers["Accept-Encoding"]).isEqualTo("gzip") assertThat(recorded.headers["Connection"]).isEqualTo("Keep-Alive") assertThat(recorded.headers["User-Agent"]!!).matches(Regex("okhttp/.*")) }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 1.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelManager.java
for (ChannelInfo channel : channels.values()) { if (channel.getIdleTime() > 60000) { // 1 minute idle // Send keep-alive try { sendKeepAlive(channel); } catch (Exception e) { log.debug("Keep-alive failed for channel {}", channel.getChannelId()); handleChannelFailure(channel, e); } }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 20K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpDebugLogging.kt
import java.util.logging.Logger import java.util.logging.SimpleFormatter import kotlin.reflect.KClass import okhttp3.internal.concurrent.TaskRunner import okhttp3.internal.http2.Http2 object OkHttpDebugLogging { // Keep references to loggers to prevent their configuration from being GC'd. private val configuredLoggers = CopyOnWriteArraySet<Logger>() fun enableHttp2() = enable(Http2::class)Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.9K bytes - Viewed (0) -
guava-gwt/test/com/google/common/collect/testing/Testing.gwt.xml
<module> <source path=""> <!-- Hack to keep collect from hiding collect.testing supersource: --> <exclude name="**/testing/**"/> </source> <!-- We used to set this only for packages that had manual supersource. That worked everywhere that I know of except for one place: when running the GWT util.concurrent tests under Guava. The problem is that GWT responds poorly to two .gwt.xml files in the same Java package; see
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Jul 19 16:02:36 UTC 2024 - 1.7K bytes - Viewed (0) -
docs/en/docs/advanced/response-cookies.md
Then set Cookies in it, and then return it: {* ../../docs_src/response_cookies/tutorial001_py39.py hl[10:12] *} /// tip Keep in mind that if you return a response directly instead of using the `Response` parameter, FastAPI will return it directly.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 2.3K bytes - Viewed (0) -
guava/src/com/google/common/base/Suppliers.java
* form does not contain the cached value, which will be recalculated when {@code get()} is called * on the deserialized instance. * * <p>When the underlying delegate throws an exception then this memoizing supplier will keep * delegating calls until it returns valid data. * * <p>If {@code delegate} is an instance created by an earlier call to {@code memoize}, it is * returned directly. */Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 16.5K bytes - Viewed (0) -
guava-gwt/src/com/google/common/net/Net.gwt.xml
<module> <source path=""> <!-- Hack to keep collect from hiding collect.testing supersource: --> <exclude name="**/testing/**"/> </source> <!-- We used to set this only for packages that had manual supersource. That worked everywhere that I know of except for one place: when running the GWT util.concurrent tests under Guava. The problem is that GWT responds poorly to two .gwt.xml files in the same Java package; see
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Feb 21 16:12:41 UTC 2025 - 1.8K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CleanArgument.java
} // this has to be a separate "if" statement, to capture the case of: "-Dfoo=bar" if (addedToBuffer && arg.endsWith("\"")) { // if we're building an argument, keep doing so. // if this is the case of "-Dfoo=bar", then we need to adjust the buffer. if (!currentArg.isEmpty()) { currentArg.setLength(currentArg.length() - 1); }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Mar 28 12:11:25 UTC 2025 - 3.4K bytes - Viewed (0)