- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 154 for readSize (0.16 seconds)
-
src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 9.4K bytes - Click Count (0) -
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);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 14.1K bytes - Click Count (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 */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 24K bytes - Click Count (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)) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 15.6K bytes - Click Count (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 =Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 18.8K bytes - Click Count (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()); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 39.5K bytes - Click Count (0) -
internal/ioutil/read_file.go
_, err = io.ReadFull(f, dst) return dst, st, err } // ReadFile reads the named file and returns the contents. // A successful call returns err == nil, not err == EOF. // Because ReadFile reads the whole file, it does not treat an EOF from Read // as an error to be reported. // // passes NOATIME flag for reads on Unix systems to avoid atime updates. func ReadFile(name string) ([]byte, error) { // Don't wrap with un-needed buffer.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sat Dec 09 18:17:51 GMT 2023 - 2.3K bytes - Click Count (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);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.1K bytes - Click Count (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;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.7K bytes - Click Count (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;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 5.6K bytes - Click Count (0)