- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 1,124 for calls (0.04 sec)
-
guava/src/com/google/common/collect/ForwardingDeque.java
import java.util.Deque; import java.util.Iterator; import javax.annotation.CheckForNull; import org.checkerframework.checker.nullness.qual.Nullable; /** * A deque which forwards all its method calls to another deque. Subclasses should override one or * more methods to modify the behavior of the backing deque as desired per the <a * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Mar 13 14:30:51 UTC 2023 - 4.2K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/ForwardingExecutorService.java
/** * An executor service which forwards all its method calls to another executor service. Subclasses * should override one or more methods to modify the behavior of the backing executor service as * desired per the <a href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>. * * <p><b>{@code default} method warning:</b> This class does <i>not</i> forward calls to {@code
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Apr 04 09:45:04 UTC 2023 - 4.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/AbstractIteratorTest.java
assertEquals(0, (int) iter.next()); assertEquals(1, (int) iter.peek()); assertEquals(1, (int) iter.next()); /* * We test peek() after various calls to make sure that one bad call doesn't interfere with its * ability to throw the correct exception in the future. */ assertThrows(NoSuchElementException.class, iter::peek);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 8.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractIteratorTest.java
assertEquals(0, (int) iter.next()); assertEquals(1, (int) iter.peek()); assertEquals(1, (int) iter.next()); /* * We test peek() after various calls to make sure that one bad call doesn't interfere with its * ability to throw the correct exception in the future. */ assertThrows(NoSuchElementException.class, iter::peek);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 8.1K bytes - Viewed (0) -
internal/once/singleton.go
package once // Singleton contains a pointer to T that must be set once. // Until the value is set all Get() calls will block. type Singleton[T any] struct { v *T set chan struct{} } // NewSingleton creates a new unset singleton. func NewSingleton[T any]() *Singleton[T] { return &Singleton[T]{set: make(chan struct{}), v: nil} } // Get will return the singleton value. func (s *Singleton[T]) Get() *T { <-s.set return s.v
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 15 12:04:40 UTC 2024 - 952 bytes - Viewed (0) -
docs/en/docs/advanced/async-tests.md
/// ## Other Asynchronous Function Calls As the testing function is now asynchronous, you can now also call (and `await`) other `async` functions apart from sending requests to your FastAPI application in your tests, exactly as you would call them anywhere else in your code. /// tip
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 27 15:43:29 UTC 2024 - 3.8K bytes - Viewed (0) -
docs/changelogs/changelog_4x.md
certain bad routes indefinitely; now we only track the ones that could be necessary. * Fix: Defer proxy selection until a proxy is required. This saves calls to `ProxySelector` on calls that use a pooled connection. ## Version 4.3.1 _2020-01-07_ * Fix: Don't crash with a `NullPointerException` when a web socket is closed before it connects.
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 17 13:25:31 UTC 2024 - 25.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Authenticator.kt
* server's hostname is sent to the proxy. * * Prior to sending any CONNECT request OkHttp always calls the proxy authenticator so that it may * prepare preemptive authentication. OkHttp will call [authenticate] with a fake `HTTP/1.1 407 * Proxy Authentication Required` response that has a `Proxy-Authenticate: OkHttp-Preemptive`
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 5.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/eventbus/EventBusTest.java
public void testRegistrationWithBridgeMethod() { final AtomicInteger calls = new AtomicInteger(); bus.register( new Callback<String>() { @Subscribe @Override public void call(String s) { calls.incrementAndGet(); } }); bus.post("hello"); assertEquals(1, calls.get()); } public void testPrimitiveSubscribeFails() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 15:16:45 UTC 2024 - 11.2K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ForwardingBlockingDeque.java
import java.util.Collection; import java.util.concurrent.BlockingDeque; import java.util.concurrent.TimeUnit; import javax.annotation.CheckForNull; /** * A {@link BlockingDeque} which forwards all its method calls to another {@code BlockingDeque}. * Subclasses should override one or more methods to modify the behavior of the backing deque as * desired per the <a href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Apr 04 09:45:04 UTC 2023 - 4.3K bytes - Viewed (0)