Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for makeslicecopy (0.22 sec)

  1. src/cmd/internal/goobj/builtinlist.go

    	{"runtime.selectnbsend", 1},
    	{"runtime.selectnbrecv", 1},
    	{"runtime.selectsetpc", 1},
    	{"runtime.selectgo", 1},
    	{"runtime.block", 1},
    	{"runtime.makeslice", 1},
    	{"runtime.makeslice64", 1},
    	{"runtime.makeslicecopy", 1},
    	{"runtime.growslice", 1},
    	{"runtime.unsafeslicecheckptr", 1},
    	{"runtime.panicunsafeslicelen", 1},
    	{"runtime.panicunsafeslicenilptr", 1},
    	{"runtime.unsafestringcheckptr", 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)
  2. test/fixedbugs/notinheap2.go

    	sink = new(embed3)      // ERROR "can't be allocated in Go"
    	sink = new(embedAlias1) // ERROR "can't be allocated in Go"
    	sink = new(embedAlias2) // ERROR "can't be allocated in Go"
    
    	// Test for special case of OMAKESLICECOPY
    	x := make([]nih, n) // ERROR "can't be allocated in Go"
    	copy(x, z)
    	z = x
    }
    
    // Writes don't produce write barriers.
    
    var p *nih
    
    //go:nowritebarrier
    func h() {
    	y.next = p.next
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 02 17:46:15 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/reflectdata/helpers.go

    // type, and returns an expression that yields the *runtime._type
    // value representing that slice type's element type.
    func MakeSliceElemRType(pos src.XPos, n *ir.MakeExpr) ir.Node {
    	assertOp2(n, ir.OMAKESLICE, ir.OMAKESLICECOPY)
    	if hasRType(n, n.RType, "RType") {
    		return n.RType
    	}
    	return sliceElemRType(pos, n.Type())
    }
    
    // RangeMapRType asserts that n is a "range" loop over a map value,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 04:50:32 UTC 2023
    - 7.1K bytes
    - Viewed (0)
Back to top