methods

package
v0.21.0 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BitMapLength

func BitMapLength(numOfBits uint64) uint64

BitMapLength returns the number of required bytes to fit the number of bits representing boolean values.

func BitMapPosition

func BitMapPosition(index uint64) (uint64, uint64)

BitMapPosition returns the index of byte and the bit inside that byte where the value for indexed boolean value exists.

Types

type Config

type Config struct {
	Type               reflect.Type
	IgnoreFields       map[string]bool
	NumOfFields        uint64
	NumOfBooleanFields uint64
}

Config stores config for generators.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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