hercules.v9: gopkg.in/src-d/hercules.v9/internal Index | Files | Directories

package internal

import "gopkg.in/src-d/hercules.v9/internal"

Index

Package Files

dummies.go math.go

func Abs64 Uses

func Abs64(v int64) int64

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

func CreateDummyBlob Uses

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 Uses

func Max(a int, b int) int

Max calculates the maximum of two 32-bit integers.

func Max64 Uses

func Max64(a int64, b int64) int64

Max64 calculates the maximum of two 64-bit integers.

func Min Uses

func Min(a int, b int) int

Min calculates the minimum of two 32-bit integers.

func Min64 Uses

func Min64(a int64, b int64) int64

Min64 calculates the minimum of two 64-bit integers.

Directories

PathSynopsis
burndown
core
levenshtein
pbPackage pb is a generated protocol buffer package.
plumbing
plumbing/identity
plumbing/uast
plumbing/uast/test
rbtree
test
test/fixtures
toposort
yaml

Package internal imports 4 packages (graph) and is imported by 2 packages. Updated 2019-04-26. Refresh now. Tools for package owners.