| /external/tensorflow/tensorflow/python/data/kernel_tests/ |
| D | shard_test.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 29 @combinations.generate(test_base.default_test_combinations()) 34 @combinations.generate(test_base.default_test_combinations()) 37 dataset_b = dataset_ops.Dataset.range(10, 0, -1) 41 @combinations.generate(test_base.default_test_combinations()) 46 @combinations.generate(test_base.default_test_combinations()) 52 @combinations.generate(test_base.default_test_combinations()) 55 dataset = dataset_ops.Dataset.range(10).shard(5, -3) 58 @combinations.generate(test_base.default_test_combinations()) 61 dataset = dataset_ops.Dataset.range(10).shard(-3, 1) [all …]
|
| D | skip_test.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 30 @combinations.generate( 32 combinations.combine(count=[-1, 0, 4, 10, 25]))) 39 start_range = min(count, 10) if count != -1 else 10 44 @combinations.generate(test_base.default_test_combinations()) 57 @combinations.generate( 62 combinations.combine(count=[20, 10, -1], num_outputs=[0]) + 70 @combinations.generate( 72 combinations.combine(index=[-1, 2, 3]))) 73 def testInvalidIndex(self, index): argument [all …]
|
| D | repeat_test.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 31 @combinations.generate( 43 @combinations.generate(test_base.default_test_combinations()) 47 dataset = dataset_ops.Dataset.from_tensors(components).repeat(-1) 57 @combinations.generate(test_base.default_test_combinations()) 71 @combinations.generate(test_base.default_test_combinations()) 85 @combinations.generate( 95 @combinations.generate( 101 @combinations.generate(test_base.default_test_combinations()) 104 lambda: self._build_repeat_dataset(-1), 10, verify_exhausted=False) [all …]
|
| D | range_test.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 31 @combinations.generate( 44 @combinations.generate( 57 @combinations.generate( 72 @combinations.generate( 85 @combinations.generate( 92 start, stop, step = 2, 10, -1 100 @combinations.generate( 113 @combinations.generate( 128 @combinations.generate( [all …]
|
| D | prefetch_test.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 32 @combinations.generate( 34 combinations.combine(buffer_size=[-1, None, 0, 42]))) 39 @combinations.generate( 41 combinations.combine(buffer_size=[-2, -42]))) 47 @combinations.generate( 51 buffer_size=[-1, None, 0, 42], slack_period=[1, 8]))) 58 @combinations.generate(combinations.combine(tf_api_version=1, mode="graph")) 62 while x > -1: 76 @combinations.generate(test_base.default_test_combinations()) [all …]
|
| D | zip_test.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 31 import attr # pylint:disable=g-import-not-at-top 46 @combinations.generate(test_base.default_test_combinations()) 63 @combinations.generate(test_base.default_test_combinations()) 76 @combinations.generate(test_base.default_test_combinations()) 106 @combinations.generate(test_base.default_test_combinations()) 114 @combinations.generate(test_base.default_test_combinations()) 129 @combinations.generate(test_base.default_test_combinations()) 152 @combinations.generate( 164 @combinations.generate( [all …]
|
| D | concatenate_test.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 31 @combinations.generate(test_base.default_test_combinations()) 61 self.assertAllEqual(component[i - 4], result_component) 65 @combinations.generate(test_base.default_test_combinations()) 92 self.assertAllEqual(component[i - 4], result_component) 96 @combinations.generate(test_base.default_test_combinations()) 113 @combinations.generate(test_base.default_test_combinations()) 131 @combinations.generate(test_base.default_test_combinations()) 147 @combinations.generate(test_base.default_test_combinations()) 154 @combinations.generate(test_base.default_test_combinations()) [all …]
|
| D | take_test.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 30 @combinations.generate( 32 combinations.combine(count=[-1, 0, 4, 10, 25]))) 39 num_output = min(count, 10) if count != -1 else 10 43 @combinations.generate(test_base.default_test_combinations()) 56 @combinations.generate( 61 combinations.combine(count=[20, 10, -1], num_outputs=[10]) + 69 @combinations.generate( 71 combinations.combine(index=[-1, 3, 4]))) 72 def testInvalidIndex(self, index): argument [all …]
|
| D | take_while_test.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 32 @combinations.generate( 40 return array_ops.shape(elem)[0] > (window_size - 1) 49 @combinations.generate( 64 @combinations.generate(test_base.default_test_combinations()) 82 @combinations.generate( 85 combinations.combine(size=[5], index=[3]) + 86 combinations.combine(size=[10], index=[0]) + 87 combinations.combine(size=[100], index=[5]) + 88 combinations.combine(size=[8], index=[7]))) [all …]
|
| /external/rust/crates/rand_core/src/ |
| D | block.rs | 3 // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or 4 // https://www.apache.org/licenses/LICENSE-2.0> or the MIT license 5 // <LICENSE-MIT or https://opensource.org/licenses/MIT>, at your 12 //! which generate a block of data in a cache instead of returning generated 34 //! fn generate(&mut self, results: &mut Self::Results) { 41 //! fn from_seed(seed: Self::Seed) -> Self { 63 /// A trait for RNGs which do not generate random numbers individually, but in 76 /// Generate a new block of results. 77 fn generate(&mut self, results: &mut Self::Results); in generate() method 82 /// a full RNG from just a `generate` function. [all …]
|
| /external/googleapis/.github/workflows/ |
| D | generate_api_index.yaml | 1 name: Generate API Index 2 on: # yamllint disable-line rule:truthy 8 runs-on: ubuntu-latest 10 - name: Setup .NET Core SDK 11 uses: actions/setup-dotnet@v3 12 - name: Checkout googleapis (this repository) 16 - name: Checkout index generator 19 repository: googleapis/googleapis-api-index-generator 21 - name: Generate API index 23 gen/scripts/generate-schema.sh [all …]
|
| /external/clang/utils/TableGen/ |
| D | TableGen.cpp | 1 //===- TableGen.cpp - Top-Level TableGen implementation for Clang ---------===// 8 //===----------------------------------------------------------------------===// 12 //===----------------------------------------------------------------------===// 63 clEnumValN(GenClangAttrClasses, "gen-clang-attr-classes", 64 "Generate clang attribute clases"), 66 "gen-clang-attr-parser-string-switches", 67 "Generate all parser-related attribute string switches"), 68 clEnumValN(GenClangAttrImpl, "gen-clang-attr-impl", 69 "Generate clang attribute implementations"), 70 clEnumValN(GenClangAttrList, "gen-clang-attr-list", [all …]
|
| /external/chromium-trace/catapult/common/py_vulcanize/py_vulcanize/ |
| D | generate_unittest.py | 2 # Use of this source code is governed by a BSD-style license that can be 8 from py_vulcanize import generate 45 generate.GenerateJS(load_sequence) 51 result = generate.GenerateStandaloneHTMLAsString(load_sequence) 59 class ExtraScript(generate.ExtraScript): 64 result = generate.GenerateStandaloneHTMLAsString( 72 result = generate.GenerateStandaloneHTMLAsString(load_sequence) 73 script1_pos = result.index('Script1()') 74 script2_pos = result.index('Script2()') 75 external_pos = result.index('External()') [all …]
|
| /external/google-cloud-java/java-service-management/proto-google-cloud-service-management-v1/src/main/java/com/google/api/servicemanagement/v1/ |
| D | ConfigSource.java | 8 * https://www.apache.org/licenses/LICENSE-2.0 25 * Represents a source file which is used to generate the service configuration 82 * generate one instead. 107 * generate one instead. 135 * Set of source configuration files that are used to generate a service 149 * Set of source configuration files that are used to generate a service 164 * Set of source configuration files that are used to generate a service 178 * Set of source configuration files that are used to generate a service 185 public com.google.api.servicemanagement.v1.ConfigFile getFiles(int index) { in getFiles() argument 186 return files_.get(index); in getFiles() [all …]
|
| /external/google-cloud-java/java-dlp/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ |
| D | ExcludeInfoTypes.java | 8 * https://www.apache.org/licenses/LICENSE-2.0 84 * That leads to "555-222-2222@example.org" to generate only a single 104 * That leads to "555-222-2222@example.org" to generate only a single 125 * That leads to "555-222-2222@example.org" to generate only a single 145 * That leads to "555-222-2222@example.org" to generate only a single 152 public com.google.privacy.dlp.v2.InfoType getInfoTypes(int index) { in getInfoTypes() argument 153 return infoTypes_.get(index); in getInfoTypes() 165 * That leads to "555-222-2222@example.org" to generate only a single 172 public com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(int index) { in getInfoTypesOrBuilder() argument 173 return infoTypes_.get(index); in getInfoTypesOrBuilder() [all …]
|
| /external/icing/icing/index/iterator/ |
| D | doc-hit-info-iterator_benchmark.cc | 7 // http://www.apache.org/licenses/LICENSE-2.0 20 #include "icing/index/hit/doc-hit-info.h" 21 #include "icing/index/iterator/doc-hit-info-iterator-and.h" 22 #include "icing/index/iterator/doc-hit-info-iterator-test-util.h" 23 #include "icing/index/iterator/doc-hit-info-iterator.h" 25 #include "icing/store/document-id.h" 33 // $ blaze build -c opt --dynamic_mode=off --copt=-gmlt 34 // //icing/index/iterator:doc-hit-info-iterator_benchmark 37 // blaze-bin/icing/index/iterator/doc-hit-info-iterator_benchmark 38 // --benchmark_filter=all [all …]
|
| /external/tensorflow/tensorflow/python/data/experimental/kernel_tests/service/ |
| D | auto_shard_test.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 15 """Tests auto-sharding datasets with tf.data service.""" 49 for _ in range(num_workers - local_shard_index - 1): 54 # pylint:disable=g-complex-comprehension 58 """Tests auto-sharding datasets with tf.data service.""" 66 @combinations.generate( 80 @combinations.generate(test_base.default_test_combinations()) 92 @combinations.generate( 99 # With HINT sharding, `num_shards` should be `SHARD_HINT`; `index` can be 102 num_shards=distribute.SHARD_HINT, index=worker_index) [all …]
|
| /external/llvm/utils/TableGen/ |
| D | tdtags | 2 #===-- tdtags - TableGen tags wrapper ---------------------------*- sh -*-===# 4 #===----------------------------------------------------------------------===# 11 #===----------------------------------------------------------------------===# 13 # This is a wrapper script to simplify generating ctags(1)-compatible index 14 # files for target .td files. Run tdtags -H for more documentation. 16 # For portability, this script is intended to conform to IEEE Std 1003.1-2008. 18 #===----------------------------------------------------------------------===# 25 or: $SELF [ <options> ] -x recipe [arg ...] 27 -H Display further help. 28 -a Append the tags to an existing tags file. [all …]
|
| /external/clang/include/clang/Index/ |
| D | USRGeneration.h | 1 //===- USRGeneration.h - Routines for USR generation ----------------------===// 8 //===----------------------------------------------------------------------===// 21 namespace index { 27 /// \brief Generate a USR for a Decl, including the USR prefix. 31 /// \brief Generate a USR fragment for an Objective-C class. 34 /// \brief Generate a USR fragment for an Objective-C class category. 37 /// \brief Generate a USR fragment for an Objective-C instance variable. The 42 /// \brief Generate a USR fragment for an Objective-C method. 46 /// \brief Generate a USR fragment for an Objective-C property. 49 /// \brief Generate a USR fragment for an Objective-C protocol. [all …]
|
| /external/clang/utils/ABITest/ |
| D | ABITestGen.py | 49 print >>self.outputDriver, ' int index = -1;' 50 print >>self.outputDriver, ' if (argc > 1) index = atoi(argv[1]);' 55 print >>self.output, ' int index = -1;' 56 print >>self.output, ' if (argc > 1) index = atoi(argv[1]);' 58 print >>self.output, ' if (index == -1 || index == %d)' % i 116 fnName = 'fn%d'%(FT.index,) 137 print >>self.outputDriver, ' if (index == -1 || index == %d) {' % i 203 for i in ['0.0','-1.0','1.0']: 206 for i in ['0.0','-1.0','1.0']: 210 yield '(void*) -1' [all …]
|
| /external/antlr/runtime/C/ |
| D | doxyfile | 13 #--------------------------------------------------------------------------- 15 #--------------------------------------------------------------------------- 18 # that follow. The default is UTF-8 which is also the encoding used for all 23 DOXYFILE_ENCODING = UTF-8 44 # 4096 sub-directories (in 2 levels) under the output directory of each output 54 # information to generate all constant output in the proper language. 56 # Afrikaans, Arabic, Brazilian, Catalan, Chinese, Chinese-Traditional, 58 # Greek, Hungarian, Italian, Japanese, Japanese-en (Japanese with English 59 # messages), Korean, Korean-en, Lithuanian, Norwegian, Macedonian, Persian, 60 # Polish, Portuguese, Romanian, Russian, Serbian, Serbian-Cyrilic, Slovak, [all …]
|
| /external/eigen/unsupported/Eigen/CXX11/src/Tensor/ |
| D | TensorRandom.h | 37 // Generate the random output (using the PCG-XSH-RS scheme) in PCG_XSH_RS_generator() 58 // Generate 10 random bits for the mantissa, merge with exponent. 63 return result - Eigen::half(1.0f); 69 // Generate 7 random bits for the mantissa, merge with exponent. 74 return result - Eigen::bfloat16(1.0f); 84 // Generate 23 random bits for the mantissa mantissa 90 return result.fp - 1.0f; 101 // Generate 52 random bits for the mantissa 102 // First generate the upper 20 bits 104 // The generate the lower 32 bits [all …]
|
| /external/XNNPACK/test/ |
| D | unpooling-operator-tester.h | 3 // This source code is licensed under the BSD-style license found in the 25 this->padding_top_ = padding; in padding() 26 this->padding_right_ = padding; in padding() 27 this->padding_bottom_ = padding; in padding() 28 this->padding_left_ = padding; in padding() 33 this->padding_top_ = padding_height; in padding() 34 this->padding_right_ = padding_width; in padding() 35 this->padding_bottom_ = padding_height; in padding() 36 this->padding_left_ = padding_width; in padding() 41 this->padding_top_ = padding_height; in padding_height() [all …]
|
| /external/apache-commons-math/src/main/java/org/apache/commons/math3/distribution/ |
| D | EnumeratedDistribution.java | 9 * http://www.apache.org/licenses/LICENSE-2.0 42 * non-negative, but zero values are allowed and their sum does not have to equal one. Constructors 60 /** RNG instance used to generate samples from the distribution. */ 67 * Probabilities of respective random variable values. For i = 0, ..., singletons.size() - 1, 147 * Reseed the random generator used to generate samples. 200 * Generate a random value sampled from this distribution. 207 int index = Arrays.binarySearch(cumulativeProbabilities, randomValue); in sample() local 208 if (index < 0) { in sample() 209 index = -index - 1; in sample() 212 if (index >= 0 in sample() [all …]
|
| /external/cronet/third_party/protobuf/src/google/protobuf/compiler/cpp/ |
| D | cpp_message.h | 1 // Protocol Buffers - Google's data interchange format 3 // https://developers.google.com/protocol-buffers/ 79 // Generate definitions for this class and all its nested types. 82 // Generate definitions of inline methods (placed at the end of the header 88 // Generate all non-inline methods for this class. 91 // Generate source file code that should go outside any namespace. 95 // Generate declarations and definitions of accessors for fields. 99 // Generate the field offsets array. Returns the a pair of the total number 100 // of entries generated and the index of the first has_bit entry. 104 // Generate constructors and destructor. [all …]
|