offheap

package
v0.0.0-...-f122ace Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SliceByteToUInt8List

func SliceByteToUInt8List(seg *capn.Segment, m []byte) capn.UInt8List

func UInt8ListToSliceByte

func UInt8ListToSliceByte(p capn.UInt8List) []byte

Types

type CellCapn

type CellCapn C.Struct

func AutoNewCellCapn

func AutoNewCellCapn(s *C.Segment) CellCapn

func CellGoToCapn

func CellGoToCapn(seg *capn.Segment, src *Cell) CellCapn

func NewCellCapn

func NewCellCapn(s *C.Segment) CellCapn

func NewRootCellCapn

func NewRootCellCapn(s *C.Segment) CellCapn

func ReadRootCellCapn

func ReadRootCellCapn(s *C.Segment) CellCapn

func (CellCapn) ByteKey

func (s CellCapn) ByteKey() []byte

func (CellCapn) MarshalJSON

func (s CellCapn) MarshalJSON() (bs []byte, err error)

func (CellCapn) SetByteKey

func (s CellCapn) SetByteKey(v []byte)

func (CellCapn) SetUnHashedKey

func (s CellCapn) SetUnHashedKey(v uint64)

func (CellCapn) SetValue

func (s CellCapn) SetValue(v []byte)

func (CellCapn) UnHashedKey

func (s CellCapn) UnHashedKey() uint64

func (CellCapn) Value

func (s CellCapn) Value() []byte

type CellCapn_List

type CellCapn_List C.PointerList

func NewCellCapnList

func NewCellCapnList(s *C.Segment, sz int) CellCapn_List

func (CellCapn_List) At

func (s CellCapn_List) At(i int) CellCapn

func (CellCapn_List) Len

func (s CellCapn_List) Len() int

func (CellCapn_List) Set

func (s CellCapn_List) Set(i int, item CellCapn)

func (CellCapn_List) ToArray

func (s CellCapn_List) ToArray() []CellCapn

type HashTableCapn

type HashTableCapn C.Struct

func AutoNewHashTableCapn

func AutoNewHashTableCapn(s *C.Segment) HashTableCapn

func HashTableGoToCapn

func HashTableGoToCapn(seg *capn.Segment, src *HashTable) HashTableCapn

func NewHashTableCapn

func NewHashTableCapn(s *C.Segment) HashTableCapn

func NewRootHashTableCapn

func NewRootHashTableCapn(s *C.Segment) HashTableCapn

func ReadRootHashTableCapn

func ReadRootHashTableCapn(s *C.Segment) HashTableCapn

func (HashTableCapn) ArraySize

func (s HashTableCapn) ArraySize() uint64

func (HashTableCapn) CellSz

func (s HashTableCapn) CellSz() uint64

func (HashTableCapn) Cells

func (s HashTableCapn) Cells() uint64

func (HashTableCapn) MarshalJSON

func (s HashTableCapn) MarshalJSON() (bs []byte, err error)

func (HashTableCapn) Mmm

func (s HashTableCapn) Mmm() MmapMallocCapn

func (HashTableCapn) Offheap

func (s HashTableCapn) Offheap() []byte

func (HashTableCapn) Population

func (s HashTableCapn) Population() uint64

func (HashTableCapn) SetArraySize

func (s HashTableCapn) SetArraySize(v uint64)

func (HashTableCapn) SetCellSz

func (s HashTableCapn) SetCellSz(v uint64)

func (HashTableCapn) SetCells

func (s HashTableCapn) SetCells(v uint64)

func (HashTableCapn) SetMmm

func (s HashTableCapn) SetMmm(v MmapMallocCapn)

func (HashTableCapn) SetOffheap

func (s HashTableCapn) SetOffheap(v []byte)

func (HashTableCapn) SetPopulation

func (s HashTableCapn) SetPopulation(v uint64)

func (HashTableCapn) SetZeroCell

func (s HashTableCapn) SetZeroCell(v CellCapn)

func (HashTableCapn) SetZeroUsed

func (s HashTableCapn) SetZeroUsed(v bool)

func (HashTableCapn) ZeroCell

func (s HashTableCapn) ZeroCell() CellCapn

func (HashTableCapn) ZeroUsed

func (s HashTableCapn) ZeroUsed() bool

type HashTableCapn_List

type HashTableCapn_List C.PointerList

func NewHashTableCapnList

func NewHashTableCapnList(s *C.Segment, sz int) HashTableCapn_List

func (HashTableCapn_List) At

func (HashTableCapn_List) Len

func (s HashTableCapn_List) Len() int

func (HashTableCapn_List) Set

func (s HashTableCapn_List) Set(i int, item HashTableCapn)

func (HashTableCapn_List) ToArray

func (s HashTableCapn_List) ToArray() []HashTableCapn

type IteratorCapn

type IteratorCapn C.Struct

func AutoNewIteratorCapn

func AutoNewIteratorCapn(s *C.Segment) IteratorCapn

func IteratorGoToCapn

func IteratorGoToCapn(seg *capn.Segment, src *Iterator) IteratorCapn

func NewIteratorCapn

func NewIteratorCapn(s *C.Segment) IteratorCapn

func NewRootIteratorCapn

func NewRootIteratorCapn(s *C.Segment) IteratorCapn

func ReadRootIteratorCapn

func ReadRootIteratorCapn(s *C.Segment) IteratorCapn

func (IteratorCapn) Cur

func (s IteratorCapn) Cur() CellCapn

func (IteratorCapn) MarshalJSON

func (s IteratorCapn) MarshalJSON() (bs []byte, err error)

func (IteratorCapn) Pos

func (s IteratorCapn) Pos() int64

func (IteratorCapn) SetCur

func (s IteratorCapn) SetCur(v CellCapn)

func (IteratorCapn) SetPos

func (s IteratorCapn) SetPos(v int64)

func (IteratorCapn) SetTab

func (s IteratorCapn) SetTab(v HashTableCapn)

func (IteratorCapn) Tab

func (s IteratorCapn) Tab() HashTableCapn

type IteratorCapn_List

type IteratorCapn_List C.PointerList

func NewIteratorCapnList

func NewIteratorCapnList(s *C.Segment, sz int) IteratorCapn_List

func (IteratorCapn_List) At

func (IteratorCapn_List) Len

func (s IteratorCapn_List) Len() int

func (IteratorCapn_List) Set

func (s IteratorCapn_List) Set(i int, item IteratorCapn)

func (IteratorCapn_List) ToArray

func (s IteratorCapn_List) ToArray() []IteratorCapn

type MmapMallocCapn

type MmapMallocCapn C.Struct

func AutoNewMmapMallocCapn

func AutoNewMmapMallocCapn(s *C.Segment) MmapMallocCapn

func MmapMallocGoToCapn

func MmapMallocGoToCapn(seg *capn.Segment, src *MmapMalloc) MmapMallocCapn

func NewMmapMallocCapn

func NewMmapMallocCapn(s *C.Segment) MmapMallocCapn

func NewRootMmapMallocCapn

func NewRootMmapMallocCapn(s *C.Segment) MmapMallocCapn

func ReadRootMmapMallocCapn

func ReadRootMmapMallocCapn(s *C.Segment) MmapMallocCapn

func (MmapMallocCapn) BytesAlloc

func (s MmapMallocCapn) BytesAlloc() int64

func (MmapMallocCapn) Fd

func (s MmapMallocCapn) Fd() int64

func (MmapMallocCapn) FileBytesLen

func (s MmapMallocCapn) FileBytesLen() int64

func (MmapMallocCapn) MarshalJSON

func (s MmapMallocCapn) MarshalJSON() (bs []byte, err error)

func (MmapMallocCapn) Mem

func (s MmapMallocCapn) Mem() []byte

func (MmapMallocCapn) Path

func (s MmapMallocCapn) Path() string

func (MmapMallocCapn) SetBytesAlloc

func (s MmapMallocCapn) SetBytesAlloc(v int64)

func (MmapMallocCapn) SetFd

func (s MmapMallocCapn) SetFd(v int64)

func (MmapMallocCapn) SetFileBytesLen

func (s MmapMallocCapn) SetFileBytesLen(v int64)

func (MmapMallocCapn) SetMem

func (s MmapMallocCapn) SetMem(v []byte)

func (MmapMallocCapn) SetPath

func (s MmapMallocCapn) SetPath(v string)

type MmapMallocCapn_List

type MmapMallocCapn_List C.PointerList

func NewMmapMallocCapnList

func NewMmapMallocCapnList(s *C.Segment, sz int) MmapMallocCapn_List

func (MmapMallocCapn_List) At

func (MmapMallocCapn_List) Len

func (s MmapMallocCapn_List) Len() int

func (MmapMallocCapn_List) Set

func (s MmapMallocCapn_List) Set(i int, item MmapMallocCapn)

func (MmapMallocCapn_List) ToArray

func (s MmapMallocCapn_List) ToArray() []MmapMallocCapn

Jump to

Keyboard shortcuts

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