Searched refs:allCharsBufferUtf8 (Results 1 – 2 of 2) sorted by relevance
220 const allCharsBufferUtf8 = Buffer.from(allCharsString); constant225 assert(!allCharsBufferUtf8.includes('notfound'));248 const patternBufferUtf8 = allCharsBufferUtf8.slice(index, index + length);249 assert(index, allCharsBufferUtf8.includes(patternBufferUtf8));252 assert(index, allCharsBufferUtf8.includes(patternStringUtf8));
285 const allCharsBufferUtf8 = Buffer.from(allCharsString); constant290 assert.strictEqual(-1, allCharsBufferUtf8.indexOf('notfound'));323 const patternBufferUtf8 = allCharsBufferUtf8.slice(index, index + length);324 assert.strictEqual(index, allCharsBufferUtf8.indexOf(patternBufferUtf8));327 assert.strictEqual(index, allCharsBufferUtf8.indexOf(patternStringUtf8));