MCPcopy Index your code
hub / github.com/aarondl/sqlboiler / BenchmarkBytesArrayScanBytes

Function BenchmarkBytesArrayScanBytes

types/array_test.go:402–410  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

400}
401
402func BenchmarkBytesArrayScanBytes(b *testing.B) {
403 var a BytesArray
404 var x any = []byte(`{"\\xfe","\\xff","\\xdead","\\xbeef","\\xfe","\\xff","\\xdead","\\xbeef","\\xfe","\\xff"}`)
405
406 for i := 0; i < b.N; i++ {
407 a = BytesArray{}
408 a.Scan(x)
409 }
410}
411
412func TestBytesArrayScanString(t *testing.T) {
413 for _, tt := range BytesArrayStringTests {

Callers

nothing calls this directly

Calls 1

ScanMethod · 0.95

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…