Home
last modified time | relevance | path

Searched refs:historySize (Results 1 - 15 of 15) sorted by relevance

/third_party/node/lib/internal/
H A Drepl.js44 const historySize = Number(env.NODE_REPL_HISTORY_SIZE);
45 if (!NumberIsNaN(historySize) && historySize > 0) {
46 opts.historySize = historySize;
48 opts.historySize = 1000;
/third_party/node/test/parallel/
H A Dtest-repl-options.js62 assert.strictEqual(r1.historySize, 30);
78 historySize: 50
90 assert.strictEqual(r2.historySize, 50);
115 assert.strictEqual(r4.historySize, 30);
H A Dtest-repl-programmatic-history.js211 const historySize = opts.env.NODE_REPL_HISTORY_SIZE;
239 historySize: historySize
H A Dtest-readline-promises-interface.js105 // Constructor throws if historySize is not a positive number
106 ['not a number', -1, NaN, {}, true, Symbol(), null].forEach((historySize) => {
110 historySize,
371 const [rli, fi] = getInterface({ terminal: true, historySize: 2 });
769 const [rli, fi] = getInterface({ terminal, historySize: 0 });
770 assert.strictEqual(rli.historySize, 0);
780 assert.strictEqual(rli.historySize, 30);
H A Dtest-readline-interface.js128 // Constructor throws if historySize is not a positive number
129 ['not a number', -1, NaN, {}, true, Symbol(), null].forEach((historySize) => {
133 historySize,
394 const [rli, fi] = getInterface({ terminal: true, historySize: 2 });
897 const [rli, fi] = getInterface({ terminal, historySize: 0 });
898 assert.strictEqual(rli.historySize, 0);
908 assert.strictEqual(rli.historySize, 30);
/third_party/lzma/Java/SevenZip/Compression/LZ/
H A DBinTree.java79 public boolean Create(int historySize, int keepAddBufferBefore, in Create() argument
82 if (historySize > kMaxValForNormalize - 256) in Create()
86 int windowReservSize = (historySize + keepAddBufferBefore + in Create()
89 super.Create(historySize + keepAddBufferBefore, matchMaxLen + keepAddBufferAfter, windowReservSize); in Create()
93 int cyclicBufferSize = historySize + 1; in Create()
101 hs = historySize - 1; in Create()
/third_party/lzma/CS/7zip/Compress/LZ/
H A DLzBinTree.cs79 public void Create(UInt32 historySize, UInt32 keepAddBufferBefore, in Create() argument
82 if (historySize > kMaxValForNormalize - 256) in Create()
86 UInt32 windowReservSize = (historySize + keepAddBufferBefore + in Create()
89 base.Create(historySize + keepAddBufferBefore, matchMaxLen + keepAddBufferAfter, windowReservSize); in Create()
93 UInt32 cyclicBufferSize = historySize + 1; in Create()
101 hs = historySize - 1; in Create()
H A DIMatchFinder.cs19 void Create(UInt32 historySize, UInt32 keepAddBufferBefore, in Create() argument
/third_party/node/lib/internal/readline/
H A Dinterface.js146 let historySize;
158 historySize = input.historySize;
197 if (historySize === undefined) {
198 historySize = kHistorySize;
202 typeof historySize !== 'number' ||
203 NumberIsNaN(historySize) ||
204 historySize < 0
206 throw new ERR_INVALID_ARG_VALUE.RangeError('historySize', historySize);
[all...]
/third_party/lzma/C/
H A DLzFind.c197 in important case where (dataSize <= historySize)
280 static UInt32 GetBlockSize(CMatchFinder *p, UInt32 historySize) in GetBlockSize() argument
284 if (historySize > kMaxHistorySize) in GetBlockSize()
287 // printf("\nhistorySize == 0x%x\n", historySize); in GetBlockSize()
289 if (p->keepSizeBefore < historySize || blockSize < p->keepSizeBefore) // if 32-bit overflow in GetBlockSize()
314 // input is historySize
340 // input is historySize
370 int MatchFinder_Create(CMatchFinder *p, UInt32 historySize, in MatchFinder_Create() argument
377 p->keepSizeBefore = historySize + keepAddBufferBefore + 1; in MatchFinder_Create()
388 if (p->directInput || LzInWindow_Create2(p, GetBlockSize(p, historySize), allo in MatchFinder_Create()
[all...]
H A DLzFindMt.h55 UInt32 historySize; member
82 UInt32 cyclicBufferSize; /* it must be = (historySize + 1) */
99 SRes MatchFinderMt_Create(CMatchFinderMt *p, UInt32 historySize, UInt32 keepAddBufferBefore,
H A DLzFind.h22 UInt32 cyclicBufferSize; /* it must be = (historySize + 1) */
44 UInt32 historySize; member
99 int MatchFinder_Create(CMatchFinder *p, UInt32 historySize,
H A DLzFindMt.c521 const UInt32 subValue = (mf->pos - mf->historySize - 1); // & ~(UInt32)(kNormalizeAlign - 1); in HashThreadFunc()
848 SRes MatchFinderMt_Create(CMatchFinderMt *p, UInt32 historySize, UInt32 keepAddBufferBefore, in MatchFinderMt_Create() argument
852 p->historySize = historySize; in MatchFinderMt_Create()
864 if (!MatchFinder_Create(mf, historySize, keepAddBufferBefore, matchMaxLen, keepAddBufferAfter, alloc)) in MatchFinderMt_Create()
974 const UInt32 subValue = (p->lzPos - p->historySize - 1); // & ~(UInt32)(kNormalizeAlign - 1); in MatchFinderMt_GetNextBlock_Bt()
1101 const UInt32 hs = p->historySize;
1283 if (m > p->historySize) in MatchFinderMt_GetMatches()
1284 m -= p->historySize; in MatchFinderMt_GetMatches()
/third_party/node/lib/internal/repl/
H A Dhistory.js93 repl.history = RegExpPrototypeSymbolSplit(/[\n\r]+/, data, repl.historySize);
/third_party/node/lib/
H A Drepl.js798 historySize: options.historySize,

Completed in 10 milliseconds