Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for makeEp (0.11 sec)

  1. src/runtime/proc.go

    // Must be called with a P.
    //
    // wakep should be an internal detail,
    // but widely used packages access it using linkname.
    // Notable members of the hall of shame include:
    //   - gvisor.dev/gvisor
    //
    // Do not remove or change the type signature.
    // See go.dev/issue/67401.
    //
    //go:linkname wakep
    func wakep() {
    	// Be conservative about spinning threads, only start one if none exist
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  2. src/reflect/all_test.go

    	orig, extra []int
    }{
    	{nil, nil},
    	{[]int{}, nil},
    	{nil, []int{}},
    	{[]int{}, []int{}},
    	{nil, []int{22}},
    	{[]int{}, []int{22}},
    	{make([]int, 2, 4), nil},
    	{make([]int, 2, 4), []int{}},
    	{make([]int, 2, 4), []int{22}},
    	{make([]int, 2, 4), []int{22, 33, 44}},
    }
    
    func TestAppend(t *testing.T) {
    	for i, test := range appendTests {
    		origLen, extraLen := len(test.orig), len(test.extra)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  3. src/reflect/value.go

    	// and each iteration makes its own copy of the value c.
    	var runcases []runtimeSelect
    	if len(cases) > 4 {
    		// Slice is heap allocated due to runtime dependent capacity.
    		runcases = make([]runtimeSelect, len(cases))
    	} else {
    		// Slice can be stack allocated due to constant capacity.
    		runcases = make([]runtimeSelect, len(cases), 4)
    	}
    
    	haveDefault := false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
Back to top