cdt

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2024 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StrHash

func StrHash(a1 any, a2 int) (uint, error)

Types

type Compare

type Compare func(*Dict, any, any, *Disc) int

type Data

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

type Dict

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

func Open

func Open(disc *Disc, mtd *Method) (*Dict, error)

func (*Dict) Close

func (d *Dict) Close() error

func (*Dict) Disc

func (d *Dict) Disc(disc *Disc) (*Disc, error)

func (*Dict) Extract

func (d *Dict) Extract() (*Link, error)

func (*Dict) Flatten

func (d *Dict) Flatten() (*Link, error)

func (*Dict) Method

func (d *Dict) Method(mtd *Method) (*Method, error)

func (*Dict) Renew

func (d *Dict) Renew(a0 any) (any, error)

func (*Dict) Restore

func (d *Dict) Restore(link *Link) error

func (*Dict) Size

func (d *Dict) Size() (int, error)

func (*Dict) Stat

func (d *Dict) Stat(a0 *Stat, a1 int) (int, error)

func (*Dict) View

func (d *Dict) View(dict *Dict) (*Dict, error)

func (*Dict) Walk

func (d *Dict) Walk(fn func(context.Context, *Dict, any, any) error, data any) error

type Disc

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

type Event

type Event func(*Dict, int, any, *Disc) int

type Free

type Free func(*Dict, any, *Disc)

type Hash

type Hash func(*Dict, any, *Disc) uint

type Hold

type Hold struct {
	// contains filtered or unexported fields
}
type Link struct {
	// contains filtered or unexported fields
}

func (*Link) Hash

func (l *Link) Hash() uint

func (*Link) Left

func (l *Link) Left() *Link

func (*Link) Right

func (l *Link) Right() *Link

func (*Link) SetHash

func (l *Link) SetHash(v uint)

func (*Link) SetLeft

func (l *Link) SetLeft(v *Link)

func (*Link) SetRight

func (l *Link) SetRight(v *Link)

type Make

type Make func(*Dict, any, *Disc) any

type Memory

type Memory func(*Dict, any, uint, *Disc) any

type Method

type Method struct {
	// contains filtered or unexported fields
}
type Search func(*Dict, any, int) any

type Stat

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

Jump to

Keyboard shortcuts

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