Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bobstrecansky/HighPerformanceWithGo
/ functions
Functions
279 in github.com/bobstrecansky/HighPerformanceWithGo
⨍
Functions
279
◇
Types & classes
21
↓ 10 callers
Function
benchmarkBinarySearchTimings
(i int, b *testing.B)
2-data-structures-and-algorithms/BigO-notation-o-logn/logn_test.go:5
↓ 6 callers
Function
benchmarkFibonacci
(x int, b *testing.B)
2-data-structures-and-algorithms/BigO-notation-o-2n/o2n_test.go:5
↓ 5 callers
Function
benchmarkBubbleSort
(x int, b *testing.B)
2-data-structures-and-algorithms/BigO-notation-o-n2/on2_test.go:5
↓ 4 callers
Method
Append
(node *LinkedListNode)
4-standard-template-library/containers/singleLinkedList.go:14
↓ 3 callers
Method
PrintUserInfo
(ctx context.Context, in *UserInfoRequest, opts ...grpc.CallOption)
7-template-programming-in-go/grpcExample/userinfo/userinfo.pb.go:144
↓ 3 callers
Function
benchmarkOnlognLoop
func benchmarkBinarySearch(i int, b *testing.B) { for n := 0; n < b.N; n++ { rand.Seed(time.Now().Unix()) intGroup := generateIntSlice(i) intRe
2-data-structures-and-algorithms/BigO-notation-o-nlogn/onlogn_test.go:22
↓ 3 callers
Function
benchmarkSimpleLoop
(i int, b *testing.B)
2-data-structures-and-algorithms/BigO-notation-o-n/on_test.go:5
↓ 2 callers
Method
Next
()
3-iterators-and-generators/iterators/next.go:20
↓ 2 callers
Function
addHeader
Adds a header, Foo:Bar
3-iterators-and-generators/closures/http_middleware.go:29
↓ 2 callers
Function
hello
(w http.ResponseWriter, r *http.Request)
10-runtime-evaluations-in-go/runtime/gctraceExample.go:8
↓ 2 callers
Function
incrementCounter
()
3-iterators-and-generators/closures/increment_closure.go:5
↓ 2 callers
Function
matrixPrint
(m mat.Matrix)
5-vectors-and-matrices/transposeMatrix.go:15
↓ 2 callers
Function
matrixPrint
(m mat.Matrix)
5-vectors-and-matrices/matrixTranspose.go:15
↓ 2 callers
Function
newStatusCode
Sets a HTTP 418 (I'm a Teapot) status code for the response
3-iterators-and-generators/closures/http_middleware.go:21
↓ 2 callers
Function
printToChannel
(s string, ch chan string)
3-iterators-and-generators/channels/unbuffered_channel.go:7
↓ 2 callers
Function
sleep
(sleepTime int)
12-profiling-with-pprof/httpProfiling.go:20
↓ 1 callers
Function
BubbleSort
(i int)
2-data-structures-and-algorithms/BigO-notation-o-n2/on2.go:18
↓ 1 callers
Function
BufferedChanLoop
(n int)
3-iterators-and-generators/iterators/buffered_chan.go:5
↓ 1 callers
Function
CallbackLoop
(top int)
3-iterators-and-generators/iterators/callback.go:5
↓ 1 callers
Function
CarJSON
()
2-data-structures-and-algorithms/Benchstat-comparison/multi/comparisonLarger.go:17
↓ 1 callers
Function
CarJSON
()
2-data-structures-and-algorithms/Benchstat-comparison/single/comparison.go:15
↓ 1 callers
Function
CgoPrint
(n int)
9-gpu-parallelization-in-go/cgo/benchmarkCgo.go:13
↓ 1 callers
Function
Fibonacci
(i int)
2-data-structures-and-algorithms/BigO-notation-o-2n/o2n.go:3
↓ 1 callers
Function
GoPrint
(n int)
9-gpu-parallelization-in-go/cgo/benchmarkCgo.go:19
↓ 1 callers
Function
InitInts
()
2-data-structures-and-algorithms/iterators/function_with_callback.go:12
↓ 1 callers
Function
IntCallbackIterator
(cb func(int))
2-data-structures-and-algorithms/iterators/function_with_callback.go:18
↓ 1 callers
Function
NewCounterIterator
(top int)
3-iterators-and-generators/iterators/next.go:11
↓ 1 callers
Function
NextLoop
(top int)
3-iterators-and-generators/iterators/next.go:36
↓ 1 callers
Function
OnlognLoop
(n int)
2-data-structures-and-algorithms/BigO-notation-o-nlogn/onlogn.go:3
↓ 1 callers
Method
String
()
7-template-programming-in-go/grpcExample/userinfo/userinfo.pb.go:34
↓ 1 callers
Function
TenWords
()
2-data-structures-and-algorithms/BigO-notation-o-1/o1.go:8
↓ 1 callers
Function
ThreeWords
()
2-data-structures-and-algorithms/BigO-notation-o-1/o1.go:3
↓ 1 callers
Function
UnbufferedChanLoop
(n int)
3-iterators-and-generators/iterators/unbuffered_chan.go:5
↓ 1 callers
Function
adminCheck
Checks for a “user:admin” header, proper credentials for the admin path
3-iterators-and-generators/closures/http_middleware.go:9
↓ 1 callers
Function
benchmarkBufferedChan
(i int, b *testing.B)
3-iterators-and-generators/iterators/iterators_test.go:25
↓ 1 callers
Function
benchmarkCallback
(i int, b *testing.B)
3-iterators-and-generators/iterators/iterators_test.go:11
↓ 1 callers
Function
benchmarkLoop
(i int, b *testing.B)
3-iterators-and-generators/iterators/iterators_test.go:5
↓ 1 callers
Function
benchmarkNext
(i int, b *testing.B)
3-iterators-and-generators/iterators/iterators_test.go:18
↓ 1 callers
Function
benchmarkUnbufferedChan
(i int, b *testing.B)
3-iterators-and-generators/iterators/iterators_test.go:32
↓ 1 callers
Function
binarySearch
Use Go's binary search algorithm to traverse through a sorted array
2-data-structures-and-algorithms/BigO-notation-o-logn/logn.go:31
↓ 1 callers
Function
binarySearchTimings
(n int)
2-data-structures-and-algorithms/BigO-notation-o-logn/logn.go:35
↓ 1 callers
Function
callbackLoopIterator
(top int, callback func(n int) error)
3-iterators-and-generators/iterators/callback.go:15
↓ 1 callers
Function
count
(n int)
3-iterators-and-generators/generators/generators.go:5
↓ 1 callers
Function
count
(n int)
3-iterators-and-generators/generators/forloop.go:5
↓ 1 callers
Function
createDataset
(datasetSize int)
14-clustering-and-job-queueing-in-go/clustering/kmeans/kmeans.go:13
↓ 1 callers
Method
displayEmail
()
6-composing-readable-go-code/userMethod.go:12
↓ 1 callers
Function
doWork
(ctx context.Context)
13-tracing-with-trace-tool/OpenCensusExample/tracingToZipkin.go:42
↓ 1 callers
Function
findMaxInt
(b []int)
4-standard-template-library/algorithms/minmax.go:16
↓ 1 callers
Function
findMinInt
(a []int)
4-standard-template-library/algorithms/minmax.go:5
↓ 1 callers
Function
generateIntSlice
Create a slice of n sorted ints generateIntSlice(3) == [0 1 2]
2-data-structures-and-algorithms/BigO-notation-o-logn/logn.go:14
↓ 1 callers
Function
generateIntSlice
Create a slice of n sorted ints generateIntSlice(3) == [0 1 2]
2-data-structures-and-algorithms/BigO-notation-o-n/on.go:5
↓ 1 callers
Function
generateRandomSlice
(size int)
2-data-structures-and-algorithms/BigO-notation-o-n2/on2.go:8
↓ 1 callers
Function
githubRequest
(ctx context.Context, w http.ResponseWriter, r *http.Request)
15-code-quality-across-versions/GoogleCloudTrace/trace.go:35
↓ 1 callers
Function
helloGo
()
3-iterators-and-generators/anonymous-functions/hello_anonymous.go:5
↓ 1 callers
Function
makeRequest
(ctx context.Context, url string)
13-tracing-with-trace-tool/OpenCensusExample/ocZipkin.go:28
↓ 1 callers
Function
matrixPrint
(m mat.Matrix)
5-vectors-and-matrices/gonumVector.go:9
↓ 1 callers
Function
matrixPrint
(m mat.Matrix)
5-vectors-and-matrices/scaleMatrix.go:15
↓ 1 callers
Function
matrixPrint
(m mat.Matrix)
5-vectors-and-matrices/matrixSum.go:15
↓ 1 callers
Function
multiply
9-gpu-parallelization-in-go/docker_cuda/cuda_multiply.cpp:7
↓ 1 callers
Function
panicRoutine
(c chan bool)
10-runtime-evaluations-in-go/traceback.go:15
↓ 1 callers
Function
panicRoutine
(c chan bool)
10-runtime-evaluations-in-go/traceback/traceback.go:15
↓ 1 callers
Function
prettyPrintMatrix
(m mat.Matrix)
5-vectors-and-matrices/vectorManipulation.go:16
↓ 1 callers
Function
printBool
(b bool, ch chan bool)
3-iterators-and-generators/channels/unbuffered_channel.go:14
↓ 1 callers
Function
printCluster
(clusters clusters.Clusters)
14-clustering-and-job-queueing-in-go/clustering/kmeans/kmeans.go:24
↓ 1 callers
Method
printEmail
()
6-composing-readable-go-code/userMethodPointer.go:20
↓ 1 callers
Function
printSleep
(s string)
3-iterators-and-generators/goroutines/simple_goroutine.go:8
↓ 1 callers
Function
randNumber
(testSet []int)
2-data-structures-and-algorithms/BigO-notation-o-logn/logn.go:23
↓ 1 callers
Function
remove
Remove i indexed item in slice
4-standard-template-library/containers/slice.go:6
↓ 1 callers
Function
retrieve
(url string, wg *sync.WaitGroup)
3-iterators-and-generators/workgroups/workgroups.go:10
↓ 1 callers
Function
reverse
(s []string)
4-standard-template-library/algorithms/reverse.go:7
↓ 1 callers
Function
runJob
(id int, individualJob job)
14-clustering-and-job-queueing-in-go/jobqueues/jobQueue/jobQueue.go:17
↓ 1 callers
Function
salutation
()
3-iterators-and-generators/anonymous-functions/hello_anonymous_variable_as_function.go:5
↓ 1 callers
Function
searchInts
(intArray []int, searchNumber int, done chan bool)
3-iterators-and-generators/channels/unbuffered_channel_int.go:14
↓ 1 callers
Function
sendMail
()
14-clustering-and-job-queueing-in-go/jobqueues/goroutine/gomail.go:19
↓ 1 callers
Function
simpleLoop
(n int)
3-iterators-and-generators/iterators/loops.go:5
↓ 1 callers
Function
simpleLoopSum
Sum the elements in a slice
2-data-structures-and-algorithms/BigO-notation-o-n/on.go:14
↓ 1 callers
Function
sleep
(sleepTime int)
12-profiling-with-pprof/timedHttpProfiling.go:25
↓ 1 callers
Function
sleep
(ctx context.Context, w http.ResponseWriter, r *http.Request)
15-code-quality-across-versions/GoogleCloudTrace/trace.go:28
↓ 1 callers
Function
sortInts
(intArray []int, done chan bool)
3-iterators-and-generators/channels/unbuffered_channel_int.go:8
↓ 1 callers
Function
tracingServer
()
13-tracing-with-trace-tool/OpenCensusExample/ocZipkin.go:17
↓ 1 callers
Method
updateEmail
(newEmail string)
6-composing-readable-go-code/userMethodPointer.go:12
↓ 1 callers
Method
updatePhone
(newPhone string)
6-composing-readable-go-code/userMethodPointer.go:16
↓ 1 callers
Function
wait
()
12-profiling-with-pprof/memoryLeakTest/memoryLeak.go:25
↓ 1 callers
Function
writeToRedis
(ctx context.Context, key string, value string)
13-tracing-with-trace-tool/OpenCensusExample/ocZipkin.go:45
Function
BenchmarkBinarySearchTimings10
(b *testing.B)
2-data-structures-and-algorithms/BigO-notation-o-logn/logn_test.go:12
Function
BenchmarkBinarySearchTimings100
(b *testing.B)
2-data-structures-and-algorithms/BigO-notation-o-logn/logn_test.go:13
Function
BenchmarkBinarySearchTimings1000
(b *testing.B)
2-data-structures-and-algorithms/BigO-notation-o-logn/logn_test.go:16
Function
BenchmarkBinarySearchTimings10000
(b *testing.B)
2-data-structures-and-algorithms/BigO-notation-o-logn/logn_test.go:20
Function
BenchmarkBinarySearchTimings100000
(b *testing.B)
2-data-structures-and-algorithms/BigO-notation-o-logn/logn_test.go:21
Function
BenchmarkBinarySearchTimings200
(b *testing.B)
2-data-structures-and-algorithms/BigO-notation-o-logn/logn_test.go:14
Function
BenchmarkBinarySearchTimings2000
(b *testing.B)
2-data-structures-and-algorithms/BigO-notation-o-logn/logn_test.go:17
Function
BenchmarkBinarySearchTimings300
(b *testing.B)
2-data-structures-and-algorithms/BigO-notation-o-logn/logn_test.go:15
Function
BenchmarkBinarySearchTimings3000
(b *testing.B)
2-data-structures-and-algorithms/BigO-notation-o-logn/logn_test.go:18
Function
BenchmarkBinarySearchTimings5000
(b *testing.B)
2-data-structures-and-algorithms/BigO-notation-o-logn/logn_test.go:19
Function
BenchmarkBubbleSort10
(b *testing.B)
2-data-structures-and-algorithms/BigO-notation-o-n2/on2_test.go:12
Function
BenchmarkBubbleSort100
(b *testing.B)
2-data-structures-and-algorithms/BigO-notation-o-n2/on2_test.go:13
Function
BenchmarkBubbleSort1000
(b *testing.B)
2-data-structures-and-algorithms/BigO-notation-o-n2/on2_test.go:14
Function
BenchmarkBubbleSort10000
(b *testing.B)
2-data-structures-and-algorithms/BigO-notation-o-n2/on2_test.go:15
Function
BenchmarkBubbleSort100000
(b *testing.B)
2-data-structures-and-algorithms/BigO-notation-o-n2/on2_test.go:16
Function
BenchmarkBufferedChan10000000
(b *testing.B)
3-iterators-and-generators/iterators/iterators_test.go:42
next →
1–100 of 279, ranked by callers