blist

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompatorByte

func CompatorByte(s1, s2 []byte) int

func CompatorMath

func CompatorMath(s1, s2 []byte) int

CompatorMath 字节看书法的差异, 使用与数学类比较

Types

type BinaryList

type BinaryList struct {
	IsDebug int
	Count   int64
	// contains filtered or unexported fields
}

func New

func New() *BinaryList

func (*BinaryList) Get

func (bl *BinaryList) Get(key []byte) ([]byte, bool)

func (*BinaryList) Put

func (bl *BinaryList) Put(key, value []byte) bool

func (*BinaryList) String

func (bl *BinaryList) String() string

type Compare

type Compare func([]byte, []byte) int

type Node

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

func (*Node) Key

func (n *Node) Key() []byte

Key get node key

func (*Node) String

func (n *Node) String() string

func (*Node) Value

func (n *Node) Value() []byte

Value get node value

Jump to

Keyboard shortcuts

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