Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/davecheney/high-performance-go-workshop
/ functions
Functions
177 in github.com/davecheney/high-performance-go-workshop
⨍
Functions
177
◇
Types & classes
17
↓ 5 callers
Function
fillPixel
(m *img, x, y int)
examples/mandelbrot/mandelbrot.go:151
↓ 5 callers
Function
setup
fake up some values for request and client.
examples/concat/concat_test.go:16
↓ 4 callers
Function
fillPixel
(m *img, x, y int)
examples/mandelbrot-pkg-profile/mandelbrot.go:136
↓ 4 callers
Function
fillPixel
(m *img, x, y int)
examples/mandelbrot-runtime-pprof/mandelbrot.go:134
↓ 4 callers
Function
fillPixel
(m *img, x, y int)
examples/mandelbrot-buffered/mandelbrot.go:139
↓ 4 callers
Function
fillPixel
(m *img, x, y int)
examples/mandelbrot-buffered/exercise/mandelbrot.go:137
↓ 4 callers
Function
fillPixel
(m *img, x, y int)
examples/mandelbrot-trace/mandelbrot.go:140
↓ 3 callers
Function
Fib
Fib computes the n'th number in the Fibonacci series. tag::fib[]
examples/fib/fib_test.go:6
↓ 2 callers
Function
Fib
STARTFIB OMIT Fib computes the n'th number in the Fibonacci series.
02-benchmarking/examples/fib/fib_test.go:7
↓ 2 callers
Function
Fib
(n int)
examples/benchfib/wrong_test.go:5
↓ 2 callers
Function
Sum
START OMIT Sum returns the sum of the numbers 1 to 100
03-compiler-optimisations/examples/esc/sum.go:8
↓ 2 callers
Function
Sum
Sum returns the sum of the numbers 1 to 100 tag::sum[]
examples/esc/sum.go:6
↓ 2 callers
Function
player
(name string, table chan *Ball)
04-execution-tracer/examples/ping-pong/main.go:37
↓ 1 callers
Function
Add
Add returns the sum of a and b.
examples/asm/decl.go:4
↓ 1 callers
Function
Center
(p *Point)
03-compiler-optimisations/examples/esc/center.go:12
↓ 1 callers
Function
Center
(p *Point)
examples/esc/center.go:11
↓ 1 callers
Function
F
()
03-compiler-optimisations/examples/max/max.go:11
↓ 1 callers
Function
F
START OMIT
03-compiler-optimisations/examples/max/max2.go:5
↓ 1 callers
Function
F
()
examples/inl/max.go:11
↓ 1 callers
Function
F
tag::max[]
examples/inl/max3.go:6
↓ 1 callers
Function
F
tag::max[]
examples/inl/max2.go:6
↓ 1 callers
Function
Filter
Copy the values from channel 'in' to channel 'out', removing those divisible by 'prime'.
examples/sieve/main.go:22
↓ 1 callers
Function
Generate
Send the sequence 2, 3, 4, ... to channel 'ch'.
examples/sieve/main.go:14
↓ 1 callers
Method
Inc
()
examples/mutex/mutex_test.go:14
↓ 1 callers
Function
Max
START OMIT
03-compiler-optimisations/examples/max/max.go:4
↓ 1 callers
Function
Max
tag::max[]
examples/inl/max.go:4
↓ 1 callers
Function
allocate
allocate allocates count byte slices and returns the first slice allocated.
examples/inuseallocs/main.go:23
↓ 1 callers
Function
f
()
examples/counter/counter.go:21
↓ 1 callers
Function
fillImage
(m *img, workers int)
examples/mandelweb/mandelweb.go:53
↓ 1 callers
Function
fillPixel
(m *img, x, y int)
examples/mandelweb/mandelweb.go:75
↓ 1 callers
Function
foo
(x int32)
examples/prove/foo.go:3
↓ 1 callers
Function
generate
(in <-chan int, out chan<- int)
examples/block/block.go:10
↓ 1 callers
Method
get
()
examples/counter/counter.go:9
↓ 1 callers
Method
inc
()
examples/counter/counter.go:12
↓ 1 callers
Function
logRequest
(h http.Handler)
examples/mandelweb/mandelweb.go:24
↓ 1 callers
Function
makeByteSlice
makeByteSlice returns a byte slice of a random length in the range [0, 16384).
examples/inuseallocs/main.go:32
↓ 1 callers
Function
nWorkersFillImg
(m *img, workers int)
examples/mandelbrot-pkg-profile/mandelbrot.go:118
↓ 1 callers
Function
nWorkersFillImg
(m *img, workers int)
examples/mandelbrot-runtime-pprof/mandelbrot.go:116
↓ 1 callers
Function
nWorkersFillImg
(m *img, workers int)
examples/mandelbrot/mandelbrot.go:111
↓ 1 callers
Function
nWorkersFillImg
BUFSTART OMIT
examples/mandelbrot-buffered/mandelbrot.go:116
↓ 1 callers
Function
nWorkersFillImg
(m *img, workers int)
examples/mandelbrot-buffered/exercise/mandelbrot.go:115
↓ 1 callers
Function
nWorkersFillImg
(m *img, workers int)
examples/mandelbrot-trace/mandelbrot.go:118
↓ 1 callers
Method
next
()
examples/words/main3.go:19
↓ 1 callers
Function
onePerRowFillImg
(m *img)
examples/mandelbrot-pkg-profile/mandelbrot.go:104
↓ 1 callers
Function
onePerRowFillImg
(m *img)
examples/mandelbrot-runtime-pprof/mandelbrot.go:102
↓ 1 callers
Function
onePerRowFillImg
(m *img)
examples/mandelbrot/mandelbrot.go:97
↓ 1 callers
Function
onePerRowFillImg
(m *img)
examples/mandelbrot-buffered/mandelbrot.go:101
↓ 1 callers
Function
onePerRowFillImg
(m *img)
examples/mandelbrot-buffered/exercise/mandelbrot.go:101
↓ 1 callers
Function
onePerRowFillImg
(m *img)
examples/mandelbrot-trace/mandelbrot.go:104
↓ 1 callers
Function
oneToOneFillImg
SEQEND OMIT
examples/mandelbrot-pkg-profile/mandelbrot.go:90
↓ 1 callers
Function
oneToOneFillImg
(m *img)
examples/mandelbrot-runtime-pprof/mandelbrot.go:88
↓ 1 callers
Function
oneToOneFillImg
SEQEND OMIT
examples/mandelbrot/mandelbrot.go:83
↓ 1 callers
Function
oneToOneFillImg
(m *img)
examples/mandelbrot-buffered/mandelbrot.go:87
↓ 1 callers
Function
oneToOneFillImg
(m *img)
examples/mandelbrot-buffered/exercise/mandelbrot.go:87
↓ 1 callers
Function
oneToOneFillImg
end::seqfillimg[]
examples/mandelbrot-trace/mandelbrot.go:90
↓ 1 callers
Function
paint
(c *color.RGBA, x, y float64)
examples/mandelbrot-pkg-profile/mandelbrot.go:152
↓ 1 callers
Function
paint
(c *color.RGBA, x, y float64)
examples/mandelbrot-runtime-pprof/mandelbrot.go:150
↓ 1 callers
Function
paint
(c *color.RGBA, x, y float64)
examples/mandelweb/mandelweb.go:92
↓ 1 callers
Function
paint
(c *color.RGBA, x, y float64)
examples/mandelbrot/mandelbrot.go:167
↓ 1 callers
Function
paint
(c *color.RGBA, x, y float64)
examples/mandelbrot-buffered/mandelbrot.go:155
↓ 1 callers
Function
paint
(c *color.RGBA, x, y float64)
examples/mandelbrot-buffered/exercise/mandelbrot.go:153
↓ 1 callers
Function
paint
(c *color.RGBA, x, y float64)
examples/mandelbrot-trace/mandelbrot.go:156
↓ 1 callers
Function
pass
(left, right chan int)
04-execution-tracer/examples/daisy/main.go:43
↓ 1 callers
Function
popcnt
(x uint64)
02-benchmarking/examples/popcnt/popcnt_test.go:11
↓ 1 callers
Function
popcnt
(x uint64)
examples/popcnt/popcnt2_test.go:12
↓ 1 callers
Function
popcnt
(x uint64)
examples/popcnt/popcnt_test.go:11
↓ 1 callers
Function
popcnt
(x uint64)
examples/popcnt-intrinsic/popcnt_test.go:13
↓ 1 callers
Function
popcnt
(x uint64)
examples/popcnt-rand/popcnt_test.go:13
↓ 1 callers
Function
readbyte
(r io.Reader)
examples/words/main2.go:16
↓ 1 callers
Function
readbyte
(r io.Reader)
examples/words/main.go:11
↓ 1 callers
Method
reset
()
examples/counter/counter.go:15
↓ 1 callers
Function
sendFirst
(ch chan int)
04-execution-tracer/examples/daisy/main.go:48
↓ 1 callers
Function
seqFillImg
SEQSTART OMIT
examples/mandelbrot-pkg-profile/mandelbrot.go:80
↓ 1 callers
Function
seqFillImg
(m *img)
examples/mandelbrot-runtime-pprof/mandelbrot.go:80
↓ 1 callers
Function
seqFillImg
SEQSTART OMIT
examples/mandelbrot/mandelbrot.go:73
↓ 1 callers
Function
seqFillImg
(m *img)
examples/mandelbrot-buffered/mandelbrot.go:79
↓ 1 callers
Function
seqFillImg
(m *img)
examples/mandelbrot-buffered/exercise/mandelbrot.go:79
↓ 1 callers
Function
seqFillImg
tag::seqfillimg[]
examples/mandelbrot-trace/mandelbrot.go:80
↓ 1 callers
Function
timer
(d time.Duration)
04-execution-tracer/examples/timers/main.go:9
Method
At
(x, y int)
examples/mandelbrot-pkg-profile/mandelbrot.go:75
Method
At
(x, y int)
examples/mandelbrot-runtime-pprof/mandelbrot.go:76
Method
At
(x, y int)
examples/mandelweb/mandelweb.go:49
Method
At
(x, y int)
examples/mandelbrot/mandelbrot.go:68
Method
At
(x, y int)
examples/mandelbrot-buffered/mandelbrot.go:75
Method
At
(x, y int)
examples/mandelbrot-buffered/exercise/mandelbrot.go:75
Method
At
(x, y int)
examples/mandelbrot-trace/mandelbrot.go:75
Function
BenchmarkBoundsCheckInOrder
(b *testing.B)
examples/bounds/bounds_test.go:10
Function
BenchmarkBoundsCheckOutOfOrder
end::inorder[] tag::outoforder[]
examples/bounds/bounds_test.go:29
Function
BenchmarkBytesEqualExplicit
(b *testing.B)
examples/byteseq/bytes_test.go:21
Function
BenchmarkBytesEqualInline
tag::bench[]
examples/byteseq/bytes_test.go:9
Function
BenchmarkComplicated
END1 OMIT START2 OMIT
02-benchmarking/examples/reset.go:17
Function
BenchmarkConcatenate
(b *testing.B)
examples/concat/concat_test.go:27
Function
BenchmarkExpensive
START1 OMIT
02-benchmarking/examples/reset.go:6
Function
BenchmarkFib1
end::benchmarkfib20[]
examples/fib/fib_test.go:28
Function
BenchmarkFib20
ENDFIB OMIT STARTBENCH OMIT
02-benchmarking/examples/fib/fib_test.go:21
Function
BenchmarkFib20
end::fib[] tag::benchmarkfib20[]
examples/fib/fib_test.go:20
Function
BenchmarkFibWrong
tag::wrong[]
examples/benchfib/wrong_test.go:14
Function
BenchmarkFibWrong2
end::wrong[] tag::wrong2[]
examples/benchfib/wrong_test.go:21
Function
BenchmarkFor
(b *testing.B)
examples/range/range_test.go:23
Function
BenchmarkFprintf
(b *testing.B)
examples/concat/concat_test.go:45
next →
1–100 of 177, ranked by callers