internal

package
v9.1.1+incompatible Latest Latest
Warning

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

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

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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.

Source Files

  • dummies.go
  • math.go

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