- Sort Score
- Num 10 results
- Language All
Results 101 - 110 of 1,347 for call1 (0.02 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/jcifs/smb/FileEntryTest.java
when(mockEntry.getName()).thenReturn(null, "", " "); // Act & Assert assertNull(mockEntry.getName(), "first call returns null"); assertEquals("", mockEntry.getName(), "second call returns empty"); assertEquals(" ", mockEntry.getName(), "third call returns space"); verify(mockEntry, times(3)).getName(); } }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10K bytes - Click Count (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java
}); // For Trans2FindNext2 calls final int[] nextCall = { 0 }; when(tree.send(any(Trans2FindNext2.class), any(Trans2FindFirst2Response.class))).thenAnswer((InvocationOnMock inv) -> { Trans2FindFirst2Response resp = inv.getArgument(1); int call = nextCall[0]++; String[] names = batches.get(call + 1);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.7K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTreeConnectionTest.java
void getConfig_returnsConfig() { SmbTreeConnection c = newConn(); assertSame(config, c.getConfig()); } @Test @DisplayName("acquire calls tree.acquire on first usage, release calls tree.release at zero") void acquire_release_lifecycle() { SmbTreeConnection c = newConn(); SmbTreeImpl tree = mock(SmbTreeImpl.class);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 13K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessJsonResourceProviderTest.java
assertNotNull(option1); assertNotNull(option2); // Each call should return a new instance assertNotSame(option1, option2); } @Test public void test_provideMappingOption_consistency() { // Test that multiple calls provide consistent configuration JsonMappingOption option1 = provider.provideMappingOption();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 7.1K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt
.url(server.url("/")) .post(AsyncRequestBody()) .build() val call = client.newCall(request) call.timeout().timeout(250, TimeUnit.MILLISECONDS) assertFailsWith<IOException> { call.execute() }.also { expected -> assertThat(expected.message).isEqualTo("timeout") assertTrue(call.isCanceled()) } } @Test fun fullCallTimeoutDoesNotApplyOnceConnected() {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 25.8K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java
* * - If the stack overflowed before set()/setValue() could even store the result in the output * Future, then a call setException() would likely also overflow. * * - If the stack overflowed after set()/setValue() stored its result, then a call to * setException() will be a no-op because the Future is already done. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 20 18:03:37 GMT 2025 - 10.8K bytes - Click Count (0) -
docs/en/docs/tutorial/testing.md
{* ../../docs_src/app_testing/tutorial001_py310.py hl[2,12,15:18] *} /// tip Notice that the testing functions are normal `def`, not `async def`. And the calls to the client are also normal calls, not using `await`. This allows you to use `pytest` directly without complications. /// /// note | Technical Details You could also use `from starlette.testclient import TestClient`.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 5.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java
// When mockRequest.setFileId(testFileId); // Then verify(mockRequest, times(1)).setFileId(testFileId); } @Test @DisplayName("Should handle multiple setFileId calls") void testMultipleSetFileIdCalls() { // Given RequestWithFileId request = new Smb2CloseRequest(mockConfig, emptyFileId); byte[] firstFileId = new byte[16];Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/reflect/SubtypeTester.java
* return notSubtype(intList); * } * } * * public void testMySubtypes() throws Exception { * new MySubtypeTests().testAllDeclarations(); * } * } * * The calls to {@link #isSubtype} and {@link #notSubtype} tells the framework what assertions need * to be made. * * <p>The declaration methods must be public. */ @AndroidIncompatible // only used by android incompatible tests.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 6.1K bytes - Click Count (0) -
internal/s3select/jstream/scanner.go
if s.end == maxInt { s.fillReq <- struct{}{} } } s.pos++ return s.buf[s.ipos] } // back undoes a previous call to next(), moving backward one byte in the internal buffer. // as we only guarantee a lookback buffer size of one, any subsequent calls to back() // before calling next() may panic func (s *scanner) back() { if s.ipos <= 0 { panic("back buffer exhausted") } s.ipos--Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Sep 23 19:35:41 GMT 2024 - 2.5K bytes - Click Count (0)