cache-mmap

command module
v0.0.0-...-5efccc1 Latest Latest
Warning

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

Go to latest
Published: May 7, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

README

cache-mmap

n := new(name) n.admin = "ABCDEFG" data := unsafe.Pointer(&n)

dataRe := (*[100]byte)(data)

x, err = b.WriteAt((*dataRe)[0:], 10)
if err != nil {
	b.Flush()
	fmt.Println("Msync2", x)
	os.Exit(1)
}
fmt.Println("index2: ", x)

des := make([]byte, 100)
_, err = b.ReadAt(des, 10)
dataB := unsafe.Pointer(&des)

dataRes := (*name)(dataB)
fmt.Println("dataRes.admin", dataRes.admin)

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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