Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for mapassign_faststr0 (0.24 sec)

  1. src/reflect/value.go

    	mapassign0(t, m, key, val)
    }
    
    //go:noescape
    func mapassign_faststr0(t *abi.Type, m unsafe.Pointer, key string, val unsafe.Pointer)
    
    func mapassign_faststr(t *abi.Type, m unsafe.Pointer, key string, val unsafe.Pointer) {
    	contentEscapes((*unsafeheader.String)(unsafe.Pointer(&key)).Data)
    	contentEscapes(val)
    	mapassign_faststr0(t, m, key, val)
    }
    
    //go:noescape
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  2. src/runtime/map.go

    	p := mapassign(t, h, key)
    	typedmemmove(t.Elem, p, elem)
    }
    
    //go:linkname reflect_mapassign_faststr reflect.mapassign_faststr0
    func reflect_mapassign_faststr(t *maptype, h *hmap, key string, elem unsafe.Pointer) {
    	p := mapassign_faststr(t, h, key)
    	typedmemmove(t.Elem, p, elem)
    }
    
    //go:linkname reflect_mapdelete reflect.mapdelete
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  3. test/live.go

    func f17b(p *byte) { // ERROR "live at entry to f17b: p$"
    	// key temporary
    	if b {
    		m2s[str()] = p // ERROR "live at call to mapassign_faststr: p$" "live at call to str: p$"
    	}
    	m2s[str()] = p // ERROR "live at call to mapassign_faststr: p$" "live at call to str: p$"
    	m2s[str()] = p // ERROR "live at call to mapassign_faststr: p$" "live at call to str: p$"
    }
    
    func f17c() {
    	// key and value temporaries
    	if b {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 18K bytes
    - Viewed (0)
  4. test/live_regabi.go

    func f17b(p *byte) { // ERROR "live at entry to f17b: p$"
    	// key temporary
    	if b {
    		m2s[str()] = p // ERROR "live at call to mapassign_faststr: p$" "live at call to str: p$"
    	}
    	m2s[str()] = p // ERROR "live at call to mapassign_faststr: p$" "live at call to str: p$"
    	m2s[str()] = p // ERROR "live at call to mapassign_faststr: p$" "live at call to str: p$"
    }
    
    func f17c() {
    	// key and value temporaries
    	if b {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 18.4K bytes
    - Viewed (0)
  5. src/runtime/map_faststr.go

    // See go.dev/issue/67401.
    //
    //go:linkname mapassign_faststr
    func mapassign_faststr(t *maptype, h *hmap, s string) unsafe.Pointer {
    	if h == nil {
    		panic(plainError("assignment to entry in nil map"))
    	}
    	if raceenabled {
    		callerpc := getcallerpc()
    		racewritepc(unsafe.Pointer(h), callerpc, abi.FuncPCABIInternal(mapassign_faststr))
    	}
    	if h.flags&hashWriting != 0 {
    		fatal("concurrent map writes")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  6. src/cmd/internal/goobj/builtinlist.go

    	{"runtime.mapassign", 1},
    	{"runtime.mapassign_fast32", 1},
    	{"runtime.mapassign_fast32ptr", 1},
    	{"runtime.mapassign_fast64", 1},
    	{"runtime.mapassign_fast64ptr", 1},
    	{"runtime.mapassign_faststr", 1},
    	{"runtime.mapiterinit", 1},
    	{"runtime.mapdelete", 1},
    	{"runtime.mapdelete_fast32", 1},
    	{"runtime.mapdelete_fast64", 1},
    	{"runtime.mapdelete_faststr", 1},
    	{"runtime.mapiternext", 1},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/typecheck/_builtin/runtime.go

    func mapassign_fast64(mapType *byte, hmap map[any]any, key uint64) (val *any)
    func mapassign_fast64ptr(mapType *byte, hmap map[any]any, key unsafe.Pointer) (val *any)
    func mapassign_faststr(mapType *byte, hmap map[any]any, key string) (val *any)
    func mapiterinit(mapType *byte, hmap map[any]any, hiter *any)
    func mapdelete(mapType *byte, hmap map[any]any, key *any)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/typecheck/builtin.go

    	{"mapassign", funcTag, 80},
    	{"mapassign_fast32", funcTag, 81},
    	{"mapassign_fast32ptr", funcTag, 90},
    	{"mapassign_fast64", funcTag, 82},
    	{"mapassign_fast64ptr", funcTag, 90},
    	{"mapassign_faststr", funcTag, 83},
    	{"mapiterinit", funcTag, 91},
    	{"mapdelete", funcTag, 91},
    	{"mapdelete_fast32", funcTag, 92},
    	{"mapdelete_fast64", funcTag, 93},
    	{"mapdelete_faststr", funcTag, 94},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 16.2K bytes
    - Viewed (0)
Back to top