stack

package
v0.6.4-alpha.5 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2019 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Overview

Package stack implements a growable uint64 stack

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Stack

type Stack struct {
	// contains filtered or unexported fields
}

func (*Stack) Get

func (s *Stack) Get(i int) uint64

func (*Stack) Len

func (s *Stack) Len() int

func (*Stack) Pop

func (s *Stack) Pop() uint64

func (*Stack) Push

func (s *Stack) Push(b uint64)

func (*Stack) Set

func (s *Stack) Set(i int, v uint64)

func (*Stack) SetTop

func (s *Stack) SetTop(v uint64)

func (*Stack) Top

func (s *Stack) Top() uint64

Jump to

Keyboard shortcuts

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