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) ParseChallengeIdx(challengeKey string) (uint32, int32, error)
- func (p *GfSpPieceOp) ParseECPieceKeyIdx(ECPieceKey string) (uint32, int32, error)
- func (p *GfSpPieceOp) ParseSegmentIdx(segmentKey string) (uint32, error)
- 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) ParseChallengeIdx ¶ added in v0.2.3
func (p *GfSpPieceOp) ParseChallengeIdx(challengeKey string) (uint32, int32, error)
func (*GfSpPieceOp) ParseECPieceKeyIdx ¶ added in v0.2.3
func (p *GfSpPieceOp) ParseECPieceKeyIdx(ECPieceKey string) (uint32, int32, error)
func (*GfSpPieceOp) ParseSegmentIdx ¶ added in v0.2.3
func (p *GfSpPieceOp) ParseSegmentIdx(segmentKey string) (uint32, error)
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.