Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheAlgorithms/Go
/ BenchmarkHexToDecimal
Function
BenchmarkHexToDecimal
conversion/hexadecimaltodecimal_test.go:47–52 ·
view source on GitHub ↗
(b *testing.B)
Source
from the content-addressed store, hash-verified
45
}
46
47
func
BenchmarkHexToDecimal(b *testing.B) {
48
b.ReportAllocs()
49
for
i := 0; i < b.N; i++ {
50
_, _ = hexToDecimal(
"7FFFFFFFFFFFFFFF"
)
51
}
52
}
Callers
nothing calls this directly
Calls
1
hexToDecimal
Function · 0.85
Tested by
no test coverage detected