- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for typedslicecopy (0.15 sec)
-
test/codegen/slices.go
} func SliceMakeCopyLenPtr(s []*int) []*int { // amd64:`.*runtime\.makeslicecopy` // amd64:-`.*runtime\.makeslice\(` // amd64:-`.*runtime\.typedslicecopy // ppc64x:`.*runtime\.makeslicecopy` // ppc64x:-`.*runtime\.makeslice\(` // ppc64x:-`.*runtime\.typedslicecopy a := make([]*int, len(s)) copy(a, s) return a } func SliceMakeCopyConst(s []int) []int { // amd64:`.*runtime\.makeslicecopy`
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 23 18:57:27 UTC 2023 - 9.8K bytes - Viewed (0) -
src/runtime/mbarrier.go
} } } // typedslicecopy should be an internal detail, // but widely used packages access it using linkname. // Notable members of the hall of shame include: // - github.com/segmentio/encoding // // Do not remove or change the type signature. // See go.dev/issue/67401. // //go:linkname typedslicecopy //go:nosplit
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 15.7K bytes - Viewed (0) -
src/cmd/internal/goobj/builtinlist.go
{"runtime.chansend1", 1}, {"runtime.closechan", 1}, {"runtime.chanlen", 1}, {"runtime.chancap", 1}, {"runtime.writeBarrier", 0}, {"runtime.typedmemmove", 1}, {"runtime.typedmemclr", 1}, {"runtime.typedslicecopy", 1}, {"runtime.selectnbsend", 1}, {"runtime.selectnbrecv", 1}, {"runtime.selectsetpc", 1}, {"runtime.selectgo", 1}, {"runtime.block", 1}, {"runtime.makeslice", 1}, {"runtime.makeslice64", 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) -
src/cmd/compile/internal/walk/assign.go
slice.SetType(s.Type()) slice.SetBounded(true) ir.CurFunc.SetWBPos(n.Pos()) // instantiate typedslicecopy(typ *type, dstPtr *any, dstLen int, srcPtr *any, srcLen int) int fn := typecheck.LookupRuntime("typedslicecopy", l1.Type().Elem(), l2.Type().Elem()) ptr1, len1 := backingArrayPtrLen(cheapExpr(slice, &nodes)) ptr2, len2 := backingArrayPtrLen(l2)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:09:06 UTC 2024 - 20.3K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/_builtin/runtime.go
enabled bool pad [3]byte cgo bool alignme uint64 } // *byte is really *runtime.Type func typedmemmove(typ *byte, dst *any, src *any) func typedmemclr(typ *byte, dst *any) func typedslicecopy(typ *byte, dstPtr *any, dstLen int, srcPtr *any, srcLen int) int func selectnbsend(hchan chan<- any, elem *any) bool func selectnbrecv(elem *any, hchan <-chan any) (bool, bool) func selectsetpc(pc *uintptr)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 21:08:03 UTC 2024 - 10.6K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/builtin.go
{"closechan", funcTag, 105}, {"chanlen", funcTag, 106}, {"chancap", funcTag, 106}, {"writeBarrier", varTag, 108}, {"typedmemmove", funcTag, 109}, {"typedmemclr", funcTag, 110}, {"typedslicecopy", funcTag, 111}, {"selectnbsend", funcTag, 112}, {"selectnbrecv", funcTag, 113}, {"selectsetpc", funcTag, 114}, {"selectgo", funcTag, 115}, {"block", funcTag, 9}, {"makeslice", funcTag, 116},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 21:08:03 UTC 2024 - 16.2K bytes - Viewed (0) -
src/cmd/compile/internal/walk/builtin.go
// n; // // Also works if b is a string. func walkCopy(n *ir.BinaryExpr, init *ir.Nodes, runtimecall bool) ir.Node { if n.X.Type().Elem().HasPointers() { ir.CurFunc.SetWBPos(n.Pos()) fn := writebarrierfn("typedslicecopy", n.X.Type().Elem(), n.Y.Type().Elem()) n.X = cheapExpr(n.X, init) ptrL, lenL := backingArrayPtrLen(n.X) n.Y = cheapExpr(n.Y, init) ptrR, lenR := backingArrayPtrLen(n.Y)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 08 22:35:22 UTC 2024 - 31.2K bytes - Viewed (0) -
src/reflect/value.go
// //go:noescape func typedmemclrpartial(t *abi.Type, ptr unsafe.Pointer, off, size uintptr) // typedslicecopy copies a slice of elemType values from src to dst, // returning the number of elements copied. // //go:noescape func typedslicecopy(t *abi.Type, dst, src unsafeheader.Slice) int // typedarrayclear zeroes the value at ptr of an array of elemType, // only clears len elem.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:17:41 UTC 2024 - 119.9K bytes - Viewed (0)