memalign

package
v3.7.0 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2026 License: AGPL-3.0 Imports: 0 Imported by: 0

Documentation

Overview

Package memalign provides utilities for aligning memory.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Align

func Align(n int) int

Align rounds up n to the next multiple of 64. 64-byte alignment is used to match modern CPU cache line sizes.

func Align64

func Align64(n uint64) uint64

Align64 is like Align but for uint64 values.

Types

This section is empty.

Jump to

Keyboard shortcuts

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