- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 199 for mmap64 (0.18 sec)
-
src/syscall/syscall_bsd.go
//sysnb ioctlPtr(fd int, req uint, arg unsafe.Pointer) (err error) = SYS_IOCTL 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) } func Munmap(b []byte) (err error) { return mapper.Munmap(b)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 07 10:34:48 UTC 2023 - 13.6K bytes - Viewed (0) -
src/syscall/syscall_aix.go
var mapper = &mmapper{ active: make(map[*byte][]byte), mmap: mmap, munmap: munmap, } //sys mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error) //sys munmap(addr uintptr, length uintptr) (err error) 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 29 13:50:55 UTC 2024 - 17.9K bytes - Viewed (0) -
src/cmd/internal/obj/objfile.go
o.Write(w.Writer) }) // TODO: output in sorted order? // Currently tools (cmd/internal/goobj package) doesn't use mmap, // and it just read it into a map in memory upfront. If it uses // mmap, if the output is sorted, it probably could avoid reading // into memory and just do lookups in the mmap'd object file. } // return the number of aux symbols s have. func nAuxSym(s *LSym) int { n := 0 if s.Gotype != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 24K bytes - Viewed (0) -
src/runtime/malloc.go
// s390x TASK_SIZE 1<<64 (64 bit addresses) // // These limits may increase over time, but are currently at // most 48 bits except on s390x. On all architectures, Linux // starts placing mmap'd regions at addresses that are // significantly below 48 bits, so even if it's possible to // exceed Go's 48 bit limit, it's extremely unlikely in // practice. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 59.6K bytes - Viewed (0) -
src/runtime/os2_aix.go
return p[0], p[1], int32(err) } // mmap calls the mmap system call. // We only pass the lower 32 bits of file offset to the // assembly routine; the higher bits (if required), should be provided // by the assembly routine as 0. // The err result is an OS error code such as ENOMEM. // //go:nosplit func mmap(addr unsafe.Pointer, n uintptr, prot, flags, fd int32, off uint32) (unsafe.Pointer, int) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 14 17:22:18 UTC 2023 - 20.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MapsTest.java
Map<Object, Integer> map3 = ImmutableMap.<Object, Integer>of(1, 2); Map<Number, Object> map4 = ImmutableMap.<Number, Object>of(1, 2); Map<Number, Number> map5 = ImmutableMap.<Number, Number>of(1, 2); Map<Number, Integer> map6 = ImmutableMap.<Number, Integer>of(1, 2); Map<Integer, Object> map7 = ImmutableMap.<Integer, Object>of(1, 2);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 17 15:27:58 UTC 2024 - 67.1K bytes - Viewed (0) -
src/runtime/mem.go
// Ready. However, the Prepared state gives us flexibility for performance // purposes. For example, on POSIX-y operating systems, Reserved is usually a // private anonymous mmap'd region with PROT_NONE set, and to transition // to Ready would require setting PROT_READ|PROT_WRITE. However the // underspecification of Prepared lets us use just MADV_FREE to transition from
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 19:05:10 UTC 2023 - 6.7K bytes - Viewed (0) -
src/runtime/sys_darwin.go
} return } func osinit_hack_trampoline() // mmap is used to do low-level memory allocation via mmap. Don't allow stack // splits, since this function (used by sysAlloc) is called in a lot of low-level // parts of the runtime and callers often assume it won't acquire any locks. // //go:nosplit func mmap(addr unsafe.Pointer, n uintptr, prot, flags, fd int32, off uint32) (unsafe.Pointer, int) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:17:26 UTC 2024 - 23.9K bytes - Viewed (0) -
test/fixedbugs/issue15002.go
) // Use global variables so the compiler // doesn't know that they are constants. var p = syscall.Getpagesize() var zero = 0 var one = 1 func main() { // Allocate 2 pages of memory. b, err := syscall.Mmap(-1, 0, 2*p, syscall.PROT_READ|syscall.PROT_WRITE, syscall.MAP_ANON|syscall.MAP_PRIVATE) if err != nil { panic(err) } // Mark the second page as faulting. err = syscall.Mprotect(b[p:], syscall.PROT_NONE)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 3.2K bytes - Viewed (0) -
test/codegen/noextend.go
if int32(*x64) == sval32[0] { return true } // ppc64x:-"MOVW\tR\\d+,\\sR\\d+" if uint32(*u64) == val32[0] { return true } return false } func cmp64(u8 *uint8, x16 *int16, u16 *uint16, x32 *int32, u32 *uint32) bool { // ppc64x:-"MOVBZ\tR\\d+,\\sR\\d+" if uint64(*u8) == val64[0] { return true } // ppc64x:-"MOVH\tR\\d+,\\sR\\d+"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 14 17:22:18 UTC 2023 - 5.4K bytes - Viewed (0)