MCPcopy Index your code
hub / github.com/TheAlgorithms/Go / BenchmarkHexToBinary

Function BenchmarkHexToBinary

conversion/hexadecimaltobinary_test.go:41–46  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

39}
40
41func BenchmarkHexToBinary(b *testing.B) {
42 b.ReportAllocs()
43 for i := 0; i < b.N; i++ {
44 _, _ = hexToBinary("7FFFFFFFFFFFFFFF")
45 }
46}

Callers

nothing calls this directly

Calls 1

hexToBinaryFunction · 0.85

Tested by

no test coverage detected