Home
last modified time | relevance | path

Searched refs:subarray (Results 1 - 25 of 30) sorted by relevance

12

/third_party/typescript/tests/baselines/reference/
H A DtypedArraysSubarray.js4 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 Dbigint64ArraySubarray.js4 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 Dtest-dgram-send-bad-arguments.js84 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 Dtest-socket-writes-before-passed-to-tls-socket.js19 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 Dtest-assert-typedarray-deepequal.js24 [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 Dtest-double-tls-server.js68 const serverHelloFstByte = Buffer.concat(recv).subarray(serverReplaySize, serverReplaySize + 1);
/third_party/protobuf/js/experimental/runtime/kernel/
H A Dwriter_test.js260 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 Dtext-encoder.js40 const subarray = new Uint8Array(len);
45 result = encoder.encodeInto(input, subarray);
47 assert.deepStrictEqual(subarray, expected);
/third_party/jerryscript/tests/jerry/es2015/
H A DtypedArray-sort.js23 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 Dregression-test-issue-2757.js15 var v1 = (new Int8Array (149)).subarray (78);
/third_party/node/test/fixtures/wpt/WebCryptoAPI/sign_verify/
H A Decdsa_vectors.js93 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 Dcheckpoint.js73 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 Derror_serdes.js162 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 Dsbmh.js195 data.subarray(pos, pos + len - pos),
196 needle.subarray(0, len - pos)
/third_party/node/test/fixtures/wpt/streams/readable-byte-streams/
H A Dgeneral.any.js2292 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 Dbuffer-slice.js6 type: ['fast', 'slow', 'subarray'],
15 const fn = type === 'subarray' ?
16 () => b.subarray(10, 256) :
/third_party/glslang/glslang/OSDependent/Web/
H A Dglslang.pre.js43 ret['data'] = Module['HEAPU32'].subarray(outputIndexU32, outputIndexU32 + output_len);
/third_party/jerryscript/tests/jerry/fail/
H A Dregression-test-issue-2775.js81 var v1 = ( new Int8Array ( 149 ) ) . subarray ( 78 )
/third_party/node/deps/npm/node_modules/@tufjs/models/dist/
H A Drole.js230 const hashBytes = hasherBuffer.subarray(0, 4);
/third_party/skia/modules/canvaskit/
H A Dmemory.js34 'subarray': function(start, end) {
35 var sa = this['toTypedArray']().subarray(start, end);
/third_party/skia/third_party/externals/brotli/js/
H A Ddecode.js699 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 Dbuffer.js1161 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 Dapi.js209 return UTF8Decoder.decode(heapOrArray.subarray(idx, endPtr));
[all...]
/third_party/mksh/
H A Dfuncs.c1624 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 Ddecoder.js909 var result = this.bytes_.subarray(this.cursor_, this.cursor_ + length);

Completed in 36 milliseconds

12