Search Options

Results per page
Sort
Preferred Languages
Advance

Results 331 - 340 of 1,280 for Byte (0.03 sec)

  1. internal/hash/reader_test.go

    		err               error
    	}{
    		0: {
    			desc:       "Success, no checksum verification provided.",
    			src:        bytes.NewReader([]byte("abcd")),
    			size:       4,
    			actualSize: 4,
    		},
    		{
    			desc:       "Failure md5 mismatch.",
    			src:        bytes.NewReader([]byte("abcd")),
    			size:       4,
    			actualSize: 4,
    			md5hex:     "d41d8cd98f00b204e9800998ecf8427f",
    			err: BadDigest{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 18 17:00:54 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponse.java

            super(config);
        }
    
    
        @Override
        protected int readParameterWordsWireFormat ( byte[] buffer, int bufferIndex ) {
            int start = bufferIndex;
    
            buffer[ bufferIndex++ ] = (byte) 0x00; // Reserved
            buffer[ bufferIndex++ ] = (byte) 0x00; // Reserved
            buffer[ bufferIndex++ ] = (byte) 0x00; // Reserved
    
            this.totalParameterCount = SMBUtil.readInt4(buffer, bufferIndex);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.8K bytes
    - Viewed (0)
  3. 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)
  4. cmd/storage-rest-common_gen.go

    		if err != nil {
    			err = msgp.WrapError(err, "Cache")
    			return
    		}
    	}
    	return
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    func (z *nsScannerOptions) UnmarshalMsg(bts []byte) (o []byte, err error) {
    	var field []byte
    	_ = field
    	var zb0001 uint32
    	zb0001, bts, err = msgp.ReadMapHeaderBytes(bts)
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	for zb0001 > 0 {
    		zb0001--
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbComReadAndX.java

            dstIndex += 4;
    
            return dstIndex - start;
        }
        int writeBytesWireFormat( byte[] dst, int dstIndex ) {
            return 0;
        }
        int readParameterWordsWireFormat( byte[] buffer, int bufferIndex ) {
            return 0;
        }
        int readBytesWireFormat( byte[] buffer, int bufferIndex ) {
            return 0;
        }
        public String toString() {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 3.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/io/SerializeUtil.java

            assertArgumentNotNull("obj", obj);
    
            final byte[] binary = fromObjectToBinary(obj);
            return fromBinaryToObject(binary);
        }
    
        /**
         * オブジェクトをbyteの配列に変換します。
         *
         * @param obj
         *            シリアライズするオブジェクト。{@literal null}であってはいけません
         * @return オブジェクトのbyte配列
         */
        public static byte[] fromObjectToBinary(final Object obj) {
            assertArgumentNotNull("obj", obj);
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java

            }
            dst[ dstIndex++ ] = (byte) 0x00;
            dst[ dstIndex++ ] = (byte) 0x00;
            dst[ dstIndex++ ] = (byte) 0x00;
            dst[ dstIndex++ ] = (byte) 0x00;
            SMBUtil.writeInt4(this.capabilities, dst, dstIndex);
            dstIndex += 4;
    
            return dstIndex - start;
        }
    
    
        @Override
        protected int writeBytesWireFormat ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Mar 17 10:20:23 UTC 2019
    - 8.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/dcerpc/rpc.java

        public static class uuid_t extends NdrObject {
    
            public int time_low;
            public short time_mid;
            public short time_hi_and_version;
            public byte clock_seq_hi_and_reserved;
            public byte clock_seq_low;
            public byte[] node;
    
    
            @Override
            public void encode ( NdrBuffer _dst ) throws NdrException {
                _dst.align(4);
                _dst.enc_ndr_long(this.time_low);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:40:13 UTC 2019
    - 8.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequest.java

         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#writeBytesWireFormat(byte[], int)
         */
        @Override
        protected int writeBytesWireFormat ( byte[] dst, int dstIndex ) {
            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);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbComLogoffAndX.java

            command = SMB_COM_LOGOFF_ANDX;
        }
    
        int writeParameterWordsWireFormat( byte[] dst, int dstIndex ) {
            return 0;
        }
        int writeBytesWireFormat( byte[] dst, int dstIndex ) {
            return 0;
        }
        int readParameterWordsWireFormat( byte[] buffer, int bufferIndex ) {
            return 0;
        }
        int readBytesWireFormat( byte[] buffer, int bufferIndex ) {
            return 0;
        }
        public String toString() {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 1.5K bytes
    - Viewed (0)
Back to top