- Sort Score
- Num 10 results
- Language All
Results 221 - 230 of 662 for Calls (0.05 seconds)
-
docs/pt/docs/advanced/async-tests.md
/// ## Outras Chamadas de Funções Assíncronas { #other-asynchronous-function-calls }Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 4.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Ordering.java
public String toString() { return "Ordering.arbitrary()"; } /* * We need to be able to mock identityHashCode() calls for tests, because it * can take 1-10 seconds to find colliding objects. Mocking frameworks that * can do magic to mock static method calls still can't do so for a system * class, so we need the indirection. In production, Hotspot should still
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 39.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbRandomAccessFileTest.java
SmbRandomAccessFile raf = spy(newInstance("r", false, false, false)); AtomicInteger calls = new AtomicInteger(); doAnswer(inv -> { int len = inv.getArgument(2); // First call returns len-1, second returns 1 return calls.getAndIncrement() == 0 ? Math.max(1, len - 1) : 1; }).when(raf).read(any(byte[].class), anyInt(), anyInt());
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.1K bytes - Click Count (0) -
guava/src/com/google/common/collect/ForwardingMultiset.java
import java.util.Collection; import java.util.Iterator; import java.util.Objects; import java.util.Set; import org.jspecify.annotations.Nullable; /** * A multiset which forwards all its method calls to another multiset. Subclasses should override * one or more methods to modify the behavior of the backing multiset 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: Tue Jul 08 18:32:10 GMT 2025 - 10.3K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapAsMapTester.java
} @CollectionSize.Require(SEVERAL) @MapFeature.Require(SUPPORTS_REMOVE) /* * SetMultimap.asMap essentially returns a Map<K, Set<V>>; we just can't declare it that way. * Thus, calls like asMap().values().remove(someSet) are safe because they are comparing a set to * a collection of other sets. */ @SuppressWarnings("CollectionUndefinedEquality") public void testValuesRemove() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 4.3K bytes - Click Count (0) -
cmd/bucket-handlers_test.go
if err != nil { t.Fatalf("MinIO %s: Failed to create an anonymous request.", instanceType) } // ExecObjectLayerAPIAnonTest - Calls the HTTP API handler using the anonymous request, validates the ErrAccessDeniedResponse, // sets the bucket policy using the policy statement generated from `getReadOnlyBucketStatement` so that theCreated: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 39.8K bytes - Click Count (0) -
android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt
fun testLoggingLevels() { enableTls() val testHandler = object : Handler() { val calls = mutableMapOf<String, AtomicInteger>() override fun publish(record: LogRecord) { calls .getOrPut(record.loggerName) { AtomicInteger(0) } .incrementAndGet() } override fun flush() { }
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 29.9K bytes - Click Count (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/interval/impl/AbstractIntervalControllerTest.java
assertFalse(controller.isIgnoreException()); controller.setIgnoreException(true); assertTrue(controller.isIgnoreException()); } /** * Test multiple delay calls */ public void test_multipleDelayCalls() { final TestIntervalController controller = new TestIntervalController(); controller.delay(IntervalController.PRE_PROCESSING);
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Thu Nov 20 08:58:39 GMT 2025 - 9.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancerTest.java
when(readRequest.getTreeId()).thenReturn(123); // Set consistent tree ID for affinity when(mockChannelManager.getHealthyChannels()).thenReturn(Arrays.asList(channel1, channel2)); // Multiple calls with same file ID should return same channel ChannelInfo first = loadBalancer.selectChannel(readRequest); ChannelInfo second = loadBalancer.selectChannel(readRequest); assertEquals(first, second);
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 7.7K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerAdapter.kt
import okhttp3.CallEvent.RetryDecision import okhttp3.CallEvent.SatisfactionFailure import okhttp3.CallEvent.SecureConnectEnd import okhttp3.CallEvent.SecureConnectStart /** * This accepts events as function calls on [EventListener], and publishes them as subtypes of * [CallEvent]. */ class EventListenerAdapter : EventListener() { var listeners = listOf<(CallEvent) -> Unit>() private fun onEvent(listener: CallEvent) {
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 7.1K bytes - Click Count (0)