internal

package
v9.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Abs64

func Abs64(v int64) int64

Abs64 calculates the absolute value of a 64-bit integer.

func CreateDummyBlob

func CreateDummyBlob(hash plumbing.Hash, fails ...bool) (*object.Blob, error)

CreateDummyBlob constructs a fake object.Blob with empty contents. Optionally returns an error if read or written.

func Max

func Max(a int, b int) int

Max calculates the maximum of two 32-bit integers.

func Max64

func Max64(a int64, b int64) int64

Max64 calculates the maximum of two 64-bit integers.

func Min

func Min(a int, b int) int

Min calculates the minimum of two 32-bit integers.

func Min64

func Min64(a int64, b int64) int64

Min64 calculates the minimum of two 64-bit integers.

Types

This section is empty.

Directories

Path Synopsis
Package pb is a generated protocol buffer package.
Package pb is a generated protocol buffer package.

Jump to

Keyboard shortcuts

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