Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 1,280 for Byte (0.02 sec)

  1. tests/serializer_test.go

    }
    
    type CustomSerializer struct {
    	prefix []byte
    }
    
    func NewCustomSerializer(prefix string) *CustomSerializer {
    	return &CustomSerializer{prefix: []byte(prefix)}
    }
    
    func (c *CustomSerializer) Scan(ctx context.Context, field *schema.Field, dst reflect.Value, dbValue interface{}) (err error) {
    	switch value := dbValue.(type) {
    	case []byte:
    		err = field.Set(ctx, dst, bytes.TrimPrefix(value, c.prefix))
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Apr 21 14:09:38 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/io/ByteArrayDataInput.java

    public interface ByteArrayDataInput extends DataInput {
      @Override
      void readFully(byte b[]);
    
      @Override
      void readFully(byte b[], int off, int len);
    
      // not guaranteed to skip n bytes so result should NOT be ignored
      // use ByteStreams.skipFully or one of the read methods instead
      @Override
      int skipBytes(int n);
    
      @CanIgnoreReturnValue // to skip a byte
      @Override
      boolean readBoolean();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/ntlmssp/NtlmMessage.java

        /**
         * The NTLMSSP "preamble".
         */
        protected static final byte[] NTLMSSP_SIGNATURE = new byte[] {
            (byte) 'N', (byte) 'T', (byte) 'L', (byte) 'M', (byte) 'S', (byte) 'S', (byte) 'P', (byte) 0
        };
    
        /**
         * NTLM version
         */
        protected static final byte[] NTLMSSP_VERSION = new byte[] {
            6, 1, 0, 0, 0, 0, 0, 15
        };
    
        protected static final int NTLMSSP_TYPE1 = 0x1;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/TransPeekNamedPipeResponse.java

            this.pipe = pipe;
        }
    
        int writeSetupWireFormat( byte[] dst, int dstIndex ) {
            return 0;
        }
        int writeParametersWireFormat( byte[] dst, int dstIndex ) {
            return 0;
        }
        int writeDataWireFormat( byte[] dst, int dstIndex ) {
            return 0;
        }
        int readSetupWireFormat( byte[] buffer, int bufferIndex, int len ) {
            return 0;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponse.java

        }
    
    
        @Override
        protected int writeSetupWireFormat ( byte[] dst, int dstIndex ) {
            return 0;
        }
    
    
        @Override
        protected int writeParametersWireFormat ( byte[] dst, int dstIndex ) {
            return 0;
        }
    
    
        @Override
        protected int writeDataWireFormat ( byte[] dst, int dstIndex ) {
            return 0;
        }
    
    
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComQueryInformation.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;
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2K bytes
    - Viewed (0)
  7. cmd/storage-rest_test.go

    	if err != nil {
    		t.Fatalf("unexpected error %v", err)
    	}
    
    	testCases := []struct {
    		volumeName     string
    		objectName     string
    		offset         int64
    		expectedResult []byte
    		expectErr      bool
    	}{
    		{"foo", "myobject", 0, []byte("foo"), false},
    		{"foo", "myobject", 1, []byte("oo"), false},
    		// file not found error.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 22 07:04:48 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java

        /**
         * 
         */
        public static final byte TRANS2_QUERY_FILE_INFORMATION = (byte) 0x07;
        /**
         * 
         */
        public static final byte TRANS2_SET_FILE_INFORMATION = (byte) 0x08;
    
        /**
         * 
         */
        public static final byte NET_SHARE_ENUM = (byte) 0x00;
        /**
         * 
         */
        public static final byte NET_SERVER_ENUM2 = (byte) 0x68;
        /**
         * 
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun May 17 13:43:42 UTC 2020
    - 13.2K bytes
    - Viewed (0)
  9. cmd/storage-datatypes_gen.go

    }
    
    // MarshalMsg implements msgp.Marshaler
    func (z BaseOptions) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    	// map header, size 0
    	_ = z
    	o = append(o, 0x80)
    	return
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    func (z *BaseOptions) UnmarshalMsg(bts []byte) (o []byte, err error) {
    	var field []byte
    	_ = field
    	var zb0001 uint32
    	zb0001, bts, err = msgp.ReadMapHeaderBytes(bts)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 150.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/create/Smb2CloseRequest.java

         * @param config
         * @param fileId
         */
        public Smb2CloseRequest ( Configuration config, byte[] fileId ) {
            this(config, fileId, "");
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.RequestWithFileId#setFileId(byte[])
         */
        @Override
        public void setFileId ( byte[] fileId ) {
            this.fileId = fileId;
        }
    
    
        /**
         * @param config
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4K bytes
    - Viewed (0)
Back to top