package
0.1.0
Repository: https://github.com/yerden/go-dpdk.git
Documentation: pkg.go.dev

# Functions

Assert allows to perform one-lined tests and, optionally, print some diagnostic info if the test failed.
CopyFromBytes copies no more than max bytes from src to an area pointed to by dst.
CopyToBytes copies no more than max bytes from an area pointed to by src to dst.
FprintStackFrames prints calling stack of the error into specified writer.
MakeSlice returns byte slice specified by pointer and of len max.
Memset initializes memory pointed by p and with length n.
NewMap creates instance of a Map.
NewRegistryArray creates new Registry as a linear array.
NewRegistryMap creates new Registry which stores all objects in a map.
PutUint16 stores uint16 value into an area pointed to dst.
PutUint32 stores uint32 value into an area pointed to dst.
PutUint64 stores uint64 value into an area pointed to dst.
SplitFunc generates bufio.SplitFunc to use in bufio.Scanner.

# Variables

DefaultSplitter parses tokens as space-separated words treating double and signal quotation mark as 'quotes'.
Splitter parsing errors.
Splitter parsing errors.

# Structs

CStruct is a GO structure representation of a C array.
Map is an []int array-based implementation of a Set.
Splitter is used to parse string into words.

# Interfaces

Registry implements CRUD operations to map ID and objects.
Set represents a set of integer numbers.

# Type aliases

ObjectID is the ID of some opaque object stored in Registry.