MCPcopy Create free account

hub / github.com/akutz/go-generics-the-hard-way / functions

Functions69 in github.com/akutz/go-generics-the-hard-way

↓ 18 callersFunctionprint
(r request)
02-hello-world/example_test.go:28
↓ 16 callersFunctionnoZedZed
(f)
hack/b2md.py:42
↓ 15 callersMethodAdd
(val T)
06-benchmarks/lists/generic/list.go:21
↓ 10 callersMethodadd
(val T)
05-internals/golang/main.go:26
↓ 9 callersMethodadd
(val T)
05-internals/03-runtime-instantiation/golang/main.go:29
↓ 5 callersMethodAdd
(val int)
06-benchmarks/lists/typed/int.go:24
↓ 5 callersFunctionSum
Sum returns the sum of the provided arguments.
03-getting-started/examples/04-the-any-constraint/main.go:27
↓ 4 callersMethodAdd
(val int8)
06-benchmarks/lists/typed/int8.go:24
↓ 4 callersFunctionSumInterface
SumInterface returns the sum of the provided arguments. An error is returned if the arguments are not of a supported type or of mixed types.
03-getting-started/examples_test.go:115
↓ 4 callersFunctionavgNoZedZed
(a, b)
hack/b2md.py:51
↓ 4 callersFunctionintOrFloat
(s)
hack/b2md.py:32
↓ 4 callersFunctionprintFileType
(file_type)
hack/b2md.py:90
↓ 3 callersMethodAdd
(val int16)
06-benchmarks/lists/typed/int16.go:24
↓ 3 callersFunctionavgBoxingData
(listType, data)
hack/b2md.py:55
↓ 3 callersFunctionprintBoxingMarkdown
(listType, data)
hack/b2md.py:75
↓ 2 callersMethodAdd
(val int32)
06-benchmarks/lists/typed/int32.go:24
↓ 2 callersFunctionPtr
Ptr returns *value.
02-hello-world/example_test.go:85
↓ 2 callersFunctionSumTintOrint64
SumTintOrint64 returns the sum of the provided arguments.
03-getting-started/examples_test.go:181
↓ 2 callersFunctionprintLen
(list List[T])
05-internals/golang/main.go:30
↓ 2 callersMethodprintLen
(ArrayList<?> list)
05-internals/03-runtime-instantiation/java/main.java:22
↓ 2 callersMethodprintLen
(ArrayList<?> list)
05-internals/java/main.java:20
↓ 1 callersMethodAdd
(val int64)
06-benchmarks/lists/typed/int64.go:24
↓ 1 callersMethodAdd
Add a new element to the list. Please note that val will be boxed in order to pass it into the method using the empty interface.
06-benchmarks/lists/boxed/list.go:26
↓ 1 callersFunctionPtrInt
PtrInt returns *i.
02-hello-world/example_test.go:63
↓ 1 callersFunctionPtrStr
PtrStr returns *s.
02-hello-world/example_test.go:68
↓ 1 callersFunctionSum
Sum returns the sum of the provided arguments.
04-getting-going/01-var-t/heap/main.go:32
↓ 1 callersFunctionSum
Sum returns the sum of the provided arguments.
04-getting-going/01-var-t/stack/main.go:32
↓ 1 callersFunctionSum
Sum returns the sum of the provided arguments.
04-getting-going/02-new-t/stack/main.go:32
↓ 1 callersFunctionSumInt
SumInt returns the sum of the provided arguments.
03-getting-started/examples_test.go:103
↓ 1 callersFunctionSumInt64
SumInt64 returns the sum of the provided int64 values.
03-getting-started/examples_test.go:154
↓ 1 callersFunctionSumTint
SumTint returns the sum of the provided arguments.
03-getting-started/examples_test.go:172
↓ 1 callersFunctionSumUint32
SumUint32 returns the sum of the provided uint32 values.
03-getting-started/examples_test.go:163
↓ 1 callersFunctionprintBuildTimeMarkdown
(data)
hack/b2md.py:87
↓ 1 callersFunctionprintFileSizeMarkdown
(data)
hack/b2md.py:118
↓ 1 callersFunctiontwoDecimalFloat
(f)
hack/b2md.py:38
FunctionBenchmarkBoxing
(b *testing.B)
06-benchmarks/benchmarks_test.go:29
FunctionBenchmarkGoBuild
(b *testing.B)
06-benchmarks/benchmarks_test.go:79
FunctionExampleConstraints
()
03-getting-started/examples_test.go:62
FunctionExampleGenericSolution
()
02-hello-world/example_test.go:89
FunctionExampleLocalVars
()
02-hello-world/example_test.go:49
FunctionExampleSyntax
()
03-getting-started/examples_test.go:57
FunctionExampleTheAnyConstraint
()
03-getting-started/examples_test.go:70
FunctionExampleTheProblem
()
02-hello-world/example_test.go:40
FunctionExampleTypedHelpers
()
02-hello-world/example_test.go:72
FunctionExampleWhatIsAGeneric_EmptyInterface
()
03-getting-started/examples_test.go:30
FunctionExampleWhatIsAGeneric_MultipleFunctions
()
03-getting-started/examples_test.go:49
FunctionExampleWhatIsAGeneric_SumInt
()
03-getting-started/examples_test.go:25
Functionmain
()
06-benchmarks/lists/generic/cmd/int64.go:26
Functionmain
()
06-benchmarks/lists/generic/cmd/int.go:26
Functionmain
()
06-benchmarks/lists/generic/cmd/int32.go:26
Functionmain
()
06-benchmarks/lists/generic/cmd/int8.go:26
Functionmain
()
06-benchmarks/lists/generic/cmd/int16.go:26
Functionmain
()
06-benchmarks/lists/generic/cmd/main.go:22
Functionmain
()
06-benchmarks/lists/typed/cmd/int64.go:26
Functionmain
()
06-benchmarks/lists/typed/cmd/int.go:26
Functionmain
()
06-benchmarks/lists/typed/cmd/int32.go:26
Functionmain
()
06-benchmarks/lists/typed/cmd/int8.go:26
Functionmain
()
06-benchmarks/lists/typed/cmd/int16.go:26
Functionmain
()
06-benchmarks/lists/typed/cmd/main.go:22
Functionmain
()
06-benchmarks/lists/boxed/cmd/main.go:23
Functionmain
()
03-getting-started/examples/04-the-any-constraint/main.go:35
Functionmain
()
04-getting-going/01-var-t/heap/main.go:41
Functionmain
()
04-getting-going/01-var-t/stack/main.go:41
Functionmain
()
04-getting-going/02-new-t/stack/main.go:40
Functionmain
()
05-internals/golang/main.go:34
Functionmain
()
05-internals/03-runtime-instantiation/golang/main.go:37
Methodmain
(String[] args)
05-internals/03-runtime-instantiation/java/main.java:26
Methodmain
(String[] args)
05-internals/java/main.java:24
FunctionprintLen
(list List[T])
05-internals/03-runtime-instantiation/golang/main.go:33