go/src/pkg/strconv
Russ Cox a53317668a strconv: run garbage collection before counting allocations in test
My theory is that the call to f() allocates, which triggers
a garbage collection, which itself may do some allocation,
which is being counted.  Running a garbage collection
before starting the test should avoid this problem.

Fixes #2894 (I hope).

R=golang-dev, bradfitz, nigeltao
CC=golang-dev
https://golang.org/cl/5685046
2012-02-19 22:13:04 -05:00
..
atob.go strconv: include package and function name in error strings 2011-12-13 10:42:05 -08:00
atob_test.go strconv: new API 2011-12-05 15:48:21 -05:00
atof.go strconv: handle very large inputs 2012-02-07 23:37:15 -05:00
atof_test.go runtime: on 386, fix FP control word on all threads, not just initial thread 2012-02-14 01:23:15 -05:00
atoi.go strconv: include package and function name in error strings 2011-12-13 10:42:05 -08:00
atoi_test.go strconv: include package and function name in error strings 2011-12-13 10:42:05 -08:00
decimal.go strconv: handle very large inputs 2012-02-07 23:37:15 -05:00
decimal_test.go strconv: make Ftoa faster 2011-11-15 12:17:25 -05:00
extfloat.go strconv: faster FormatFloat(x, *, -1, 64) using Grisu3 algorithm. 2012-01-13 23:24:33 +01:00
fp_test.go doc: fix comments referring to removed API funcs 2012-01-14 10:59:45 -08:00
ftoa.go strconv: faster FormatFloat(x, *, -1, 64) using Grisu3 algorithm. 2012-01-13 23:24:33 +01:00
ftoa_test.go strconv: faster FormatFloat(x, *, -1, 64) using Grisu3 algorithm. 2012-01-13 23:24:33 +01:00
internal_test.go strconv: make Ftoa faster 2011-11-15 12:17:25 -05:00
itoa.go strconv: slightly faster int conversion for GOARCH=386 2011-12-14 11:14:10 -08:00
itoa_test.go strconv: run garbage collection before counting allocations in test 2012-02-19 22:13:04 -05:00
quote.go strconv: return ErrSyntax when unquoting illegal octal sequences. This 2012-01-09 19:55:18 -05:00
quote_test.go strconv: return ErrSyntax when unquoting illegal octal sequences. This 2012-01-09 19:55:18 -05:00
testfp.txt mv src/lib to src/pkg 2009-06-09 09:53:44 -07:00