Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 161 for OFF (0.01 sec)

  1. 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 starts
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  2. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/SmbComWriteTest.java

            assertEquals(remaining, getFieldValue(write, "remaining"), "Remaining should match constructor arg");
            assertEquals(buffer, getFieldValue(write, "b"), "Buffer reference should be set");
            assertEquals(off, getFieldValue(write, "off"), "Off should match constructor arg");
            assertEquals(len, getFieldValue(write, "count"), "Count should equal len");
        }
    
        /**
         * Test setParam method updates the write parameters
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/net/NetShareEnumResponse.java

                e.type = SMBUtil.readInt2(buffer, bufferIndex);
                bufferIndex += 2;
                int off = SMBUtil.readInt4(buffer, bufferIndex);
                bufferIndex += 4;
                off = (off & 0xFFFF) - this.converter;
                off = start + off;
                e.remark = readString(buffer, off, 128, false);
    
                if (log.isTraceEnabled()) {
                    log.trace(e.toString());
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/NetServerEnum2Response.java

                e.type = readInt4(buffer, bufferIndex);
                bufferIndex += 4;
                int off = readInt4(buffer, bufferIndex);
                bufferIndex += 4;
                off = (off & 0xFFFF) - converter;
                off = start + off;
                e.commentOrMasterBrowser = readString(buffer, off, 48, false);
    
                if (LogStream.level >= 4) {
                    log.println(e);
                }
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  6. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  7. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  8. 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;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  9. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/dcerpc/DcerpcPipeHandle.java

            }
    
            while (off < length) {
                final int r = this.handle.recv(buf, off, length - off);
                if (r == 0) {
                    throw new IOException("Unexpected EOF");
                }
                off += r;
            }
            return off;
        }
    
        @Override
        public void close() throws IOException {
            super.close();
            try {
                this.handle.close();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.6K bytes
    - Viewed (0)
Back to top