Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 249 for dst (0.01 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/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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/main/java/jcifs/netbios/SessionServicePacket.java

    
        static void writeInt2 ( int val, byte[] dst, int dstIndex ) {
            dst[ dstIndex++ ] = (byte) ( ( val >> 8 ) & 0xFF );
            dst[ dstIndex ] = (byte) ( val & 0xFF );
        }
    
    
        static void writeInt4 ( int val, byte[] dst, int dstIndex ) {
            dst[ dstIndex++ ] = (byte) ( ( val >> 24 ) & 0xFF );
            dst[ dstIndex++ ] = (byte) ( ( val >> 16 ) & 0xFF );
            dst[ dstIndex++ ] = (byte) ( ( val >> 8 ) & 0xFF );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/com/SmbComDeleteDirectory.java

        }
    
    
        @Override
        protected int writeParameterWordsWireFormat ( byte[] dst, int dstIndex ) {
            return 0;
        }
    
    
        @Override
        protected int writeBytesWireFormat ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
    
            dst[ dstIndex++ ] = (byte) 0x04;
            dstIndex += writeString(this.path, dst, dstIndex);
    
            return dstIndex - start;
        }
    
    
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2K bytes
    - Viewed (0)
Back to top