cache

package
v0.0.0-...-6576c52 Latest Latest
Warning

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

Go to latest
Published: May 22, 2026 License: BSD-3-Clause, MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CacheOps

type CacheOps interface {
	Clean(addr unsafe.Pointer, size uintptr)
	Invalidate(addr unsafe.Pointer, size uintptr)
	CleanInvalidate(addr unsafe.Pointer, size uintptr)
}

type NoCache

type NoCache struct{}

NoCache is a zero-sized CacheOps implementation that performs no maintenance. Use it for buffers in non-cacheable memory regions.

func (NoCache) Clean

func (NoCache) Clean(addr unsafe.Pointer, size uintptr)

func (NoCache) CleanInvalidate

func (NoCache) CleanInvalidate(addr unsafe.Pointer, size uintptr)

func (NoCache) Invalidate

func (NoCache) Invalidate(addr unsafe.Pointer, size uintptr)

Jump to

Keyboard shortcuts

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