| /external/iamf_tools/iamf/cli/proto_conversion/proto_to_obu/tests/ |
| D | ia_sequence_header_generator_test.cc | 4 * This source code is subject to the terms of the BSD 3-Clause Clear License 5 * and the Alliance for Open Media Patent License 1.0. If the BSD 3-Clause Clear 6 * License was not distributed with this source code in the LICENSE file, you 7 * can obtain it at www.aomedia.org/license/software-license/bsd-3-c-c. If the 8 * Alliance for Open Media Patent License 1.0 was not distributed with this 36 IASequenceHeaderObuMetadata metadata; in GetSimpleProfileMetadata() local 37 metadata.set_ia_code(IASequenceHeaderObu::kIaCode); in GetSimpleProfileMetadata() 38 metadata.set_primary_profile(iamf_tools_cli_proto::PROFILE_VERSION_SIMPLE); in GetSimpleProfileMetadata() 39 metadata.set_additional_profile(iamf_tools_cli_proto::PROFILE_VERSION_SIMPLE); in GetSimpleProfileMetadata() 40 return metadata; in GetSimpleProfileMetadata() [all …]
|
| D | parameter_block_generator_test.cc | 4 * This source code is subject to the terms of the BSD 3-Clause Clear License 5 * and the Alliance for Open Media Patent License 1.0. If the BSD 3-Clause Clear 6 * License was not distributed with this source code in the LICENSE file, you 7 * can obtain it at www.aomedia.org/license/software-license/bsd-3-c-c. If the 8 * Alliance for Open Media Patent License 1.0 was not distributed with this 64 ParameterBlockGenerator generator(kOverrideComputedReconGains, in TEST() local 67 // Add metadata. in TEST() 69 for (const auto& metadata : user_metadata.parameter_block_metadata()) { in TEST() local 70 EXPECT_THAT(generator.AddMetadata(metadata), IsOk()); in TEST() 78 EXPECT_THAT(generator.GenerateDemixing(*global_timing_module, in TEST() [all …]
|
| /external/ltp/m4/ |
| D | ltp-docparse.m4 | 1 dnl SPDX-License-Identifier: GPL-2.0-or-later 5 AC_MSG_NOTICE(checking asciidoctor as metadata generator) 8 # pdf requires both asciidoctor and asciidoctor-pdf 10 AC_PATH_TOOL(asciidoctor_pdf, "asciidoctor-pdf") 16 AC_MSG_NOTICE(checking asciidoc as metadata generator) 19 version="`$a2x --version | cut -d ' ' -f2 `" 44 if test "x$enable_metadata_html" = xyes -o "x$enable_metadata_pdf" = xyes; then 49 if test "x$with_metadata_generator" = xasciidoctor -o "x$with_metadata_generator" = xdetect; then 54 …AC_MSG_ERROR([invalid metadata generator '$with_metadata_generator', use --with-metadata-generator… 60 …# problems with Asciidoctor: (html enabled && not found) || (pdf enabled && not found) => try Asci… [all …]
|
| /external/grpc-grpc/src/python/grpcio/grpc/_cython/_cygrpc/aio/ |
| D | common.pyx.pxi | 4 # you may not use this file except in compliance with the License. 7 # http://www.apache.org/licenses/LICENSE-2.0 52 message = message.encode('utf-8') 67 def _repr(self) -> str: 70 def __repr__(self) -> str: 73 def __str__(self) -> str: 102 perform certain clean-up logic, and then re-raise it. 114 if 'Non-thread-safe operation' in str(runtime_error): 124 """Converts an async generator into generator.""" 137 # If StopAsyncIteration is raised, end this generator. [all …]
|
| D | server.pyx.pxi | 4 # you may not use this file except in compliance with the License. 7 # http://www.apache.org/licenses/LICENSE-2.0 25 cdef _augment_metadata(tuple metadata, object compression): argument 27 return metadata 32 ),) + metadata 150 async def send_initial_metadata(self, object metadata): argument 154 raise UsageError('Send initial metadata failed: already sent') 158 _augment_metadata(tuple(metadata), self._rpc_state.compression_algorithm), 206 def set_trailing_metadata(self, object metadata): argument 207 raise_if_not_valid_trailing_metadata(metadata) [all …]
|
| /external/google-cloud-java/owl-bot-postprocessor/synthtool/ |
| D | metadata.py | 4 # you may not use this file except in compliance with the License. 7 # https://www.apache.org/licenses/LICENSE-2.0 34 _metadata = metadata_pb2.Metadata() 37 def get_environment_bool(var_name: str) -> bool: 48 def reset() -> None: 49 """Clear all metadata so far.""" 51 _metadata = metadata_pb2.Metadata() 60 def add_git_source(**kwargs) -> None: 61 """Adds a git source to the current metadata.""" 65 def add_pattern_excluded_during_copy(glob_pattern: str) -> None: [all …]
|
| D | __main__.py | 4 # you may not use this file except in compliance with the License. 7 # https://www.apache.org/licenses/LICENSE-2.0 23 import synthtool.metadata 27 VERSION = pkg_resources.get_distribution("gcp-synthtool").version 35 def extra_args() -> List[str]: 61 "--metadata", 62 default="synth.metadata", 63 help="Path to metadata file that will be read and overwritten.", 65 @click.argument("extra_args", nargs=-1) 66 def main(synthfile: str, metadata: str, extra_args: Sequence[str]): [all …]
|
| /external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/CodeGen/ |
| D | GCMetadata.h | 1 //===- GCMetadata.h - Garbage collector metadata ----------------*- C++ -*-===// 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 10 // used as a communication channel from the target code generator to the target 15 // stack map. The code generator outputs: 17 // - Safe points as specified by the GCStrategy's NeededSafePoints. 18 // - Stack offsets for GC roots, as specified by calls to llvm.gcroot 22 // generator, so all roots are assumed live. 28 // any code generator data structures. [all …]
|
| /external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
| D | GCMetadata.h | 1 //===- GCMetadata.h - Garbage collector metadata ----------------*- C++ -*-===// 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 10 // used as a communication channel from the target code generator to the target 15 // stack map. The code generator outputs: 17 // - Safe points as specified by the GCStrategy's NeededSafePoints. 18 // - Stack offsets for GC roots, as specified by calls to llvm.gcroot 22 // generator, so all roots are assumed live. 28 // any code generator data structures. [all …]
|
| /external/ltp/.github/workflows/ |
| D | ci-docker-build.yml | 1 # Copyright (c) 2021-2024 Petr Vorel <pvorel@suse.cz> 11 runs-on: ubuntu-latest 14 fail-fast: false 18 - container: "debian:stable" 24 - container: "debian:stable" 27 CC: powerpc64le-linux-gnu-gcc 30 VARIANT: cross-compile 32 - container: "debian:stable" 35 CC: aarch64-linux-gnu-gcc 38 VARIANT: cross-compile [all …]
|
| /external/llvm/include/llvm/CodeGen/ |
| D | GCMetadata.h | 1 //===-- GCMetadata.h - Garbage collector metadata ---------------*- C++ -*-===// 8 //===----------------------------------------------------------------------===// 11 // used as a communication channel from the target code generator to the target 16 // stack map. The code generator outputs: 18 // - Safe points as specified by the GCStrategy's NeededSafePoints. 19 // - Stack offsets for GC roots, as specified by calls to llvm.gcroot 23 // generator, so all roots are assumed live. 29 // any code generator data structures. 31 //===----------------------------------------------------------------------===// 50 /// GCPoint - Metadata for a collector-safe point in machine code. [all …]
|
| /external/iamf_tools/iamf/cli/proto_conversion/proto_to_obu/ |
| D | audio_frame_generator.h | 4 * This source code is subject to the terms of the BSD 3-Clause Clear License 5 * and the Alliance for Open Media Patent License 1.0. If the BSD 3-Clause Clear 6 * License was not distributed with this source code in the LICENSE file, you 7 * can obtain it at www.aomedia.org/license/software-license/bsd-3-c-c. If the 8 * Alliance for Open Media Patent License 1.0 was not distributed with this 42 /*!\brief Generator of audio frames. 47 * Under the hood, the generator can be in three states: 48 * 1. `kTakingSamples`: The generator is expecting audio substreams and taking 51 * are coming, and the generator will soon (starting in 53 * 3. `kFlushingRemaining`: The generator is flushing the remaining samples [all …]
|
| /external/tflite-support/tensorflow_lite_support/codegen/ |
| D | README.md | 1 # TensorFlow Lite Android Wrapper Code Generator 3 For TensorFlow Lite model enhanced with [metadata](https://www.tensorflow.org/lite/convert/metadata… 4 developers can use the TensorFlow Lite Android wrapper code generator to create 6 directly with `ByteBuffer`. Instead, developers can interact with the TensorFlow 7 Lite model with typed objects such as `Bitmap` and `Rect`. 9 The usefulness of the code generator depend on the completeness of the 10 TensorFlow Lite model's metadata entry. Refer to the `<Codegen usage>` section 12 …a_schema.fbs](https://github.com/tensorflow/tflite-support/blob/master/tensorflow_lite_support/met…
|
| /external/tensorflow/tensorflow/lite/g3doc/inference_with_metadata/ |
| D | codegen.md | 1 # Generate model interfaces using metadata 3 Using [TensorFlow Lite Metadata](../models/convert/metadata), developers can generate 11 For TensorFlow Lite models enhanced with [metadata](../models/convert/metadata.md), 14 metadata. The wrapper code removes the need to interact directly with 15 `ByteBuffer`. Instead, developers can interact with the TensorFlow Lite model 16 with typed objects such as `Bitmap` and `Rect`. 23 1. Right-click on the module you would like to use the TFLite model or click on 25 … can be as easy as 4 just a few lines of code. TensorFlow Lite metadata contains a rich description 8 [TensorFlow Lite Android code generator](codegen.md#codegen). It can also be 16 ### Generate model interface with Android code generators 19 for TensorFlow Lite model with metadata: 24 project and generate wrapper classes based on the model metadata. 26 2. [TensorFlow Lite Code Generator](codegen.md#codegen) is an executable that 27 generates model interface automatically based on the metadata. It currently 28 supports Android with Java. The wrapper code removes the need to interact [all …]
|
| /external/tensorflow/tensorflow/lite/g3doc/examples/convert/ |
| D | metadata.md | 1 # Adding metadata to TensorFlow Lite models 3 TensorFlow Lite metadata provides a standard for model descriptions. The 4 metadata is an important source of knowledge about what the model does and its 5 input / output information. The metadata consists of both 10 …Flow Lite Android code generator](../../inference_with_metadata/codegen#generate-code-with-tensorf… 12 …ing feature](../../inference_with_metadata/codegen#generate-code-with-android-studio-ml-model-bind… 15 [TensorFlow Hub](https://tfhub.dev/s?deployment-format=lite) have been populated 16 with metadata. 18 ## Model with metadata format 21 <center>Figure 1. TFLite model with metadata and associated files.</center> [all …]
|
| /external/webrtc/modules/audio_processing/test/py_quality_assessment/quality_assessment/ |
| D | collect_data.py | 3 # Use of this source code is governed by a BSD-style license 22 logging.critical('Cannot import the third-party Python package pandas') 51 parser.add_argument('-o', 52 '--output_dir', 54 help=('the same base path used with the ' 58 '-c', 59 '--config_names', 65 '-i', 66 '--capture_names', 71 parser.add_argument('-r', [all …]
|
| /external/perfetto/python/test/ |
| D | api_integrationtest.py | 5 # you may not use this file except in compliance with the License. 8 # http://www.apache.org/licenses/LICENSE-2.0 27 from perfetto.batch_trace_processor.api import Metadata 47 with open(example_android_trace_path(), 'rb') as f: 53 self.file_gen(), metadata={'source': 'generator'}), 55 example_android_trace_path(), metadata={'source': 'path'}), 61 metadata={'source': 'path_resolver'}), 62 TraceUriResolver.Result(self.file, metadata={'source': 'file'}), 77 self.file_gen(), metadata={'source': 'recursive_gen'}), 80 metadata={ [all …]
|
| /external/google-cloud-java/owl-bot-postprocessor/synthtool/languages/ |
| D | java.py | 4 # you may not use this file except in compliance with the License. 7 # https://www.apache.org/licenses/LICENSE-2.0 29 …tps://github.com/google/google-java-format/releases/download/google-java-format-{version}/google-j… 35 * you may not use this file except in compliance with the License. 38 * https://www.apache.org/licenses/LICENSE-2.0 52 \\* in compliance with the License. You may obtain a copy of the License at 54 \\* http://www.apache.org/licenses/LICENSE-2.0 67 ) -> None: 69 Runs the google-java-format jar against all .java files found within the 72 jar_name = f"google-java-format-{version}.jar" [all …]
|
| /external/grpc-grpc/src/csharp/Grpc.Tools/ |
| D | ProtoCompilerOutputs.cs | 6 // you may not use this file except in compliance with the License. 9 // http://www.apache.org/licenses/LICENSE-2.0 28 /// Code generator. Currently supported are "csharp", "cpp". 31 public string Generator { get; set; } property in Grpc.Tools.ProtoCompilerOutputs 37 /// with later in the ProtoCompile task which returns the list of 61 /// Output items will have the Source metadata set on them: 69 var generator = GeneratorServices.GetForLanguage(Generator, Log); in Execute() 70 if (generator == null) in Execute() 76 // Get language-specific possible output. The generator expects certain in Execute() 77 // metadata be set on the proto item. in Execute() [all …]
|
| /external/perfetto/src/trace_processor/trace_summary/ |
| D | summary.cc | 5 * you may not use this file except in compliance with the License. 8 * http://www.apache.org/licenses/LICENSE-2.0 35 #include "src/trace_processor/perfetto_sql/generator/structured_query_generator.h" 53 using perfetto_sql::generator::StructuredQueryGenerator; 58 auto it = processor->ExecuteQuery(metadata_sql); in WriteMetadata() 63 // This can happen if there is no metadata. Just early return in that case. in WriteMetadata() 72 "Metadata query did not match schema of (key, value)"); in WriteMetadata() 78 "Key column in metadata query was not of type string"); in WriteMetadata() 87 "Key column in metadata query was not of type string or null"); in WriteMetadata() 89 auto* metadata = summary->add_metadata(); in WriteMetadata() local [all …]
|
| /external/grpc-grpc/src/python/grpcio/grpc/aio/ |
| D | _base_call.py | 4 # you may not use this file except in compliance with the License. 7 # http://www.apache.org/licenses/LICENSE-2.0 14 """Abstract base classes for client-side Call objects. 17 its information. They also offer methods to manipulate the life-cycle of the 23 from typing import Any, AsyncIterator, Generator, Generic, Optional, Union 27 from ._metadata import Metadata 37 """Provides RPC-related information and action.""" 40 def cancelled(self) -> bool: 43 The RPC is cancelled when the cancellation was requested with cancel(). 50 def done(self) -> bool: [all …]
|
| /external/toolchain-utils/llvm_tools/ |
| D | get_patch_unittest.py | 3 # Use of this source code is governed by a BSD-style license that can be 11 from typing import Any, Dict, Generator, List, Set 26 "metadata": {"title": "An existing patch"}, 34 def _mock_get_commit_subj(_, sha: str) -> str: 35 gen: Generator[Dict[str, Any], None, None] = ( 41 def _mock_to_rev(sha: get_patch.LLVMGitRef, _) -> git_llvm_rev.Rev: 42 gen: Generator[Dict[str, Any], None, None] = ( 48 def _mock_from_rev(_, rev: git_llvm_rev.Rev) -> get_patch.LLVMGitRef: 49 gen: Generator[Dict[str, Any], None, None] = ( 55 def _mock_git_format_patch(*_) -> str: [all …]
|
| /external/perfetto/python/perfetto/trace_uri_resolver/ |
| D | registry.py | 4 # you may not use this file except in compliance with the License. 7 # http://www.apache.org/licenses/LICENSE-2.0 32 generator: TraceGenerator 33 metadata: Dict[str, str] 44 def resolve(self, ref: TraceListReference) -> List['ResolverRegistry.Result']: 50 ref: TraceReference) -> List['ResolverRegistry.Result']: 70 def _resolver_from_uri(self, uri: TraceUri) -> TraceUriResolver: 78 ) -> List[ResolverRegistry.Result]: 80 generator=registry_res.generator, 81 metadata=util.merge_dicts(resolver_res.metadata, registry_res.metadata))
|
| /external/libchrome/build/android/gyp/util/ |
| D | md5_check.py | 2 # Use of this source code is governed by a BSD-style license that can be 27 - any output_paths are missing, or 28 - the contents of any file within input_paths has changed, or 29 - the contents of input_strings has changed. 31 To debug which files are out-of-date, set the environment variable: 36 record_path: Path to record metadata. 70 with open(record_path, 'r') as jsonfile: 73 except: # pylint: disable=bare-except 89 with open(record_path, 'w') as f: 129 """Generator for paths.""" [all …]
|