Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/akutz/go-generics-the-hard-way
/ functions
Functions
69 in github.com/akutz/go-generics-the-hard-way
⨍
Functions
69
◇
Types & classes
18
↓ 18 callers
Function
print
(r request)
02-hello-world/example_test.go:28
↓ 16 callers
Function
noZedZed
(f)
hack/b2md.py:42
↓ 15 callers
Method
Add
(val T)
06-benchmarks/lists/generic/list.go:21
↓ 10 callers
Method
add
(val T)
05-internals/golang/main.go:26
↓ 9 callers
Method
add
(val T)
05-internals/03-runtime-instantiation/golang/main.go:29
↓ 5 callers
Method
Add
(val int)
06-benchmarks/lists/typed/int.go:24
↓ 5 callers
Function
Sum
Sum returns the sum of the provided arguments.
03-getting-started/examples/04-the-any-constraint/main.go:27
↓ 4 callers
Method
Add
(val int8)
06-benchmarks/lists/typed/int8.go:24
↓ 4 callers
Function
SumInterface
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 callers
Function
avgNoZedZed
(a, b)
hack/b2md.py:51
↓ 4 callers
Function
intOrFloat
(s)
hack/b2md.py:32
↓ 4 callers
Function
printFileType
(file_type)
hack/b2md.py:90
↓ 3 callers
Method
Add
(val int16)
06-benchmarks/lists/typed/int16.go:24
↓ 3 callers
Function
avgBoxingData
(listType, data)
hack/b2md.py:55
↓ 3 callers
Function
printBoxingMarkdown
(listType, data)
hack/b2md.py:75
↓ 2 callers
Method
Add
(val int32)
06-benchmarks/lists/typed/int32.go:24
↓ 2 callers
Function
Ptr
Ptr returns *value.
02-hello-world/example_test.go:85
↓ 2 callers
Function
SumTintOrint64
SumTintOrint64 returns the sum of the provided arguments.
03-getting-started/examples_test.go:181
↓ 2 callers
Function
printLen
(list List[T])
05-internals/golang/main.go:30
↓ 2 callers
Method
printLen
(ArrayList<?> list)
05-internals/03-runtime-instantiation/java/main.java:22
↓ 2 callers
Method
printLen
(ArrayList<?> list)
05-internals/java/main.java:20
↓ 1 callers
Method
Add
(val int64)
06-benchmarks/lists/typed/int64.go:24
↓ 1 callers
Method
Add
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 callers
Function
PtrInt
PtrInt returns *i.
02-hello-world/example_test.go:63
↓ 1 callers
Function
PtrStr
PtrStr returns *s.
02-hello-world/example_test.go:68
↓ 1 callers
Function
Sum
Sum returns the sum of the provided arguments.
04-getting-going/01-var-t/heap/main.go:32
↓ 1 callers
Function
Sum
Sum returns the sum of the provided arguments.
04-getting-going/01-var-t/stack/main.go:32
↓ 1 callers
Function
Sum
Sum returns the sum of the provided arguments.
04-getting-going/02-new-t/stack/main.go:32
↓ 1 callers
Function
SumInt
SumInt returns the sum of the provided arguments.
03-getting-started/examples_test.go:103
↓ 1 callers
Function
SumInt64
SumInt64 returns the sum of the provided int64 values.
03-getting-started/examples_test.go:154
↓ 1 callers
Function
SumTint
SumTint returns the sum of the provided arguments.
03-getting-started/examples_test.go:172
↓ 1 callers
Function
SumUint32
SumUint32 returns the sum of the provided uint32 values.
03-getting-started/examples_test.go:163
↓ 1 callers
Function
printBuildTimeMarkdown
(data)
hack/b2md.py:87
↓ 1 callers
Function
printFileSizeMarkdown
(data)
hack/b2md.py:118
↓ 1 callers
Function
twoDecimalFloat
(f)
hack/b2md.py:38
Function
BenchmarkBoxing
(b *testing.B)
06-benchmarks/benchmarks_test.go:29
Function
BenchmarkGoBuild
(b *testing.B)
06-benchmarks/benchmarks_test.go:79
Function
ExampleConstraints
()
03-getting-started/examples_test.go:62
Function
ExampleGenericSolution
()
02-hello-world/example_test.go:89
Function
ExampleLocalVars
()
02-hello-world/example_test.go:49
Function
ExampleSyntax
()
03-getting-started/examples_test.go:57
Function
ExampleTheAnyConstraint
()
03-getting-started/examples_test.go:70
Function
ExampleTheProblem
()
02-hello-world/example_test.go:40
Function
ExampleTypedHelpers
()
02-hello-world/example_test.go:72
Function
ExampleWhatIsAGeneric_EmptyInterface
()
03-getting-started/examples_test.go:30
Function
ExampleWhatIsAGeneric_MultipleFunctions
()
03-getting-started/examples_test.go:49
Function
ExampleWhatIsAGeneric_SumInt
()
03-getting-started/examples_test.go:25
Function
main
()
06-benchmarks/lists/generic/cmd/int64.go:26
Function
main
()
06-benchmarks/lists/generic/cmd/int.go:26
Function
main
()
06-benchmarks/lists/generic/cmd/int32.go:26
Function
main
()
06-benchmarks/lists/generic/cmd/int8.go:26
Function
main
()
06-benchmarks/lists/generic/cmd/int16.go:26
Function
main
()
06-benchmarks/lists/generic/cmd/main.go:22
Function
main
()
06-benchmarks/lists/typed/cmd/int64.go:26
Function
main
()
06-benchmarks/lists/typed/cmd/int.go:26
Function
main
()
06-benchmarks/lists/typed/cmd/int32.go:26
Function
main
()
06-benchmarks/lists/typed/cmd/int8.go:26
Function
main
()
06-benchmarks/lists/typed/cmd/int16.go:26
Function
main
()
06-benchmarks/lists/typed/cmd/main.go:22
Function
main
()
06-benchmarks/lists/boxed/cmd/main.go:23
Function
main
()
03-getting-started/examples/04-the-any-constraint/main.go:35
Function
main
()
04-getting-going/01-var-t/heap/main.go:41
Function
main
()
04-getting-going/01-var-t/stack/main.go:41
Function
main
()
04-getting-going/02-new-t/stack/main.go:40
Function
main
()
05-internals/golang/main.go:34
Function
main
()
05-internals/03-runtime-instantiation/golang/main.go:37
Method
main
(String[] args)
05-internals/03-runtime-instantiation/java/main.java:26
Method
main
(String[] args)
05-internals/java/main.java:24
Function
printLen
(list List[T])
05-internals/03-runtime-instantiation/golang/main.go:33