- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestGrabConnAllocs (0.43 sec)
-
src/database/sql/sql_test.go
for pb.Next() { rows, err := stmt.Query("sleep", 1) if err != nil { b.Error(err) return } rows.Close() } }) } func TestGrabConnAllocs(t *testing.T) { testenv.SkipIfOptimizationOff(t) if race.Enabled { t.Skip("skipping allocation test when using race detector") } c := new(Conn) ctx := context.Background()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 111.6K bytes - Viewed (0)