Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ovadvise (0.55 sec)

  1. src/runtime/sys_darwin.go

    	KeepAlive(addr) // Just for consistency. Hopefully addr is not a Go address.
    }
    func munmap_trampoline()
    
    //go:nosplit
    //go:cgo_unsafe_args
    func madvise(addr unsafe.Pointer, n uintptr, flags int32) {
    	libcCall(unsafe.Pointer(abi.FuncPCABI0(madvise_trampoline)), unsafe.Pointer(&addr))
    	KeepAlive(addr) // Just for consistency. Hopefully addr is not a Go address.
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  2. src/syscall/syscall_linux.go

    	return mapper.Mmap(fd, offset, length, prot, flags)
    }
    
    func Munmap(b []byte) (err error) {
    	return mapper.Munmap(b)
    }
    
    //sys	Madvise(b []byte, advice int) (err error)
    //sys	Mprotect(b []byte, prot int) (err error)
    //sys	Mlock(b []byte) (err error)
    //sys	Munlock(b []byte) (err error)
    //sys	Mlockall(flags int) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 35.7K bytes
    - Viewed (0)
Back to top