- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 173 for boff (0.01 sec)
-
cmd/os_unix.go
return osErrToFileErr(err) } } defer syscall.Close(fd) bufp := direntPool.Get() defer direntPool.Put(bufp) buf := *bufp boff := 0 // starting read position in buf nbuf := 0 // end valid data in buf for { if boff >= nbuf { boff = 0 stop := globalOSMetrics.time(osMetricReadDirent) nbuf, err = syscall.ReadDirent(fd, buf) stop() if err != nil {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 9.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/RC4.java
* @param src the source data array * @param soff the offset in the source array * @param slen the length of data to process * @param dst the destination array for the result * @param doff the offset in the destination array */ public void update(final byte[] src, int soff, final int slen, final byte[] dst, int doff) { int slim = soff + slen; while (soff < slim) { i = i + 1 & 0xff;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ioctl/SrvCopychunk.java
/** * Constructs a server copy chunk descriptor * @param soff the source file offset * @param toff the target file offset * @param len the length of data to copy */ public SrvCopychunk(final long soff, final long toff, final int len) { this.sourceOffset = soff; this.targetOffset = toff; this.length = len; } /** * {@inheritDoc} *Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/SocketOutputStream.java
@Override public synchronized void write(final byte[] b, int off, final int len) throws IOException { if (len > 0xFFFF) { throw new IOException("write too large: " + len); } if (off < 4) { throw new IOException("NetBIOS socket output buffer requires 4 bytes available before off"); } off -= 4; b[off + 0] = (byte) SessionServicePacket.SESSION_MESSAGE;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 1.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/TransactNamedPipeInputStream.java
result = len > used ? used : len; if (used > i && result > i) { System.arraycopy(pipe_buf, beg_idx, b, off, i); off += i; System.arraycopy(pipe_buf, 0, b, off, result - i); } else { System.arraycopy(pipe_buf, beg_idx, b, off, result); } used -= result; beg_idx = (beg_idx + result) % pipe_buf.length; }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 4.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComReadAndXResponse.java
byte[] b; int off, dataCompactionMode, dataLength, dataOffset; SmbComReadAndXResponse() { } SmbComReadAndXResponse(final byte[] b, final int off) { this.b = b; this.off = off; } void setParam(final byte[] b, final int off) { this.b = b; this.off = off; } @OverrideRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2.3K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcPipeHandle.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXTest.java
assertEquals(expected, len); int off = 0; assertEquals(65535, SMBUtil.readInt2(buf, off)); off += 2; assertEquals(65535, SMBUtil.readInt2(buf, off)); off += 2; assertEquals(0, SMBUtil.readInt2(buf, off)); off += 2; assertEquals(0x12345678, SMBUtil.readInt4(buf, off)); off += 4; assertEquals(blob.length, SMBUtil.readInt2(buf, off));
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComWrite.java
this.b = b; this.off = off; } /** * Sets the parameters for this write request. * * @param fid the file identifier * @param offset the file offset at which to write * @param remaining the number of bytes remaining to be written * @param b the data buffer containing bytes to write * @param off the offset in the buffer where data startsRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComWriteAndX.java
this.b = b; this.off = off; dataLength = len; command = SMB_COM_WRITE_ANDX; } void setParam(final int fid, final long offset, final int remaining, final byte[] b, final int off, final int len) { this.fid = fid; this.offset = offset; this.remaining = remaining; this.b = b; this.off = off; dataLength = len;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 4.3K bytes - Viewed (0)