Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 232 for writeInt2 (0.07 sec)

  1. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequest.java

            if (this.inputData != null) {
                SMBUtil.writeInt4(dstIndex - getHeaderStart(), dst, inputOffsetOffset);
                final int len = this.inputData.encode(dst, dstIndex);
                SMBUtil.writeInt4(len, dst, inputLengthOffset);
                dstIndex += len;
            } else {
                SMBUtil.writeInt4(0, dst, inputOffsetOffset);
                SMBUtil.writeInt4(0, dst, inputLengthOffset);
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndX.java

                passwordLength = 1;
            }
    
            dst[dstIndex] = disconnectTid ? (byte) 0x01 : (byte) 0x00;
            dstIndex++;
            dst[dstIndex++] = (byte) 0x00;
            writeInt2(passwordLength, dst, dstIndex);
            return 4;
        }
    
        @Override
        int writeBytesWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndX.java

            dstIndex += 2;
            SMBUtil.writeInt4(this.flags0, dst, dstIndex);
            dstIndex += 4;
            SMBUtil.writeInt4(this.rootDirectoryFid, dst, dstIndex);
            dstIndex += 4;
            SMBUtil.writeInt4(this.desiredAccess, dst, dstIndex);
            dstIndex += 4;
            SMBUtil.writeInt8(this.allocationSize, dst, dstIndex);
            dstIndex += 8;
            SMBUtil.writeInt4(this.extFileAttributes, dst, dstIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/trans/TransTransactNamedPipe.java

        }
    
        @Override
        protected int writeSetupWireFormat(final byte[] dst, int dstIndex) {
            dst[dstIndex] = this.getSubCommand();
            dstIndex++;
            dst[dstIndex++] = (byte) 0x00;
            SMBUtil.writeInt2(this.pipeFid, dst, dstIndex);
            dstIndex += 2;
            return 4;
        }
    
        @Override
        protected int readSetupWireFormat(final byte[] buffer, final int bufferIndex, final int len) {
            return 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndX.java

                this.passwordLength = 1;
            }
    
            dst[dstIndex] = this.disconnectTid ? (byte) 0x01 : (byte) 0x00;
            dstIndex++;
            dst[dstIndex++] = (byte) 0x00;
            SMBUtil.writeInt2(this.passwordLength, dst, dstIndex);
            return 4;
        }
    
        @SuppressWarnings("deprecation")
        private static boolean isExternalAuth(final NtlmPasswordAuthenticator pwAuth) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java

            andx.batchLevel = batchLevel + 1;
    
            dst[start + ANDX_COMMAND_OFFSET] = andxCommand;
            dst[start + ANDX_RESERVED_OFFSET] = (byte) 0x00;
            andxOffset = dstIndex - headerStart;
            writeInt2(andxOffset, dst, start + ANDX_OFFSET_OFFSET);
    
            andx.useUnicode = useUnicode;
            if (andx instanceof AndXServerMessageBlock) {
    
                /*
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

            dst[start + ANDX_COMMAND_OFFSET] = this.andxCommand;
            dst[start + ANDX_RESERVED_OFFSET] = (byte) 0x00;
            this.andxOffset = dstIndex - this.headerStart;
            SMBUtil.writeInt2(this.andxOffset, dst, start + ANDX_OFFSET_OFFSET);
    
            this.andx.setUseUnicode(this.isUseUnicode());
            if (this.andx instanceof AndXServerMessageBlock) {
    
                /*
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/fscc/FileStandardInfoTest.java

            boolean expectedDirectory = false;
    
            // Encode test data
            int offset = 0;
            SMBUtil.writeInt8(expectedAllocationSize, buffer, offset);
            offset += 8;
            SMBUtil.writeInt8(expectedEndOfFile, buffer, offset);
            offset += 8;
            SMBUtil.writeInt4(expectedNumberOfLinks, buffer, offset);
            offset += 4;
            buffer[offset++] = (byte) (expectedDeletePending ? 1 : 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java

            SMBUtil.writeInt4(0, buffer, 0); // nextEntryOffset
            SMBUtil.writeInt4(0, buffer, 4); // fileIndex
            SMBUtil.writeInt8(0, buffer, 8); // creationTime - raw 0 in wire format
            SMBUtil.writeInt8(0, buffer, 16); // lastAccessTime - raw 0 in wire format
            SMBUtil.writeInt8(0, buffer, 24); // lastWriteTime - raw 0 in wire format
            SMBUtil.writeInt8(0, buffer, 32); // changeTime - raw 0 in wire format
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/lock/Smb2Lock.java

         */
        @Override
        public int encode(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
            SMBUtil.writeInt8(this.offset, dst, dstIndex);
            dstIndex += 8;
            SMBUtil.writeInt8(this.length, dst, dstIndex);
            dstIndex += 8;
    
            SMBUtil.writeInt4(this.flags, dst, dstIndex);
            dstIndex += 4;
            dstIndex += 4; // Reserved
            return dstIndex - start;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
Back to top