- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 182 for Effects (0.04 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Dispatcher.kt
runningAsyncCalls.add(asyncCall) } return@synchronized Effects( callsToExecute = callsToExecute, idleCallbackToRun = idleCallbackToRun, ) } var callDispatcherQueueStart = true for (i in 0 until effects.callsToExecute.size) { val call = effects.callsToExecute[i]
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Oct 07 14:16:22 GMT 2025 - 9.9K bytes - Click Count (0) -
android/guava/src/com/google/common/io/TempFileCreator.java
/** * Creates the permissions normally used for Windows filesystems, looking up the user afresh, even * if previous calls have initialized the {@code PermissionSupplier} fields. * * <p>This lets us test the effects of different values of the {@code user.name} system property * without needing a separate VM or classloader. */ @IgnoreJRERequirement // used only when Path is available (and only from tests) @VisibleForTestingCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 29 18:50:14 GMT 2025 - 11.8K bytes - Click Count (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java
private static final double TIMING_TOLERANCE = 2.0; // 200% tolerance - JVM timing is inherently variable for timing variations @BeforeEach public void setUp() { // Warm up JVM to reduce JIT compilation effects for (int i = 0; i < 100; i++) { NtlmPasswordAuthenticator auth1 = new NtlmPasswordAuthenticator("testdomain", "testuser", "password123");Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 11.2K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinderTest.kt
* the same structure: * * * prepare a set of plans, each with a predictable connect delay * * attempt to find a connection * * step through time, asserting that the expected side effects are performed. */ internal class FastFallbackExchangeFinderTest { private val taskFaker = TaskFaker() private val taskRunner = taskFaker.taskRunner /**Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 20.9K bytes - Click Count (0) -
cmd/admin-handlers-pools.go
if objectAPI == nil { return } // NB rebalance-start admin API is always coordinated from first pool's // first node. The following is required to serialize (the effects of) // concurrent rebalance-start commands. if ep := globalEndpoints[0].Endpoints[0]; !ep.IsLocal { for nodeIdx, proxyEp := range globalProxyEndpoints { if proxyEp.Host == ep.Host {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 11.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/SIDCacheImplTest.java
cache.resolveSids(ctx, null, arr, 2, 1); // resolve only s3 // Verify cache behavior - after reset, spying on the same cache won't work // Since we're working with internal state, we'll verify the side effects assertEquals("DOM", s1.getDomainName()); assertEquals("user1", s1.getAccountName()); assertEquals("DOM", s2.getDomainName()); assertEquals("user2", s2.getAccountName());
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt
* curl 'https://example.com/api' \ * -X PUT \ * -H 'Authorization: Bearer token' \ * --data '{\"key\":\"value\"}' * ``` * * **Note:** This will consume the request body. This may have side effects if the [RequestBody] * is streaming or can be consumed only once. */ @JvmOverloads fun toCurl(includeBody: Boolean = true): String = buildString { append("curl ${url.toString().shellEscape()}")
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Thu Oct 30 13:46:58 GMT 2025 - 14.7K bytes - Click Count (1) -
guava/src/com/google/common/base/Joiner.java
* regrettable implementations like our own Sets.filter, Collection.size() is sometimes a * linear-time operation, and it can even have side effects. Thus, we limit the special case to * List, which is _even more likely_ to have size() implemented to be fast and side-effect-free. * * We could consider recognizing specific other collections as safe (like ImmutableCollection,
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Apr 14 15:16:19 GMT 2025 - 21K bytes - Click Count (0) -
doc/go_mem.html
any synchronization event, so it is not guaranteed to be observed by any other goroutine. In fact, an aggressive compiler might delete the entire <code>go</code> statement. </p> <p> If the effects of a goroutine must be observed by another goroutine, use a synchronization mechanism such as a lock or channel communication to establish a relative ordering. </p> <h3 id="chan">Channel communication</h3>
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Aug 05 15:41:37 GMT 2025 - 26.6K bytes - Click Count (0) -
CHANGELOG.md
chunked but has no data. * Breaking: Replace `SocketPolicy` with a new type, `SocketEffect`. It splits triggers (request start, response body, etc.) from effects (closing the socket, closing the stream, etc.). * Breaking: Rename `RecordedRequest.sequenceNumber` to `exchangeIndex` and introduce `connectionIndex` on that type. These properties may be useful when testing features like
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Dec 05 16:02:59 GMT 2025 - 36.2K bytes - Click Count (2)