- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for No_Retry (0.05 sec)
-
src/test/java/jcifs/smb/SmbPipeInputStreamTest.java
when(peek.getReadDataAvailable()).thenReturn(7); when(ioResp.getOutputData()).thenReturn(peek); when(tree.send(any(Smb2IoctlRequest.class), eq(RequestParam.NO_RETRY))).thenReturn(ioResp); // Act int available = stream.available(); // Assert assertEquals(7, available, "Should return available bytes reported by server");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbRandomAccessFile.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 18.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeHandleImplTest.java
.thenReturn(resp); CommonServerMessageBlockResponse out = handle.send(req, RequestParam.NO_RETRY); assertSame(resp, out); verify(treeConnection, times(1)).send(eq(resourceLoc), eq((CommonServerMessageBlockRequest) req), isNull(), any(RequestParam[].class)); }
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
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/main/java/jcifs/smb/SmbPipeHandleImpl.java
req.setInputData(new ByteEncodable(buf, off, length)); req.setMaxOutputResponse(maxRecvSize); final Smb2IoctlResponse resp = th.send(req, RequestParam.NO_RETRY); return resp.getOutputLength(); } if (this.transact) { final TransTransactNamedPipe req = new TransTransactNamedPipe(th.getConfig(), fh.getFid(), buf, off, length);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 10.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbOperationException.java
public static final RetryPolicy AGGRESSIVE = new RetryPolicy(5, 500, 60000, 1.5, true); public static final RetryPolicy CONSERVATIVE = new RetryPolicy(2, 2000, 10000, 3.0, true); public static final RetryPolicy NO_RETRY = new RetryPolicy(1, 0, 0, 1.0, false); public RetryPolicy(int maxAttempts, long initialDelayMs, long maxDelayMs, double backoffMultiplier, boolean exponentialBackoff) { this.maxAttempts = maxAttempts;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileInputStream.java
try { final Smb2ReadResponse resp = th.send(request, RequestParam.NO_RETRY); n = resp.getDataLength(); } catch (final SmbException e) { if (e.getNtStatus() == 0xC0000011) { // NT_STATUS_END_OF_FILE
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbOperationExceptionTest.java
assertEquals(3.0, conservativePolicy.getBackoffMultiplier()); assertTrue(conservativePolicy.isExponentialBackoff()); // NO_RETRY policy SmbOperationException.RetryPolicy noRetryPolicy = SmbOperationException.RetryPolicy.NO_RETRY; assertEquals(1, noRetryPolicy.getMaxAttempts()); assertEquals(0, noRetryPolicy.getInitialDelayMs()); assertEquals(0, noRetryPolicy.getMaxDelayMs());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileOutputStream.java
final Smb2SetInfoRequest treq = new Smb2SetInfoRequest(th.getConfig(), fh.getFileId()); treq.setFileInformation(new FileEndOfFileInformation(0)); th.send(treq, RequestParam.NO_RETRY); } } } catch (final CIFSException e) { throw SmbException.wrap(e); } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java
lenient().when(fh.getTree()).thenReturn(tree); when(fh.getFileId()).thenReturn(new byte[16]); // Setup for ioctl request when(tree.send(any(Smb2IoctlRequest.class), eq(RequestParam.NO_RETRY))).thenReturn(ioctlResp); when(ioctlResp.getOutputLength()).thenReturn(42); byte[] in = new byte[128]; byte[] out = new byte[256]; // Act
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 16.7K bytes - Viewed (0)