Documentation
¶
Overview ¶
Package bzero implements optimized memory zeroing, analogous to the BSD-flavored C function bzero(3).
Inspired by:
"Building Faster AMD64 Memset Routines", blog of Microsoft Security Response Center <https://msrc-blog.microsoft.com/2021/01/11/building-faster-amd64-memset-routines/>
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Int16 ¶ added in v1.0.0
func Int16(slice []int16)
Int16 fills the given []int16 slice with zeroes.
func Int32 ¶ added in v1.0.0
func Int32(slice []int32)
Int32 fills the given []int32 slice with zeroes.
func Int64 ¶ added in v1.0.0
func Int64(slice []int64)
Int64 fills the given []int64 slice with zeroes.
func Uint16 ¶ added in v1.0.0
func Uint16(slice []uint16)
Uint16 fills the given []uint16 slice with zeroes.
func Uint32 ¶ added in v1.0.0
func Uint32(slice []uint32)
Uint32 fills the given []uint32 slice with zeroes.
func Uint64 ¶ added in v1.0.0
func Uint64(slice []uint64)
Uint64 fills the given []uint64 slice with zeroes.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.