- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 62 for OFF (0.01 sec)
-
src/main/java/jcifs/smb/SmbFileOutputStream.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbRandomAccessFileTest.java
doAnswer(inv -> { byte[] b = inv.getArgument(0); int off = inv.getArgument(1); b[off] = 0x01; b[off + 1] = 0x02; b[off + 2] = 0x03; b[off + 3] = 0x04; b[off + 4] = 0x05; b[off + 5] = 0x06; b[off + 6] = 0x07; b[off + 7] = 0x08; return 8;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SSPContextTest.java
@Override public byte[] initSecContext(byte[] token, int off, int len) throws CIFSException { if (token == null) { if (len == 0) { return new byte[0]; } throw new CIFSException("token is null but len > 0"); } if (off < 0 || len < 0 || off > token.length || off + len > token.length) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java
public void writeDirect(final byte[] b, int off, int len, final int flags) throws IOException { if (len <= 0) { return; } if (tmp == null) { throw new IOException("Bad file descriptor"); } ensureOpen(); if (LogStream.level >= 4) { SmbFile.log.println("write: fid=" + file.fid + ",off=" + off + ",len=" + len); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java
* * @param b the byte array to read data into * @param off the offset in the array at which to start storing bytes * @param len the maximum number of bytes to read * @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[], final int off, int len) throws SmbException { if (len <= 0) { return 0;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/test/java/jcifs/ntlmssp/NtlmMessageTest.java
int off = 0; // Offset where position should be written // Test with non-null source array int bytesWritten = NtlmMessage.writeSecurityBufferContent(dest, pos, off, src); assertEquals(src.length, bytesWritten, "Should return correct number of bytes written."); assertEquals(pos, NtlmMessage.readULong(dest, off), "Position should be written correctly at offset.");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcHandle.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 15.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbPipeHandleImpl.java
return getInput().readDirect(buf, off, len); } @Override public void send(final byte[] buf, final int off, final int length) throws IOException { getOutput().writeDirect(buf, off, length, 1); } /** * * {@inheritDoc} * * @see jcifs.smb.SmbPipeHandleInternal#getPipeType() */
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 10.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileInputStream.java
public int read(final byte[] b, final int off, final int len) throws IOException { return readDirect(b, off, len); } /** * Reads up to len bytes of data from this input stream into an array of bytes. * Optimized for better performance with larger read sizes and reduced round trips. * * @param b the buffer to read into * @param off the offset in the buffer to start writing
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.6K bytes - Viewed (0)