- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for BenchmarkSprintfPadding (0.27 sec)
-
src/fmt/fmt_test.go
s := Sprintf(tt.fmt, tt.val...) if s != tt.out { t.Errorf("Sprintf(%q, %v) = <%s> want <%s>", tt.fmt, tt.val, s, tt.out) } else { } } } func BenchmarkSprintfPadding(b *testing.B) { b.RunParallel(func(pb *testing.PB) { for pb.Next() { _ = Sprintf("%16f", 1.0) } }) } func BenchmarkSprintfEmpty(b *testing.B) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:31:55 UTC 2024 - 58.6K bytes - Viewed (0)