- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 205 for cmap (0.21 sec)
-
src/runtime/os_openbsd.go
func osStackAlloc(s *mspan) { osStackRemap(s, _MAP_STACK) } func osStackFree(s *mspan) { // Undo MAP_STACK. osStackRemap(s, 0) } func osStackRemap(s *mspan, flags int32) { a, err := mmap(unsafe.Pointer(s.base()), s.npages*pageSize, _PROT_READ|_PROT_WRITE, _MAP_PRIVATE|_MAP_ANON|_MAP_FIXED|flags, -1, 0) if err != 0 || uintptr(a) != s.base() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 6.2K bytes - Viewed (0) -
src/syscall/syscall_linux.go
// mmap varies by architecture; see syscall_linux_*.go. //sys munmap(addr uintptr, length uintptr) (err error) var mapper = &mmapper{ active: make(map[*byte][]byte), mmap: mmap, munmap: munmap, } func Mmap(fd int, offset int64, length int, prot int, flags int) (data []byte, err error) { return mapper.Mmap(fd, offset, length, prot, flags) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 20:12:46 UTC 2024 - 35.7K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_mipsx.go
func setTimeval(sec, usec int64) Timeval { return Timeval{Sec: int32(sec), Usec: int32(usec)} } //sys mmap2(addr uintptr, length uintptr, prot int, flags int, fd int, pageOffset uintptr) (xaddr uintptr, err error) func mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error) { page := uintptr(offset / 4096) if offset != int64(page)*4096 { return 0, EINVAL }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 5.8K bytes - Viewed (0) -
src/cmd/go/internal/cache/cache.go
func GetMmap(c Cache, id ActionID) ([]byte, Entry, error) { entry, err := c.Get(id) if err != nil { return nil, entry, err } md, err := mmap.Mmap(c.OutputFile(entry.OutputID)) if err != nil { return nil, Entry{}, err } if int64(len(md.Data)) != entry.Size { return nil, Entry{}, &entryNotFoundError{Err: errors.New("file incomplete")} }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Mar 09 14:19:39 UTC 2024 - 20.3K bytes - Viewed (0) -
src/runtime/sys_linux_s390x.s
// initialize essential registers XOR R0, R0 MOVD -32(R15), R7 CMP R7, $1234 BEQ 2(PC) MOVD R0, 0(R0) // Initialize m->procid to Linux tid SYSCALL $SYS_gettid MOVD -24(R15), R9 // fn MOVD -16(R15), R8 // g MOVD -8(R15), R7 // m CMPBEQ R7, $0, nog CMP R8, $0 BEQ nog MOVD R2, m_procid(R7) // In child, set up new stack
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 24 18:53:44 UTC 2023 - 12.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_mips64x.go
//sys sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) //sys recvmsg(s int, msg *Msghdr, flags int) (n int, err error) //sys sendmsg(s int, msg *Msghdr, flags int) (n int, err error) //sys mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error) //sys futimesat(dirfd int, path string, times *[2]Timeval) (err error) //sysnb Gettimeofday(tv *Timeval) (err error)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 5.8K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_loong64.go
//sys sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) //sys recvmsg(s int, msg *Msghdr, flags int) (n int, err error) //sys sendmsg(s int, msg *Msghdr, flags int) (n int, err error) //sys mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error) //sysnb Gettimeofday(tv *Timeval) (err error) func setTimespec(sec, nsec int64) Timespec {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 6.7K bytes - Viewed (0) -
src/syscall/syscall_linux_mipsx.go
func setTimeval(sec, usec int64) Timeval { return Timeval{Sec: int32(sec), Usec: int32(usec)} } //sys mmap2(addr uintptr, length uintptr, prot int, flags int, fd int, pageOffset uintptr) (xaddr uintptr, err error) func mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error) { page := uintptr(offset / 4096) if offset != int64(page)*4096 { return 0, EINVAL }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 22:23:07 UTC 2023 - 6.8K bytes - Viewed (0) -
pkg/kubelet/kubelet_node_status_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 08 19:23:19 UTC 2024 - 115.8K bytes - Viewed (0) -
src/internal/coverage/encodecounter/encode.go
// Notes: // - this version writes everything little-endian, which means // a call is needed to encode every value (expensive) // - we may want to move to a model in which we just blast out // all counters, or possibly mmap the file and do the write // implicitly. ctrb := make([]byte, 4) wrval := func(val uint32) error { var buf []byte var towr int if cfw.cflavor == coverage.CtrRaw {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 7.8K bytes - Viewed (0)