Lines Matching refs:bufferArr
19 const bufferArr = []; variable
21 bufferArr[0] = Buffer.alloc(Math.floor(combinedLength / 2));
22 bufferArr[1] = Buffer.alloc(combinedLength - bufferArr[0].length);
24 return bufferArr;
32 const bufferArr = allocateEmptyBuffers(exptectedBuff.length);
40 ({ bytesRead, buffers } = await handle.readv(bufferArr, null));
42 assert.deepStrictEqual(buffers, bufferArr);
43 assert(Buffer.concat(bufferArr).equals(await fs.readFile(filename)));
51 const bufferArr = allocateEmptyBuffers(exptectedBuff.length);
58 ({ bytesRead, buffers } = await handle.readv(bufferArr));
60 assert.deepStrictEqual(buffers, bufferArr);
61 assert(Buffer.concat(bufferArr).equals(await fs.readFile(filename)));