3 // Copyright 2018 The Go Authors. All rights reserved.
4 // Use of this source code is governed by a BSD-style
5 // license that can be found in the LICENSE file.
14 func growstack(n int) {
21 c := make(chan struct{})
32 func compare(c chan struct{}) {
33 defer bytes.Compare(nil, nil)
37 func equal(c chan struct{}) {
38 defer bytes.Equal(nil, nil)
42 func indexByte(c chan struct{}) {
43 defer bytes.IndexByte(nil, 0)
47 func indexByteString(c chan struct{}) {
48 defer strings.IndexByte("", 0)