Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 318 for dst (0.04 sec)

  1. internal/s3select/json/preader.go

    func (r *PReader) nextSplit(skip int, dst []byte) ([]byte, error) {
    	if cap(dst) < skip {
    		dst = make([]byte, 0, skip+1024)
    	}
    	dst = dst[:skip]
    	if skip > 0 {
    		n, err := io.ReadFull(r.buf, dst)
    		if err != nil && err != io.ErrUnexpectedEOF {
    			// If an EOF happens after reading some but not all the bytes,
    			// ReadFull returns ErrUnexpectedEOF.
    			return dst[:n], err
    		}
    		dst = dst[:n]
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/com/SmbComWriteAndX.java

            dstIndex += 4;
            for ( int i = 0; i < 4; i++ ) {
                dst[ dstIndex++ ] = (byte) 0xFF;
            }
            SMBUtil.writeInt2(this.writeMode, dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeInt2(this.remaining, dst, dstIndex);
            dstIndex += 2;
            dst[ dstIndex++ ] = (byte) 0x00;
            dst[ dstIndex++ ] = (byte) 0x00;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

                this.andx = null;
    
                dst[ start + ANDX_COMMAND_OFFSET ] = (byte) 0xFF;
                dst[ start + ANDX_RESERVED_OFFSET ] = (byte) 0x00;
                // dst[start + ANDX_OFFSET_OFFSET] = (byte)0x00;
                // dst[start + ANDX_OFFSET_OFFSET + 1] = (byte)0x00;
                dst[ start + ANDX_OFFSET_OFFSET ] = (byte) 0xde;
                dst[ start + ANDX_OFFSET_OFFSET + 1 ] = (byte) 0xde;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Nov 28 10:56:27 UTC 2022
    - 14.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2.java

        @Override
        protected int writeSetupWireFormat ( byte[] dst, int dstIndex ) {
            dst[ dstIndex++ ] = getSubCommand();
            dst[ dstIndex++ ] = (byte) 0x00;
            return 2;
        }
    
    
        @Override
        protected int writeParametersWireFormat ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
    
            SMBUtil.writeInt2(this.searchAttributes, dst, dstIndex);
            dstIndex += 2;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/TransTransactNamedPipe.java

        }
    
        int writeSetupWireFormat( byte[] dst, int dstIndex ) {
            dst[dstIndex++] = subCommand;
            dst[dstIndex++] = (byte)0x00;
            writeInt2( pipeFid, dst, dstIndex );
            dstIndex += 2;
            return 4;
        }
        int readSetupWireFormat( byte[] buffer, int bufferIndex, int len ) {
            return 0;
        }
        int writeParametersWireFormat( byte[] dst, int dstIndex ) {
            return 0;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComOpenAndX.java

            int start = dstIndex;
    
            SMBUtil.writeInt2(this.tflags, dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeInt2(this.desiredAccess, dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeInt2(this.searchAttributes, dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeInt2(this.fileAttributes, dst, dstIndex);
            dstIndex += 2;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/trans/TransPeekNamedPipe.java

            this.setupCount = 2;
        }
    
    
        @Override
        protected int writeSetupWireFormat ( byte[] dst, int dstIndex ) {
            dst[ dstIndex++ ] = this.getSubCommand();
            dst[ dstIndex++ ] = (byte) 0x00;
            // this says "Transaction priority" in netmon
            SMBUtil.writeInt2(this.fid, dst, dstIndex);
            return 4;
        }
    
    
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

    
        protected int writeHeaderWireFormat ( byte[] dst, int dstIndex ) {
            System.arraycopy(SMBUtil.SMB2_HEADER, 0, dst, dstIndex, SMBUtil.SMB2_HEADER.length);
    
            SMBUtil.writeInt2(this.creditCharge, dst, dstIndex + 6);
            SMBUtil.writeInt2(this.command, dst, dstIndex + 12);
            SMBUtil.writeInt2(this.credit, dst, dstIndex + 14);
            SMBUtil.writeInt4(this.flags, dst, dstIndex + 16);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Sep 30 10:47:31 UTC 2018
    - 19.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbComDelete.java

        }
    
        int writeParameterWordsWireFormat( byte[] dst, int dstIndex ) {
            writeInt2( searchAttributes, dst, dstIndex );
            return 2;
        }
        int writeBytesWireFormat( byte[] dst, int dstIndex ) {
            int start = dstIndex;
    
            dst[dstIndex++] = (byte)0x04;
            dstIndex += writeString( path, dst, dstIndex );
    
            return dstIndex - start;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 1.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/util/SMBUtil.java

        public static void writeInt2 ( long val, byte[] dst, int dstIndex ) {
            dst[ dstIndex ] = (byte) ( val );
            dst[ ++dstIndex ] = (byte) ( val >> 8 );
        }
    
    
        public static void writeInt4 ( long val, byte[] dst, int dstIndex ) {
            dst[ dstIndex ] = (byte) ( val );
            dst[ ++dstIndex ] = (byte) ( val >>= 8 );
            dst[ ++dstIndex ] = (byte) ( val >>= 8 );
            dst[ ++dstIndex ] = (byte) ( val >> 8 );
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5K bytes
    - Viewed (0)
Back to top