MCPcopy Create free account

hub / github.com/PacktPublishing/Mastering-Go-Second-Edition / functions

Functions639 in github.com/PacktPublishing/Mastering-Go-Second-Edition

↓ 1 callersFunctionrandom
(min, max int)
ch09/pipeline.go:15
↓ 1 callersFunctionrandom
(min, max int)
ch05/randomNumbers.go:11
↓ 1 callersFunctionrandom
(min, max int)
ch05/divMat.go:12
↓ 1 callersFunctionrandom
(min, max int)
ch05/mulMat.go:12
↓ 1 callersFunctionrandom
(min, max int)
ch05/generatePassword.go:11
↓ 1 callersFunctionrandom
(min, max int)
ch10/slowWWW.go:11
↓ 1 callersFunctionrandom
(min, max int)
ch11/writingBU.go:13
↓ 1 callersFunctionrandom
(min, max int)
ch14/writeKafka.go:19
↓ 1 callersFunctionrandom
(min, max int)
ch14/anomaly.go:13
↓ 1 callersFunctionread
()
ch10/monitor.go:19
↓ 1 callersFunctionreadSize
(f *os.File, size int)
ch08/readSize.go:10
↓ 1 callersFunctionregularFunction
(a, b twoInts)
ch07/methods.go:12
↓ 1 callersFunctionretStructure
(n, s string, h int32)
ch04/pointerStruct.go:20
↓ 1 callersFunctionreturnPointer
(n int)
ch03/pointers.go:11
↓ 1 callersFunctionreturnPtr
(x int)
ch06/returnPtr.go:7
↓ 1 callersFunctionreverse
(t *Node)
ch05/doublyLList.go:47
↓ 1 callersFunctionsave
()
ch08/kvSaveLoad.go:20
↓ 1 callersFunctionsaveToJSON
(filename *os.File, key interface{})
ch04/writeJSON.go:20
↓ 1 callersFunctionsecond
(out chan<- int, in <-chan int)
ch09/plNoRace.go:32
↓ 1 callersFunctionsecond
(out chan<- int, in <-chan int)
ch09/pipeline.go:29
↓ 1 callersFunctionsend
(c chan int)
ch10/nilChannel.go:24
↓ 1 callersFunctionset
(newValue int)
ch10/monitor.go:15
↓ 1 callersFunctionsize
(t *Node)
ch05/doublyLList.go:67
↓ 1 callersFunctionthird
(in <-chan int)
ch09/plNoRace.go:47
↓ 1 callersFunctionthird
(in <-chan int)
ch09/pipeline.go:44
↓ 1 callersFunctiontraverse
(hash *HashTable)
ch05/hashTable.go:29
↓ 1 callersFunctiontwo
(aLog *log.Logger)
ch02/logDefer.go:20
↓ 1 callersFunctionvalidPuzzle
(sl [][]int)
ch05/sudoku.go:53
↓ 1 callersFunctionvarFunc
(input ...string)
ch06/variadic.go:8
↓ 1 callersFunctionvariance
(x []float64)
ch14/outlier.go:15
↓ 1 callersFunctionwordByWord
(file string)
ch08/byWord.go:12
↓ 1 callersFunctionworker
(w *sync.WaitGroup)
ch10/workerPool.go:27
↓ 1 callersFunctionwriteToChannel
(c chan int, x int)
ch09/writeCh.go:8
↓ 1 callersFunctionwriteToChannel
(c chan int, x int)
ch09/readCh.go:8
FunctionA
()
ch06/aPackage.go:7
MethodA
()
ch07/ooo.go:26
MethodArea
()
ch07/useInterface.go:17
MethodArea
()
ch07/useInterface.go:25
FunctionB
()
ch06/aPackage.go:11
FunctionBenchmark1000Create
(b *testing.B)
ch11/writingBU_test.go:40
FunctionBenchmark10Create
(b *testing.B)
ch11/writingBU_test.go:36
FunctionBenchmark1Create
(b *testing.B)
ch11/writingBU_test.go:24
FunctionBenchmark2Create
(b *testing.B)
ch11/writingBU_test.go:28
FunctionBenchmark30fibo1
(b *testing.B)
ch11/benchmarkMe_test.go:33
FunctionBenchmark30fibo2
(b *testing.B)
ch11/benchmarkMe_test.go:37
FunctionBenchmark30fibo3
(b *testing.B)
ch11/benchmarkMe_test.go:41
FunctionBenchmark4Create
(b *testing.B)
ch11/writingBU_test.go:32
FunctionBenchmark50fibo1
(b *testing.B)
ch11/benchmarkMe_test.go:45
FunctionBenchmark50fibo2
(b *testing.B)
ch11/benchmarkMe_test.go:49
FunctionBenchmark50fibo3
(b *testing.B)
ch11/benchmarkMe_test.go:53
FunctionBenchmarkFiboIII
This is also a correct benchmark function
ch11/benchmarkMe_test.go:65
FunctionBenchmarkFiboIV
This is a correct benchmark function
ch11/benchmarkMe_test.go:58
FunctionCheckStatusOK
(w http.ResponseWriter, r *http.Request)
ch12/testWWW.go:9
FunctionDELETE
(k string)
ch12/kvWeb.go:69
FunctionDefault
(w http.ResponseWriter, req *http.Request)
ch13/HTTPS/https.go:10
MethodDescriptor
()
ch12/gRPC/api.pb.go:38
MethodDescriptor
()
ch12/gRPC/api.pb.go:85
FunctionExampleF1
()
ch11/documentMe_test.go:15
FunctionExampleF1
()
ch11/ex_test.go:7
FunctionExampleS1
()
ch11/documentMe_test.go:7
FunctionExampleS1
()
ch11/ex_test.go:15
FunctionExecute
Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the r
ch08/cobra/cli/cmd/root.go:45
FunctionExecute
Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the r
ch08/cobra/aliases/cmd/root.go:45
FunctionF1
The F1() function returns the double value of its input integer A better function name would have been Double()!
ch11/documentMe.go:24
FunctionFromA
()
ch06/a.go:11
FunctionFromB
()
ch06/b.go:12
MethodGetSubtext
()
ch12/gRPC/api.pb.go:67
MethodGetSubtext
()
ch12/gRPC/api.pb.go:114
MethodGetText
()
ch12/gRPC/api.pb.go:60
MethodGetText
()
ch12/gRPC/api.pb.go:107
MethodLen
()
ch14/plotLR.go:20
MethodLess
(a, b int)
ch05/conHeap.go:26
MethodMap
(m reflect.Value)
ch07/walkRef.go:19
MethodMapElem
(m, k, v reflect.Value)
ch07/walkRef.go:24
MethodMultiply
(arguments *sharedRPC.MyFloats, reply *float64)
ch13/RPCserver.go:19
MethodMultiply
(arguments *MyFloats, reply *float64)
ch13/sharedRPC.go:8
FunctionMyHandler
(w http.ResponseWriter, r *http.Request)
ch12/testWWW.go:18
FunctionNewMessageServiceClient
(cc *grpc.ClientConn)
ch12/gRPC/api.pb.go:161
FunctionPRINT
()
ch12/kvWeb.go:92
MethodPerimeter
()
ch07/useInterface.go:29
MethodPop
()
ch05/conHeap.go:10
MethodPower
(arguments *sharedRPC.MyFloats, reply *float64)
ch13/RPCserver.go:24
MethodPower
(arguments *MyFloats, reply *float64)
ch13/sharedRPC.go:9
MethodProtoMessage
()
ch12/gRPC/api.pb.go:37
MethodProtoMessage
()
ch12/gRPC/api.pb.go:84
FunctionRegisterMessageServiceServer
(s *grpc.Server, srv MessageServiceServer)
ch12/gRPC/api.pb.go:187
MethodReset
()
ch12/gRPC/api.pb.go:82
FunctionS1
The S1() function finds the length of a string It iterates over the string using range
ch11/documentMe.go:11
MethodSayIt
(ctx context.Context, r *p.Request)
ch12/gRPC/gServer.go:16
MethodSayIt
(ctx context.Context, in *Request, opts ...grpc.CallOption)
ch12/gRPC/api.pb.go:165
MethodSayIt
(context.Context, *Request)
ch12/gRPC/api.pb.go:176
MethodSayIt
(ctx context.Context, req *Request)
ch12/gRPC/api.pb.go:183
FunctionStatusNotFound
(w http.ResponseWriter, r *http.Request)
ch12/testWWW.go:14
MethodString
()
ch12/gRPC/api.pb.go:83
MethodSwap
(a, b int)
ch05/conHeap.go:30
FunctionTestCheckStatusOK
(t *testing.T)
ch12/testWWW_test.go:10
FunctionTestF1
(t *testing.T)
ch11/testMe_test.go:25
FunctionTestF2
(t *testing.T)
ch11/testMe_test.go:43
FunctionTestFibo1
(t *testing.T)
ch11/cover/codeCover_test.go:7
FunctionTestFibo1_10
(t *testing.T)
ch11/cover/codeCover_test.go:19
← previousnext →201–300 of 639, ranked by callers