- Sort Score
- Num 10 results
- Language All
Results 271 - 280 of 795 for Calls (0.02 seconds)
-
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: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 7.7K bytes - Click Count (0) -
docs/zh-hant/docs/advanced/async-tests.md
如果你的應用仰賴 lifespan 事件,`AsyncClient` 不會觸發這些事件。若要確保它們被觸發,請使用 [florimondmanca/asgi-lifespan](https://github.com/florimondmanca/asgi-lifespan#usage) 的 `LifespanManager`。 /// ## 其他非同步函式呼叫 { #other-asynchronous-function-calls } 由於測試函式現在是非同步的,你也可以在測試中呼叫(並 `await`)其他 `async` 函式,和在程式碼其他地方一樣。 /// tipCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 3.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java
assertEquals(0, result); assertNotNull(testResponse.getData()); assertEquals(0, testResponse.getData().length); } @Test @DisplayName("Should count decode calls correctly") void testDecodeCallCount() throws SMBProtocolDecodingException { assertEquals(0, testResponse.getDecodeCallCount()); testResponse.decode(testBuffer, 0, 10);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 16.2K bytes - Click Count (0) -
README.md
configured to fall back for broad connectivity. Using OkHttp is easy. Its request/response API is designed with fluent builders and immutability. It supports both synchronous blocking calls and async calls with callbacks. A well behaved user agent ------------------------- OkHttp follows modern HTTP specifications such as * HTTP Semantics - [RFC 9110](https://datatracker.ietf.org/doc/html/rfc9110)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Oct 30 21:39:59 GMT 2025 - 9.5K bytes - Click Count (0) -
internal/grid/README.md
instance := grid.NewSingleHandler[*grid.MSS, *grid.MSS](h, grid.NewMSS, grid.NewMSS) // Register the handler on the manager instance.Register(manager, handler) // The typed instance is also used for calls conn := manager.Connection("host") resp, err := instance.Call(ctx, conn, grid.NewMSSWith(map[string]string{"myfield": "myvalue"})) if err == nil { fmt.Println("Got response with field", resp["result"])
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Oct 10 18:57:03 GMT 2025 - 9.4K bytes - Click Count (0) -
src/test/java/jcifs/smb/SessionSetupHandlerTest.java
@Test @DisplayName("Interactions: Mockito mock has no interactions by default") void testMockitoNoInteractions() { // Intent: ensure we can mock the interface and verify no unexpected calls // Act & Assert assertNotNull(mocked); verifyNoInteractions(mocked); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.3K 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: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/LinkedListMultimap.java
next = next.next; nextIndex++; return current; } @Override public void remove() { checkForConcurrentModification(); checkState(current != null, "no calls to next() since the last call to remove()"); if (current != next) { // after call to next() previous = current.previous; nextIndex--; } else { // after call to previous()Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 27K bytes - Click Count (0) -
android/guava/src/com/google/common/reflect/AbstractInvocationHandler.java
* <li>and {@link AbstractInvocationHandler#equals} returns true for the {@link * InvocationHandler} of {@code argument} * </ul> * <li>other method calls are dispatched to {@link #handleInvocation}. * </ul> */ @Override public final @Nullable Object invoke( Object proxy, Method method, @Nullable Object @Nullable [] args) throws Throwable {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 5.1K bytes - Click Count (0) -
android/guava/src/com/google/common/reflect/Parameter.java
* compatibility problems on Android VMs. The corresponding accessor method, however, can have the * more specific return type as long as users are careful to guard calls to it with version checks * or reflection: Android VMs ignore the types of elements that aren't used. */ private final @Nullable Object annotatedType; Parameter( Invokable<?, ?> declaration,
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 18 02:54:30 GMT 2025 - 4.2K bytes - Click Count (0)