Searched +full:- +full:- +full:disable +full:- +full:dict (Results 1 – 25 of 1044) sorted by relevance
12345678910>>...42
| /external/bazelbuild-rules_cc/tests/rule_based_toolchain/ |
| D | subjects.bzl | 7 # http://www.apache.org/licenses/LICENSE-2.0 47 # buildifier: disable=name-conventions 51 dict( 56 # buildifier: disable=name-conventions 60 dict( 65 # buildifier: disable=name-conventions 69 dict(name = _subjects.str), 72 _FEATURE_FLAGS = dict( 85 # buildifier: disable=name-conventions 92 # buildifier: disable=name-conventions [all …]
|
| /external/tensorflow/tensorflow/python/ops/structured/ |
| D | structured_array_ops_test.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 40 # pylint: disable=g-long-lambda 82 dict( 87 dict( 90 axis=-1, 92 dict( 97 dict( 102 dict( 107 dict( 112 dict( [all …]
|
| D | structured_tensor.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 18 from typing import Callable, Dict, List, Mapping, Optional, Sequence, Tuple, Union 44 A **`StructuredTensor`** is a multi-dimensional collection of ***structures*** 55 Internally, StructuredTensors use a "field-major" encoding: for each leaf 93 # pylint: disable=invalid-name 95 # sub-levels (embedded) StructuredTensor's. 105 # pylint: enable=invalid-name 117 """Private constructor -- use factory methods to create StructuredTensors. 124 `StructuredTensor`. (This dict is not copied, so the caller must ensure 128 row_partitions: tuple of `RowPartition`s, with length `shape.rank-1`. [all …]
|
| /external/oss-fuzz/projects/php/ |
| D | build.sh | 1 #!/bin/bash -eu 8 # http://www.apache.org/licenses/LICENSE-2.0 18 # PHP's zend_function union is incompatible with the object-size sanitizer 19 export CFLAGS="$CFLAGS -fno-sanitize=object-size" 20 export CXXFLAGS="$CXXFLAGS -fno-sanitize=object-size" 22 # Disable JIT profitability checks. 23 export CFLAGS="$CFLAGS -DPROFITABILITY_CHECKS=0" 28 BUILD_FLAG="--build=i686-pc-linux-gnu" 34 --disable-all \ 35 --enable-debug-assertions \ [all …]
|
| /external/tensorflow/tensorflow/python/kernel_tests/strings_ops/ |
| D | unicode_decode_op_test.py | 1 # -*- coding: utf-8 -*- 8 # http://www.apache.org/licenses/LICENSE-2.0 47 b = list(x.encode("utf-32-be")) 61 encoded_x = x.encode("utf-32-be") 64 len(c.decode("utf-32-be").encode(encoding)) for c in encoded_chars 66 return [0] + np.cumsum(char_lens).tolist()[:-1] 74 b = x.encode("utf-32-be") 77 return [b"".join(c).decode("utf-32-be").encode(encoding) for c in chars] 79 return [bytes(c).decode("utf-32-be").encode(encoding) for c in chars] 93 text = constant_op.constant(u"仅今年前".encode("utf-8")) [all …]
|
| /external/oss-fuzz/projects/nettle/ |
| D | build.sh | 1 #!/bin/bash -eu 8 # http://www.apache.org/licenses/LICENSE-2.0 21 export CXXFLAGS="$CXXFLAGS -DCRYPTOFUZZ_NO_OPENSSL" 29 cp -R boost/ /usr/include/ 40 lzip -d gmp-6.2.0.tar.lz 41 tar xf gmp-6.2.0.tar 43 cd gmp-6.2.0/ 44 autoreconf -ivf 45 if [[ $CFLAGS != *-m32* ]] 47 ./configure --enable-maintainer-mode [all …]
|
| /external/bazelbuild-rules_cc/cc/toolchains/impl/ |
| D | variables.bzl | 7 # http://www.apache.org/licenses/LICENSE-2.0 25 unknown = dict(name = "unknown", repr = "unknown"), 26 void = dict(name = "void", repr = "void"), 27 string = dict(name = "string", repr = "string"), 28 bool = dict(name = "bool", repr = "bool"), 30 file = dict(name = "file", repr = "File"), 31 directory = dict(name = "directory", repr = "directory"), 32 option = lambda element: dict( 37 list = lambda elements: dict( 42 struct = lambda **kv: dict( [all …]
|
| /external/oss-fuzz/projects/ecc-diff-fuzzer/ |
| D | build.sh | 1 #!/bin/bash -eu 8 # http://www.apache.org/licenses/LICENSE-2.0 22 tar -xvf ../gmp-6.1.2.tar.bz2 23 cd gmp-6.1.2 25 #we could do instead --enable-fat 26 ./configure --disable-shared --disable-assembly 27 make -j$(nproc) 31 ./configure --disable-shared --disable-openssl 32 make -j$(nproc) 39 make -j$(nproc) [all …]
|
| /external/pigweed/pw_config_loader/py/pw_config_loader/ |
| D | yaml_config_loader_mixin.py | 7 # https://www.apache.org/licenses/LICENSE-2.0 49 def __init__(self) -> None: 67 default_config: dict[Any, Any] | None = None, 70 ) -> None: 89 --- 98 is git-ignored and not checked into the repo. 102 default_config: A Python dict representing the base default 103 config. This dict will be applied as a starting point before 172 def _update_config(self, cfg: dict[Any, Any], stage: Stage) -> None: 186 def handle_overloaded_value( # pylint: disable=no-self-use [all …]
|
| /external/oss-fuzz/projects/cryptofuzz/ |
| D | build.sh | 1 #!/bin/bash -eu 8 # http://www.apache.org/licenses/LICENSE-2.0 19 # https://github.com/google/oss-fuzz/issues/2336 23 if [[ $CFLAGS != *sanitize=memory* && $CFLAGS != *-m32* ]] 26 # It is required for building noble-bls12-381 28 tar Jxf node-v14.17.1-linux-x64.tar.xz 29 export PATH="$PATH:$SRC/node-v14.17.1-linux-x64/bin/" 33 $CC $SRC/xxd.c -o /usr/bin/xxd 36 rm -rf $SRC/cryptofuzz/modules/reference/xxHash/ 37 cp -R $SRC/xxHash/ $SRC/cryptofuzz/modules/reference/ [all …]
|
| /external/rust/crates/grpcio-sys/grpc/tools/run_tests/xds_k8s_test_driver/framework/infrastructure/gcp/ |
| D | network_security.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 18 from typing import Any, Dict 35 server_certificate: dict 36 mtls_policy: dict 41 def from_response(cls, name: str, response: Dict[str, 42 Any]) -> 'ServerTlsPolicy': 55 client_certificate: dict 61 def from_response(cls, name: str, response: Dict[str, 62 Any]) -> 'ClientTlsPolicy': 82 response: Dict[str, Any]) -> 'AuthorizationPolicy': [all …]
|
| D | network_services.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 18 from typing import Any, Dict, List, Optional, Tuple 36 traffic_port_selector: dict 37 endpoint_matcher: dict 40 http_filters: Optional[dict] = None 44 def from_response(cls, name: str, response: Dict[str, 45 Any]) -> 'EndpointPolicy': 65 def from_response(cls, name: str, d: Dict[str, Any]) -> 'Mesh': 84 def from_response(cls, d: Dict[str, Any]) -> 'GrpcRoute.MethodMatch': 99 def from_response(cls, d: Dict[str, Any]) -> 'GrpcRoute.HeaderMatch': [all …]
|
| /external/protobuf/python/google/protobuf/ |
| D | descriptor.py | 1 # Protocol Buffers - Google's data interchange format 3 # https://developers.google.com/protocol-buffers/ 47 # pylint: disable=protected-access 85 self._lock = threading.Lock() # pylint: disable=protected-access 100 _Deprecated.count -= 1 125 has_options: True if the descriptor has non-default options. Usually it 126 is not necessary to read this -- just call GetOptions() which will 146 # Does this descriptor have non-default options? 158 # Does this descriptor have non-default options? 201 full_name (str): Fully-qualified name of this protocol message type, [all …]
|
| /external/tensorflow/tensorflow/python/ops/ragged/ |
| D | ragged_one_hot_op_test.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 38 dict(indices=[[0, 2, -1], [3]], 42 dict(indices=[[0, 2, -1], [3]], 44 axis=-1, 47 dict(indices=[[0, 2, -1], [3]], 52 dict(indices=[[0, 2, -1], [3]], 58 dict(indices=[[0, 2, -1], [3]], 62 dict(indices=[[[0, 2, -1], [3]], [[2, 8]]], 68 dict(indices=[[[0, 2], [-1, 3]], [[2, 8]]], 74 dict(indices=[[[0, 2], [-1, 3]], [[2, 8]]], [all …]
|
| /external/avb/ |
| D | pylintrc | 7 # http://www.apache.org/licenses/LICENSE-2.0 22 #init-hook= 30 ignore-patterns=.*pb2\.py,.*pb2_grpc\.py 37 load-plugins= 51 unsafe-load-any-extension=no 53 # A comma-separated list of package or module names from where C extensions may 56 extension-pkg-whitelist= 64 optimize-ast=no 75 # multiple time. See also the "--disable" option for examples. 77 apply-builtin, [all …]
|
| /external/cronet/third_party/protobuf/python/google/protobuf/ |
| D | descriptor.py | 1 # Protocol Buffers - Google's data interchange format 3 # https://developers.google.com/protocol-buffers/ 81 self._lock = threading.Lock() # pylint: disable=protected-access 96 _Deprecated.count -= 1 121 has_options: True if the descriptor has non-default options. Usually it 122 is not necessary to read this -- just call GetOptions() which will 142 # Does this descriptor have non-default options? 154 # Does this descriptor have non-default options? 197 full_name (str): Fully-qualified name of this protocol message type, 247 full_name (str): Fully-qualified name of this protocol message type, [all …]
|
| /external/curl/ |
| D | androidconfigure | 3 set -e 8 echo "Run 'lunch aosp_arm-eng' and build the current version first." >&2 20 HOST="arm-linux-androideabi" 22 export CC="${T}/prebuilts/clang/host/linux-x86/${CLANG_VERSION}/bin/clang" 23 export LD="${T}/prebuilts/clang/host/linux-x86/${CLANG_VERSION}/bin/lld" 28 "--sysroot ${T}/out/soong/ndk/sysroot/" 31 "-I${T}/external/zlib/" 32 # We don't have target-specific clang binaries like the NDK, so provide 34 "--target=armv7a-linux-androideabi34" 41 "-L${ANDROID_PRODUCT_OUT}/system/lib/" [all …]
|
| /external/tensorflow/tensorflow/python/keras/saving/ |
| D | saving_utils.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 50 return {m.name: m for m in model._compile_metric_functions} # pylint: disable=protected-access 57 The model's input signature is a list with a single (possibly-nested) object. 58 This is due to the Keras-enforced restriction that tensor inputs must be 75 …odel._get_save_spec(dynamic_batch=not keep_original_batch_size) # pylint: disable=protected-access 82 # Note that the isinstance check filters out single-element dictionaries, 83 # which should also be wrapped as a single-element list. 132 # Outputs always has to be a flat dict. 135 … from tensorflow.python.keras.engine import compile_utils # pylint: disable=g-import-not-at-top 145 … tensorflow.python.keras import __version__ as keras_version # pylint: disable=g-import-not-at-top [all …]
|
| /external/stardoc/test/testdata/providers_for_attributes_test/ |
| D | input.bzl | 9 # buildifier: disable=provider-params 10 # buildifier: disable=unsorted-dict-items 13 "foo": "Something foo-related.", 14 "bar": "Something bar-related.", 18 # buildifier: disable=provider-params 22 # buildifier: disable=unsorted-dict-items 38 # buildifier: disable=native-proto
|
| /external/cronet/testing/unexpected_passes_common/ |
| D | expectations.py | 2 # Use of this source code is governed by a BSD-style license that can be 16 from typing import Dict, FrozenSet, Iterable, List, Optional, Set, Tuple, Union 24 FINDER_DISABLE_COMMENT_BASE = 'finder:disable' 26 FINDER_COMMENT_SUFFIX_GENERAL = '-general' 27 FINDER_COMMENT_SUFFIX_STALE = '-stale' 28 FINDER_COMMENT_SUFFIX_UNUSED = '-unused' 29 FINDER_COMMENT_SUFFIX_NARROWING = '-narrowing' 31 FINDER_GROUP_COMMENT_START = 'finder:group-start' 32 FINDER_GROUP_COMMENT_END = 'finder:group-end' 99 r'^[\w\s]+\(.+(?P<date>\d\d\d\d-\d\d-\d\d)[^\)]+\)(?P<content>.*)$', [all …]
|
| /external/autotest/client/cros/video/ |
| D | device_capability.py | 2 # Use of this source code is governed by a BSD-style license that can be 20 def __init__(self, settings_path='/usr/local/etc/autotest-capability'): 36 @returns dict: 39 'disable.' 61 'managed-capabilities.yaml') 67 if re.match(r'^[0-9]+-.*\.yaml$', f)] 68 cap_files.sort(key=lambda f: int(f.split('-', 1)[0])) 71 autotest_caps = dict.fromkeys(managed_caps, 'no') 76 # The type of rule is string or dict 79 # rule would be dict, for example, [all …]
|
| /external/tensorflow/tensorflow/lite/tools/optimize/debugging/python/ |
| D | debugger.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 15 """Python TF-Lite QuantizationDebugger.""" 19 from typing import (Any, Callable, Dict, IO, Iterable, List, Mapping, Optional, 46 tensor_detail: Mapping[str, Any]) -> Optional[Tuple[float, int]]: 72 fully_quantize: bool = False) -> None: 76 layer_debug_metrics: a dict to specify layer debug functions 80 model_debug_metrics: a dict to specify model debug functions 84 layer_direct_compare_metrics: a dict to specify layer debug functions 126 user-defined post-processing functions as well as default ones. 137 converter: Optional[TFLiteConverter] = None) -> None: [all …]
|
| /external/pigweed/pw_console/py/pw_console/ |
| D | log_line.py | 7 # https://www.apache.org/licenses/LICENSE-2.0 41 def update_metadata(self, extra_fields: dict | None = None): 46 str(self.record.message) # pylint: disable=no-member 47 ) # pylint: disable=no-member 54 # 2. Check for a metadata dict[str, str] stored in the log record in the 61 # extra=dict( 69 self.record.extra_metadata_fields # type: ignore # pylint: disable=no-member 71 fields = self.record.extra_metadata_fields # type: ignore # pylint: disable=no-member 87 def get_fragments(self) -> StyleAndTextTuples:
|
| /external/oss-fuzz/ |
| D | .pylintrc | 3 # A comma-separated list of package or module names from where C extensions may 6 extension-pkg-whitelist= 10 ignore=CVS,base-clang,base-sanitizer-libs-builder 14 ignore-patterns= 18 #init-hook= 20 # Use multiple processes to speed up Pylint. Specifying 0 will auto-detect the 27 limit-inference-results=100 31 load-plugins= 40 # user-friendly hints instead of false-positive error messages. 41 suggestion-mode=yes [all …]
|
| /external/tensorflow/tensorflow/python/keras/layers/ |
| D | serialization.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 17 # pylint: disable=wildcard-import 18 # pylint: disable=unused-import 47 # thread-local to avoid concurrent mutations. 52 """Populates dict ALL_OBJECTS with every built-in layer. 60 # Objects dict is already generated for the proper TF version: 81 from tensorflow.python.keras import models # pylint: disable=g-import-not-at-top 110 config: dict of the form {'class_name': str, 'config': dict} 111 custom_objects: dict mapping class names (or function names) 112 of custom (non-Keras) objects to class/functions
|
12345678910>>...42