- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 267 for boff (0.07 seconds)
-
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 {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 9.3K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbCopyUtil.java
long ioff = 0; for (int i = 0; i < chunks; i++) { final long absoff = ooff + ioff; final int csize = i == chunks - 1 ? lastChunkSize : maxChunkSize; chunkInfo[i] = new SrvCopychunk(absoff, absoff, csize); ioff += maxChunkSize; }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 16.6K bytes - Click Count (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;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.8K bytes - Click Count (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} *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.2K bytes - Click Count (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;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 1.7K bytes - Click Count (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; }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 4.6K bytes - Click Count (0) -
src/bytes/buffer.go
// don't spend all our time copying. copy(b.buf, b.buf[b.off:]) } else if c > maxInt-c-n { panic(ErrTooLarge) } else { // Add b.off to account for b.buf[:b.off] being sliced off the front. b.buf = growSlice(b.buf[b.off:], b.off+n) } // Restore b.off and len(b.buf). b.off = 0 b.buf = b.buf[:m+n] return m }
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Nov 14 19:01:17 GMT 2025 - 16.5K bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 11.7K bytes - Click Count (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; } @OverrideCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 2.3K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/DcerpcPipeHandle.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.6K bytes - Click Count (0)