- Sort Score
- Result 10 results
- Languages All
Results 11 - 13 of 13 for newObject (0.28 sec)
-
test/codegen/strings.go
} func CountBytes(s []byte) int { // amd64:-`.*runtime.slicebytetostring` return len(string(s)) } func ToByteSlice() []byte { // Issue #24698 // amd64:`LEAQ\ttype:\[3\]uint8` // amd64:`CALL\truntime\.newobject` // amd64:-`.*runtime.stringtoslicebyte` return []byte("foo") } // Loading from read-only symbols should get transformed into constants. func ConstantLoad() { // 12592 = 0x3130 // 50 = 0x32
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jul 26 17:17:28 UTC 2023 - 2.4K bytes - Viewed (0) -
src/cmd/internal/goobj/builtinlist.go
// Code generated by mkbuiltin.go. DO NOT EDIT. package goobj var builtins = [...]struct { name string abi int }{ {"runtime.newobject", 1}, {"runtime.mallocgc", 1}, {"runtime.panicdivide", 1}, {"runtime.panicshift", 1}, {"runtime.panicmakeslicelen", 1}, {"runtime.panicmakeslicecap", 1}, {"runtime.throwinit", 1}, {"runtime.panicwrap", 1}, {"runtime.gopanic", 1}, {"runtime.gorecover", 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) -
test/nilptr3.go
type TT struct { SS } func f(t *TT) *byte { // See issue 17242. s := &t.SS // ERROR "generated nil check" return &s.x // ERROR "removed nil check" } // make sure not to do nil check for newobject func f7() (*Struct, float64) { t := new(Struct) p := &t.Y // ERROR "removed nil check" return t, *p // ERROR "removed nil check" } func f9() []int { x := new([1]int)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 5.6K bytes - Viewed (0)