/external/python/cpython2/Lib/test/ |
D | test_builtin.py | 17 class Squares: class 454 self.assertEqual(filter(None, Squares(10)), [1, 4, 9, 16, 25, 36, 49, 64, 81]) 455 self.assertEqual(filter(lambda x: x%2, Squares(10)), [1, 9, 25, 49, 81]) 458 filter(identity, Squares(5)) 772 map(None, Squares(10)), 776 map(int, Squares(10)), 780 map(None, Squares(3), Squares(2)), 784 map(max, Squares(3), Squares(2)), 1193 self.assertEqual(reduce(add, Squares(10)), 285) 1194 self.assertEqual(reduce(add, Squares(10), 0), 285) [all …]
|
D | test_functools.py | 452 class Squares: class 479 self.assertEqual(reduce(lambda x, y: x+y, Squares(10)), 285) 480 self.assertEqual(reduce(lambda x, y: x+y, Squares(10), 0), 285) 481 self.assertEqual(reduce(lambda x, y: x+y, Squares(0), 0), 0)
|
D | test_grammar.py | 793 class Squares: class 806 for x in Squares(10): n = n+x
|
/external/python/cpython3/Lib/test/ |
D | test_builtin.py | 39 class Squares: class 707 self.assertEqual(list(filter(None, Squares(10))), [1, 4, 9, 16, 25, 36, 49, 64, 81]) 708 self.assertEqual(list(filter(lambda x: x%2, Squares(10))), [1, 9, 25, 49, 81]) 711 filter(identity, Squares(5)) 911 list(map(int, Squares(10))), 921 list(map(Max, Squares(3), Squares(2))), 1388 self.assertEqual(sum(Squares(10)), 285) 1389 self.assertEqual(sum(iter(Squares(10))), 285)
|
D | test_grammar.py | 1226 class Squares: class 1239 for x in Squares(10): n = n+x
|
D | test_functools.py | 770 class Squares: class 797 self.assertEqual(self.reduce(add, Squares(10)), 285) 798 self.assertEqual(self.reduce(add, Squares(10), 0), 285) 799 self.assertEqual(self.reduce(add, Squares(0), 0), 0)
|
/external/python/cpython2/Lib/lib2to3/tests/data/ |
D | py3_test_grammar.py | 546 class Squares: class 559 for x in Squares(10): n = n+x
|
D | py2_test_grammar.py | 602 class Squares: class 615 for x in Squares(10): n = n+x
|
/external/python/cpython3/Lib/lib2to3/tests/data/ |
D | py2_test_grammar.py | 602 class Squares: class 615 for x in Squares(10): n = n+x
|
D | py3_test_grammar.py | 570 class Squares: class 583 for x in Squares(10): n = n+x
|
/external/one-true-awk/testdir/ |
D | funstack.ok | 150 H. Spath ACM Algorithm 376: Least Squares Fit by 1713 Squares Problems . . . . . . . . . . . . 167--169 1945 Nonlinear Least Squares'' . . . . . . . 591--591 2086 L. F. Shampine Discrete Least Squares Polynomial Fits 179--180
|
D | funstack.in | 922 title = "{ACM} Algorithm 376: Least Squares Fit by {$f(x)=A\cos(Bx+C)$}", 12853 …"Efficient Implementation of a Variable Projection Algorithm for Nonlinear Least Squares Problems", 12873 …ng; least squares approximations; lsq; mathematical techniques --- Least Squares Approximations; n… 14614 …ta: ``{Efficient Implementation of a Variable Projection Algorithm for Nonlinear Least Squares}''", 15743 title = "Discrete Least Squares Polynomial Fits",
|
/external/icu/icu4c/source/data/unidata/ |
D | ppucd.txt | 12770 # Squares 12780 # Squares
|