bitmask

package
v0.0.0-...-0235693 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChangeMask

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

func ParseChangeMask

func ParseChangeMask(s string) (ChangeMask, error)

func (ChangeMask) String

func (c ChangeMask) String() string

type Command

type Command interface {
	String() string
}

func ParseCommands

func ParseCommands(r io.Reader) ([]Command, error)

type Mask

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

func (Mask) String

func (m Mask) String() string

type Poke

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

func ParsePoke

func ParsePoke(s string) (Poke, error)

func (Poke) String

func (c Poke) String() string

type Processor

type Processor struct {
	Programm []Command
	// contains filtered or unexported fields
}

func NewProcessor

func NewProcessor(cmds []Command) *Processor

func (*Processor) Poke

func (p *Processor) Poke(addr, value uint64)

func (*Processor) PokeV2

func (p *Processor) PokeV2(addr, value uint64)

func (*Processor) Process

func (p *Processor) Process() error

func (*Processor) ProcessV2

func (p *Processor) ProcessV2() error

func (*Processor) Sum

func (p *Processor) Sum() uint64

Jump to

Keyboard shortcuts

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