| /external/clang/test/Sema/ |
| D | designated-initializers.c | 1 // RUN: %clang_cc1 -fsyntax-only -verify -triple x86_64-unknown-unknown %s 5 int complete_array_from_init_check[((sizeof(complete_array_from_init) / sizeof(int)) == 13)? 1 : -1… 11 [ 8 ... 7 ] = 4, // expected-error{{array designator range [8, 7] is empty}} 13 [-1] = 6 // expected-error{{array designator value '-1' is negative}} 17 [10] = 1, // expected-error{{array designator index (10) exceeds array bounds (10)}} 21 [3] 2, // expected-warning{{use of GNU 'missing =' extension in designator}} 22 [5 ... 12] = 2 // expected-error{{array designator index (12) exceeds array bounds (10)}} 32 x: 2.0, // expected-warning{{}} 33 ….a = 4.0, // expected-error{{field designator 'a' does not refer to any field in type 'struct poin… 37 [1] = 1.0 // expected-error{{array designator cannot initialize non-array type}} [all …]
|
| /external/tensorflow/tensorflow/python/training/ |
| D | checkpoint_utils.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 15 """Tools to work with name-based checkpoints. 17 While some of these symbols also work with the TF2 object-based checkpoints, 84 name = name[:-2] 203 logging.info("Timed-out waiting for a checkpoint.") 214 time_to_next_eval = start + min_interval_secs - time.time() 229 use an [object-based method of checkpointing] 231 `tf.compat.v1.init_from_checkpoint` relies on a more-fragile variable-name 232 based method of checkpointing. There is no object-based equivalent of 235 Please re-write your checkpoints immediately using the object-based APIs, [all …]
|
| D | warm_starting_util_test.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 57 initializer=None, argument 64 initializer=initializer, 79 for var_name, shape, initializer in zip(var_names, shapes, 84 initializer=initializer)) 116 "fruit_weights", initializer=[[0.5], [1.], [1.5], [2.]]) 121 "fruit_weights", initializer=[[0.], [0.], [0.], [0.]]) 132 initializer=[[0.5], [1.], [1.5], [2.]], 139 "fruit_weights", initializer=[[0.], [0.], [0.], [0.]]) 148 "fruit_weights", initializer=[[0.5], [1.], [1.5], [2.]]) [all …]
|
| D | slot_creator_test.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 84 initializer=random_ops.random_uniform(dyn_shape, 223 # We insert our own custom replicated XLA sharding that overrides the SPMD 247 # We insert our own custom split XLA sharding that overrides the SPMD
|
| /external/kotlinpoet/kotlinpoet/src/commonMain/kotlin/com/squareup/kotlinpoet/ |
| D | PropertySpec.kt | 8 * https://www.apache.org/licenses/LICENSE-2.0 45 public val initializer: CodeBlock? = builder.initializer constant 95 if (withInitializer && initializer != null) { in emit() 101 val initializerFormat = if (initializer.hasStatements()) "%L" else "«%L»" in emit() 103 codeBlock = CodeBlock.of(initializerFormat, initializer), in emit() 161 builder.initializer = initializer in toBuilder() 182 internal var initializer: CodeBlock? = null variable in com.squareup.kotlinpoet.Builder 219 public fun initializer(format: String, vararg args: Any?): Builder = in initializer() method in com.squareup.kotlinpoet.Builder 220 initializer(CodeBlock.of(format, *args)) in initializer() 222 public fun initializer(codeBlock: CodeBlock?): Builder = apply { in initializer() method in com.squareup.kotlinpoet.Builder [all …]
|
| D | TypeSpec.kt | 8 * https://www.apache.org/licenses/LICENSE-2.0 in <lambda>() 70 * Map of superinterfaces - entries with a null value represent a regular superinterface (with in <lambda>() 71 * no delegation), while non-null [CodeBlock] values represent delegates in <lambda>() 121 codeWriter.statementLine = -1 in <lambda>() 200 it.parameters.emit(codeWriter, forceNewLines = true) { param -> in <lambda>() 230 val superTypes = types + superinterfaces.entries.map { (type, init) -> in <lambda>() 277 // Properties and initializer block. in <lambda>() 279 // Initializer block. in <lambda>() 291 // One last try in case the initializer index is after all properties in <lambda>() 340 // Properties added after the initializer are not permitted to be inlined into the constructor in <lambda>() [all …]
|
| /external/tensorflow/tensorflow/python/distribute/ |
| D | values_v2.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 30 # pylint: disable=protected-access 38 - In each replica, it uses the handle from that replica. 39 - In tpu.replicate(), it uses the replicated handle. 40 - Otherwise, it uses the handle from the primary replica. 59 v._distributed_container = weakref.ref(self) # pylint: disable=protected-access 68 initializer = None 71 initializer = control_flow_ops.group([v.initializer for v in variables]) 86 initializer_op=initializer, 127 def initializer(self): member in DistributedVariable [all …]
|
| /external/tensorflow/tensorflow/python/trackable/ |
| D | base.py | 1 """An object-local variable management scheme.""" 8 # http://www.apache.org/licenses/LICENSE-2.0 197 A decorated method which sets and un-sets automatic dependency tracking for 203 self._self_setattr_tracking = False # pylint: disable=protected-access 207 self._self_setattr_tracking = previous_value # pylint: disable=protected-access 237 # pylint: disable=protected-access 271 obj._setattr_tracking = False # pylint: disable=protected-access 275 obj._setattr_tracking = previous_value # pylint: disable=protected-access 283 must be added explicitly. Unless attribute assignment is performance-critical, 289 # _self_. We have some properties to forward semi-public attributes to their [all …]
|
| /external/nullaway/nullaway/src/main/java/com/uber/nullaway/ |
| D | NullabilityUtil.java | 97 * find the closest ancestor method in a superclass or superinterface that method overrides 121 if (method.overrides(msym, owner, types, /*checkReturn*/ false)) { in getClosestOverriddenMethod() 130 * find the enclosing method, lambda expression or initializer block for the leaf of some tree 150 // found initializer block in findEnclosingMethodOrLambdaOrInitializer() 155 // found field with an inline initializer in findEnclosingMethodOrLambdaOrInitializer() 165 * find the enclosing method, lambda expression or initializer block for the leaf of some tree 252 return values.stream().map((av) -> ((String) av.getValue())).collect(Collectors.toSet()); in getAnnotationValueArray() 264 * @return all declaration and type-use annotations for the parameter 273 t -> in getAllAnnotationsForParameter() 289 (t) -> in getTypeUseAnnotations() [all …]
|
| D | NullAway.java | 128 * <li>no assignment of a nullable expression into a non-null field 129 * <li>no passing a nullable expression into a non-null parameter 130 * <li>no returning a nullable expression from a method with non-null return type 140 * <li><code>f</code> is always initialized in some method annotated with @Initializer 148 * <li><code>f</code> is always initialized in some static initializer block 194 * Possible levels of null-marking / annotatedness for a class. This may be set to FULLY_MARKED or 211 * Null-marking level for the current top-level class. The initial value of this field doesn't 254 * maps each top-level initialization member (constructor, init block, field decl with initializer 333 // top-level classes in general, or @NullMarked inner classes), same for the enclosing method of in checkMarkingForPath() 359 * We are trying to see if (1) we are in a method guaranteed to return something non-null, and (2) [all …]
|
| /external/emma/core/java12/com/vladium/util/exception/ |
| D | AbstractException.java | 5 * and is available at http://www.eclipse.org/legal/cpl-v10.html 16 // ---------------------------------------------------------------------------- 40 * or your project/exception class-specific resource bundle [see 66 * <A NAME="details"> It is also possible to use project- or exception 67 * subhierarchy-specific message resource bundles without maintaining all error 69 * custom resource bundle and add the following static initializer code to your 172 * Overrides base method to support error code lookup and avoid returning nulls. 213 * Overrides base method for the sole purpose of making it final.<P> 225 * Overrides Exception.printStackTrace() to (a) force the output to go 237 * Overrides Exception.printStackTrace() to handle nested exceptions in JDKs prior to 1.4.<P> [all …]
|
| D | AbstractRuntimeException.java | 5 * and is available at http://www.eclipse.org/legal/cpl-v10.html 16 // ---------------------------------------------------------------------------- 40 * or your project/exception class-specific resource bundle [see 66 * <A NAME="details"> It is also possible to use project- or exception 67 * subhierarchy-specific message resource bundles without maintaining all error 69 * custom resource bundle and add the following static initializer code to your 172 * Overrides base method to support error code lookup and avoid returning nulls. 213 * Overrides base method for the sole purpose of making it final.<P> 225 * Overrides Exception.printStackTrace() to (a) force the output to go 237 * Overrides Exception.printStackTrace() to handle nested exceptions in JDKs prior to 1.4.<P> [all …]
|
| /external/pigweed/pw_bluetooth_sapphire/public/pw_bluetooth_sapphire/internal/host/common/ |
| D | byte_buffer.h | 7 // https://www.apache.org/licenses/LICENSE-2.0 16 #include <cpp-type/member_pointer_traits.h> 17 #include <cpp-type/to_std_array.h> 98 // is UTF-8. If not, each byte in the range to be converted is checked to see 110 // Read-only random access operator. 133 // This is value-initialized in order to construct objects that have const in To() 135 // representation even if the constituent types are cv-qualified is based on in To() 149 // multi-dimensional) will be returned as std::array. The buffer is allowed to 160 // This functions similarly to C-style type punning at address 166 BT_ASSERT_MSG(sizeof(ClassT) <= this->size(), in ReadMember() [all …]
|
| /external/javassist/src/main/javassist/ |
| D | CtField.java | 2 * Javassist, a Java-bytecode translator toolkit. 3 * Copyright (C) 1999- Shigeru Chiba. All Rights Reserved. 53 * by a <code>CtField.Initializer</code> object. 66 * @see CtField.Initializer 79 * by a <code>CtField.Initializer</code> object. 89 * @see CtField.Initializer 138 /* Javac.CtFieldWithInit overrides. */ 142 Initializer getInit() { in getInit() 146 return Initializer.byExpr(tree); in getInit() 297 * @return an array of annotation-type objects. [all …]
|
| /external/clang/include/clang/Basic/ |
| D | DiagnosticSemaKinds.td | 1 //==--- DiagnosticSemaKinds.td - libsema diagnostics ----------------------===// 8 //===----------------------------------------------------------------------===// 10 //===----------------------------------------------------------------------===// 12 //===----------------------------------------------------------------------===// 35 "been assigned">, InGroup<DiagGroup<"duplicate-enum">>, DefaultIgnore; 78 "%select{case value|enumerator value|non-type template argument|" 82 "%select{case value|enumerator value|non-type template argument|" 101 "represented in a %1-bit %select{signed|unsigned}2 integer type">; 107 InGroup<DiagGroup<"predefined-identifier-outside-function">>; 109 "magnitude of floating-point constant too large for type %0; maximum is %1">, [all …]
|
| /external/aws-sdk-java-v2/codegen/src/main/java/software/amazon/awssdk/codegen/poet/auth/scheme/ |
| D | ModelBasedAuthSchemeProviderSpec.java | 67 .initializer("new $T()", className()) in defaultInstance() 94 // We create a switch to return the auth schemes overrides per in resolveAuthSchemeMethod() 97 …knowledgeIndex.forEachOperationsOverridesGroup((ops, schemes) -> addCasesForOperations(spec, ops, … in resolveAuthSchemeMethod()
|
| /external/kotlinpoet/interop/kotlinx-metadata/src/main/kotlin/com/squareup/kotlinpoet/metadata/specs/ |
| D | KotlinPoetMetadataSpecs.kt | 8 * https://www.apache.org/licenses/LICENSE-2.0 in <lambda>() 200 fileData?.let { data -> in toFileSpec() 201 data.jvmName?.let { name -> in toFileSpec() 261 isAnnotation -> TypeSpec.annotationBuilder(simpleName) in KmClass() 262 isCompanionObject -> TypeSpec.companionObjectBuilder(companionObjectName(simpleName)) in KmClass() 263 isEnum -> TypeSpec.enumBuilder(simpleName) in KmClass() 264 isExpect -> TypeSpec.classBuilder(simpleName).addModifiers(EXPECT) in KmClass() 265 isObject -> TypeSpec.objectBuilder(simpleName) in KmClass() 266 isInterface -> { in KmClass() 274 kind == ClassKind.ENUM_ENTRY -> TypeSpec.anonymousClassBuilder() in KmClass() [all …]
|
| /external/mesa3d/.gitlab-ci/build/ |
| D | gitlab-ci.yml | 2 .build-common: 3 extends: .container+build-rules 6 # Build jobs don't take more than 1-3 minutes. 5-8 min max on a fresh runner 11 # A few exception are made, see `timeout:` overrides in the rest of this 18 - _build/meson-logs/*.txt 19 - _build/meson-logs/strace 20 - shader-db 21 - artifacts 24 .build-linux: 25 extends: .build-common [all …]
|
| /external/python/absl-py/absl/flags/ |
| D | _argument_parser.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 43 This method overrides behavior of the __new__ methods in 53 *args: Positional initializer arguments. 54 **kwargs: Initializer keyword arguments. 77 # - is not declared as Generic 78 # - has _ArgumentParserCache as a metaclass 80 # - is declared as Generic 81 # - doesn't have a metaclass 105 and shared between flags. Initializer arguments are allowed, but all 106 member variables must be derived from initializer arguments only. [all …]
|
| /external/strace/ |
| D | Android.bp | 9 "SPDX-license-identifier-BSD", 10 "SPDX-license-identifier-FSFAP", 11 "SPDX-license-identifier-MIT", 247 // we need to set the hard-coded size #defines here instead. 248 cflags: ["-DHAVE_CONFIG_H"] + [ 249 "-DSIZEOF_KERNEL_LONG_T=SIZEOF_LONG", 250 "-DSIZEOF_OFF_T=SIZEOF_LONG", 252 "-Wall", 253 "-Werror", 254 "-Wno-initializer-overrides", [all …]
|
| /external/apache-xml/test/java/src/org/apache/qetest/xsl/ |
| D | XSLTestfileInfo.java | 10 * http://www.apache.org/licenses/LICENSE-2.0 35 * Simple data-holding class specifying info about one 'testfile'. 37 * additional fields and overrides some methods to change order 38 * of initializer strings.</p> 40 * <li>inputName - xsl stylesheet</li> 41 * <li>xmlName - xml data file <b>new</b></li> 42 * <li>outputName - for results of transform</li> 60 /** No-arg constructor leaves everything null. */ 76 * Pass in a StringTokenizer-default-delimited string to initialize members. 93 * Pass in a StringTokenizer-default-delimited string to initialize members. [all …]
|
| /external/angle/src/libANGLE/renderer/ |
| D | angle_format.py | 3 # Use of this source code is governed by a BSD-style license that can be 56 overrides = load_json(override_path) 58 for k, v in sorted(overrides.items()): 127 # BC1-3, BC6H, PVRTC 159 channels_pattern = re.compile('GL_(COMPRESSED_)?(SIGNED_)?(ETC\d_)?([A-Z]+)') 187 …# ETC2 punchthrough formats have per-pixel alpha values but a zero-filled block is parsed as opaqu… 231 'warning: internal format initializer could not be generated and may be needed for ' +
|
| /external/tensorflow/tensorflow/python/tpu/ |
| D | tpu_embedding.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 44 # TODO(shizhiw): a more future-proof way is to have optimization_parameter such 50 'initializer', 62 initializer=None, argument 73 initializer: A variable initializer function to be used in embedding 80 accuracy, in particular with bag-of-words columns. For more information, 106 ValueError: if `initializer` is specified and is not callable. 119 if (initializer is not None) and (not callable(initializer)): 120 raise ValueError(f'initializer must be callable if specified. ' 121 f'Received: {initializer}.') [all …]
|
| /external/clang/test/CXX/dcl.decl/dcl.init/dcl.init.aggr/ |
| D | p1.cpp | 1 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s 2 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++14 %s 3 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++1z %s 18 // with no user-provided constructors, ... 19 struct NonAggr1a { // expected-note 2 {{candidate constructor}} 20 NonAggr1a(int, int); // expected-note {{candidate constructor}} 23 NonAggr1a na1a = { 42 }; // expected-error {{no matching constructor for initialization of 'NonAggr… 26 NonAggr1b(const NonAggr1b &); // expected-note {{candidate constructor}} 29 NonAggr1b na1b = { 42 }; // expected-error {{no matching constructor for initialization of 'NonAggr… 31 // no brace-or-equal-initializers for non-static data members, ... [all …]
|
| /external/python/pyasn1/ |
| D | CHANGES.rst | 2 Revision 0.4.7, released 01-09-2019 3 ----------------------------------- 5 - Added `isInconsistent` property to all constructed types. This property 10 - Deprecate `subtypeSpec` attributes and keyword argument. It is now 13 - Fixed a design bug in a way of how the items assigned to constructed 14 types are verified. Now if `Asn1Type`-based object is assigned, its 19 - Added `WithComponentsConstraint` along with related 24 Revision 0.4.6, released 31-07-2019 25 ----------------------------------- 27 - Added previously missing `SET OF ANY` construct encoding/decoding support. [all …]
|