util

package
v0.0.0-...-c961ae2 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2023 License: Unlicense Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ByteStack

type ByteStack []byte

func (ByteStack) Len

func (s ByteStack) Len() int

func (ByteStack) Peek

func (s ByteStack) Peek() byte

func (*ByteStack) Pop

func (s *ByteStack) Pop() byte

func (*ByteStack) Push

func (s *ByteStack) Push(x byte)

type IntHeap

type IntHeap []int

func (IntHeap) Len

func (h IntHeap) Len() int

func (*IntHeap) Pop

func (h *IntHeap) Pop() any

func (*IntHeap) Push

func (h *IntHeap) Push(x any)

func (IntHeap) Swap

func (h IntHeap) Swap(i, j int)

type MaxIntHeap

type MaxIntHeap struct {
	IntHeap
}

func (MaxIntHeap) Less

func (h MaxIntHeap) Less(i, j int) bool

type MinIntHeap

type MinIntHeap struct {
	IntHeap
}

func (MinIntHeap) Less

func (h MinIntHeap) Less(i, j int) bool

Jump to

Keyboard shortcuts

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