| /third_party/mindspore/mindspore-src/source/mindspore/ccsrc/distributed/embedding_cache/ |
| D | embedding_cache_utils.cc | 8 * http://www.apache.org/licenses/LICENSE-2.0 38 auto worker_num = ps::PSContext::instance()->worker_num(); in Initialize() 45 cpu_device_context_->Initialize(); in Initialize() 55 MS_EXCEPTION_IF_NULL(device_context->device_res_manager_); in Finalize() 57 device_context->device_res_manager_->FreeMemory(hash_swap_index_addr_); in Finalize() 60 device_context->device_res_manager_->FreeMemory(hash_swap_value_addr_); in Finalize() 65 MS_EXCEPTION_IF_NULL(cpu_device_context_->device_res_manager_); in Finalize() 66 cpu_device_context_->device_res_manager_->FreeMemory(item.second.host_address); in Finalize() 101 auto iter = hash_tables_.find(cur_param_name); in ReInsertHashTableSize() 103 MS_LOG(EXCEPTION) << "Can not find parameter[" << cur_param_name << "] in hash table."; in ReInsertHashTableSize() [all …]
|
| /third_party/rust/crates/regex/ |
| D | PERFORMANCE.md | 44 turn it into a proper automaton that decodes a subset of UTF-8 which 55 life-before-main, and therefore, one cannot utter this: 68 fn some_helper_function(text: &str) -> bool { 97 therefore read-only. Unfortunately, this is not true. Each type of search 119 * find 135 **Advice**: Prefer in this order: `is_match`, `find`, `captures`. 140 * find 145 `is_match` is fastest because it doesn't actually need to find the start or the 146 end of the leftmost-first match. It can quit immediately after it knows there 150 In contrast, `find` must return both the start and end location of the [all …]
|
| /third_party/spirv-tools/source/fuzz/ |
| D | equivalence_relation.h | 7 // http://www.apache.org/licenses/LICENSE-2.0 36 // A disjoint-set (a.k.a. union-find or merge-find) data structure is used to 55 // constructed by repeatedly adding pairs of (typically non-equal) values that 60 // IDs in a SPIR-V binary that are known to contain the same value at run time, 64 // Each unique (up to equality) value added to the relation is copied into 82 // Look up canonical pointers to each of the values in the value pool. in MakeEquivalent() 83 const T* value1_ptr = *value_set_.find(&value1); in MakeEquivalent() 84 const T* value2_ptr = *value_set_.find(&value2); in MakeEquivalent() 92 // Find the representative for each value's equivalence class, and if they in MakeEquivalent() 94 const T* representative1 = Find(value1_ptr); in MakeEquivalent() [all …]
|
| /third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/ |
| D | equivalence_relation.h | 7 // http://www.apache.org/licenses/LICENSE-2.0 36 // A disjoint-set (a.k.a. union-find or merge-find) data structure is used to 55 // constructed by repeatedly adding pairs of (typically non-equal) values that 60 // IDs in a SPIR-V binary that are known to contain the same value at run time, 64 // Each unique (up to equality) value added to the relation is copied into 82 // Look up canonical pointers to each of the values in the value pool. in MakeEquivalent() 83 const T* value1_ptr = *value_set_.find(&value1); in MakeEquivalent() 84 const T* value2_ptr = *value_set_.find(&value2); in MakeEquivalent() 92 // Find the representative for each value's equivalence class, and if they in MakeEquivalent() 94 const T* representative1 = Find(value1_ptr); in MakeEquivalent() [all …]
|
| /third_party/skia/third_party/externals/spirv-tools/source/fuzz/ |
| D | equivalence_relation.h | 7 // http://www.apache.org/licenses/LICENSE-2.0 36 // A disjoint-set (a.k.a. union-find or merge-find) data structure is used to 55 // constructed by repeatedly adding pairs of (typically non-equal) values that 60 // IDs in a SPIR-V binary that are known to contain the same value at run time, 64 // Each unique (up to equality) value added to the relation is copied into 82 // Look up canonical pointers to each of the values in the value pool. in MakeEquivalent() 83 const T* value1_ptr = *value_set_.find(&value1); in MakeEquivalent() 84 const T* value2_ptr = *value_set_.find(&value2); in MakeEquivalent() 92 // Find the representative for each value's equivalence class, and if they in MakeEquivalent() 94 const T* representative1 = Find(value1_ptr); in MakeEquivalent() [all …]
|
| /third_party/mesa3d/src/imgui/ |
| D | imstb_textedit.h | 4 // - Fix in stb_textedit_discard_redo (see https://github.com/nothings/stb/issues/321) 5 // Grep for [DEAR IMGUI] to find the changes. 7 // stb_textedit.h - v1.13 - public domain - Sean Barrett 10 // This C header file implements the guts of a multi-line text-editing 11 // widget; you implement display, word-wrapping, and low-level string 17 // their own custom widgets and which do not have heavy text-editing 21 // Non-trivial behaviors are modelled after Windows text controls. 38 // 1.13 (2019-02-07) fix bug in undo size management 39 // 1.12 (2018-01-29) user can change STB_TEXTEDIT_KEYTYPE, fix redo to avoid crash 40 // 1.11 (2017-03-03) fix HOME on last line, dragging off single-line textfield [all …]
|
| /third_party/skia/tools/debugger/ |
| D | DebugLayerManager.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 23 auto* drawEvent = fDraws.find({frame, nodeId}); in setCommand() 29 const int count = drawEvent->debugCanvas->getSize(); in setCommand() 30 drawEvent->command = command < count ? command : count - 1; in setCommand() 45 const auto& layerBounds = picture->cullRect().roundOut(); in storeSkPicture() 47 // Must be set or they end up undefined due to cosmic rays, bad luck, etc. in storeSkPicture() 48 debugCanvas->setOverdrawViz(false); in storeSkPicture() 49 debugCanvas->setDrawGpuOpBounds(false); in storeSkPicture() 50 debugCanvas->setClipVizColor(SK_ColorTRANSPARENT); in storeSkPicture() 52 debugCanvas->setLayerManagerAndFrame(this, frame); in storeSkPicture() [all …]
|
| /third_party/ltp/testcases/kernel/device-drivers/nls/ |
| D | README | 3 --------------------------------------- 7 top level README file in LTP to find out the kernel configuration dependencies 13 -------- 19 ----------------------- 21 find the test results in the "dmesg" output. 23 Cleaning up 24 ----------- 25 To clean up your test system can unload the nlsTest.ko module with 26 "rmmod nlsTest". To clean up your build system execute "make clean". 29 -------
|
| /third_party/skia/third_party/externals/freetype/builds/cmake/ |
| D | iOS.cmake | 3 # Copyright (C) 2014-2021 by 21 # ------- 28 # OS - the default, used to build for iPhone and iPad physical devices, 30 # SIMULATOR - used to build for the Simulator platforms, which have an 44 # up-to-date SDK found in the CMAKE_IOS_DEVELOPER_ROOT path. If you 50 # ------ 62 # A macro to find executable programs on the host system, not within the 63 # iOS environment. Thanks to the `android-cmake' project for providing 79 # determine the cmake host system version so we know where to find the iOS 83 exec_program(uname ARGS -r OUTPUT_VARIABLE CMAKE_HOST_SYSTEM_VERSION) [all …]
|
| /third_party/mindspore/mindspore-src/source/mindspore/ccsrc/frontend/parallel/pass/ |
| D | matmul_add_comm_reduction.cc | 8 * http://www.apache.org/licenses/LICENSE-2.0 41 if (std::find(parent_list.begin(), parent_list.end(), child) == parent_list.end()) { in IsSubRankList() 50 return !prim->HasAttr(attr_name) || !GetValue<bool>(prim->GetAttr(attr_name)); in IsPrimitiveAttrValid() 54 OperatorInfoPtr add_distribute_operator = add_node->user_data<OperatorInfo>(); in IsAddNodeValid() 58 TensorInfo node_add_tensor_in = add_distribute_operator->inputs_tensor_info()[LongToSize(1)]; in IsAddNodeValid() 63 if (!comm_prim->HasAttr(GROUP)) { in IsAddNodeValid() 66 auto comm_group = GetValue<std::string>(comm_prim->GetAttr(GROUP)); in IsAddNodeValid() 68 auto comm_rank_list = g_device_manager->FindRankListByHashName(comm_group); in IsAddNodeValid() 85 auto cur_cnode = cur_anode->cast<CNodePtr>(); in FindPullDownNode() 90 auto cur_node_input_list = cur_cnode->inputs(); in FindPullDownNode() [all …]
|
| /third_party/ltp/testcases/open_posix_testsuite/scripts/ |
| D | locate-test | 3 # Created by: inaky.perez-gonzalez REMOVE-THIS AT intel DOT com 16 --buildonly List only tests that require building 17 --runnable List only tests that are executable 20 name it something including the "-buildonly" string. 21 --test-tools List all test tools that require building. 22 --help Show this help and exit 25 up by this tool. This might change in the future. So far, the ones 26 picked up are: 28 NUMBER-NUMBER.c [requires compilation] 29 NUMBER-NUMBER.sh [does not require compilation] [all …]
|
| /third_party/libabigail/src/ |
| D | abg-symtab-reader.cc | 1 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 2 // -*- Mode: C++ -*- 4 // Copyright (C) 2013-2023 Red Hat, Inc. 5 // Copyright (C) 2020-2023 Google, Inc. 18 #include "abg-elf-helpers.h" 19 #include "abg-fwd.h" 20 #include "abg-internal.h" 21 #include "abg-tools-utils.h" 24 // to test this code. TODO: find a way to export symbols just for unit tests. 26 #include "abg-symtab-reader.h" [all …]
|
| /third_party/typescript/lib/ |
| D | lib.es2020.bigint.d.ts | 5 License at http://www.apache.org/licenses/LICENSE-2.0 10 MERCHANTABLITY OR NON-INFRINGEMENT. 18 /// <reference no-default-lib="true"/> 25 …formation about this option, see the {@link https://developer.mozilla.org/en-US/docs/Web/JavaScrip… 35 …ed for use in ECMAScript. Pairs of simple units can be concatenated with "-per-" to make a compoun… 71 … minor unit digits provided by the {@link http://www.currency-iso.org/en/home/tables/table-a1.html… 76 … minor unit digits provided by the {@link http://www.currency-iso.org/en/home/tables/table-a1.html… 95 * "scientific" return the order-of-magnitude for formatted number. 130 * Interprets the low bits of a BigInt as a 2's-complement signed integer. 148 * A typed array of 64-bit signed integer values. The contents are initialized to 0. If the [all …]
|
| D | lib.es5.d.ts | 5 License at http://www.apache.org/licenses/LICENSE-2.0 10 MERCHANTABLITY OR NON-INFRINGEMENT. 18 /// <reference no-default-lib="true"/> 44 * Converts a string to a floating-point number. 45 * @param string A string that contains a floating-point number. 123 …/** The initial value of Object.prototype.constructor is the standard built-in Object constructor.… 198 …modify the property. This can be a native JavaScript object (that is, a user-defined object or a b… 237 * @param o Object to make non-extensible. 303 // Non-standard extensions 402 * @param pos The zero-based index of the desired character. [all …]
|
| /third_party/typescript/src/lib/ |
| D | es2020.bigint.d.ts | 5 …formation about this option, see the {@link https://developer.mozilla.org/en-US/docs/Web/JavaScrip… 15 …ed for use in ECMAScript. Pairs of simple units can be concatenated with "-per-" to make a compoun… 51 … minor unit digits provided by the {@link http://www.currency-iso.org/en/home/tables/table-a1.html… 56 … minor unit digits provided by the {@link http://www.currency-iso.org/en/home/tables/table-a1.html… 75 * "scientific" return the order-of-magnitude for formatted number. 110 * Interprets the low bits of a BigInt as a 2's-complement signed integer. 128 * A typed array of 64-bit signed integer values. The contents are initialized to 0. If the 160 * @param predicate A function that accepts up to three arguments. The every method calls 180 * @param predicate A function that accepts up to three arguments. The filter method calls 190 * @param predicate find calls predicate once for each element of the array, in ascending [all …]
|
| /third_party/mesa3d/.gitlab-ci/common/ |
| D | init-stage2.sh | 23 kill -9 "$pid" 2>/dev/null || true 27 set -x 36 # Second-stage init, used to set up devices and our job environment before 39 . /set-job-env-vars.sh 41 set -ex 43 # Set up any devices required by the jobs 44 [ -z "$HWCI_KERNEL_MODULES" ] || { 45 echo -n $HWCI_KERNEL_MODULES | xargs -d, -n1 /usr/sbin/modprobe 50 # - vmx for Intel VT 51 # - svm for AMD-V [all …]
|
| /third_party/vk-gl-cts/external/amber/src/src/vulkan/ |
| D | find_vulkan.cmake | 7 # http://www.apache.org/licenses/LICENSE-2.0 15 # Include this file to find Vulkan and and set up compilation and linking. 26 ${PROJECT_SOURCE_DIR}/third_party/vulkan-headers/include 31 ${PROJECT_SOURCE_DIR}/third_party/vulkan-headers/registry 41 # Our first choice is to pick up the Vulkan headers from an enclosing project. 44 set(X "${Vulkan-Headers_SOURCE_DIR}/include") 75 set(X "${Vulkan-Headers_SOURCE_DIR}") 93 # If we aren't already building a Vulkan library, then use CMake to find it. 97 # VULKAN_SDK should point to the platform-specific SDK directory containing 102 # export VULKAN_SDK="$HOME/vulkan-macos-1.1.85.0/macOS" [all …]
|
| /third_party/skia/site/docs/dev/contrib/ |
| D | _index.md | 1 --- 9 --- 15 Find bugs to fix or report new bugs in the 24 interesting and profile it to find ways to speed up Skia's implementation.We 26 found so we can assess and prioritize them. (If you find _and_ fix a bug, even 33 steps that can speed up the review process: 35 - Keep your code submissions small and targeted. 36 - When possible, have a fellow contributor review your change in advance of 38 - Propose new features to the project leads by opening a feature bug or posting 39 to skia-discuss ahead of development. [all …]
|
| /third_party/vk-gl-cts/external/amber/src/src/dawn/ |
| D | find_dawn.cmake | 7 # http://www.apache.org/licenses/LICENSE-2.0 16 # Include this file to find Dawn and and set up compilation and linking. 22 ## add_definitions(-DHAVE_DAWN=$<BOOL:${Dawn_FOUND}>) 23 ## # Set up link dependencies. 32 # will be set up. 40 # -DDawn_INCLUDE_DIR=<directory containing dawn/dawn_export.h> 41 # -DDawn_GEN_INCLUDE_DIR=<directory containing dawn/dawn.h> 42 # -DDawn_LIBRARY_DIR=<directory containing dawn_native library 93 message(STATUS "Amber: Did not find Dawn")
|
| /third_party/python/Misc/ |
| D | gdbinit | 2 # might find some of the following commands useful. Copy this to your 4 # start it up. Then, at the gdb prompt you can do things like: 7 # <module 'foobar' (built-in)> 14 # with embedded macros that you may find superior to what is in here. 19 # info - assigning just prevents gdb from printing the 40 while $_i < f->f_code->co_nlocals 41 if f->f_localsplus + $_i != 0 42 set $_names = f->f_code->co_varnames 45 pyo f->f_localsplus[$_i] 58 set $__co = f->f_code [all …]
|
| /third_party/python/Lib/idlelib/ |
| D | pyparse.py | 6 _synchre - start of popular statement; 7 _junkre - whitespace or comment line; 9 _itemre - line that may have bracket structure start; 10 _closere - line that must be followed by dedent. 11 _chew_ordinaryre - non-special characters. 19 # Find what looks like the start of a popular statement. 42 # Match blank line or non-indenting comment line. 72 # used to find the first item of a bracket structure. 76 [^\s#\\] # if we match, m.end()-1 is the interesting char 92 # Chew up non-special chars as quickly as possible. If match is [all …]
|
| /third_party/mesa3d/docs/ci/ |
| D | bare-metal.rst | 1 Bare-metal CI 4 The bare-metal scripts run on a system with gitlab-runner and Docker, 5 connected to potentially multiple bare-metal boards that run tests of 6 Mesa. Currently "fastboot", "ChromeOS Servo", and POE-powered devices are 16 ----------------------- 18 This testing requires power control of the DUTs by the gitlab-runner 22 We require access to the console output from the gitlab-runner system, 28 gitlab-runner system, since Mesa often needs to update the kernel either for new 37 See `src/freedreno/ci/gitlab-ci.yml` for an example of fastboot on DB410c and 38 DB820c (freedreno-a306 and freereno-a530). [all …]
|
| /third_party/cJSON/tests/unity/docs/ |
| D | UnityGettingStartedGuide.md | 1 # Unity - Getting Started 11 couple header files. These team up to provide functions and macros to make 69 - `src` - This is the code you care about! This folder contains a C file and two 71 - `docs` - You're reading this document, so it's possible you have found your way 74 - `examples` - This contains a few examples of using Unity. 75 - `extras` - These are optional add ons to Unity that are not part of the core 78 - `test` - This is how Unity and its scripts are all tested. If you're just using 82 - `auto` - Here you will find helpful Ruby scripts for simplifying your test 99 find setUp or tearDown when it links, you'll know you need to at least include 128 // set stuff up here [all …]
|
| /third_party/unity/docs/ |
| D | UnityGettingStartedGuide.md | 1 # Unity - Getting Started 13 These team up to provide functions and macros to make testing easier. 15 Unity was designed to be cross-platform. 59 - `src` - This is the code you care about! This folder contains a C file and two header files. 61 - `docs` - You're reading this document, so it's possible you have found your way into this folder … 63 - `examples` - This contains a few examples of using Unity. 64 - `extras` - These are optional add ons to Unity that are not part of the core project. 66 - `test` - This is how Unity and its scripts are all tested. 69 - `auto` - Here you will find helpful Ruby scripts for simplifying your test workflow. 87 If your compiler complains that it can't find setUp or tearDown when it links, you'll know you need… [all …]
|
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/XRay/ |
| D | Graph.h | 1 //===-- Graph.h - XRay Graph Class ------------------------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 33 /// - VertexAttribute, this is a structure which is stored for each vertex. 36 /// - EdgeAttribute, this is a structure which is stored for each edge 39 /// - EdgeAttribute, this is a structure which is stored for each variable 40 /// - VI, this is a type over which DenseMapInfo is defined and is the type 41 /// used look up strings, available as VertexIdentifier. 42 /// - If the built in DenseMapInfo is not defined, provide a specialization [all …]
|