- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 75 for readSize (0.06 sec)
-
src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java
} int r, n; final SmbComReadAndXResponse response = new SmbComReadAndXResponse(b, off); do { r = len > readSize ? readSize : len; file.send(new SmbComReadAndX(file.fid, fp, r, null), response); n = response.dataLength; if (n <= 0) { return (int) (fp - start > 0L ? fp - start : -1);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 14.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 9.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java
return this.nextCommand; } /** * Sets the read size for this message. * * @param readSize * the readSize to set */ public void setReadSize(final int readSize) { this.readSize = readSize; } /** * Checks whether this message is an asynchronous message. * * @return the async */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 24K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbRandomAccessFile.java
} try (SmbFileHandle h = ensureOpen()) {} this.readSize = th.getReceiveBufferSize() - 70; this.writeSize = th.getSendBufferSize() - 70; if (th.hasCapability(SmbConstants.CAP_LARGE_READX)) { this.largeReadX = true; this.readSize =
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/main/java/jcifs/smb/SmbFileInputStream.java
*/ private void init(final SmbTreeHandleInternal th) throws CIFSException { if (this.smb2) { this.readSize = th.getReceiveBufferSize(); this.readSizeFile = th.getReceiveBufferSize(); return; } this.readSize = Math.min(th.getReceiveBufferSize() - 70, th.getMaximumBufferSize() - 70); if (th.hasCapability(SmbConstants.CAP_LARGE_READX)) {
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/internal/smb2/ServerMessageBlock2Test.java
} @Test @DisplayName("Should get and set read size") void testReadSizeProperty() { testMessage.setReadSize(1024); // No getter for readSize, but it's used internally in decode } @Test @DisplayName("Should check if async") void testAsyncProperty() { assertFalse(testMessage.isAsync()); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 39.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/util/SMBUtilTest.java
SMBUtil.writeInt8(0L, src, 0); long time = SMBUtil.readTime(src, 0); assertEquals(-SmbConstants.MILLISECONDS_BETWEEN_1970_AND_1601, time); // Test with specific time value long testTime = 131768928000000000L; // Example Windows file time SMBUtil.writeInt8(testTime, src, 8); long readTime = SMBUtil.readTime(src, 8);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FileBasicInfo.java
final int start = bufferIndex; this.createTime = SMBUtil.readTime(buffer, bufferIndex); bufferIndex += 8; this.lastAccessTime = SMBUtil.readTime(buffer, bufferIndex); bufferIndex += 8; this.lastWriteTime = SMBUtil.readTime(buffer, bufferIndex); bufferIndex += 8; this.changeTime = SMBUtil.readTime(buffer, bufferIndex); bufferIndex += 8;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponse.java
final SmbQueryFileBasicInfo info = new SmbQueryFileBasicInfo(); info.createTime = readTime(buffer, bufferIndex); bufferIndex += 8; info.lastAccessTime = readTime(buffer, bufferIndex); bufferIndex += 8; info.lastWriteTime = readTime(buffer, bufferIndex); bufferIndex += 8; info.changeTime = readTime(buffer, bufferIndex); bufferIndex += 8;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java
assertEquals(60, bytesRead); // SMBUtil.readTime will handle the conversion assertEquals(SMBUtil.readTime(buffer, 8), response.getCreationTime()); assertEquals(SMBUtil.readTime(buffer, 16), response.getLastAccessTime()); assertEquals(SMBUtil.readTime(buffer, 24), response.getLastWriteTime()); assertEquals(SMBUtil.readTime(buffer, 32), response.getChangeTime()); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 26.9K bytes - Viewed (0)