Home
last modified time | relevance | path

Searched refs:slice (Results 451 - 475 of 2469) sorted by relevance

1...<<11121314151617181920>>...99

/third_party/jerryscript/tests/jerry-test-suite/es2015/24/24.01/24.01.04/
H A D24.01.04-005.js17 var b = a.slice(1, -2);
H A D24.01.04-007.js17 var b = a.slice();
/third_party/typescript/tests/baselines/reference/
H A DrestElementWithBindingPattern.js5 var _a = [0, 1].slice(0), a = _a[0], b = _a[1];
H A DrestElementWithBindingPattern2.js5 var _a = [0, 1].slice(0), a = _a[0], b = _a.b;
H A DassignmentRestElementWithErrorSourceType.js7 c = tupel.slice(0); // intentionally misspelled
H A DrestElementWithAssignmentPattern5.js8 _a = ["", ""].slice(0), s = _a[0], s2 = _a[1];
H A DrestElementWithInitializer1.js8 var _a = a.slice(0), x = _a === void 0 ? a : _a; // Error, rest element cannot have initializer
H A DrestElementWithInitializer2.js11 _a = a.slice(0), x = _a === void 0 ? a : _a; // Error, rest element cannot have initializer
H A DthisPropertyAssignmentCircular.js7 this.foo = this.foo.slice();
/third_party/rust/crates/serde/test_suite/tests/ui/precondition/
H A Ddeserialize_dst.rs6 slice: [u8],
/third_party/typescript/tests/baselines/reference/tsbuild/amdModulesWithOut/
H A Dmultiple-emitHelpers-in-all-projects.js413 if (!ar) ar = Array.prototype.slice.call(from, 0, i);
417 return to.concat(ar || Array.prototype.slice.call(from));
508 >>> if (!ar) ar = Array.prototype.slice.call(from, 0, i);
512 >>> return to.concat(ar || Array.prototype.slice.call(from));
1121 {"bundle":{"commonSourceDirectory":"./","sourceFiles":["./file3.ts","./file4.ts"],"js":{"sections":[{"pos":0,"end":504,"kind":"emitHelpers","data":"typescript:read"},{"pos":506,"end":894,"kind":"emitHelpers","data":"typescript:spreadArray"},{"pos":896,"end":1396,"kind":"emitHelpers","data":"typescript:rest"},{"pos":1398,"end":2228,"kind":"prepend","data":"../lib/module.js","texts":[{"pos":1398,"end":2228,"kind":"text"}]},{"pos":2228,"end":2825,"kind":"text"}],"sources":{"helpers":["typescript:rest","typescript:read","typescript:spreadArray"]},"mapHash":"25532738663-{\"version\":3,\"file\":\"module.js\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAM,MAAM,GAAG,EAAE,CAAC;AAClB,SAAS,cAAc;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AAC3C,IAAM,WAAW,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC7B,cAAc,8BAAC,EAAE,UAAK,WAAW,WAAE;;;;;ICHtB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,SAAS,eAAe;QAC5C,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;IAChD,CAAC;;;;;;ICFY,QAAA,CAAC,GAAG,EAAE,CAAC;;ACApB,IAAM,WAAW,GAAG,EAAE,CAAC;;;;;ICAV,QAAA,CAAC,GAAG,EAAE,CAAC;IACM,SAAS,eAAe;QAClD,IAAM,KAAiB,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAvC,CAAC,OAAA,EAAK,IAAI,cAAZ,KAAc,CAA2B,CAAC;IAChD,CAAC;;ACHD,IAAM,KAAK,GAAG,EAAE,CAAC;AACjB,SAAS,cAAc;IAAC,WAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,sBAAc;;AAAI,CAAC;AAC3C,IAAM,WAAW,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC7B,cAAc,8BAAC,EAAE,UAAK,WAAW,WAAE\"}","hash":"51079295629-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n};\r\nvar __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nvar myGlob = 20;\r\nfunction libfile0Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar libfile0_ar = [20, 30];\r\nlibfile0Spread.apply(void 0, __spreadArray([10], __read(libfile0_ar), false));\r\ndefine(\"file1\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.x = void 0;\r\n exports.x = 10;\r\n function forlibfile1Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n }\r\n});\r\ndefine(\"file2\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.y = void 0;\r\n exports.y = 20;\r\n});\r\nvar globalConst = 10;\r\ndefine(\"file3\", [\"require\", \"exports\"], function (require, exports) {\r\n \"use strict\";\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n exports.z = void 0;\r\n exports.z = 30;\r\n function forappfile3Rest() {\r\n var _a = { a: 10, b: 30, yy: 30 }, b = _a.b, rest = __rest(_a, [\"b\"]);\r\n }\r\n});\r\nvar myVar = 30;\r\nfunction appfile4Spread() {\r\n var b = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n b[_i] = arguments[_i];\r\n }\r\n}\r\nvar appfile4_ar = [20, 30];\r\nappfile4Spread.apply(void 0, __spreadArray([10], __read(appfile4_ar), false));\r\n//# sourceMappingURL=module.js.map"},"dts":{"sections":[{"pos":0,"end":265,"kind":"prepend","data":"../lib/module.d.ts","texts":[{"pos":0,"end":265,"kind":"text"}]},{"pos":265,"end":441,"kind":"text"}],"mapHash":"-58032587340-{\"version\":3,\"file\":\"module.d.ts\",\"sourceRoot\":\"\",\"sources\":[\"../lib/file0.ts\",\"../lib/file1.ts\",\"../lib/file2.ts\",\"../lib/global.ts\",\"file3.ts\",\"file4.ts\"],\"names\":[],\"mappings\":\"AAAA,QAAA,MAAM,MAAM,KAAK,CAAC;AAClB,iBAAS,cAAc,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AAC3C,QAAA,MAAM,WAAW,UAAW,CAAC;;ICF7B,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,WAAW,KAAK,CAAC;;ICAvB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;ACApB,QAAA,MAAM,KAAK,KAAK,CAAC;AACjB,iBAAS,cAAc,CAAC,GAAG,GAAG,MAAM,EAAE,QAAK;AAC3C,QAAA,MAAM,WAAW,UAAW,CAAC\"}","hash":"39753545022-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\ndeclare function appfile4Spread(...b: number[]): void;\r\ndeclare const appfile4_ar: number[];\r\n//# sourceMappingURL=module.d.ts.map"}},"program":{"fileNames":["./file3.ts","./file4.ts"],"fileInfos":["-291826420-export const z = 30;\r\nimport { x } from \"file1\";function forappfile3Rest() {\nconst { b, ...rest } = { a: 10, b: 30, yy: 30 };\n}","-3487084949-const myVar = 30;\nfunction appfile4Spread(...b: number[]) { }\nconst appfile4_ar = [20, 30];\nappfile4Spread(10, ...appfile4_ar);"],"options":{"composite":true,"outFile":"./module.js"},"outSignature":"40772662743-declare const myGlob = 20;\r\ndeclare function libfile0Spread(...b: number[]): void;\r\ndeclare const libfile0_ar: number[];\r\ndeclare module \"file1\" {\r\n export const x = 10;\r\n}\r\ndeclare module \"file2\" {\r\n export const y = 20;\r\n}\r\ndeclare const globalConst = 10;\r\ndeclare module \"file3\" {\r\n export const z = 30;\r\n}\r\ndeclare const myVar = 30;\r\ndeclare function appfile4Spread(...b: number[]): void;\r\ndeclare const appfile4_ar: number[];\r\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"}
1149 if (!ar) ar = Array.prototype.slice.call(from, 0, i);
1153 return to.concat(ar || Array.prototype.slice.call(from));
1295 "hash": "51079295629-var __read = (this && this.__read) || function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n};\r\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice
[all...]
/third_party/node/test/parallel/
H A Dtest-buffer-indexof.js330 const patternBufferUtf8 = allCharsBufferUtf8.slice(index, index + length);
349 allCharsBufferUcs2.slice(index, index + length);
582 assert.strictEqual(reallyLong.slice(0, 19).toString(), 'yolo swag swag yolo');
585 pattern = reallyLong.slice(0, 100000); // First 1/50th of the pattern.
589 pattern = reallyLong.slice(100000, 200000); // Second 1/50th.
591 pattern = reallyLong.slice(0, 1000000); // First 1/5th.
593 pattern = reallyLong.slice(0, 2000000); // first 2/5ths.
H A Dtest-fs-write-optional-params.js34 const writeBufCopy = Uint8Array.prototype.slice.call(bufferWritten);
38 const readBufCopy = Uint8Array.prototype.slice.call(bufferRead);
H A Dtest-http-max-http-headers.js40 headers = headers.slice(0, -1);
52 array.push(headers.slice(last, current));
H A Dtest-http2-perf_hooks.js84 stream.write(body.slice(0, 20));
85 stream.end(body.slice(20));
/third_party/jerryscript/tests/jerry/es2015/
H A Dregression-test-issue-2587.js16 var args = Array.prototype.slice.call(arguments, 3);
H A Dregression-test-issue-2181.js22 arrayBuffer.slice(start, end);
/third_party/rust/crates/libloading/src/
H A Dutil.rs10 pub(crate) fn cstr_cow_from_bytes(slice: &[u8]) -> Result<Cow<'_, CStr>, Error> {
12 Ok(match slice.last() {
17 CStr::from_bytes_with_nul(slice)
22 Cow::Owned(CString::new(slice).map_err(|source| Error::CreateCString { source })?)
/kernel/linux/linux-5.10/arch/mips/include/asm/sn/sn0/
H A Daddrs.h143 #define KERN_NMI_ADDR(nasid, slice) \
145 (IP27_NMI_KREGS_CPU_SIZE * (slice)))
/kernel/linux/linux-6.6/arch/mips/include/asm/sn/sn0/
H A Daddrs.h143 #define KERN_NMI_ADDR(nasid, slice) \
145 (IP27_NMI_KREGS_CPU_SIZE * (slice)))
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/ltc/
H A Dgm107.c110 const u32 slice = nvkm_rd32(device, 0x17e280) >> 28; in gm107_ltc_oneinit() local
117 ltc->lts_nr = slice; in gm107_ltc_oneinit()
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/ltc/
H A Dgm107.c110 const u32 slice = nvkm_rd32(device, 0x17e280) >> 28; in gm107_ltc_oneinit() local
117 ltc->lts_nr = slice; in gm107_ltc_oneinit()
/third_party/node/deps/npm/node_modules/@sigstore/verify/dist/key/
H A Dcertificate.js71 return [leafCert, ...path].slice(0, -1);
154 const validCAs = path.slice(1).every((cert) => cert.isCA);
/third_party/rust/crates/atty/src/
H A Dlib.rs119 use std::{mem, slice}; in msys_tty_on()
142 let s = slice::from_raw_parts( in msys_tty_on()
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/core/
H A DCMapFormat2.java132 super(data == null ? null : data.slice( in Builder()
138 super(data == null ? null : data.slice( in Builder()

Completed in 25 milliseconds

1...<<11121314151617181920>>...99