gfsppieceop

package
v0.2.2-hf.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 30, 2023 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

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 (p *GfSpPieceOp) ECPieceSize(payloadSize uint64, segmentIdx uint32, maxSegmentSize uint64, dataChunkNum uint32) int64

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL