Search Options

Results per page
Sort
Preferred Languages
Advance

Results 421 - 430 of 1,280 for Byte (0.03 sec)

  1. src/main/java/jcifs/SmbRandomAccess.java

        /**
         * Close the file
         * 
         * @throws SmbException
         */
        @Override
        void close () throws SmbException;
    
    
        /**
         * Read a single byte from the current position
         * 
         * @return read byte, -1 if EOF
         * @throws SmbException
         */
        int read () throws SmbException;
    
    
        /**
         * Read into buffer from current position
         * 
         * @param b
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/com/SmbComSeek.java

         *
         * @see jcifs.internal.smb1.ServerMessageBlock#writeBytesWireFormat(byte[], int)
         */
        @Override
        protected int writeBytesWireFormat ( byte[] dst, int dstIndex ) {
            return 0;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb1.ServerMessageBlock#readParameterWordsWireFormat(byte[], int)
         */
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferral.java

            dst[ dstIndex++ ] = (byte) 0x00;
            return 2;
        }
    
    
        @Override
        protected int writeParametersWireFormat ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
            dstIndex += this.request.encode(dst, dstIndex);
            return dstIndex - start;
        }
    
    
        @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.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/ReadWriteTest.java

            byte buffer[] = new byte[bufSize];
            long p = 0;
            Random r = getRandom();
            while ( p < length ) {
    
                int rs = Math.min(bufSize, (int) ( length - p ));
                int read = is.read(buffer, 0, rs);
                if ( read < 0 ) {
                    fail("Unexpected EOF at " + p);
                }
    
                byte verify[] = new byte[read];
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 13.2K bytes
    - Viewed (0)
  5. internal/bucket/bandwidth/monitor_gen.go

    // MarshalMsg implements msgp.Marshaler
    func (z BucketBandwidthReport) 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 *BucketBandwidthReport) 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: Thu Mar 21 17:21:35 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndXResponse.java

        SmbComTreeConnectAndXResponse( ServerMessageBlock andx ) {
            super( andx );
        }
    
        int writeParameterWordsWireFormat( byte[] dst, int dstIndex ) {
            return 0;
        }
        int writeBytesWireFormat( byte[] dst, int dstIndex ) {
            return 0;
        }
        int readParameterWordsWireFormat( byte[] buffer, int bufferIndex ) {
            supportSearchBits = ( buffer[bufferIndex] & SMB_SUPPORT_SEARCH_BITS ) == SMB_SUPPORT_SEARCH_BITS;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.9K bytes
    - Viewed (0)
  7. internal/config/lambda/event/targetid_test.go

    	}
    }
    
    func TestTargetDUnmarshalJSON(t *testing.T) {
    	testCases := []struct {
    		data             []byte
    		expectedTargetID *TargetID
    		expectErr        bool
    	}{
    		{[]byte(`""`), nil, true},
    		{[]byte(`"httpclient+2e33cdee-fbec-4bdd-917e-7d8e3c5a2531:localhost:55638"`), nil, true},
    		{[]byte(`":"`), &TargetID{}, false},
    		{[]byte(`"1:webhook"`), &TargetID{"1", "webhook"}, false},
    	}
    
    	for i, testCase := range testCases {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Mar 07 16:12:41 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  8. internal/event/targetid_test.go

    	}
    }
    
    func TestTargetDUnmarshalJSON(t *testing.T) {
    	testCases := []struct {
    		data             []byte
    		expectedTargetID *TargetID
    		expectErr        bool
    	}{
    		{[]byte(`""`), nil, true},
    		{[]byte(`"httpclient+2e33cdee-fbec-4bdd-917e-7d8e3c5a2531:localhost:55638"`), nil, true},
    		{[]byte(`":"`), &TargetID{}, false},
    		{[]byte(`"1:webhook"`), &TargetID{"1", "webhook"}, false},
    	}
    
    	for i, testCase := range testCases {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 3.5K bytes
    - Viewed (0)
  9. cmd/encryption-v1.go

    			info.ETag = getDecryptedETag(headers, *info, false)
    		}
    	}
    
    	return encrypted, nil
    }
    
    type (
    	objectMetaEncryptFn func(baseKey string, data []byte) []byte
    	objectMetaDecryptFn func(baseKey string, data []byte) ([]byte, error)
    )
    
    // metadataEncrypter returns a function that will read data from input,
    // encrypt it using the provided key and return the result.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Oct 13 13:06:08 UTC 2024
    - 37.2K bytes
    - Viewed (0)
  10. cmd/xl-storage-format-v2.go

    const metaDataReadDefault = 4 << 10
    
    // Return used metadata byte slices here.
    var metaDataPool = sync.Pool{New: func() interface{} { return make([]byte, 0, metaDataReadDefault) }}
    
    // metaDataPoolGet will return a byte slice with capacity at least metaDataReadDefault.
    // It will be length 0.
    func metaDataPoolGet() []byte {
    	return metaDataPool.Get().([]byte)[:0]
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
Back to top