SYMBOL INDEX (32 symbols across 3 files) FILE: bench_test.go type nopWriter (line 8) | type nopWriter struct method Write (line 10) | func (nw *nopWriter) Write(b []byte) (n int, err error) { function BenchmarkIdGeneration (line 14) | func BenchmarkIdGeneration(b *testing.B) { function BenchmarkServe01 (line 20) | func BenchmarkServe01(b *testing.B) { function BenchmarkServe02 (line 29) | func BenchmarkServe02(b *testing.B) { function BenchmarkServe03 (line 38) | func BenchmarkServe03(b *testing.B) { function BenchmarkServe05 (line 47) | func BenchmarkServe05(b *testing.B) { function BenchmarkServe08 (line 56) | func BenchmarkServe08(b *testing.B) { function BenchmarkServe13 (line 65) | func BenchmarkServe13(b *testing.B) { function BenchmarkServe21 (line 74) | func BenchmarkServe21(b *testing.B) { function BenchmarkServe34 (line 83) | func BenchmarkServe34(b *testing.B) { function BenchmarkServe55 (line 92) | func BenchmarkServe55(b *testing.B) { FILE: main.go constant workerIdBits (line 25) | workerIdBits = uint64(5) constant datacenterIdBits (line 26) | datacenterIdBits = uint64(5) constant maxWorkerId (line 27) | maxWorkerId = int64(-1) ^ (int64(-1) << workerIdBits) constant maxDatacenterId (line 28) | maxDatacenterId = int64(-1) ^ (int64(-1) << datacenterIdBits) constant sequenceBits (line 29) | sequenceBits = uint64(12) constant workerIdShift (line 30) | workerIdShift = sequenceBits constant datacenterIdShift (line 31) | datacenterIdShift = sequenceBits + workerIdBits constant timestampLeftShift (line 32) | timestampLeftShift = sequenceBits + workerIdBits + datacenterIdBits constant sequenceMask (line 33) | sequenceMask = int64(-1) ^ (int64(-1) << sequenceBits) constant twepoch (line 36) | twepoch = int64(1288834974657) function main (line 52) | func main() { function parseFlags (line 57) | func parseFlags() { function mustListen (line 68) | func mustListen() net.Listener { function acceptAndServe (line 76) | func acceptAndServe(l net.Listener) { function serve (line 93) | func serve(r io.Reader, w io.Writer) error { function milliseconds (line 142) | func milliseconds() int64 { function nextId (line 146) | func nextId() (int64, error) { function auth (line 177) | func auth(r io.Reader) error { FILE: main_test.go function TestServeZero (line 9) | func TestServeZero(t *testing.T) { function TestServeMoreThanZero (line 15) | func TestServeMoreThanZero(t *testing.T) {