| /external/cronet/tot/third_party/googletest/custom/gtest/internal/custom/ |
| D | stack_trace_getter.cc | 2 // Use of this source code is governed by a BSD-style license that can be 19 departure = stack_trace_upon_leaving_gtest_->addresses(); in CurrentStackTrace() 22 base::span<const void* const> current = stack_trace.addresses(); in CurrentStackTrace() local 24 // Ignore the frames at the root of the current trace that match those of the in CurrentStackTrace() 27 // Also ignore the very first mismatch, as this identifies two instructions in CurrentStackTrace() 31 const auto r_current = base::Reversed(current); in CurrentStackTrace() 33 r_current.end() - in CurrentStackTrace() 36 current = current.first(remaining - 1); in CurrentStackTrace() 40 // Ignore the frames at the leaf of the current trace that match those of the in CurrentStackTrace() 42 // StackTrace's constructor, which are irrelevant. Also ignore the very first in CurrentStackTrace() [all …]
|
| /external/cronet/stable/third_party/googletest/custom/gtest/internal/custom/ |
| D | stack_trace_getter.cc | 2 // Use of this source code is governed by a BSD-style license that can be 19 departure = stack_trace_upon_leaving_gtest_->addresses(); in CurrentStackTrace() 22 base::span<const void* const> current = stack_trace.addresses(); in CurrentStackTrace() local 24 // Ignore the frames at the root of the current trace that match those of the in CurrentStackTrace() 27 // Also ignore the very first mismatch, as this identifies two instructions in CurrentStackTrace() 31 const auto r_current = base::Reversed(current); in CurrentStackTrace() 33 r_current.end() - in CurrentStackTrace() 36 current = current.first(remaining - 1); in CurrentStackTrace() 40 // Ignore the frames at the leaf of the current trace that match those of the in CurrentStackTrace() 42 // StackTrace's constructor, which are irrelevant. Also ignore the very first in CurrentStackTrace() [all …]
|
| /external/owasp/sanitizer/lib/htmlparser-1.3/doc/ |
| D | tree-construction.txt | 26 corresponding to the current insertion mode. 77 namespace, and then append this node to the current node, and push it 78 onto the stack of open elements so that it is the new current node. 83 specified instead of appending it to the current node. (This happens in 87 form-associated element, and the form element pointer is not null, and 96 namespace, and then append this node to the current node, and push it 97 onto the stack of open elements so that it is the new current node. If 140 3. Let the original insertion mode be the current insertion mode. 146 while the current node is a dd element, a dt element, an li element, an 148 rt element, the UA must pop the current node off the stack of open [all …]
|
| /external/pytorch/torch/distributed/_shard/sharded_tensor/ |
| D | reshard.py | 1 # mypy: allow-untyped-defs 19 def get_idx_from_placements(placements, current_rank) -> int: 21 Return the position of the current rank in the given placements. 32 current_rank (int): number of current device. 35 A int which contains the position of current device in the placement list. 37 for idx, placement in enumerate(placements): # type: ignore[attr-defined] 38 if current_rank == placement.rank(): # type: ignore[union-attr] 47 ) -> Tuple[List[ShardMetadata], List[int]]: 64 shard_dim = int(sharding_spec.dim) # type: ignore[attr-defined] 69 for idx, placement in enumerate(sharding_spec.placements): # type: ignore[attr-defined] [all …]
|
| /external/rust/android-crates-io/crates/tokio/tests/ |
| D | rt_handle_block_on.rs | 6 // https://github.com/tokio-rs/tokio/pull/3569#pullrequestreview-612703467 for more details. 8 // When this has been fixed we want to re-enable these tests. 24 fn rt() -> Runtime { 38 fn rt() -> Runtime { 57 fn rt() -> Runtime { 70 fn rt() -> Runtime { 84 fn rt() -> Runtime { 100 let one = Handle::current().block_on(async { 1 }); in basic() 110 Handle::current().block_on(tx.send(42)).unwrap(); in bounded_mpsc_channel() 112 let value = Handle::current().block_on(rx.recv()).unwrap(); in bounded_mpsc_channel() [all …]
|
| /external/llvm/examples/OCaml-Kaleidoscope/Chapter5/ |
| D | codegen.ml | 1 (*===----------------------------------------------------------------------=== 3 *===----------------------------------------------------------------------===*) 16 | Ast.Number n -> const_float double_type n 17 | Ast.Variable name -> 19 | Not_found -> raise (Error "unknown variable name")) 20 | Ast.Binary (op, lhs, rhs) -> 25 | '+' -> build_fadd lhs_val rhs_val "addtmp" builder 26 | '-' -> build_fsub lhs_val rhs_val "subtmp" builder 27 | '*' -> build_fmul lhs_val rhs_val "multmp" builder 28 | '<' -> [all …]
|
| /external/apache-http/android/src/android/net/http/ |
| D | AndroidHttpClientConnection.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 112 CoreConnectionPNames.MAX_HEADER_COUNT, -1); in bind() 114 CoreConnectionPNames.MAX_LINE_LENGTH, -1); in bind() 168 return -1; in getLocalPort() 184 return -1; in getRemotePort() 193 } catch (SocketException ignore) { in setSocketTimeout() 205 } catch (SocketException ignore) { in getSocketTimeout() 206 return -1; in getSocketTimeout() 209 return -1; in getSocketTimeout() 230 } catch (IOException ignore) { in close() [all …]
|
| /external/llvm/examples/OCaml-Kaleidoscope/Chapter7/ |
| D | codegen.ml | 1 (*===----------------------------------------------------------------------=== 3 *===----------------------------------------------------------------------===*) 22 | Ast.Number n -> const_float double_type n 23 | Ast.Variable name -> 25 | Not_found -> raise (Error "unknown variable name") 29 | Ast.Unary (op, operand) -> 34 | Some callee -> callee 35 | None -> raise (Error "unknown unary operator") 38 | Ast.Binary (op, lhs, rhs) -> 40 | '=' -> [all …]
|
| /external/llvm/examples/OCaml-Kaleidoscope/Chapter6/ |
| D | codegen.ml | 1 (*===----------------------------------------------------------------------=== 3 *===----------------------------------------------------------------------===*) 16 | Ast.Number n -> const_float double_type n 17 | Ast.Variable name -> 19 | Not_found -> raise (Error "unknown variable name")) 20 | Ast.Unary (op, operand) -> 25 | Some callee -> callee 26 | None -> raise (Error "unknown unary operator") 29 | Ast.Binary (op, lhs, rhs) -> 34 | '+' -> build_fadd lhs_val rhs_val "addtmp" builder [all …]
|
| /external/protobuf/php/src/Google/Protobuf/Internal/ |
| D | RepeatedFieldIter.php | 3 // Protocol Buffers - Google's data interchange format 5 // https://developers.google.com/protocol-buffers/ 48 * @ignore 52 * @ignore 61 * @ignore 65 $this->position = 0; 66 $this->container = $container; 78 $this->position = 0; 82 * Return the element at the current position. 84 * @return object The element at the current position. [all …]
|
| /external/cronet/tot/third_party/protobuf/php/src/Google/Protobuf/Internal/ |
| D | RepeatedFieldIter.php | 3 // Protocol Buffers - Google's data interchange format 5 // https://developers.google.com/protocol-buffers/ 48 * @ignore 52 * @ignore 61 * @ignore 65 $this->position = 0; 66 $this->container = $container; 78 $this->position = 0; 82 * Return the element at the current position. 84 * @return object The element at the current position. [all …]
|
| /external/cronet/stable/third_party/protobuf/php/src/Google/Protobuf/Internal/ |
| D | RepeatedFieldIter.php | 3 // Protocol Buffers - Google's data interchange format 5 // https://developers.google.com/protocol-buffers/ 48 * @ignore 52 * @ignore 61 * @ignore 65 $this->position = 0; 66 $this->container = $container; 78 $this->position = 0; 82 * Return the element at the current position. 84 * @return object The element at the current position. [all …]
|
| /external/python/cpython3/Doc/library/ |
| D | trace.rst | 1 :mod:`!trace` --- Trace or track Python statement execution 9 -------------- 19 A popular third-party coverage tool that provides HTML 22 .. _trace-cli: 24 Command-Line Usage 25 ------------------ 30 python -m trace --count -C . somefile.py ... 33 all Python modules imported during the execution into the current directory. 37 .. option:: --help 41 .. option:: --version [all …]
|
| /external/rust/android-crates-io/crates/tracing-subscriber/src/layer/ |
| D | context.rs | 7 /// Represents information about the current context provided to [`Layer`]s by the 39 /// [`and`]-ing together the [`FilterId`]s of each of the filters that wrap 40 /// the current layer. 55 pub(super) fn new(subscriber: &'a S) -> Self { in new() 64 /// Returns the wrapped subscriber's view of the current span. 66 pub fn current_span(&self) -> span::Current { in current_span() argument 70 // `tracing-core` should make `Current::unknown()` public? in current_span() 71 .unwrap_or_else(span::Current::none) in current_span() 74 /// Returns whether the wrapped subscriber would enable the current span. 76 pub fn enabled(&self, metadata: &Metadata<'_>) -> bool { in enabled() [all …]
|
| /external/pytorch/torch/distributed/tensor/ |
| D | _shards_wrapper.py | 1 # mypy: allow-untyped-defs 5 # This source code is licensed under the BSD-style license found in the 26 ) # pyre-ignore[5]: Globally accessible variable `aten` has no type specified. 29 class LocalShardsWrapper(torch.Tensor): # pyre-ignore[13]: pyre is bad at __new__ 43 ) -> "LocalShardsWrapper": 52 if len(local_shards) > 1: # column-wise sharding 66 r = torch.Tensor._make_wrapper_subclass( # type: ignore[attr-defined] 81 # pyre-fixme[3]: Return type must be annotated. 82 # pyre-fixme[2]: Parameter must be annotated. 99 ) # pyre-ignore [29] - `Variable[_VT]` is not a function. [all …]
|
| /external/mesa3d/src/intel/dev/ |
| D | intel_hwconfig.c | 136 const struct hwconfig *current = hwconfig; in process_hwconfig_table() local 139 while (current < end) { in process_hwconfig_table() 140 assert(current + 1 < end); in process_hwconfig_table() 142 (struct hwconfig*)((uint32_t*)current + 2 + current->len); in process_hwconfig_table() 144 item_callback_func(devinfo, current); in process_hwconfig_table() 145 current = next; in process_hwconfig_table() 147 assert(current == end); in process_hwconfig_table() 154 return devinfo->verx10 >= 125; in apply_hwconfig() 163 mesa_logw("%s (%u) != devinfo->%s (%u)", in hwconfig_item_warning() 176 if ((devinfo->verx10 >= always_apply_verx10 || devinfo_val == 0)) in should_apply_hwconfig_item() [all …]
|
| /external/google-cloud-java/java-alloydb/proto-google-cloud-alloydb-v1/src/main/java/com/google/cloud/alloydb/v1/ |
| D | DeleteInstanceRequestOrBuilder.java | 8 * https://www.apache.org/licenses/LICENSE-2.0 63 * ignore the request if it has already been completed. The server will 68 * was received, and if so, will ignore the second request. This prevents 71 * not supported (00000000-0000-0000-0000-000000000000). 85 * ignore the request if it has already been completed. The server will 90 * was received, and if so, will ignore the second request. This prevents 93 * not supported (00000000-0000-0000-0000-000000000000). 106 * Optional. The current etag of the Instance. 107 * If an etag is provided and does not match the current etag of the Instance, 120 * Optional. The current etag of the Instance. [all …]
|
| D | DeleteBackupRequestOrBuilder.java | 8 * https://www.apache.org/licenses/LICENSE-2.0 63 * ignore the request if it has already been completed. The server will 68 * was received, and if so, will ignore the second request. This prevents 71 * not supported (00000000-0000-0000-0000-000000000000). 85 * ignore the request if it has already been completed. The server will 90 * was received, and if so, will ignore the second request. This prevents 93 * not supported (00000000-0000-0000-0000-000000000000). 120 * Optional. The current etag of the Backup. 121 * If an etag is provided and does not match the current etag of the Backup, 134 * Optional. The current etag of the Backup. [all …]
|
| /external/google-cloud-java/java-alloydb/proto-google-cloud-alloydb-v1alpha/src/main/java/com/google/cloud/alloydb/v1alpha/ |
| D | DeleteInstanceRequestOrBuilder.java | 8 * https://www.apache.org/licenses/LICENSE-2.0 63 * ignore the request if it has already been completed. The server will 68 * was received, and if so, will ignore the second request. This prevents 71 * not supported (00000000-0000-0000-0000-000000000000). 85 * ignore the request if it has already been completed. The server will 90 * was received, and if so, will ignore the second request. This prevents 93 * not supported (00000000-0000-0000-0000-000000000000). 106 * Optional. The current etag of the Instance. 107 * If an etag is provided and does not match the current etag of the Instance, 120 * Optional. The current etag of the Instance. [all …]
|
| D | DeleteBackupRequestOrBuilder.java | 8 * https://www.apache.org/licenses/LICENSE-2.0 63 * ignore the request if it has already been completed. The server will 68 * was received, and if so, will ignore the second request. This prevents 71 * not supported (00000000-0000-0000-0000-000000000000). 85 * ignore the request if it has already been completed. The server will 90 * was received, and if so, will ignore the second request. This prevents 93 * not supported (00000000-0000-0000-0000-000000000000). 120 * Optional. The current etag of the Backup. 121 * If an etag is provided and does not match the current etag of the Backup, 134 * Optional. The current etag of the Backup. [all …]
|
| D | PromoteClusterRequestOrBuilder.java | 8 * https://www.apache.org/licenses/LICENSE-2.0 63 * ignore the request if it has already been completed. The server will 68 * was received, and if so, will ignore the second request. This prevents 71 * not supported (00000000-0000-0000-0000-000000000000). 85 * ignore the request if it has already been completed. The server will 90 * was received, and if so, will ignore the second request. This prevents 93 * not supported (00000000-0000-0000-0000-000000000000). 106 * Optional. The current etag of the Cluster. 107 * If an etag is provided and does not match the current etag of the Cluster, 120 * Optional. The current etag of the Cluster. [all …]
|
| /external/google-cloud-java/java-alloydb/proto-google-cloud-alloydb-v1beta/src/main/java/com/google/cloud/alloydb/v1beta/ |
| D | DeleteInstanceRequestOrBuilder.java | 8 * https://www.apache.org/licenses/LICENSE-2.0 63 * ignore the request if it has already been completed. The server will 68 * was received, and if so, will ignore the second request. This prevents 71 * not supported (00000000-0000-0000-0000-000000000000). 85 * ignore the request if it has already been completed. The server will 90 * was received, and if so, will ignore the second request. This prevents 93 * not supported (00000000-0000-0000-0000-000000000000). 106 * Optional. The current etag of the Instance. 107 * If an etag is provided and does not match the current etag of the Instance, 120 * Optional. The current etag of the Instance. [all …]
|
| D | PromoteClusterRequestOrBuilder.java | 8 * https://www.apache.org/licenses/LICENSE-2.0 63 * ignore the request if it has already been completed. The server will 68 * was received, and if so, will ignore the second request. This prevents 71 * not supported (00000000-0000-0000-0000-000000000000). 85 * ignore the request if it has already been completed. The server will 90 * was received, and if so, will ignore the second request. This prevents 93 * not supported (00000000-0000-0000-0000-000000000000). 106 * Optional. The current etag of the Cluster. 107 * If an etag is provided and does not match the current etag of the Cluster, 120 * Optional. The current etag of the Cluster. [all …]
|
| D | DeleteBackupRequestOrBuilder.java | 8 * https://www.apache.org/licenses/LICENSE-2.0 63 * ignore the request if it has already been completed. The server will 68 * was received, and if so, will ignore the second request. This prevents 71 * not supported (00000000-0000-0000-0000-000000000000). 85 * ignore the request if it has already been completed. The server will 90 * was received, and if so, will ignore the second request. This prevents 93 * not supported (00000000-0000-0000-0000-000000000000). 120 * Optional. The current etag of the Backup. 121 * If an etag is provided and does not match the current etag of the Backup, 134 * Optional. The current etag of the Backup. [all …]
|
| /external/pytorch/torch/utils/data/ |
| D | distributed.py | 33 current distributed group. 34 rank (int, optional): Rank of the current process within :attr:`num_replicas`. 35 By default, :attr:`rank` is retrieved from the current distributed 73 ) -> None: 84 f"Invalid rank {rank}, rank should be in the interval [0, {num_replicas - 1}]" 93 if self.drop_last and len(self.dataset) % self.num_replicas != 0: # type: ignore[arg-type] 98 … (len(self.dataset) - self.num_replicas) / self.num_replicas # type: ignore[arg-type] 101 … self.num_samples = math.ceil(len(self.dataset) / self.num_replicas) # type: ignore[arg-type] 106 def __iter__(self) -> Iterator[_T_co]: 111 … indices = torch.randperm(len(self.dataset), generator=g).tolist() # type: ignore[arg-type] [all …]
|