Documentation ¶
Overview ¶
Package utils generic tool method implementation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AdjustNToPowerOfTwo ¶
AdjustNToPowerOfTwo adjust n to the first value greater than or equal its 2^n.
func IsPowerOfTwo ¶
IsPowerOfTwo check whether n is 2 to the nth power.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.