kubernetes/vendor/github.com/antlr4-go/antlr/v4/utils.go

func intMin(a, b int) int {}

func intMax(a, b int) int {}

type IntStack

var ErrEmptyStack

func (s *IntStack) Pop() (int, error) {}

func (s *IntStack) Push(e int) {}

const bitsPerWord

func indexForBit(bit int) int {}

//goland:noinspection GoUnusedExportedFunction,GoUnusedFunction
func wordForBit(data []uint64, bit int) uint64 {}

func maskForBit(bit int) uint64 {}

func wordsNeeded(bit int) int {}

type BitSet

// NewBitSet creates a new bitwise set
// TODO: See if we can replace with the standard library's BitSet
func NewBitSet() *BitSet {}

func (b *BitSet) add(value int) {}

func (b *BitSet) clear(index int) {}

func (b *BitSet) or(set *BitSet) {}

func (b *BitSet) remove(value int) {}

func (b *BitSet) contains(value int) bool {}

func (b *BitSet) minValue() int {}

func (b *BitSet) equals(other interface{}

func (b *BitSet) minLen() int {}

func (b *BitSet) length() int {}

func (b *BitSet) String() string {}

type AltDict

func NewAltDict() *AltDict {}

func (a *AltDict) Get(key string) interface{}

func (a *AltDict) put(key string, value interface{}

func (a *AltDict) values() []interface{}

func EscapeWhitespace(s string, escapeSpaces bool) string {}

//goland:noinspection GoUnusedExportedFunction
func TerminalNodeToStringArray(sa []TerminalNode) []string {}

//goland:noinspection GoUnusedExportedFunction
func PrintArrayJavaStyle(sa []string) string {}

// murmur hash
func murmurInit(seed int) int {}

func murmurUpdate(h int, value int) int {}

func murmurFinish(h int, numberOfWords int) int {}

func isDirectory(dir string) (bool, error) {}