Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 144 for required (0.48 sec)

  1. cmd/encryption-v1.go

    	//
    	// 2. the (decrypted) start offset `off` and (decrypted)
    	//    length to read `length`
    	//
    	// These are the inputs to the rest of the algorithm below.
    
    	// Locate the part containing the start of the required range
    	var partEnd int
    	var cumulativeSum, encCumulativeSum int64
    	for i, size := range sizes {
    		if off < cumulativeSum+size {
    			partStart = i
    			break
    		}
    		cumulativeSum += size
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 36.5K bytes
    - Viewed (0)
  2. internal/bucket/replication/datatypes_gen.go

    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	return
    }
    
    // MarshalMsg implements msgp.Marshaler
    func (z StatusType) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    	o = msgp.AppendString(o, string(z))
    	return
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    func (z *StatusType) UnmarshalMsg(bts []byte) (o []byte, err error) {
    	{
    		var zb0001 string
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 08 19:08:18 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  3. internal/bucket/bandwidth/monitor_gen.go

    	_ = z
    	err = en.Append(0x80)
    	if err != nil {
    		return
    	}
    	return
    }
    
    // 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) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 21 17:21:35 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  4. cmd/storage-datatypes_gen.go

    	_ = z
    	err = en.Append(0x80)
    	if err != nil {
    		return
    	}
    	return
    }
    
    // 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) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 127.5K bytes
    - Viewed (0)
  5. cmd/local-locker_gen.go

    				err = msgp.WrapError(err, zb0006, zb0008)
    				return
    			}
    		}
    	}
    	return
    }
    
    // MarshalMsg implements msgp.Marshaler
    func (z localLockMap) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    	o = msgp.AppendMapHeader(o, uint32(len(z)))
    	for zb0006, zb0007 := range z {
    		o = msgp.AppendString(o, zb0006)
    		o = msgp.AppendArrayHeader(o, uint32(len(zb0007)))
    		for zb0008 := range zb0007 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 21 17:21:35 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  6. cmd/copy-part-range.go

    		return nil, errInvalidRange
    	}
    	return hrange, nil
    }
    
    // checkCopyPartRangeWithSize adds more check to the range string in case of
    // copy object part. This API requires having specific start and end  range values
    // e.g. 'bytes=3-10'. Other use cases will be rejected.
    func checkCopyPartRangeWithSize(rs *HTTPRangeSpec, resourceSize int64) (err error) {
    	if rs == nil {
    		return nil
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Jun 18 03:27:04 GMT 2021
    - 2.5K bytes
    - Viewed (0)
  7. cmd/storage-rest-common_gen.go

    			err = msgp.WrapError(err, "Cache")
    			return
    		}
    	}
    	return
    }
    
    // MarshalMsg implements msgp.Marshaler
    func (z *nsScannerOptions) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    	// map header, size 3
    	// string "id"
    	o = append(o, 0x83, 0xa2, 0x69, 0x64)
    	o = msgp.AppendString(o, z.DiskID)
    	// string "m"
    	o = append(o, 0xa1, 0x6d)
    	o = msgp.AppendInt(o, z.ScanMode)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  8. cmd/tier-last-day-stats_gen.go

    			err = msgp.WrapError(err, zb0007, "UpdatedAt")
    			return
    		}
    	}
    	return
    }
    
    // MarshalMsg implements msgp.Marshaler
    func (z DailyAllTierStats) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    	o = msgp.AppendMapHeader(o, uint32(len(z)))
    	for zb0007, zb0008 := range z {
    		o = msgp.AppendString(o, zb0007)
    		// map header, size 2
    		// string "Bins"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 21 17:21:35 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  9. cmd/streaming-signature-v4.go

    		region:            region,
    		chunkSHA256Writer: sha256.New(),
    		buffer:            make([]byte, 64*1024),
    		debug:             false,
    	}, ErrNone
    }
    
    // Represents the overall state that is required for decoding a
    // AWS Signature V4 chunked reader.
    type s3ChunkedReader struct {
    	reader        *bufio.Reader
    	cred          auth.Credentials
    	seedSignature string
    	seedDate      time.Time
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 18.2K bytes
    - Viewed (0)
  10. cmd/metacache_gen.go

    	if err != nil {
    		err = msgp.WrapError(err, "dataVersion")
    		return
    	}
    	return
    }
    
    // MarshalMsg implements msgp.Marshaler
    func (z *metacache) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    	// map header, size 13
    	// string "end"
    	o = append(o, 0x8d, 0xa3, 0x65, 0x6e, 0x64)
    	o = msgp.AppendTime(o, z.ended)
    	// string "st"
    	o = append(o, 0xa2, 0x73, 0x74)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Nov 08 18:26:08 GMT 2021
    - 10K bytes
    - Viewed (0)
Back to top