- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 274 for pmap (0.05 sec)
-
src/syscall/linkname_unix.go
//go:build unix package syscall import _ "unsafe" // for linkname // mmap should be an internal detail, // but widely used packages access it using linkname. // Notable members of the hall of shame include: // - modernc.org/memory // - github.com/ncruces/go-sqlite3 // // Do not remove or change the type signature. // See go.dev/issue/67401. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 532 bytes - Viewed (0) -
src/runtime/race/race_unix_test.go
) // Test that race detector does not crash when accessing non-Go allocated memory (issue 9136). func TestNonGoMemory(t *testing.T) { data, err := syscall.Mmap(-1, 0, 4096, syscall.PROT_READ|syscall.PROT_WRITE, syscall.MAP_ANON|syscall.MAP_PRIVATE) if err != nil { t.Fatalf("failed to mmap memory: %v", err) } defer syscall.Munmap(data) p := (*uint32)(unsafe.Pointer(&data[0])) atomic.AddUint32(p, 1) (*p)++ if *p != 2 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 09 15:36:26 UTC 2022 - 762 bytes - Viewed (0) -
test/typeparam/orderedmap.go
// Package orderedmap provides an ordered map, implemented as a binary tree. package main import ( "bytes" "context" "fmt" "runtime" ) type Ordered interface { ~int | ~int8 | ~int16 | ~int32 | ~int64 | ~uint | ~uint8 | ~uint16 | ~uint32 | ~uint64 | ~uintptr | ~float32 | ~float64 | ~string } // _Map is an ordered map. type _Map[K, V any] struct { root *node[K, V]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 01 19:45:34 UTC 2022 - 7.1K bytes - Viewed (0) -
src/syscall/mmap_unix_test.go
//go:build unix package syscall_test import ( "syscall" "testing" ) func TestMmap(t *testing.T) { b, err := syscall.Mmap(-1, 0, syscall.Getpagesize(), syscall.PROT_NONE, syscall.MAP_ANON|syscall.MAP_PRIVATE) if err != nil { t.Fatalf("Mmap: %v", err) } if err := syscall.Munmap(b); err != nil { t.Fatalf("Munmap: %v", err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 30 23:58:34 UTC 2022 - 500 bytes - Viewed (0) -
test/live2.go
func printnl() //go:noescape func useT40(*T40) type T40 struct { m map[int]int } func newT40() *T40 { ret := T40{} ret.m = make(map[int]int, 42) // ERROR "live at call to makemap: &ret$" return &ret } func bad40() { t := newT40() // ERROR "stack object ret T40$" "stack object .autotmp_[0-9]+ runtime.hmap$" printnl() // ERROR "live at call to printnl: ret$" useT40(t) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 21 23:29:33 UTC 2023 - 953 bytes - Viewed (0) -
test/typeparam/slices.go
func TestMap() { s1 := []int{1, 2, 3} s2 := _Map(s1, func(i int) float64 { return float64(i) * 2.5 }) if want := []float64{2.5, 5, 7.5}; !_Equal(s2, want) { panic(fmt.Sprintf("_Map(%v, ...) = %v, want %v", s1, s2, want)) } s3 := []string{"Hello", "World"} s4 := _Map(s3, strings.ToLower) if want := []string{"hello", "world"}; !_Equal(s4, want) { panic(fmt.Sprintf("_Map(%v, strings.ToLower) = %v, want %v", s3, s4, want)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 01 19:45:34 UTC 2022 - 7.8K bytes - Viewed (0) -
src/go/ast/example_test.go
// and AST nodes. cmap := ast.NewCommentMap(fset, f, f.Comments) // Remove the first variable declaration from the list of declarations. for i, decl := range f.Decls { if gen, ok := decl.(*ast.GenDecl); ok && gen.Tok == token.VAR { copy(f.Decls[i:], f.Decls[i+1:]) f.Decls = f.Decls[:len(f.Decls)-1] break } } // Use the comment map to filter comments that don't belong anymore
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 21:44:50 UTC 2024 - 6.1K bytes - Viewed (0) -
src/main/webapp/css/admin/bootstrap.min.css.map
row-cols($count) {\n & > * {\n flex: 0 0 100% / $count;\n max-width: 100% / $count;\n }\n}\n","// Breakpoint viewport sizes and media queries.\n//\n// Breakpoints are defined as a map of (name: minimum width), order from small to large:\n//\n// (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px)\n//\n// The map defined in the `$grid-breakpoints` global variable is used as the `$breakpoints` argument by default.\n\n// Name of the next breakpoint, or null for the last breakpoint.\n//\n// >>...
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Fri Feb 07 10:28:50 UTC 2020 - 626.8K bytes - Viewed (0) -
src/main/webapp/js/jquery-3.6.3.min.map
"appendChild","parentNode","removeChild","toType","version","jQuery","selector","context","fn","init","isArrayLike","length","prototype","jquery","constructor","toArray","get","num","pushStack","elems","ret","merge","prevObject","each","callback","map","elem","arguments","first","eq","last","even","grep","_elem","odd","len","j","end","sort","splice","extend","options","name","copy","copyIsArray","clone","target","deep","isPlainObject","Array","isArray","undefined","expando","Math","random","repl...
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Fri Feb 17 12:13:41 UTC 2023 - 135.2K bytes - Viewed (0) -
releasenotes/notes/concurrent-map-write.yaml
apiVersion: release-notes/v2 kind: bug-fix area: traffic-management releaseNotes: - |
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Mar 13 15:23:12 UTC 2024 - 171 bytes - Viewed (0)