domain

package
v0.0.0-...-6dfdce2 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2024 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

View Source
const ByteSize = 512
View Source
const WordSize = 64

Variables

This section is empty.

Functions

This section is empty.

Types

type Block

type Block [WordSize]Word

func (*Block) Bytes

func (b *Block) Bytes() []byte

type Store

type Store interface {
	ReadBlock(id Word, b *Block) error
	AddBlock(b *Block) (Word, error)
	WriteBlock(id Word, b *Block) (Word, error)
	FreeBlock(id Word) error
}

type Word

type Word uint64

Jump to

Keyboard shortcuts

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