Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for extendSlice (0.12 sec)

  1. src/reflect/value.go

    		*p = growslice(t, *p, n)
    	}
    }
    
    // extendSlice extends a slice by n elements.
    //
    // Unlike Value.grow, which modifies the slice in place and
    // does not change the length of the slice in place,
    // extendSlice returns a new slice value with the length
    // incremented by the number of specified elements.
    func (v Value) extendSlice(n int) Value {
    	v.mustBeExported()
    	v.mustBe(Slice)
    
    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