You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

mmap_nomremap.go 336B

12345678910111213
  1. // Copyright 2023 The Go Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style
  3. // license that can be found in the LICENSE file.
  4. //go:build aix || darwin || dragonfly || freebsd || openbsd || solaris
  5. package unix
  6. var mapper = &mmapper{
  7. active: make(map[*byte][]byte),
  8. mmap: mmap,
  9. munmap: munmap,
  10. }