Documentation ¶
Index ¶
- type GfSpPieceOp
- func (p *GfSpPieceOp) ChallengePieceKey(objectID uint64, segmentIdx uint32, replicateIdx int32) string
- func (p *GfSpPieceOp) ECPieceKey(objectID uint64, segmentIdx uint32, replicateIdx uint32) string
- func (p *GfSpPieceOp) ECPieceSize(payloadSize uint64, segmentIdx uint32, maxSegmentSize uint64, ...) int64
- func (p *GfSpPieceOp) MaxSegmentPieceSize(payloadSize uint64, maxSegmentSize uint64) int64
- func (p *GfSpPieceOp) SegmentPieceCount(payloadSize uint64, maxSegmentSize uint64) uint32
- func (p *GfSpPieceOp) SegmentPieceKey(objectID uint64, segmentIdx uint32) string
- func (p *GfSpPieceOp) SegmentPieceSize(payloadSize uint64, segmentIdx uint32, maxSegmentSize uint64) int64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GfSpPieceOp ¶
type GfSpPieceOp struct { }
func (*GfSpPieceOp) ChallengePieceKey ¶
func (p *GfSpPieceOp) ChallengePieceKey(objectID uint64, segmentIdx uint32, replicateIdx int32) string
func (*GfSpPieceOp) ECPieceKey ¶
func (p *GfSpPieceOp) ECPieceKey(objectID uint64, segmentIdx uint32, replicateIdx uint32) string
func (*GfSpPieceOp) ECPieceSize ¶
func (*GfSpPieceOp) MaxSegmentPieceSize ¶
func (p *GfSpPieceOp) MaxSegmentPieceSize(payloadSize uint64, maxSegmentSize uint64) int64
func (*GfSpPieceOp) SegmentPieceCount ¶
func (p *GfSpPieceOp) SegmentPieceCount(payloadSize uint64, maxSegmentSize uint64) uint32
func (*GfSpPieceOp) SegmentPieceKey ¶
func (p *GfSpPieceOp) SegmentPieceKey(objectID uint64, segmentIdx uint32) string
func (*GfSpPieceOp) SegmentPieceSize ¶
func (p *GfSpPieceOp) SegmentPieceSize(payloadSize uint64, segmentIdx uint32, maxSegmentSize uint64) int64
Click to show internal directories.
Click to hide internal directories.