verification

package
v5.0.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2021 License: Apache-2.0 Imports: 4 Imported by: 54

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KVChecksum

type KVChecksum struct {
	// contains filtered or unexported fields
}

func MakeKVChecksum

func MakeKVChecksum(bytes uint64, kvs uint64, checksum uint64) KVChecksum

func NewKVChecksum

func NewKVChecksum(checksum uint64) *KVChecksum

func (*KVChecksum) Add

func (c *KVChecksum) Add(other *KVChecksum)

func (KVChecksum) MarshalJSON

func (c KVChecksum) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*KVChecksum) MarshalLogObject

func (c *KVChecksum) MarshalLogObject(encoder zapcore.ObjectEncoder) error

MarshalLogObject implements the zapcore.ObjectMarshaler interface.

func (*KVChecksum) Sum

func (c *KVChecksum) Sum() uint64

func (*KVChecksum) SumKVS

func (c *KVChecksum) SumKVS() uint64

func (*KVChecksum) SumSize

func (c *KVChecksum) SumSize() uint64

func (*KVChecksum) Update

func (c *KVChecksum) Update(kvs []common.KvPair)

func (*KVChecksum) UpdateOne

func (c *KVChecksum) UpdateOne(kv common.KvPair)

Jump to

Keyboard shortcuts

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