| /external/cronet/third_party/protobuf/ruby/lib/google/protobuf/ |
| D | repeated_field.rb | 1 # Protocol Buffers - Google's data interchange format 3 # https://developers.google.com/protocol-buffers/ 34 # This class makes RepeatedField act (almost-) like a Ruby Array. 38 # This is a best-effort to mirror Array behavior. Two comments: 44 # - #[]= doesn't allow less used approaches such as `arr[1, 2] = 'fizz'` 45 # - #concat should return the orig array 46 # - #push should accept multiple arguments and push them all at the same time 71 :&, :*, :-, :'<=>', 73 :cycle, :dig, :drop, :drop_while, :eql?, :fetch, :find_index, :flatten, 87 n ? self[(self.size-n-1)..-1] : self[-1] [all …]
|
| /external/protobuf/ruby/lib/google/protobuf/ |
| D | repeated_field.rb | 1 # Protocol Buffers - Google's data interchange format 3 # https://developers.google.com/protocol-buffers/ 34 # This class makes RepeatedField act (almost-) like a Ruby Array. 38 # This is a best-effort to mirror Array behavior. Two comments: 44 # - #[]= doesn't allow less used approaches such as `arr[1, 2] = 'fizz'` 45 # - #concat should return the orig array 46 # - #push should accept multiple arguments and push them all at the same time 71 :&, :*, :-, :'<=>', 73 :cycle, :dig, :drop, :drop_while, :eql?, :fetch, :find_index, :flatten, 94 return self[-1] [all …]
|
| /external/cronet/third_party/protobuf/ruby/compatibility_tests/v3.0.0/tests/ |
| D | repeated_field_test.rb | 10 (Enumerable.instance_methods - TestMessage.new.repeated_string.methods).each do |method_name| 17 arr_methods = ([].methods - TestMessage.new.repeated_string.methods) 19 arr_methods -= [ :indices, :iter_for_each, :iter_for_each_index, 22 arr_methods -= [:union, :difference, :filter!] 23 arr_methods -= [:intersection, :deconstruct] # ruby 2.7 methods we can ignore 24 arr_methods -= [:intersect?] # ruby 3.1 methods we can ignore 36 assert_equal -10, m.repeated_int32.first 37 assert_equal -1_000_000, m.repeated_int64.first 41 assert_equal -1.01, m.repeated_float.first.round(2) 42 assert_equal -1.0000000000001, m.repeated_double.first [all …]
|
| /external/protobuf/ruby/compatibility_tests/v3.0.0/tests/ |
| D | repeated_field_test.rb | 10 (Enumerable.instance_methods - TestMessage.new.repeated_string.methods).each do |method_name| 17 arr_methods = ([].methods - TestMessage.new.repeated_string.methods) 19 arr_methods -= [ :indices, :iter_for_each, :iter_for_each_index, 22 arr_methods -= [:union, :difference, :filter!] 23 arr_methods -= [:intersection, :deconstruct] # ruby 2.7 methods we can ignore 24 arr_methods -= [:intersect?] # ruby 3.1 methods we can ignore 36 assert_equal -10, m.repeated_int32.first 37 assert_equal -1_000_000, m.repeated_int64.first 41 assert_equal -1.01, m.repeated_float.first.round(2) 42 assert_equal -1.0000000000001, m.repeated_double.first [all …]
|
| /external/chromium-trace/catapult/third_party/polymer/components/shadycss/tests/ |
| D | runner.html | 2 <!-- 10 --> 12 <meta charset="utf-8"> 14 <script src="../node_modules/wct-browser-legacy/browser.js"></script> 19 'css-parse.html', 20 'apply-shim.html', 21 'async-loading.html', 22 'placeholder-ordering.html', 24 'mixin-ordering.html', 26 'style-transformer.html', [all …]
|
| /external/cronet/third_party/protobuf/ruby/tests/ |
| D | repeated_field_test.rb | 10 (Enumerable.instance_methods - TestMessage.new.repeated_string.methods).each do |method_name| 17 arr_methods = ([].methods - TestMessage.new.repeated_string.methods) 19 arr_methods -= [ :indices, :iter_for_each, :iter_for_each_index, 22 arr_methods -= [:union, :difference, :filter!] 23 arr_methods -= [:intersection, :deconstruct] # ruby 2.7 methods we can ignore 24 arr_methods -= [:intersect?] # ruby 3.1 methods we can ignore 39 assert_equal -10, m.repeated_int32.first 40 assert_equal -1_000_000, m.repeated_int64.first 44 assert_equal -1.01, m.repeated_float.first.round(2) 45 assert_equal -1.0000000000001, m.repeated_double.first [all …]
|
| /external/skia/modules/pathkit/ |
| D | helper.js | 23 …// // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Destructuring_as… 29 PathKit.loadCmdsTypedArray = function(arr) { argument 31 for (var r = 0; r < arr.length; r++) { 32 len += arr[r].length; 42 // Flatten into a 1d array 44 for (var r = 0; r < arr.length; r++) { 45 for (var c = 0; c < arr[r].length; c++) { 46 var item = arr[r][c]; 75 * Caching in this way is about a 10-15x speed up.
|
| /external/protobuf/ruby/tests/ |
| D | repeated_field_test.rb | 10 (Enumerable.instance_methods - TestMessage.new.repeated_string.methods).each do |method_name| 17 arr_methods = ([].methods - TestMessage.new.repeated_string.methods) 19 arr_methods -= [ :indices, :iter_for_each, :iter_for_each_index, 22 arr_methods -= [:union, :difference, :filter!] 23 arr_methods -= [:intersection, :deconstruct] # ruby 2.7 methods we can ignore 24 arr_methods -= [:intersect?] # ruby 3.1 methods we can ignore 39 assert_equal( -10, m.repeated_int32.first ) 40 assert_equal( -1_000_000, m.repeated_int64.first ) 44 assert_equal( -1.01, m.repeated_float.first.round(2) ) 45 assert_equal( -1.0000000000001, m.repeated_double.first ) [all …]
|
| /external/kotlinx.serialization/formats/cbor/commonMain/src/kotlinx/serialization/cbor/internal/ |
| D | Encoding.kt | 2 …* Copyright 2017-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 licen… 38 private const val LENGTH_STACK_INDEFINITE = -1 54 // Writes all elements consequently, except size - CBOR supports maps and arrays of indefinite leng… in writeBeginToken() 87 StructureKind.LIST, is PolymorphicKind -> CborListWriter(cbor, encoder) in shouldEncodeElementDefault() 88 StructureKind.MAP -> CborMapWriter(cbor, encoder) in shouldEncodeElementDefault() 89 else -> CborWriter(cbor, encoder) in shouldEncodeElementDefault() 119 @OptIn(ExperimentalSerializationApi::class) // KT-46731 in encodeString() 127 // For details of representation, see https://tools.ietf.org/html/rfc7049#section-2.1 in encodeString() 159 output.write((bits shr (24 - 8 * i)) and 0xFF) in encodeString() 167 output.write(((bits shr (56 - 8 * i)) and 0xFF).toInt()) in encodeString() [all …]
|
| /external/perfetto/ui/src/common/ |
| D | metatracing.ts | 7 // http://www.apache.org/licenses/LICENSE-2.0 32 name: 'Enable always-on-metatracing', 39 name: 'Detailed always-on-metatracing', 119 const totalLength = packets.reduce((acc, arr) => acc + arr.length, 0); 140 const correctedTimeOrigin = new Date().getTime() - performance.now(); 181 durNs: now() - traceEvent.startNs, 190 // Flatten arbitrary values so they can be used as args in traceEvent() et al.
|
| /external/chromium-trace/catapult/third_party/polymer/components/polymer/ |
| D | build.log | 2 --------- 3 Build Time: 2018-02-12T15:48:46-0800 8 dom-serializer: 0.1.0 10 expand-tilde: 1.2.2 11 is-windows: 0.2.0 14 path-is-inside: 1.0.2 18 @types/express-serve-static-core: 4.0.53 25 @types/serve-static: 1.7.32 26 accessibility-developer-tools: 2.12.0 30 acorn-jsx: 3.0.1 [all …]
|
| /external/tensorflow/tensorflow/python/ops/numpy_ops/ |
| D | np_interop_test.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 142 arr = np.asarray(0.) 145 arr_plus_t = arr + t 146 t_plus_arr = t + arr 161 arr = np.asarray(10.) 164 sq = tf.square(arr) 169 arr = np.asarray([10.]) 172 sq = onp.square(arr) 179 arr = np.asarray([10]) 181 module = arr.__array_module__((tf.Tensor,)) [all …]
|
| /external/chromium-trace/catapult/third_party/polymer/components/webcomponentsjs/ |
| D | build.log | 2 --------- 3 Build Time: 2017-02-06T15:35:26-0800 9 accessibility-developer-tools: 2.11.0 10 adm-zip: 0.4.7 12 agent-base: 2.0.1 13 align-text: 0.1.4 14 ansi-regex: 2.1.1 15 ansi-styles: 2.2.1 17 append-field: 0.1.0 19 arr-diff: 2.0.0 [all …]
|
| /external/mesa3d/docs/drivers/freedreno/ |
| D | ir3-notes.rst | 4 Some notes about ir3, the compiler and machine-specific IR for the shader ISA introduced with Adren… 15 So the current compiler instead, in the frontend, generates a directed-acyclic-graph of instruction… 18 <https://github.com/freedreno/freedreno/wiki/A3xx-shader-instruction-set-architecture>`__. 21 ------------------ 30 on other GL state (two-sided-color, render-to-alpha, etc) or render 31 stages (binning-pass vertex shader) different shader variants are 42 ------ 44 …tions. And additionally, for normal (non-const, etc) src registers, the ``IR3_REG_SSA`` flag is s… 70 inputdce198:<in2>:w -> instrdcedd0:<src0> 71 inputdce198:<in6>:w -> instrdcedd0:<src1> [all …]
|
| /external/tensorflow/tensorflow/compiler/xla/mlir/transforms/runtime/ |
| D | custom_call_encoding.cc | 7 http://www.apache.org/licenses/LICENSE-2.0 23 #include "mlir/Conversion/LLVMCommon/MemRefBuilder.h" // from @llvm-project 24 #include "mlir/Dialect/Arithmetic/IR/Arithmetic.h" // from @llvm-project 25 #include "mlir/Dialect/Func/IR/FuncOps.h" // from @llvm-project 26 #include "mlir/IR/Attributes.h" // from @llvm-project 27 #include "mlir/IR/Builders.h" // from @llvm-project 28 #include "mlir/IR/BuiltinAttributes.h" // from @llvm-project 29 #include "mlir/IR/Types.h" // from @llvm-project 30 #include "mlir/Support/LogicalResult.h" // from @llvm-project 50 //===----------------------------------------------------------------------===// [all …]
|
| /external/ktfmt/website/ |
| D | package-lock.json | 8 "clean-css": "^5.1.1", 9 "event-stream": "4.0.1", 11 "monaco-editor": "^0.23.0", 19 "resolved": "https://registry.npmjs.org/abab/-/abab-2.0.5.tgz", 20 …"integrity": "sha512-9IK9EadsbHo6jLWIpxpR6pL0sazTXV6+SQv25ZB+F7Bj9mJNaOc4nCRabwd5M/JwmUa8idz6Eci6e… 25 "resolved": "https://registry.npmjs.org/acorn/-/acorn-6.4.2.tgz", 26 …"integrity": "sha512-XtGIhXwF8YM8bJhGxG5kXgjkEuNGLTkoYqVE+KMR+aspr4KGYmKYg7yUe3KghyQ9yheNwLnjmzh/7… 35 "node_modules/acorn-globals": { 37 "resolved": "https://registry.npmjs.org/acorn-globals/-/acorn-globals-4.3.4.tgz", 38 …"integrity": "sha512-clfQEh21R+D0leSbUdWf3OcfqyaCSAQ8Ryq00bofSekfr9W8u1jyYZo6ir0xu9Gtcf7BjcHJpnbZH… [all …]
|
| /external/deqp/android/cts/main/vk-main-2021-03-01/ |
| D | graphicsfuzz.txt | 1 dEQP-VK.graphicsfuzz.always-discarding-function 2 dEQP-VK.graphicsfuzz.arr-value-set-to-arr-value-squared 3 dEQP-VK.graphicsfuzz.array-idx-multiplied-by-for-loop-idx 4 dEQP-VK.graphicsfuzz.assign-array-value-to-another-array 5 dEQP-VK.graphicsfuzz.assign-array-value-to-another-array-2 6 dEQP-VK.graphicsfuzz.call-function-with-discard 7 dEQP-VK.graphicsfuzz.color-set-in-for-loop 8 dEQP-VK.graphicsfuzz.cosh-return-inf-unused 9 dEQP-VK.graphicsfuzz.cov-access-array-dot 10 dEQP-VK.graphicsfuzz.cov-analysis-reachable-from-many [all …]
|
| /external/tensorflow/tensorflow/python/data/kernel_tests/ |
| D | from_tensors_test.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 43 import attr # pylint:disable=g-import-not-at-top 59 nest.flatten(dataset_ops.get_legacy_output_shapes(dataset))) 91 values=np.array([-1, 1]), 111 values=np.array([-1, 1]), 163 values=np.array([-1, 1]), 314 arr = np.array(1) 315 verify_fn(self, lambda: self._build_tensor_dataset(arr), num_outputs=1) 325 self.evaluate(random_access.at(dataset, -1))
|
| /external/chromium-trace/catapult/third_party/polymer/components/shadycss/ |
| D | package-lock.json | 7 "@babel/code-frame": { 9 "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.0.0.tgz", 10 …"integrity": "sha512-OfC2uemaknXr87bdLUkWog7nYuliM9Ij5HUcajsVcMCpQrcLmtxRbVFTIqmcSkSeYRBFBRxs2FiUq… 18 "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.1.2.tgz", 19 …"integrity": "sha512-IFeSSnjXdhDaoysIlev//UzHZbdEmm7D0EIH2qtse9xK7mXEZQpYjs2P00XlP1qYsYvid79p+Zgg6… 22 "@babel/code-frame": "^7.0.0", 29 "convert-source-map": "^1.1.0", 35 "source-map": "^0.5.0" 40 "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.1.3.tgz", 41 …"integrity": "sha512-ZoCZGcfIJFJuZBqxcY9OjC1KW2lWK64qrX1o4UYL3yshVhwKFYgzpWZ0vvtGMNJdTlvkw0W+HR1Vn… [all …]
|
| /external/tensorflow/tensorflow/lite/python/ |
| D | lite_v2_test.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 30 # pylint: disable=g-import-not-at-top 72 # pylint: enable=g-import-not-at-top 190 """Convert a single model in a multi-functional model.""" 207 """Convert multiple functions in a multi-functional model.""" 246 self.assertEqual(sub_output['output_0'], -2) 279 yield [np.random.uniform(-1, 1, size=(1, 5, 5, 3)).astype(np.float32)] 309 metadata.environment.tensorflowVersion.decode('utf-8'), 362 x = tf.quantization.fake_quant_with_min_max_args(input_tensor, -3.0, 3.0) 364 x = tf.quantization.fake_quant_with_min_max_args(x, -3.0, 3.0) [all …]
|
| /external/tensorflow/tensorflow/python/keras/ |
| D | backend.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 15 # pylint: disable=protected-access 16 # pylint: disable=redefined-outer-name 17 # pylint: disable=redefined-builtin 18 # pylint: disable=g-classes-have-attributes 73 from tensorflow.python.ops import tensor_array_grad # pylint: disable=unused-import 92 # while executing eagerly (such as the functional API for model-building). 93 # This is thread-local to allow building separate models in different threads 108 # Allows to give unique autogenerated names to layers, in a graph-specific way. 113 # Optionally used as an avoid-list when generating names [all …]
|
| /external/tensorflow/tensorflow/python/ops/ |
| D | nn_test.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 40 import tensorflow.python.ops.nn_grad # pylint: disable=unused-import 51 nonzeros = np.count_nonzero(x.flatten()) 52 return 1.0 - nonzeros / total_elements 65 eps = 1e-8 103 u = np.exp(x - m) 116 eps = 1e-3 121 arr = np.linspace(0., 1, 12).reshape(3, 4) 122 x_neg_axis = nn_ops.softmax_v2(arr, axis=-2) 123 y_pos_axis = nn_ops.softmax_v2(arr, axis=0) [all …]
|
| /external/mesa3d/src/compiler/nir/ |
| D | nir_lower_shader_calls.c | 38 if (instr->type != nir_instr_type_intrinsic) in move_system_values_to_top() 41 /* These intrinsics not only can't be re-materialized but aren't in move_system_values_to_top() 46 switch (intrin->intrinsic) { in move_system_values_to_top() 73 if (instr->type != nir_instr_type_intrinsic) in instr_is_shader_call() 77 return intrin->intrinsic == nir_intrinsic_trace_ray || in instr_is_shader_call() 78 intrin->intrinsic == nir_intrinsic_report_ray_intersection || in instr_is_shader_call() 79 intrin->intrinsic == nir_intrinsic_execute_callable; in instr_is_shader_call() 107 * which we could re-materialize, we don't need to because it's only used in src_is_in_bitset() 110 if (src->ssa->index >= set->size) in src_is_in_bitset() 113 return BITSET_TEST(set->set, src->ssa->index); in src_is_in_bitset() [all …]
|
| /external/tensorflow/tensorflow/python/ops/ragged/ |
| D | dynamic_ragged_shape.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 49 batch_size) -> "DynamicRaggedShape.Spec": 51 …_head = _batch_rp_spec_head(spec._row_partitions[0], batch_size) # pylint:disable=protected-access 52 … [_batch_rp_spec(rp, batch_size) for rp in spec._row_partitions] # pylint:disable=protected-access 55 spec._static_inner_shape, batch_size) # pylint:disable=protected-access 63 return DynamicRaggedShape.Spec._from_tensor_shape([None], # pylint:disable=protected-access 68 …w_head = RowPartitionSpec(uniform_row_length=spec._dimension(0), # pylint:disable=protected-access 71 spec._static_inner_shape, batch_size) # pylint:disable=protected-access 80 …static_inner_shape=_batch_tensor_shape(spec._static_inner_shape, # pylint:disable=protected-access 85 spec: "DynamicRaggedShape.Spec") -> "DynamicRaggedShape.Spec": [all …]
|
| /external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/docs/doc/reference/jquery/external/jquery/ |
| D | jquery.js | 12 * Date: 2020-05-04T22:49Z 20 // For CommonJS and CommonJS-like environments where a proper `window` 42 // Edge <= 12 - 13+, Firefox <=18 - 45+, IE 10 - 11, Safari 5.1 - 9+, iOS 6 - 9.1 43 // throw exceptions when non-strict code (e.g., ASP.NET 4.5) accesses strict mode 44 // arguments.callee.caller (trac-13335). But as of jQuery 3.0 (2016), strict mode should be common 48 var arr = []; 52 var slice = arr.slice; 54 var flat = arr.flat ? function( array ) { 55 return arr.flat.call( array ); 57 return arr.concat.apply( [], array ); [all …]
|