This file is indexed.

/usr/share/gocode/src/gopkg.in/inconshreveable/log15.v2/stack/stack_pool.go is in golang-gopkg-inconshreveable-log15.v2-dev 2.11+git20150921.0.b105bd3-0ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
// +build go1.3

package stack

import (
	"sync"
)

var pcStackPool = sync.Pool{
	New: func() interface{} { return make([]uintptr, 1000) },
}

func poolBuf() []uintptr {
	return pcStackPool.Get().([]uintptr)
}

func putPoolBuf(p []uintptr) {
	pcStackPool.Put(p)
}