Lines Matching refs:memoize
15 /** Used as the maximum memoize cache size. */
349 var MapCache = (_.memoize || lodashStable.memoize).Cache;
902 var map = new lodashBizarro.memoize.Cache;
907 label = message('_.memoize.Cache', 'Map');
14642 QUnit.module('lodash.memoize');
14683 QUnit.test('should memoize results based on the first argument given', function(assert) {
14686 var memoized = _.memoize(function(a, b, c) {
14698 memoized = _.memoize(fn, fn);
14708 memoized = _.memoize(fn, fn);
14721 assert.raises(function() { _.memoize(noop, true); }, TypeError);
14732 return _.isFunction(index ? _.memoize(noop, resolver) : _.memoize(noop));
14752 var memoized = _.memoize(identity);
14771 var memoized = _.memoize(function() {
14788 QUnit.test('should allow `_.memoize.Cache` to be customized', function(assert) {
14791 var oldCache = _.memoize.Cache;
14792 _.memoize.Cache = CustomCache;
14794 var memoized = _.memoize(function(object) {
14808 _.memoize.Cache = oldCache;
14811 QUnit.test('should works with an immutable `_.memoize.Cache` ', function(assert) {
14814 var oldCache = _.memoize.Cache;
14815 _.memoize.Cache = ImmutableCache;
14817 var memoized = _.memoize(function(object) {
14831 _.memoize.Cache = oldCache;
26754 'memoize',
26768 'memoize',