- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 144 for __munmap (0.1 sec)
-
src/runtime/race/race_darwin_amd64.go
//go:cgo_import_dynamic __bzero __bzero "" //go:cgo_import_dynamic __error __error "" //go:cgo_import_dynamic __fork __fork "" //go:cgo_import_dynamic __mmap __mmap "" //go:cgo_import_dynamic __munmap __munmap "" //go:cgo_import_dynamic __stack_chk_fail __stack_chk_fail "" //go:cgo_import_dynamic __stack_chk_guard __stack_chk_guard "" //go:cgo_import_dynamic _dyld_get_image_header _dyld_get_image_header ""
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 16 19:29:22 UTC 2023 - 5.6K bytes - Viewed (0) -
src/runtime/race/race_darwin_arm64.go
//go:cgo_import_dynamic _NSGetExecutablePath _NSGetExecutablePath "" //go:cgo_import_dynamic __error __error "" //go:cgo_import_dynamic __fork __fork "" //go:cgo_import_dynamic __mmap __mmap "" //go:cgo_import_dynamic __munmap __munmap "" //go:cgo_import_dynamic __stack_chk_fail __stack_chk_fail "" //go:cgo_import_dynamic __stack_chk_guard __stack_chk_guard "" //go:cgo_import_dynamic _dyld_get_image_header _dyld_get_image_header ""
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 16 19:29:22 UTC 2023 - 5.6K bytes - Viewed (0) -
src/cmd/link/internal/ld/outbuf_mmap.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 19 11:20:31 UTC 2024 - 1.4K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/mmap_nomremap.go
//go:build aix || darwin || dragonfly || freebsd || openbsd || solaris || zos package unix var mapper = &mmapper{ active: make(map[*byte][]byte), mmap: mmap, munmap: munmap,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 05 22:18:42 UTC 2024 - 343 bytes - Viewed (0) -
src/runtime/cgo/gcc_mmap.c
return (uintptr_t)errno; } return (uintptr_t)p; } void x_cgo_munmap(void *addr, uintptr_t length) { int r; _cgo_tsan_acquire(); r = munmap(addr, length); _cgo_tsan_release(); if (r < 0) { /* The Go runtime is not prepared for munmap to fail. */ abort(); }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 25 20:58:13 UTC 2023 - 916 bytes - Viewed (0) -
src/runtime/export_mmap_test.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build unix // Export guts for testing. package runtime var Mmap = mmap var Munmap = munmap const ENOMEM = _ENOMEM const MAP_ANON = _MAP_ANON const MAP_PRIVATE = _MAP_PRIVATE const MAP_FIXED = _MAP_FIXED func GetPhysPageSize() uintptr { return physPageSize
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 29 16:24:51 UTC 2022 - 429 bytes - Viewed (0) -
src/runtime/cgo/mmap.go
// C/C++ code; this permits that code to see the Go code as normal // program addresses that have been initialized. // To support interceptors that look for both mmap and munmap, // also call the C library for munmap. //go:cgo_import_static x_cgo_mmap //go:linkname x_cgo_mmap x_cgo_mmap //go:linkname _cgo_mmap _cgo_mmap var x_cgo_mmap byte var _cgo_mmap = &x_cgo_mmap //go:cgo_import_static x_cgo_munmap
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 25 20:58:13 UTC 2023 - 1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/telemetry/internal/mmap/mmap_unix.go
} return Data{f, data[:n], nil}, nil } func munmapFile(d Data) error { if len(d.Data) == 0 { return nil } err := syscall.Munmap(d.Data) if err != nil { return &fs.PathError{Op: "munmap", Path: d.f.Name(), Err: err} } return nil
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 30 21:40:49 UTC 2024 - 1.1K bytes - Viewed (0) -
src/runtime/mmap.go
// The err result is an OS error code such as ENOMEM. func mmap(addr unsafe.Pointer, n uintptr, prot, flags, fd int32, off uint32) (p unsafe.Pointer, err int) // munmap calls the munmap system call. It is implemented in assembly.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 25 20:58:13 UTC 2023 - 844 bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/telemetry/internal/mmap/mmap.go
} // Mmap maps the given file into memory. // When remapping a file, pass the most recently returned Data. func Mmap(f *os.File, data *Data) (Data, error) { return mmapFile(f, data) } // Munmap unmaps the given file from memory. func Munmap(d *Data) error { // d.f.Close() on Windows still gets an error return munmapFile(*d)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 30 21:40:49 UTC 2024 - 1002 bytes - Viewed (0)