Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/bytes/buffer.go

    	}()
    	// TODO(http://golang.org/issue/51462): We should rely on the append-make
    	// pattern so that the compiler can call runtime.growslice. For example:
    	//	return append(b, make([]byte, n)...)
    	// This avoids unnecessary zero-ing of the first len(b) bytes of the
    	// allocated slice, but this pattern causes b to escape onto the heap.
    	//
    	// Instead use the append-make pattern with a nil slice to ensure that
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 17:10:31 GMT 2023
    - 15.7K bytes
    - Viewed (0)
Back to top