File: export_test.go

package info (click to toggle)
golang-gopkg-bufio.v1 1-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 164 kB
  • sloc: makefile: 4
file content (9 lines) | stat: -rw-r--r-- 225 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
// Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package bufio

func (b *Buffer) Cap() int {
	return cap(b.buf)
}