- Sort Score
 - Result 10 results
 - Languages All
 
Results 161 - 170 of 2,385 for When (0.02 sec)
- 
				
				
src/test/java/jcifs/dcerpc/msrpc/lsarpcTest.java
lenient().when(mockNdrBuffer.derive(anyInt())).thenReturn(mockDeferredNdrBuffer); lenient().when(mockDeferredNdrBuffer.derive(anyInt())).thenReturn(mockDeferredNdrBuffer); // Set up lenient stubs for common operations to avoid unnecessary stubbing exceptions lenient().when(mockNdrBuffer.getIndex()).thenReturn(0); lenient().when(mockDeferredNdrBuffer.getIndex()).thenReturn(0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 60.8K bytes - Viewed (0) - 
				
				
src/test/java/jcifs/smb1/smb1/SmbRandomAccessFileTest.java
smbFile.tree = smbTree; smbFile.fid = 1; smbFile.tree_num = 1; when(smbFile.isFile()).thenReturn(true); when(smbFile.getUncPath()).thenReturn("\\\\server\\share\\file.txt"); when(smbFile.isOpen()).thenReturn(true); // Mock the open method to do nothing doNothing().when(smbFile).open(anyInt(), anyInt(), anyInt(), anyInt());Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) - 
				
				
src/test/java/jcifs/util/transport/ResponseTest.java
// Simulate granted credits when(mockResponse.getGrantedCredits()).thenReturn(100); assertEquals(100, mockResponse.getGrantedCredits()); // Verify the method was called verify(mockResponse, times(1)).getGrantedCredits(); } @Test void testGetErrorCode() { // Simulate error code when(mockResponse.getErrorCode()).thenReturn(-1);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.5K bytes - Viewed (0) - 
				
				
src/test/java/jcifs/smb/SmbTreeHandleImplTest.java
when(ctx.getConfig()).thenReturn(config); when(config.getCapabilities()).thenReturn(0); when(config.getFlags2()).thenReturn(0); when(config.getMaxMpxCount()).thenReturn(1); when(config.getSendBufferSize()).thenReturn(4096); when(config.getReceiveBufferSize()).thenReturn(4096); when(config.getTransactionBufferSize()).thenReturn(4096);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.4K bytes - Viewed (0) - 
				
				
src/test/java/jcifs/smb/SmbFileHandleImplTest.java
SmbTreeHandleImpl tree; private void stubValidTree(long treeId, boolean connected, boolean smb2) { lenient().when(tree.acquire()).thenReturn(tree); lenient().when(tree.getTreeId()).thenReturn(treeId); lenient().when(tree.isConnected()).thenReturn(connected); lenient().when(tree.isSMB2()).thenReturn(smb2); } @Test @DisplayName("Constructor with null tree throws NPE (byte[] fid variant)")Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0) - 
				
				
src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java
@Test @DisplayName("Should use special name when no expanded names") void testFromReferralWithSpecialName() { when(mockReferral.getTtl()).thenReturn(300); when(mockReferral.getRFlags()).thenReturn(Trans2GetDfsReferralResponse.FLAGS_NAME_LIST_REFERRAL); when(mockReferral.getExpandedNames()).thenReturn(new String[0]); when(mockReferral.getSpecialName()).thenReturn("\\SPECIAL");Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.6K bytes - Viewed (0) - 
				
				
docs/bucket/notifications/README.md
mandatory (on|off) quietly ignore undelivered messages when set to 'off', default is 'on' durable (on|off) persist queue across broker restarts when set to 'on', default is 'off' no_wait (on|off) non-blocking message delivery when set to 'on', default is 'off' internal (on|off) set to 'on' for exchange to be not used directly by publishers, but only when bound to other exchanges
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Aug 12 18:20:36 UTC 2025 - 84.2K bytes - Viewed (0) - 
				
				
docs/en/docs/environment-variables.md
* `C:\Windows\System32` //// When you type a **command** in the terminal, the operating system **looks for** the program in **each of those directories** listed in the `PATH` environment variable. For example, when you type `python` in the terminal, the operating system looks for a program called `python` in the **first directory** in that list.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 8.1K bytes - Viewed (0) - 
				
				
src/test/java/jcifs/smb/FileEntryAdapterIteratorTest.java
} } @BeforeEach void setUp() { lenient().when(fileEntry.getName()).thenReturn("test"); } @Test @DisplayName("Iterator without filter - simple case") void iteratorWithoutFilter() { // Setup: constructor calls advance() once when(delegate.hasNext()).thenReturn(true, false); when(delegate.next()).thenReturn(fileEntry);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.6K bytes - Viewed (0) - 
				
				
CHANGELOG.md
* Fix: Don't infinite loop when a received web socket message has self-terminating compressed data. * Fix: Don't fail the call when the response code is ‘HTTP 102 Processing’ or ‘HTTP 103 Early Hints’. * Fix: Honor interceptors' changes to connect and read timeouts. * Fix: Recover gracefully when a cached response is corrupted on disk.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 07 19:32:33 UTC 2025 - 31.6K bytes - Viewed (2)