- Sort Score
- Num 10 results
- Language All
Results 181 - 190 of 662 for Calls (0.03 seconds)
-
guava-testlib/src/com/google/common/collect/testing/testers/ListGetTester.java
@SuppressWarnings("JUnit4ClassUsedInJUnit3") public class ListGetTester<E> extends AbstractListTester<E> { public void testGet_valid() { // This calls get() on each index and checks the result: expectContents(createOrderedArray()); } public void testGet_negative() { assertThrows(IndexOutOfBoundsException.class, () -> getList().get(-1)); }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 1.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java
} @Test @DisplayName("Test multiple sequential calls to read/write methods") void testMultipleSequentialCalls() { byte[] buffer = new byte[200]; // Multiple calls should each return 0 for (int i = 0; i < 10; i++) { assertEquals(0, response.writeSetupWireFormat(buffer, i * 10));Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.9K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/Service.java
* suggested that listeners are added before the service starts. * * <p>{@code addListener} guarantees execution ordering across calls to a given listener but not * across calls to multiple listeners. Specifically, a given listener will have its callbacks * invoked in the same order as the underlying service enters those states. Additionally, at mostCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 10.8K bytes - Click Count (0) -
src/test/java/jcifs/BufferCacheTest.java
assertEquals(1024, buffer1.length, "Buffer should have expected size"); assertEquals(1024, buffer2.length, "Buffer should have expected size"); assertNotSame(buffer1, buffer2, "Different calls should return different buffers initially"); } @Test @DisplayName("releaseBuffer and getBuffer should implement buffer reuse") void testBufferReuse() { // Given
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.3K bytes - Click Count (0) -
android/guava/src/com/google/common/io/PatternFilenameFilter.java
} /* * Our implementation works fine with a null `dir`. However, there's nothing in the documentation * of the supertype that suggests that implementations are expected to tolerate null. That said, I * see calls in Google code that pass a null `dir` to a FilenameFilter.... So let's declare the * parameter as non-nullable (since passing null to a FilenameFilter is unsafe in general), but if
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 2.7K bytes - Click Count (1) -
guava/src/com/google/common/collect/AbstractIndexedListIterator.java
* That is, the first call to {@link #nextIndex()} will return {@code position}, and the first * call to {@link #next()} will return the element at that index, if available. Calls to {@link * #previous()} can retrieve the preceding {@code position} elements. * * @throws IndexOutOfBoundsException if {@code position} is negative or is greater than {@code * size}Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 3.2K bytes - Click Count (0) -
docs/features/interceptors.md
Interceptors ============ Interceptors are a powerful mechanism that can monitor, rewrite, and retry calls. Here's a simple interceptor that logs the outgoing request and the incoming response. ```java class LoggingInterceptor implements Interceptor { @Override public Response intercept(Interceptor.Chain chain) throws IOException { Request request = chain.request(); long t1 = System.nanoTime();
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sun Feb 06 02:19:09 GMT 2022 - 8.1K bytes - Click Count (0) -
cmd/metrics-v3-api.go
"Total number of requests canceled by the client", "name", "type") apiRequestsTTFBSecondsDistributionMD = NewCounterMD(apiRequestsTTFBSecondsDistribution, "Distribution of time to first byte across API calls", "name", "type", "le") apiTrafficSentBytesMD = NewCounterMD(apiTrafficSentBytes, "Total number of bytes sent", "type") apiTrafficRecvBytesMD = NewCounterMD(apiTrafficRecvBytes, "Total number of bytes received", "type")
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Sep 24 17:13:00 GMT 2024 - 9.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ForwardingMap.java
import java.util.Collection; import java.util.Iterator; import java.util.Map; import java.util.Objects; import java.util.Set; import org.jspecify.annotations.Nullable; /** * A map which forwards all its method calls to another map. Subclasses should override one or more * methods to modify the behavior of the backing map as desired per the <a * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>. *
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Aug 06 17:32:30 GMT 2025 - 9.8K bytes - Click Count (0) -
cmd/iam-etcd-store.go
func (ies *IAMEtcdStore) loadPolicyDocs(ctx context.Context, m map[string]PolicyDoc) error { ctx, cancel := context.WithTimeout(ctx, defaultContextTimeout) defer cancel() // Retrieve all keys and values to avoid too many calls to etcd in case of // a large number of policies r, err := ies.client.Get(ctx, iamConfigPoliciesPrefix, etcd.WithPrefix()) if err != nil { return err }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 13.9K bytes - Click Count (0)