- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 341 for READ (0.02 sec)
-
src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java
* * @param b the byte array to read data into * @return the number of bytes read, or -1 if end of file is reached * @throws SmbException if an I/O error occurs */ public int read(final byte b[]) throws SmbException { return read(b, 0, b.length); } /** * Reads up to len bytes from the file into the specified byte array. *Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 14.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/io/Smb2ReadRequest.java
import jcifs.internal.util.SMBUtil; /** * SMB2 Read request message. * * This command is used to read data from a file that has been * previously opened with a Create request. * * @author mbechler */ public class Smb2ReadRequest extends ServerMessageBlock2Request<Smb2ReadResponse> implements RequestWithFileId { /** * Flag to indicate unbuffered read operation */
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 7.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/text/Tokenizer.java
ttype = peekc; return ttype; } /** * Returns the string that has already been read. * * @return The string that has already been read. */ public String getReadString() { return str.substring(0, colno - 1); } private int read() { if (colno >= str.length()) { return -1; } return str.charAt(colno++);Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Jul 05 00:11:05 UTC 2025 - 8.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/Smb2LeaseState.java
/** * Read and Write caching (RW) */ public static final int SMB2_LEASE_READ_WRITE = 0x05; /** * Full caching - Read, Write and Handle (RWH) */ public static final int SMB2_LEASE_FULL = 0x07; private Smb2LeaseState() { // Utility class } /** * Check if state has read caching * @param state lease stateRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 2.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComReadAndXResponse.java
import jcifs.internal.util.SMBUtil; /** * SMB1 Read AndX Response message. * * This response contains the data that was read from the file * along with information about the read operation. */ public class SmbComReadAndXResponse extends AndXServerMessageBlock { private byte[] data; private int offset, dataCompactionMode, dataLength, dataOffset; /** * Constructs a Read AndX response. *Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbRandomAccessFileTest.java
int result = smbRandomAccessFile.read(); assertEquals(42, result); assertEquals(1, smbRandomAccessFile.getFilePointer()); } @Test void testReadEOF() throws SmbException { // Mock the read operation to return EOF doAnswer(new Answer<Void>() { @OverrideRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbRandomAccessFile.java
} } @Override public int read() throws SmbException { if (read(this.tmp, 0, 1) == -1) { return -1; } return this.tmp[0] & 0xFF; } @Override public int read(final byte b[]) throws SmbException { return read(b, 0, b.length); } @Override public int read(final byte b[], int off, int len) throws SmbException {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 18.8K bytes - Viewed (0) -
src/main/java/jcifs/SmbRandomAccess.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java
SMBUtil.writeInt2(17, buffer, 0); // Structure size SMBUtil.writeInt2(0, buffer, 2); // Reserved SMBUtil.writeInt4(-1, buffer, 4); // Count (will be read as unsigned) SMBUtil.writeInt4(-2, buffer, 8); // Remaining (will be read as unsigned) SMBUtil.writeInt4(0, buffer, 12); // WriteChannelInfoOffset/Length int bytesRead = response.readBytesWireFormat(buffer, 0);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaStatistics.java
/** * Record start of a read request * * @param bytes number of bytes being requested */ public void recordReadRequest(int bytes) { // Track that a read was requested rdmaReads.incrementAndGet(); } /** * Record successful completion of a read request * * @param bytes number of bytes successfully readRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 10.7K bytes - Viewed (0)