Searched refs:memoize (Results 1 – 9 of 9) sorted by relevance
993 template memoize(alias fun) in memoize() function998 ReturnType!fun memoize(Parameters!fun args) in memoize()1012 template memoize(alias fun, uint maxSize) in memoize() function1016 ReturnType!fun memoize(Parameters!fun args) in memoize()1079 return n < 2 ? n : memoize!fib(n - 2) + memoize!fib(n - 1); in fib()1091 return n < 2 ? 1 : n * memoize!fact(n - 1); in fact()1106 alias fact = memoize!factImpl;1119 return n < 2 ? 1 : n * memoize!(fact, 8)(n - 1); in fact()1129 alias msqrt = memoize!(function double(double x) { return sqrt(x); });1143 alias mfib = memoize!fib; in fib()[all …]
1322 template memoize(alias fun)1328 ReturnType!fun memoize(Parameters!fun args)1345 template memoize(alias fun, uint maxSize)1350 ReturnType!fun memoize(Parameters!fun args)1417 return n < 2 ? n : memoize!fib(n - 2) + memoize!fib(n - 1);1429 return n < 2 ? 1 : n * memoize!fact(n - 1);1444 alias fact = memoize!factImpl;1457 return n < 2 ? 1 : n * memoize!(fact, 8)(n - 1);1467 alias msqrt = memoize!(function double(double x) { return sqrt(x); });1481 alias mfib = memoize!fib;[all …]
195 // This class used to use !foldl to memoize the AddrAsmNames list.
2286 * search.c: Tear out all mi_matrix and memoize code.2290 * cp-tree.h: Lose mi_matrix and memoize support.2293 (pushclass, popclass): Lose memoize support.
1849 (learn_*): Add facilities to memoize implications for subsumption
745 choose to memoize the result from @code{gimple_ops}() and use that to
13802 choose to memoize the result from 'gimple_ops'() and use that to
13384 choose to memoize the result from 'gimple_ops'() and use that to