- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestMulUnbalanced (0.27 sec)
-
src/math/big/nat_test.go
t := stats.TotalAlloc f() runtime.ReadMemStats(&stats) return stats.TotalAlloc - t } // TestMulUnbalanced tests that multiplying numbers of different lengths // does not cause deep recursion and in turn allocate too much memory. // Test case for issue 3807. func TestMulUnbalanced(t *testing.T) { defer runtime.GOMAXPROCS(runtime.GOMAXPROCS(1)) x := rndNat(50000) y := rndNat(40)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 09 15:29:36 UTC 2024 - 26.2K bytes - Viewed (0)