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

Function BenchmarkStringArrayScanBytes

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

Source from the content-addressed store, hash-verified

861}
862
863func BenchmarkStringArrayScanBytes(b *testing.B) {
864 var a StringArray
865 var x any = []byte(`{a,b,c,d,e,f,g,h,i,j}`)
866 var y any = []byte(`{"\a","\b","\c","\d","\e","\f","\g","\h","\i","\j"}`)
867
868 for i := 0; i < b.N; i++ {
869 a = StringArray{}
870 a.Scan(x)
871 a = StringArray{}
872 a.Scan(y)
873 }
874}
875
876func TestStringArrayScanString(t *testing.T) {
877 for _, tt := range StringArrayStringTests {

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…