- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 108 for pmap (0.19 sec)
-
src/cmd/link/internal/ld/outbuf_windows.go
Exitf("resize output file failed: %v", err) } low, high := uint32(filesize), uint32(filesize>>32) fmap, err := syscall.CreateFileMapping(syscall.Handle(out.f.Fd()), nil, syscall.PAGE_READWRITE, high, low, nil) if err != nil { return err } defer syscall.CloseHandle(fmap) ptr, err := syscall.MapViewOfFile(fmap, syscall.FILE_MAP_READ|syscall.FILE_MAP_WRITE, 0, 0, uintptr(filesize)) if err != nil { return err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 09 01:59:25 UTC 2022 - 2.3K bytes - Viewed (0) -
cni/pkg/install/testdata/invalid-map.conflist
Pengyuan Bian <******@****.***> 1625172474 -0700
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jul 01 20:47:54 UTC 2021 - 3 bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/CaseInsensitiveMapTest.java
map.putAll(m); assertThat(map.get("THREE"), is("3")); assertThat(map.get("FOUR"), is("4")); assertThat(map.size(), is(4)); } /** * @throws Exception */ @Test public void testPerformance() throws Exception { for (int j = 0; j < 3; ++j) { final int num = 100000; final Map<String, String> hmap = new HashMap<String, String>();
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 4K bytes - Viewed (0) -
src/runtime/runtime_mmap_test.go
} // Mmap should fail at a half page into the buffer. _, err = runtime.Mmap(unsafe.Pointer(uintptr(b)+ps/2), ps, 0, runtime.MAP_ANON|runtime.MAP_PRIVATE|runtime.MAP_FIXED, -1, 0) if err == 0 { t.Errorf("Mmap should have failed with half-page alignment %d, but succeeded: %v", ps/2, err) } // Mmap should succeed at a full page into the buffer.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 29 16:24:51 UTC 2022 - 1.8K bytes - Viewed (0) -
test/fixedbugs/issue52279.dir/lib.go
package lib type FMap[K comparable, V comparable] map[K]V //go:noinline func (m FMap[K, V]) Flip() FMap[V, K] { out := make(FMap[V, K]) return out } type MyType uint8 const ( FIRST MyType = 0 ) var typeStrs = FMap[MyType, string]{ FIRST: "FIRST", } func (self MyType) String() string { return typeStrs[self]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 10 19:15:31 UTC 2022 - 321 bytes - Viewed (0) -
src/runtime/cgo_mmap.go
//go:linkname _cgo_munmap _cgo_munmap var _cgo_munmap unsafe.Pointer // mmap is used to route the mmap system call through C code when using cgo, to // support sanitizer interceptors. 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
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 25 20:58:13 UTC 2023 - 2.4K bytes - Viewed (0) -
src/go/ast/commentmap.go
// entries of cmap for which a corresponding node exists in // the AST specified by node. func (cmap CommentMap) Filter(node Node) CommentMap { umap := make(CommentMap) Inspect(node, func(n Node) bool { if g := cmap[n]; len(g) > 0 { umap[n] = g } return true }) return umap } // Comments returns the list of comment groups in the comment map.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 8.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/telemetry/internal/mmap/mmap_unix.go
//go:build unix && (!solaris || go1.20) package mmap import ( "fmt" "io/fs" "os" "syscall" ) func mmapFile(f *os.File, _ *Data) (Data, error) { st, err := f.Stat() if err != nil { return Data{}, err } size := st.Size() pagesize := int64(os.Getpagesize()) if int64(int(size+(pagesize-1))) != size+(pagesize-1) { return Data{}, fmt.Errorf("%s: too large for mmap", f.Name()) } n := int(size)
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/mem_darwin.go
func sysFaultOS(v unsafe.Pointer, n uintptr) { mmap(v, n, _PROT_NONE, _MAP_ANON|_MAP_PRIVATE|_MAP_FIXED, -1, 0) } func sysReserveOS(v unsafe.Pointer, n uintptr) unsafe.Pointer { p, err := mmap(v, n, _PROT_NONE, _MAP_ANON|_MAP_PRIVATE, -1, 0) if err != 0 { return nil } return p } const _ENOMEM = 12 func sysMapOS(v unsafe.Pointer, n uintptr) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 19:05:10 UTC 2023 - 2K bytes - Viewed (0) -
src/internal/types/testdata/spec/assignability.go
_Pointer = *int _Func = func(x int) string _Interface = interface{ m() int } _Map = map[string]int _Chan = chan int Basic _Basic Array _Array Slice _Slice Struct _Struct Pointer _Pointer Func _Func Interface _Interface Map _Map Chan _Chan Defined _Struct ) func (Defined) m() int
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 09 17:24:42 UTC 2023 - 5.1K bytes - Viewed (0)