Home
last modified time | relevance | path

Searched +full:source +full:- +full:map +full:- +full:js (Results 1 – 25 of 606) sorted by relevance

12345678910>>...25

/external/chromium-trace/catapult/third_party/polymer/components/shadycss/
Dgulpfile.js13 /* eslint-env node */
14 /* eslint-disable no-console */
17 const sourcemaps = require('gulp-sourcemaps');
19 const rename = require('gulp-rename');
20 const rollup = require('rollup-stream');
21 const buffer = require('vinyl-buffer');
22 const source = require('vinyl-source-stream'); constant
23 const closure = require('google-closure-compiler').gulp();
24 const size = require('gulp-size');
27 'css-parse',
[all …]
/external/kotlinx.serialization/formats/json-tests/jsTest/src/kotlinx/serialization/json/
DDecodeFromDynamicSpecialCasesTest.kt2 …* Copyright 2017-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 licen…
14 val dyn = js("42") in testTopLevelInt()
21 val dyn = js(""""42"""")
28 val dyn = js("[1, 2, 3]")
58 val map = mapOf(k1 to 3, k2 to 4) constant
59 val dyn = js("{1:3, 2:4}")
60 val parsed = Json.decodeFromDynamic<Map<T, Int>>(dyn)
61 assertEquals(map, parsed)
66 testJsonElement<JsonPrimitive>(js("42"), JsonPrimitive(42))
67 testJsonElement<JsonElement>(js("42"), JsonPrimitive(42))
[all …]
DDecodeFromDynamicTest.kt2 …* Copyright 2017-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 licen…
32 data class MapWrapper(val m: Map<String, Int>)
35 data class ComplexMapWrapper(val m: Map<String, Data>)
38 data class IntMapWrapper(val m: Map<Int, Int>)
56 data class NonTrivialMap(val m: Map<String, Char>)
79 val dyn = js("{a: 42}") in dynamicSimpleTest()
83 val dyn2 = js("{a: 'a'}") in dynamicSimpleTest()
87 val dyn3 = js("{a: 97}") in dynamicSimpleTest()
94 val dyn = js("""{ b: 1, s: 2, i: 3, f: 1.0, d: 42.0, c: 'a', B: true, S: "str"}""") in dynamicAllTypesTest()
102 val dyn = js("""{s:"foo", d:{a:42}}""") in dynamicNestedTest()
[all …]
/external/kotlinx.atomicfu/atomicfu-gradle-plugin/src/main/kotlin/kotlinx/atomicfu/plugin/gradle/
DAtomicFUGradlePlugin.kt2 …* Copyright 2017-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 licen… in <lambda>()
22 import org.jetbrains.kotlin.gradle.targets.js.* in <lambda>()
23 import org.jetbrains.kotlin.gradle.targets.js.ir.KotlinJsIrTarget in <lambda>()
32 // If the project uses KGP <= 1.6.20, only JS IR compiler plugin is available, and it is turned on … in <lambda>()
41 ?.allDependencies?.find { it.name == "atomicfu-gradle-plugin" }?.version in <lambda>()
50 withPluginWhenEvaluatedDependencies("kotlin") { version -> in Project()
57 withPluginWhenEvaluatedDependencies("org.jetbrains.kotlin.js") { version -> in Project()
60 getAtomicfuDependencyNotation(Platform.JS, version) in Project()
62 …dencies.add(TEST_IMPLEMENTATION_CONFIGURATION, getAtomicfuDependencyNotation(Platform.JS, version)) in Project()
65 withPluginWhenEvaluatedDependencies("kotlin-multiplatform") { version -> in Project()
[all …]
/external/kotlinx.coroutines/gradle/
Dtest-mocha-js.gradle2 …* Copyright 2016-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 licen…
5 // -- Testing with Mocha under Node
10 "source-map-support@$source_map_support_version",
11 '--no-save']
12 …if (project.hasProperty("teamcity")) args.addAll(["mocha-teamcity-reporter@$mocha_teamcity_reporte…
23 // todo: use atomicfu-transformed test files here (not critical)
26 …args = [compileTestJsLegacy.outputFileProperty.get().path, '--require', 'source-map-support/regist…
27 if (project.hasProperty("teamcity")) args.addAll(['--reporter', 'mocha-teamcity-reporter'])
35 // -- Testing with Mocha under headless Chrome
40 "mocha-headless-chrome@$mocha_headless_chrome_version",
[all …]
Dcompile-js-multiplatform.gradle2 …* Copyright 2016-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 licen…
5 apply from: rootProject.file('gradle/node-js.gradle')
8 js {
11 // In 1.4.x it has in `both` and `legacy` mode and js() is of type `KotlinJsTarget`
12 // `irTarget` is non-null in `both` mode
18 api "org.jetbrains.kotlinx:atomicfu-js:$atomicfu_version"
25 api "org.jetbrains.kotlin:kotlin-test-js:$kotlin_version"
30 // When source sets are configured
31 apply from: rootProject.file('gradle/test-mocha-js.gradle')
47 // drop -js suffix from outputFile
[all …]
/external/cronet/testing/merge_scripts/code_coverage/
Dmerge_js_lib.py2 # Use of this source code is governed by a BSD-style license that can be
37 if json_string[0] == '{' and json_string[-2:] == '}}':
40 return json.loads(json_string[:-1])
70 their ".js.json" suffix.
78 scripts = _get_paths_with_suffix(task_output_dir, '.js.json')
83 # maintain a URL to path map to ensure the coverage data knows the original
84 # source location.
133 # Only write the first instance of the sources to the map.
138 # during source map generation, i.e. this should be the actual
148 encoding='utf-8') as f:
[all …]
/external/skia/infra/wasm-common/perf/
Dwasm_perf_aggregator.go2 // Use of this source code is governed by a BSD-style license that can be
8 // when any test case reports it has output for Perf. See perfReporter.js
45 … = flag.String("builder", "", "Builder, like 'Test-Debian9-EMCC-GCE-CPU-AVX2-wasm-Debug-All-P…
46 compiledLanguage = flag.String("compiled_language", "wasm", "wasm or asm.js")
48 gitHash = flag.String("git_hash", "-", "The git commit hash of the version being tested")
54 …sourceType = flag.String("source_type", "pathkit", "Gold Source type, like pathkit,canvaskit…
57 // Received from the JS side.
66 var defaultKeys map[string]string
69 var results map[string][]reportBody
76 Key map[string]string `json:"key"`
[all …]
/external/pigweed/pw_ide/ts/pigweed-vscode/
Dwebpack.config.js7 // https://www.apache.org/licenses/LICENSE-2.0
18 const NodePolyfillPlugin = require('node-polyfill-webpack-plugin');
24 // Code web �� -> https://webpack.js.org/configuration/target/#target
27 // the entry point of this extension, �� ->
28 // https://webpack.js.org/configuration/entry-context/
32 // the bundle is stored in the 'dist' folder (check package.json), �� ->
33 // https://webpack.js.org/configuration/output/
35 filename: 'extension.js',
37 devtoolModuleFilenameTemplate: '../[resource-path]',
39 devtool: 'source-map',
[all …]
Dpackage-lock.json2 "name": "pigweed-vscode",
8 "name": "pigweed-vscode",
10 "license": "Apache-2.0",
21 "@typescript-eslint/eslint-plugin": "^5.59.8",
22 "@typescript-eslint/parser": "^5.59.8",
23 "@vscode/test-electron": "^2.3.2",
26 "node-polyfill-webpack-plugin": "^2.0.1",
27 "ts-jest": "^29.1.1",
28 "ts-loader": "^9.4.4",
31 "webpack-cli": "^5.1.4"
[all …]
/external/google-cloud-java/java-automl/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/
DModelExportOutputConfigOrBuilder.java8 * https://www.apache.org/licenses/LICENSE-2.0
17 // source: google/cloud/automl/v1/io.proto
34 * "model-export-&lt;model-display-name&gt;-&lt;timestamp-of-export-call&gt;",
35 * where timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format,
55 * "model-export-&lt;model-display-name&gt;-&lt;timestamp-of-export-call&gt;",
56 * where timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format,
76 * "model-export-&lt;model-display-name&gt;-&lt;timestamp-of-export-call&gt;",
77 * where timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format,
96 * * For Image Classification mobile-low-latency-1, mobile-versatile-1,
97 * mobile-high-accuracy-1:
[all …]
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DPlatform.java8 * http://www.apache.org/licenses/LICENSE-2.0
21 import java.util.Map;
36 static <K, V> Map<K, V> newHashMapWithExpectedSize(int expectedSize) { in newHashMapWithExpectedSize()
40 static <K, V> Map<K, V> newLinkedHashMapWithExpectedSize(int expectedSize) { in newLinkedHashMapWithExpectedSize()
50 // the behaviour of the non-GWT implementation of newConcurrentHashSet(). in newConcurrentHashSet()
61 * Returns the platform preferred map implementation that preserves insertion order when used only
64 static <K, V> Map<K, V> preservesInsertionOrderOnPutsMap() { in preservesInsertionOrderOnPutsMap()
81 /** Equivalent to Arrays.copyOfRange(source, from, to, arrayOfType.getClass()). */
82 static <T> T[] copy(Object[] source, int from, int to, T[] arrayOfType) { in copy() argument
83 T[] result = newArray(arrayOfType, to - from); in copy()
[all …]
/external/protobuf/python/google/protobuf/
Djson_format.py1 # Protocol Buffers - Google's data interchange format
3 # https://developers.google.com/protocol-buffers/
5 # Redistribution and use in source and binary forms, with or without
9 # * Redistributions of source code must retain the above copyright
59 _TIMESTAMPFOMAT = '%Y-%m-%dT%H:%M:%S'
69 _NEG_INFINITY = '-Infinity'
73 u'[\ud800-\udbff](?![\udc00-\udfff])|(?<![\ud800-\udbff])[\udc00-\udfff]')
75 _VALID_EXTENSION_NAME = re.compile(r'\[[a-zA-Z0-9\._]*\]$')
79 """Top-level module error for json_format."""
105 repeated fields, and map fields will always be serialized. If
[all …]
/external/cronet/third_party/protobuf/python/google/protobuf/
Djson_format.py1 # Protocol Buffers - Google's data interchange format
3 # https://developers.google.com/protocol-buffers/
5 # Redistribution and use in source and binary forms, with or without
9 # * Redistributions of source code must retain the above copyright
59 _TIMESTAMPFOMAT = '%Y-%m-%dT%H:%M:%S'
69 _NEG_INFINITY = '-Infinity'
73 u'[\ud800-\udbff](?![\udc00-\udfff])|(?<![\ud800-\udbff])[\udc00-\udfff]')
75 _VALID_EXTENSION_NAME = re.compile(r'\[[a-zA-Z0-9\._]*\]$')
79 """Top-level module error for json_format."""
105 repeated fields, and map fields will always be serialized. If
[all …]
/external/cronet/third_party/protobuf/
DBUILD.gn2 # Use of this source code is governed by a BSD-style license that can be
29 # protobuf-3 contains a few functions that are unused.
30 cflags += [ "-Wno-unused-function" ]
38 cflags += [ "-Wno-unused-private-field" ]
59 cflags = [ "-DPROTOBUF_ALLOW_DEPRECATED=1" ]
81 # libprotobuf_lite by the following dependency chain: chrome -> gtk ->
82 # libmirclient -> libmirprotobuf -> libprotobuf-lite. Trying to load
83 # the system libprotobuf-lite after already having loaded the libprotobuf_lite
87 inputs = [ "mirclient.map" ]
90 [ "-Wl,--version-script=" +
[all …]
/external/kotlinx.serialization/formats/json/jsMain/src/kotlinx/serialization/json/
DDynamics.kt2 …* Copyright 2017-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 licen…
15 * `kotlinx.serialization.json.Json.decodeFromString(kotlin.js.JSON.stringify(nativeObj))`.
16 …* This class also supports array-based polymorphism if the corresponding flag in [Json.configurati…
17 * Does not support any other [Map] keys than [String].
18 * Has limitation on [Long] type: any JS number that is greater than
19 …* [`abs(2^53-1)`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects…
32 * val dyn: dynamic = js("""{s:"foo", d:{a:42}}""")
51 * * Map keys must be of primitive or enum type
52 …* * All [Long] values must be less than [`abs(2^53-1)`](https://developer.mozilla.org/en-US/docs/W…
/external/okio/kotlin-js-store/
Dyarn.lock7 …resolved "https://registry.yarnpkg.com/@colors/colors/-/colors-1.5.0.tgz#bb504579c1cae923e6576a4f5…
8 …integrity sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9…
10 "@discoveryjs/json-ext@^0.5.0":
12 …resolved "https://registry.yarnpkg.com/@discoveryjs/json-ext/-/json-ext-0.5.7.tgz#1d572bfbbe14b770…
13 …integrity sha512-dBVuXR082gk3jsFp7Rd/JI4kytwGHecnCoTtXFb7DB6CNHp4rg5k1bhg0nWdLGLnOV71lmDzGQaLMy8iP…
15 "@jridgewell/gen-mapping@^0.3.0":
17 …resolved "https://registry.yarnpkg.com/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz#7e02e6eb5df…
18 …integrity sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9…
20 "@jridgewell/set-array" "^1.0.1"
21 "@jridgewell/sourcemap-codec" "^1.4.10"
[all …]
/external/flatbuffers/
Dyarn.lock5 "@babel/code-frame@7.12.11":
7 …resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.12.11.tgz#f4ad435aa263db93…
8 …integrity sha512-Zt1yodBx1UcyiePMSkWnU4hPqhwq7hGi2nFL1LeA3EUl+q2LQx16MISgJ0+z7dnmgvP9QtIleuETGOiOH…
12 "@babel/helper-validator-identifier@^7.16.7":
14 …solved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identif…
15 …integrity sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/…
19 …resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.16.10.tgz#744f2eb81579d6eea7…
20 …integrity sha512-5FnTQLSLswEj6IkgVw5KusNUUFY9ZGqe/TRFnP/BKYHYgfh7tc+C7mwiy95/yNP7Dh9x580Vv8r7u7ZfT…
22 "@babel/helper-validator-identifier" "^7.16.7"
24 js-tokens "^4.0.0"
[all …]
/external/cronet/third_party/protobuf/js/
DREADME.md1 Protocol Buffers - Google's data interchange format
10 1. CommonJS-style imports (eg. `var protos = require('my-protos');`)
11 2. Closure-style imports (eg. `goog.require('my.package.MyProto');`)
13 Support for ES6-style imports is not implemented yet. Browsers can
20 `npm install google-protobuf`, or use the files in this directory.
22 … arith.js, constants.js, decoder.js, encoder.js, map.js, message.js, reader.js, utils.js, writer.js
24 into `.js` files. The compiler is not currently available via
25 npm, but you can download a pre-built binary
27 (look for the `protoc-*.zip` files under **Downloads**).
34 a pre-built binary from [https://github.com/protocolbuffers/protobuf/releases](https://github.com/p…
[all …]
/external/google-cloud-java/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/
DModelExportOutputConfigOrBuilder.java8 * https://www.apache.org/licenses/LICENSE-2.0
17 // source: google/cloud/automl/v1beta1/io.proto
34 * "model-export-&lt;model-display-name&gt;-&lt;timestamp-of-export-call&gt;",
35 * where timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format,
53 * "model-export-&lt;model-display-name&gt;-&lt;timestamp-of-export-call&gt;",
54 * where timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format,
72 * "model-export-&lt;model-display-name&gt;-&lt;timestamp-of-export-call&gt;",
73 * where timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format,
134 * * For Image Classification mobile-low-latency-1, mobile-versatile-1,
135 * mobile-high-accuracy-1:
[all …]
/external/skia/infra/wasm-common/gold/
Dwasm_gold_aggregator.go2 // Use of this source code is governed by a BSD-style license that can be
8 // when any test case reports it has output for Gold. See legacy_test_reporter.js
42 … = flag.String("builder", "", "Builder, like 'Test-Debian9-EMCC-GCE-CPU-AVX2-wasm-Debug-All-P…
43 compiledLanguage = flag.String("compiled_language", "wasm", "wasm or asm.js")
45 gitHash = flag.String("git_hash", "-", "The git commit hash of the version being tested")
49 …sourceType = flag.String("source_type", "pathkit", "Gold Source type, like pathkit,canvaskit…
52 // Received from the JS side.
63 var defaultKeys map[string]string
73 if strings.Index(*builder, "-GPU-") != -1 {
76 defaultKeys = map[string]string{
[all …]
/external/cldr/tools/scripts/tr-archive/
Dpackage-lock.json2 "name": "tr-archive",
8 "name": "tr-archive",
10 "license": "Unicode-3.0",
12 "@not-dalia/gfm-toc": "github:not-dalia/gfm-toc",
13 "anchor-js": "^5.0.0",
14 "highlight.js": "^11.7.0",
17 "marked-alert": "^2.0.1"
20 "node_modules/@not-dalia/gfm-toc": {
22 …"resolved": "git+ssh://git@github.com/not-dalia/gfm-toc.git#68f2db628606366b51b51a071c8bb87f490575…
25 "escape-html": "^1.0.3",
[all …]
/external/libchrome/mojo/public/js/
Dbase.js2 // Use of this source code is governed by a BSD-style license that can be
24 // true means that loading foo.mojom.js will insert a <script> tag to load
25 // bar.mojom.js, if it hasn't been loaded.
27 // The URL of bar.mojom.js is determined by the relative path of bar.mojom
29 // foo.mojom.js. For exmple, if at build time the two mojom files are
33 // and the URL of foo.mojom.js is:
34 // http://example.org/scripts/b/c/foo.mojom.js
35 // then the URL of bar.mojom.js will be:
36 // http://example.org/scripts/b/d/bar.mojom.js
38 // If you would like bar.mojom.js to live at a different location, you need
[all …]
/external/perfetto/gn/standalone/
Dwasm.gni1 # Copyright (C) 2018 The Android Open Source Project
7 # http://www.apache.org/licenses/LICENSE-2.0
27 # generate_js: when true generates a .wasm file and a .js file that wraps it
40 "-s",
42 "-s",
44 "-s",
46 "-s",
48 "-s",
50 "-s",
52 "-s",
[all …]
/external/google-cloud-java/java-functions/proto-google-cloud-functions-v2alpha/src/main/java/com/google/cloud/functions/v2alpha/
DBuildConfigOrBuilder.java8 * https://www.apache.org/licenses/LICENSE-2.0
17 // source: google/cloud/functions/v2alpha/functions.proto
65 * reference](https://cloud.google.com/sdk/gcloud/reference/functions/deploy#--runtime).
81 * reference](https://cloud.google.com/sdk/gcloud/reference/functions/deploy#--runtime).
94 * The name of the function (as defined in source code) that will be
98 * For Node.js this is name of a function exported by the module specified
111 * The name of the function (as defined in source code) that will be
115 * For Node.js this is name of a function exported by the module specified
129 * The location of the function source code.
132 * <code>.google.cloud.functions.v2alpha.Source source = 4;</code>
[all …]

12345678910>>...25