/third_party/node/lib/internal/ |
H A D | repl.js | 44 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 D | test-repl-options.js | 62 assert.strictEqual(r1.historySize, 30); 78 historySize: 50 90 assert.strictEqual(r2.historySize, 50); 115 assert.strictEqual(r4.historySize, 30);
|
H A D | test-repl-programmatic-history.js | 211 const historySize = opts.env.NODE_REPL_HISTORY_SIZE; 239 historySize: historySize
|
H A D | test-readline-promises-interface.js | 105 // 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 D | test-readline-interface.js | 128 // 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 D | BinTree.java | 79 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 D | LzBinTree.cs | 79 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 D | IMatchFinder.cs | 19 void Create(UInt32 historySize, UInt32 keepAddBufferBefore,
in Create() argument
|
/third_party/node/lib/internal/readline/ |
H A D | interface.js | 146 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 D | LzFind.c | 197 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 D | LzFindMt.h | 55 UInt32 historySize;
member 82 UInt32 cyclicBufferSize; /* it must be = (historySize + 1) */
99 SRes MatchFinderMt_Create(CMatchFinderMt *p, UInt32 historySize, UInt32 keepAddBufferBefore,
|
H A D | LzFind.h | 22 UInt32 cyclicBufferSize; /* it must be = (historySize + 1) */
44 UInt32 historySize;
member 99 int MatchFinder_Create(CMatchFinder *p, UInt32 historySize,
|
H A D | LzFindMt.c | 521 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 D | history.js | 93 repl.history = RegExpPrototypeSymbolSplit(/[\n\r]+/, data, repl.historySize);
|
/third_party/node/lib/ |
H A D | repl.js | 798 historySize: options.historySize,
|