Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 154 for writeInt2 (0.11 sec)

  1. src/main/java/jcifs/internal/smb1/trans2/Trans2SetFileInformation.java

            int start = dstIndex;
    
            SMBUtil.writeInt2(this.fid, dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeInt2(Trans2QueryPathInformation.mapInformationLevel(this.info.getFileInformationLevel()), dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeInt2(0, dst, dstIndex);
            dstIndex += 2;
    
            return dstIndex - start;
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/com/SmbComReadAndX.java

            int start = dstIndex;
    
            SMBUtil.writeInt2(this.fid, dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeInt4(this.offset, dst, dstIndex);
            dstIndex += 4;
            SMBUtil.writeInt2(this.maxCount, dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeInt2(this.minCount, dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeInt4(this.openTimeout, dst, dstIndex);
            dstIndex += 4;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/NetServerEnum2.java

                return 0;
            }
    
            writeInt2( subCommand & 0xFF, dst, dstIndex );
            dstIndex += 2;
            System.arraycopy( descr, 0, dst, dstIndex, descr.length );
            dstIndex += descr.length;
            writeInt2( 0x0001, dst, dstIndex );
            dstIndex += 2;
            writeInt2( maxDataCount, dst, dstIndex );
            dstIndex += 2;
            writeInt4( serverTypes, dst, dstIndex );
            dstIndex += 4;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 3.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequest.java

            int start = dstIndex;
            SMBUtil.writeInt2(9, dst, dstIndex);
            SMBUtil.writeInt2(this.treeFlags, dst, dstIndex + 2);
            dstIndex += 4;
    
            byte[] data = this.path.getBytes(StandardCharsets.UTF_16LE);
            int offsetOffset = dstIndex;
            SMBUtil.writeInt2(data.length, dst, dstIndex + 2);
            dstIndex += 4;
            SMBUtil.writeInt2(dstIndex - getHeaderStart(), dst, offsetOffset);
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/Trans2FindFirst2.java

            int start = dstIndex;
    
            writeInt2( searchAttributes, dst, dstIndex );
            dstIndex += 2;
            writeInt2( LIST_COUNT, dst, dstIndex );
            dstIndex += 2;
            writeInt2( flags, dst, dstIndex );
            dstIndex += 2;
            writeInt2( informationLevel, dst, dstIndex );
            dstIndex += 2;
            writeInt4( searchStorageType, dst, dstIndex );
            dstIndex += 4;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 4.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/net/NetServerEnum2.java

            }
    
            SMBUtil.writeInt2(getSubCommand() & 0xFF, dst, dstIndex);
            dstIndex += 2;
            System.arraycopy(descr, 0, dst, dstIndex, descr.length);
            dstIndex += descr.length;
            SMBUtil.writeInt2(0x0001, dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeInt2(this.maxDataCount, dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeInt4(this.serverTypes, dst, dstIndex);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/create/Smb2CloseRequest.java

         */
        @Override
        protected int writeBytesWireFormat ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
            SMBUtil.writeInt2(24, dst, dstIndex);
            SMBUtil.writeInt2(this.closeFlags, dst, dstIndex + 2);
            dstIndex += 4;
            dstIndex += 4; // Reserved
            System.arraycopy(this.fileId, 0, dst, dstIndex, 16);
            dstIndex += 16;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/com/SmbComSeek.java

        @Override
        protected int writeParameterWordsWireFormat ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
            SMBUtil.writeInt2(this.fid, dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeInt2(this.mode, dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeInt4(this.offset, dst, dstIndex);
            dstIndex += 4;
            return dstIndex - start;
        }
    
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

            dst[dstIndex + CMD_OFFSET] = command;
            dst[dstIndex + FLAGS_OFFSET] = flags;
            writeInt2( flags2, dst, dstIndex + FLAGS_OFFSET + 1 );
            dstIndex += TID_OFFSET;
            writeInt2( tid, dst, dstIndex );
            writeInt2( pid, dst, dstIndex + 2 );
            writeInt2( uid, dst, dstIndex + 4 );
            writeInt2( mid, dst, dstIndex + 6 );
            return HEADER_LENGTH;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 21K bytes
    - Viewed (0)
  10. src/main/java/jcifs/ntlmssp/av/AvPairs.java

                byte[] raw = p.getRaw();
                SMBUtil.writeInt2(p.getType(), enc, pos);
                SMBUtil.writeInt2(raw.length, enc, pos + 2);
                System.arraycopy(raw, 0, enc, pos + 4, raw.length);
                pos += 4 + raw.length;
            }
    
            // MsvAvEOL
            SMBUtil.writeInt2(AvPair.MsvAvEOL, enc, pos);
            SMBUtil.writeInt2(0, enc, pos + 2);
            pos += 4;
            return enc;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.8K bytes
    - Viewed (0)
Back to top