- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 274 for pmap (0.04 sec)
-
src/runtime/debug/panic_test.go
if runtime.GOOS == "netbsd" && runtime.GOARCH == "arm" { t.Skip("netbsd-arm doesn't provide fault address (golang.org/issue/45026)") } m, err := syscall.Mmap(-1, 0, 0x1000, syscall.PROT_READ /* Note: no PROT_WRITE */, syscall.MAP_SHARED|syscall.MAP_ANON) if err != nil { t.Fatalf("can't map anonymous memory: %s", err) } defer syscall.Munmap(m) old := debug.SetPanicOnFault(true) defer debug.SetPanicOnFault(old) const lowBits = 0x3e7
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 1.4K bytes - Viewed (0) -
src/cmd/go/internal/mmap/mmap_windows.go
// Copyright 2011 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package mmap import ( "fmt" "os" "syscall" "unsafe" "internal/syscall/windows" ) func mmapFile(f *os.File) (Data, error) { st, err := f.Stat() if err != nil { return Data{}, err } size := st.Size() if size == 0 { return Data{f, nil}, nil
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 15 21:57:36 UTC 2023 - 1K bytes - Viewed (0) -
internal/config/identity/openid/jwt.go
"github.com/minio/minio/internal/auth" xnet "github.com/minio/pkg/v3/net" "github.com/minio/pkg/v3/policy" ) type publicKeys struct { *sync.RWMutex // map of kid to public key pkMap map[string]interface{} } func (pk *publicKeys) parseAndAdd(b io.Reader) error { var jwk JWKS err := json.NewDecoder(b).Decode(&jwk) if err != nil { return err }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu May 30 18:10:41 UTC 2024 - 8.3K bytes - Viewed (0) -
src/runtime/vdso_freebsd_x86.go
devPath[9] = digits[idx] fd := open(&devPath[0], 0 /* O_RDONLY */ |_O_CLOEXEC, 0) if fd < 0 { atomic.Casuintptr(&hpetDevMap[idx], 0, ^uintptr(0)) return } addr, mmapErr := mmap(nil, physPageSize, _PROT_READ, _MAP_SHARED, fd, 0) closefd(fd) newP := uintptr(addr) if mmapErr != 0 { newP = ^uintptr(0) } if !atomic.Casuintptr(&hpetDevMap[idx], 0, newP) && mmapErr == 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 1.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/syscall_unix.go
i = len(n) } return i } // Mmap manager, for use by operating system-specific implementations. type mmapper struct { sync.Mutex active map[*byte][]byte // active mappings; key is last byte in mapping mmap func(addr, length uintptr, prot, flags, fd int, offset int64) (uintptr, error) munmap func(addr uintptr, length uintptr) error }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 16.5K bytes - Viewed (0) -
src/cmd/link/internal/ld/link.go
compressDWARF bool Libdir []string Library []*sym.Library LibraryByPkg map[string]*sym.Library Shlibs []Shlib Textp []loader.Sym Moduledata loader.Sym PackageFile map[string]string PackageShlib map[string]string tramps []loader.Sym // trampolines compUnits []*sym.CompilationUnit // DWARF compilation units
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 19 15:59:22 UTC 2022 - 5.1K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/token_string.go
_ = x[_Defer-28] _ = x[_Else-29] _ = x[_Fallthrough-30] _ = x[_For-31] _ = x[_Func-32] _ = x[_Go-33] _ = x[_Goto-34] _ = x[_If-35] _ = x[_Import-36] _ = x[_Interface-37] _ = x[_Map-38] _ = x[_Package-39] _ = x[_Range-40] _ = x[_Return-41] _ = x[_Select-42] _ = x[_Struct-43] _ = x[_Switch-44] _ = x[_Type-45] _ = x[_Var-46] _ = x[tokenCount-47] }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 29 02:28:24 UTC 2020 - 1.7K bytes - Viewed (0) -
src/cmd/link/internal/ld/outbuf.go
} if out.isView { panic("can't copyHeap a view") } bufLen := len(out.buf) heapLen := len(out.heap) total := uint64(bufLen + heapLen) if heapLen != 0 { if err := out.Mmap(total); err != nil { // Mmap will copy out.heap over to out.buf Exitf("mapping output file failed: %v", err) } } return true } // maxOutBufHeapLen limits the growth of the heap area.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 17 19:51:29 UTC 2022 - 8.1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/telemetry/internal/mmap/mmap_windows.go
// Copyright 2011 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package mmap import ( "fmt" "os" "syscall" "unsafe" "golang.org/x/sys/windows" ) func mmapFile(f *os.File, previous *Data) (Data, error) { if previous != nil { munmapFile(*previous) } st, err := f.Stat() if err != nil { return Data{}, err
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:10:54 UTC 2024 - 1.5K bytes - Viewed (0) -
src/syscall/syscall_solaris.go
n = int(r0) if e1 != 0 { err = e1 } return } 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: Mon Feb 26 21:03:59 UTC 2024 - 15.7K bytes - Viewed (0)