Registry / utility / ncw-directio

ncw-directio

JSON →
library1.0.5gogounverified

This library enables the use of Direct IO under all supported OSes of Go, bypassing the operating system's cache.

go get github.com/ncw/directio
INSTALL
IMPORT
SIG · NCW-DIRECTIO
N
ncw-directio
utilitygov1.0.5
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

directio
github.com/ncw/directio

Allocates an aligned block of memory for Direct IO operations.

package main import ( "fmt" "github.com/ncw/directio" ) func main() { block := directio.AlignedBlock(4096) fmt.Println("Aligned block size:", len(block)) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.5latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
ncw-directio — go get ncw-directio · libregistry