/third_party/typescript/tests/baselines/reference/ |
H A D | typedArraysSubarray.js | 4 arr.subarray(); 5 arr.subarray(0); 6 arr.subarray(0, 10); 11 arr.subarray(); 12 arr.subarray(0); 13 arr.subarray(0, 10); 18 arr.subarray(); 19 arr.subarray(0); 20 arr.subarray(0, 10); 25 arr.subarray(); [all...] |
H A D | bigint64ArraySubarray.js | 4 arr.subarray(); 5 arr.subarray(0); 6 arr.subarray(0, 10); 13 arr.subarray();
14 arr.subarray(0);
15 arr.subarray(0, 10);
|
/third_party/node/test/parallel/ |
H A D | test-dgram-send-bad-arguments.js | 84 Buffer.from('hello world').subarray(0, 5), 85 Buffer.from('hello world').subarray(4, 9), 86 Buffer.from('hello world').subarray(6), 88 new Uint8Array(longArray).subarray(0, 5), 89 new Uint8Array(longArray).subarray(2, 7), 90 new Uint8Array(longArray).subarray(3),
|
H A D | test-socket-writes-before-passed-to-tls-socket.js | 19 const clientHelloFstByte = Buffer.concat(recv).subarray(HEAD.length, HEAD.length + 1); 32 socket.write(HEAD.subarray(0, HEAD.length / 2), common.mustSucceed()); 37 socket.write(HEAD.subarray(HEAD.length / 2), common.mustSucceed());
|
H A D | test-assert-typedarray-deepequal.js | 24 [new Uint8Array([1, 2, 3, 4]).subarray(1), new Uint8Array([2, 3, 4])], 25 [new Uint16Array([1, 2, 3, 4]).subarray(1), new Uint16Array([2, 3, 4])], 26 [new Uint32Array([1, 2, 3, 4]).subarray(1, 3), new Uint32Array([2, 3])],
|
H A D | test-double-tls-server.js | 68 const serverHelloFstByte = Buffer.concat(recv).subarray(serverReplaySize, serverReplaySize + 1);
|
/third_party/protobuf/js/experimental/runtime/kernel/ |
H A D | writer_test.js | 260 expect(buffer.subarray(1, 9)) 295 expect(buffer.subarray(1, 5)).toEqual(pair.bufferDecoder.asUint8Array()); 314 expect(buffer.subarray(1, 5)).toEqual(pair.bufferDecoder.asUint8Array()); 348 expect(buffer.subarray(1, buffer.length)) 374 expect(buffer.subarray(1, 5)).toEqual(pair.bufferDecoder.asUint8Array()); 393 expect(buffer.subarray(1, 9)).toEqual(pair.bufferDecoder.asUint8Array()); 412 expect(buffer.subarray(1, buffer.length)) 433 expect(buffer.subarray(1, buffer.length)) 454 expect(buffer.subarray(1, buffer.length)) 475 expect(buffer.subarray( [all...] |
/third_party/node/benchmark/util/ |
H A D | text-encoder.js | 40 const subarray = new Uint8Array(len); 45 result = encoder.encodeInto(input, subarray); 47 assert.deepStrictEqual(subarray, expected);
|
/third_party/jerryscript/tests/jerry/es2015/ |
H A D | typedArray-sort.js | 23 assert(b.subarray(2, 4).sort().toString() === '3,4'); 49 assert(h.subarray(0, 2).sort().toString() === '0,255'); 50 assert(h.subarray(2, 4).sort().toString() === '0,255');
|
H A D | regression-test-issue-2757.js | 15 var v1 = (new Int8Array (149)).subarray (78);
|
/third_party/node/test/fixtures/wpt/WebCryptoAPI/sign_verify/ |
H A D | ecdsa_vectors.js | 93 vector.signature = vector.signature.subarray(0, vector.signature.byteLength - 1); 111 const r = vector.signature.subarray(0, vector.signature.byteLength / 2); 112 const s = vector.signature.subarray(vector.signature.byteLength);
|
/third_party/node/deps/npm/node_modules/@sigstore/verify/dist/timestamp/ |
H A D | checkpoint.js | 73 const tlog = tlogs.find((tlog) => core_1.crypto.bufferEqual(tlog.logID.subarray(0, 4), signature.keyHint)); 116 keyHint: sigBytes.subarray(0, 4), 117 signature: sigBytes.subarray(4),
|
/third_party/node/lib/internal/ |
H A D | error_serdes.js | 162 const { constructor, properties } = deserialize(error.subarray(1)); 175 return deserialize(error.subarray(1));
|
/third_party/node/deps/undici/src/node_modules/@fastify/busboy/deps/streamsearch/ |
H A D | sbmh.js | 195 data.subarray(pos, pos + len - pos), 196 needle.subarray(0, len - pos)
|
/third_party/node/test/fixtures/wpt/streams/readable-byte-streams/ |
H A D | general.any.js | 2292 const newView = transferredView.subarray(0, 1); 2332 const newView = transferredView.subarray(0, 0); 2441 assert_typed_array_equals(result2.value, new Uint8Array([11, 5, 6]).subarray(0, 1), 'second result.value'); 2477 assert_typed_array_equals(byobRequest2.view, new Uint8Array([0x11, 0]).subarray(1, 2), 'second byobRequest.view'); 2533 assert_typed_array_equals(result3.value, new Uint8Array([8, 0, 0]).subarray(0, 1), 'third result.value'); 2564 byobRequest1.respondWithNewView(byobRequest1.view.subarray(0, 2)); 2570 assert_typed_array_equals(result2.value, new Uint8Array([11, 12, 6]).subarray(0, 2), 'second result.value'); 2604 assert_typed_array_equals(result2.value, new Uint8Array([11, 12, 6]).subarray(0, 2), 'second result.value'); 2639 assert_typed_array_equals(result2.value, new Uint8Array([4, 5, 6]).subarray(0, 0), 'second result.value'); 2675 assert_typed_array_equals(result2.value, new Uint8Array([11, 0, 0, 0]).subarray( [all...] |
/third_party/node/benchmark/buffers/ |
H A D | buffer-slice.js | 6 type: ['fast', 'slow', 'subarray'], 15 const fn = type === 'subarray' ? 16 () => b.subarray(10, 256) :
|
/third_party/glslang/glslang/OSDependent/Web/ |
H A D | glslang.pre.js | 43 ret['data'] = Module['HEAPU32'].subarray(outputIndexU32, outputIndexU32 + output_len);
|
/third_party/jerryscript/tests/jerry/fail/ |
H A D | regression-test-issue-2775.js | 81 var v1 = ( new Int8Array ( 149 ) ) . subarray ( 78 )
|
/third_party/node/deps/npm/node_modules/@tufjs/models/dist/ |
H A D | role.js | 230 const hashBytes = hasherBuffer.subarray(0, 4);
|
/third_party/skia/modules/canvaskit/ |
H A D | memory.js | 34 'subarray': function(start, end) { 35 var sa = this['toTypedArray']().subarray(start, end);
|
/third_party/skia/third_party/externals/brotli/js/ |
H A D | decode.js | 699 newBuffer.set(s.ringBuffer.subarray(0, 0 + s.ringBufferSize), 0); 891 s.output.set(s.ringBuffer.subarray(s.ringBufferBytesWritten, s.ringBufferBytesWritten + toWrite), s.outputOffset + s.outputUsed); 1680 data.set(s.byteBuffer.subarray(readOffset, readOffset + delta), offset); 1956 dst.set(src.data.subarray(src.offset, end), offset); 2014 result.set(chunk.subarray(0, len), offset);
|
/third_party/node/lib/ |
H A D | buffer.js | 1161 Buffer.prototype.subarray = function subarray(start, end) { 1170 return this.subarray(start, end);
|
/third_party/node/test/fixtures/postject-copy/node_modules/postject/dist/ |
H A D | api.js | 209 return UTF8Decoder.decode(heapOrArray.subarray(idx, endPtr)); [all...] |
/third_party/mksh/ |
H A D | funcs.c | 1624 bool subarray = false; in c_read() local 1883 subarray = last_lookup_was_array; in c_read() 1893 c = subarray ? arrayindex(vp) : 0; in c_read() 1895 unset(vp, subarray ? 0 : 1); in c_read() 1997 if (subarray) { in c_read()
|
/third_party/protobuf/js/binary/ |
H A D | decoder.js | 909 var result = this.bytes_.subarray(this.cursor_, this.cursor_ + length);
|