| /third_party/mindspore/mindspore-src/source/tests/ut/python/dataset/ |
| D | test_pipeline_debug_mode_map.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 27 SEED_VAL = 0 # seed will be set internally in debug mode, save original seed value to restore. 73 Description: Test GeneratorDataset with 1 column, map 1 column -> 1 column (renamed) 91 assert len(item.keys()) == 1 96 # Restore configuration 105 Description: Test GeneratorDataset with 1 column, map 1 column -> 1 column (renamed) 123 assert len(item.keys()) == 1 128 # Restore configuration 137 Description: Test GeneratorDataset with 1 column, map 1 column -> 3 columns 159 assert len(item.keys()) == 3 [all …]
|
| D | test_map.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 186 data_dir_tf = ["../data/dataset/test_tf_file_3_images/train-0000-of-0001.data"] 213 # Restore config setting 259 # Restore config setting 293 # Restore config setting 348 # Restore config setting 400 assert len(item.keys()) == 2 401 assert "label" in item.keys() 402 assert "data" in item.keys() 421 assert len(item.keys()) == 3 [all …]
|
| D | test_datasets_imagefolder.py | 1 # Copyright 2019-2022 Huawei Technologies Co., Ltd 7 # http://www.apache.org/licenses/LICENSE-2.0 49 # in this example, each dictionary has keys "image" and "label" 74 # in this example, each dictionary has keys "image" and "label" 117 # in this example, each dictionary has keys "image" and "label" 142 # in this example, each dictionary has keys "image" and "label" 167 # in this example, each dictionary has keys "image" and "label" 193 # in this example, each dictionary has keys "image" and "label" 222 # in this example, each dictionary has keys "image" and "label" 243 class_index = {"class3": -333, "class1": 111} [all …]
|
| /third_party/protobuf/csharp/compatibility_tests/v3.0.0/ |
| D | test.sh | 5 $1 -Iprotos/src -I../../../src/ --csharp_out=src/Google.Protobuf.Test \ 6 --csharp_opt=base_namespace=Google.Protobuf \ 11 $1 -Iprotos/csharp --csharp_out=src/Google.Protobuf.Test \ 12 --csharp_opt=base_namespace=UnitTest.Issues \ 15 $2 -Iprotos/src --csharp_out=src/Google.Protobuf.Test \ 16 --csharp_opt=base_namespace=Google.Protobuf \ 21 dotnet restore src/Google.Protobuf/Google.Protobuf.csproj 22 dotnet restore src/Google.Protobuf.Test/Google.Protobuf.Test.csproj 23 dotnet build -c Release src/Google.Protobuf/Google.Protobuf.csproj 24 dotnet build -c Release src/Google.Protobuf.Test/Google.Protobuf.Test.csproj [all …]
|
| /third_party/json/docs/mkdocs/docs/features/ |
| D | object_order.md | 3 …lue pairs". As such, an implementation does not need to preserve any specific order of object keys. 5 ## Default behavior: sort keys 7 …nn::json` uses a `std::map` to store JSON objects, and thus stores object keys **sorted alphabetic… 45 --8<-- "examples/ordered_json.cpp" 51 --8<-- "examples/ordered_json.output" 54 …-map) ([integration](https://github.com/nlohmann/json/issues/546#issuecomment-304447518)) or [`nlo… 92 …insertion order, but sorts object keys. Assigning the result to `nlohmann::ordered_json` compiles,… 93 restore the order from the input file.
|
| /third_party/vk-gl-cts/external/vulkan-docs/src/scripts/Retired/ |
| D | checkLinks.py | 3 # Copyright 2015-2024 The Khronos Group Inc. 5 # SPDX-License-Identifier: Apache-2.0 7 # checkLinks.py - validate link/reference API constructs in files 12 # -follow attempt to follow include:: directives. This script is not an 14 # -info print some internal diagnostics. 15 # -paramcheck attempt to validate param: names against the surrounding 18 # -fatal unvalidatable links cause immediate error exit from the script. 23 # API, e.g. 'makeAllExts checklinks'; otherwise many false-flagged errors 33 curLine = -1 42 if (curFile not in emittedPrefix.keys()): [all …]
|
| /third_party/python/Lib/curses/ |
| D | __init__.py | 58 # Wrapper for the entire curses-based application. Runs a function which 59 # should be the rest of your curses-based application. If the application 60 # raises an exception, wrapper() will restore the terminal to a sane state so 75 # Turn off echoing of keys, and enter cbreak mode, 80 # In keypad mode, escape sequences for special keys 81 # (like the cursor keys) will be interpreted and 87 # works around a minor bit of over-conscientiousness in the curses 88 # module -- the error return from C start_color() is ignorable.
|
| /third_party/mbedtls/ChangeLog.d/ |
| D | mbedtls_ssl_set_hostname.txt | 5 if certificate-based authentication of the server is attempted. 7 to expect is usually insecure. To restore the old behavior, either 9 enable the new compile-time option 14 if they use certificate authentication (i.e. not pre-shared keys).
|
| /third_party/benchmark/.github/workflows/ |
| D | bazel.yml | 8 build-and-test: 9 runs-on: ubuntu-latest 12 - uses: actions/checkout@v1 14 - name: mount bazel cache 17 cache-name: bazel-cache 20 key: ${{ env.cache-name }}-${{ runner.os }}-${{ github.ref }} 21 restore-keys: | 22 ${{ env.cache-name }}-${{ runner.os }}-main 24 - name: build 28 - name: test [all …]
|
| /third_party/mbedtls/tests/suites/ |
| D | test_suite_lms.data | 1 LMS sign-verify test 6 LMS NULL-message sign-verify test 7 # This test uses a NULL zero-length message, and then generates a private key, 17 # stores public keys and signatures in HSS form, which appends a 4-byte "levels" 23 # * pip3 install --user pyhsslms 51 LMS pyhsslms interop NULL-message test 56 # signature is to be reproduced. Message data is random. Note that hash-sigs 57 # stores public keys and signatures in HSS form, which appends a 4-byte 63 # * pip3 install --user pyhsslms 76 # * echo -n -e "\0\0\0\0" > message.bin.sig; cat sig.bin >> message.bin.sig (restore the [all …]
|
| /third_party/rust/rust/src/tools/miri/.github/workflows/ |
| D | ci.yml | 7 - 'auto' 8 - 'try' 11 - 'master' 13 - cron: '6 6 * * *' # At 6:06 UTC every day. 20 runs-on: ${{ matrix.os }} 25 fail-fast: false 28 - os: ubuntu-latest 29 host_target: x86_64-unknown-linux-gnu 30 - os: macos-latest 31 host_target: x86_64-apple-darwin [all …]
|
| /third_party/mbedtls/programs/ssl/ |
| D | ssl_test_common_source.c | 12 * SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later 23 eap_tls_keys *keys = (eap_tls_keys *) p_expkey; in eap_tls_key_derivation() local 29 if (secret_len != sizeof(keys->master_secret)) { in eap_tls_key_derivation() 33 memcpy(keys->master_secret, secret, sizeof(keys->master_secret)); in eap_tls_key_derivation() 34 memcpy(keys->randbytes, client_random, 32); in eap_tls_key_derivation() 35 memcpy(keys->randbytes + 32, server_random, 32); in eap_tls_key_derivation() 36 keys->tls_prf_type = tls_prf_type; in eap_tls_key_derivation() 80 mbedtls_printf("---------------- NSS KEYLOG -----------------\n"); in nss_keylog_export() 82 mbedtls_printf("---------------------------------------------\n"); in nss_keylog_export() 117 dtls_srtp_keys *keys = (dtls_srtp_keys *) p_expkey; in dtls_srtp_key_derivation() local [all …]
|
| /third_party/grpc/tools/dockerfile/distribtest/csharp_debian11_x64/ |
| D | Dockerfile | 7 # http://www.apache.org/licenses/LICENSE-2.0 17 RUN apt update && apt -y upgrade 18 RUN apt install -y apt-transport-https ca-certificates curl dirmngr gnupg unzip wget && apt clean 21 RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19… 22 … echo "deb https://download.mono-project.com/repo/debian stable-buster main" | tee /etc/apt/source… 23 && apt update && apt install -y mono-devel nuget \ 27 RUN wget https://packages.microsoft.com/config/debian/11/packages-microsoft-prod.deb \ 28 && dpkg -i packages-microsoft-prod.deb \ 30 && apt install -y dotnet-sdk-3.1 \ 33 # Make sure the mono certificate store is up-to-date to prevent issues with nuget restore [all …]
|
| /third_party/openssl/crypto/bn/asm/ |
| D | s390x-mont.pl | 2 # Copyright 2007-2020 The OpenSSL Project Authors. All Rights Reserved. 22 # 64x64=128-bit multiplication, which is not commonly available to C 23 # programmers], at least hand-coded bn_asm.c replacement is known to 24 # provide 30-40% better results for longest keys. Well, on a second 25 # thought it's not very surprising, because z-CPUs are single-issue 26 # and _strictly_ in-order execution, while bn_mul_mont is more or less 27 # dependent on CPU ability to pipe-line instructions and have several 28 # of them "in-flight" at the same time. I mean while other methods, 34 # module performance by implementing dedicated squaring code-path and 40 # make inner loops counter-based. [all …]
|
| /third_party/python/Python/clinic/ |
| D | context.c.h | 7 "--\n" 45 "--\n" 49 "The result is returned as a list of 2-tuples (variable, value)."); 64 "keys($self, /)\n" 65 "--\n" 70 {"keys", (PyCFunction)_contextvars_Context_keys, METH_NOARGS, _contextvars_Context_keys__doc__}, 83 "--\n" 101 "--\n" 119 "--\n" 157 "--\n" [all …]
|
| /third_party/python/Lib/idlelib/idle_test/ |
| D | test_config.py | 26 userkeys = testcfg['keys'] = config.IdleUserConfParser('') 193 config_path = os.path.join(idle_dir, '../config-%s.def' % ctype) 210 Both default and user config used the same config-*.def 276 # Check keys are equal 277 self.assertCountEqual(conf.defaultCfg.keys(), conf.config_types) 278 self.assertCountEqual(conf.userCfg.keys(), conf.config_types) 289 os.path.join(idle_dir, f'config-{cfg_type}.def')) 292 os.path.join(conf.userdir or '#', f'config-{cfg_type}.cfg')) 346 'Keys', 'History', 'HelpFiles']) 350 'Keys', 'History', 'HelpFiles']) [all …]
|
| /third_party/openhitls/docs/en/6_Appendix/ |
| D | 1_Terms.md | 2 |-|-|:-:| 4 |/|Public Key Encryption|An algorithm that uses a pair of public and private keys for encryption an… 5 …t to a fixed-length output. The hash function features anti-collision and irreversibility. Common … 7 …nel is provided for the server and client so that they can securely share keys for symmetric encry… 12 … cryptographic keys between the client and server. Common key exchange algorithms include RSA, Dif… 16 |/|Man-in-the-Middle Attack|An attack mode in which an attacker inserts itself as a man-in-the-midd… 17 |/|Man-in-the-Middle Attack|During a TLS handshake, the client and server negotiate security parame… 21 …tion is saved. In the second handshake, the first session information is used to restore the link.| 24 |Curl|Curl|An open-source network transmission tool that supports multiple protocols, such as HTTP,… 25 |DH|Diffie-Hellman|A key exchange algorithm that is widely used in fields such as network security … [all …]
|
| /third_party/python/Tools/c-analyzer/c_common/ |
| D | scriptutil.py | 43 module = module[:-9] 44 return f'{sys.executable} -m {module}' 58 # This will be None if -m wasn't used.. 133 # XXX Handle subtraction (leading "-"). 180 # XXX Fail on non-empty, non-callable procs? 192 parser.add_argument('-q', '--quiet', action='count', default=0) 193 parser.add_argument('-v', '--verbose', action='count', default=0) 200 ns[key] = max(0, VERBOSITY + ns.pop('verbose') - ns.pop('quiet')) 206 parser.add_argument('--traceback', '--tb', action='store_true', 208 parser.add_argument('--no-traceback', '--no-tb', dest='traceback', [all …]
|
| /third_party/mindspore/mindspore-src/source/mindspore/python/mindspore/parallel/ |
| D | _parallel_serialization.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 34 for param_name in strategy.keys(): 42 if "-" in param_name: 43 pipeline_stage, origin_param_name = param_name.split("-") 178 if strategy_filename[-5:] != ".json": 197 layout_item.param_name = "-".join([str(pipeline_stage), layout_item.param_name]) 217 pipeline_stage = strategy_items.get(list(strategy_items.keys())[0]).get('stage') 222 new_param_name = "-".join([str(pipeline_stage), param_name]) 268 for param_name in list(dst_layout_map.keys()): 269 if param_name in src_layout_map.keys(): [all …]
|
| /third_party/skia/third_party/externals/swiftshader/src/Device/ |
| D | Memset.hpp | 7 // http://www.apache.org/licenses/LICENSE-2.0 22 // "‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘T’; 23 // use assignment or value-initialization instead [-Werror=class-memaccess]" 27 # pragma GCC diagnostic ignored "-Wclass-memaccess" 33 // It is useful as the *first* base class of map keys which may contain padding 59 // due to having a user-defined copy constructor and copy assignment operator. Delete 82 // Restore -Wclass-memaccess
|
| /third_party/toybox/kconfig/ |
| D | mconf.c | 2 * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org> 5 * Introduced single menu mode (show all sub-menus in one large tree). 6 * 2002-11-06 Petr Baudis <pasky@ucw.cz> 32 "--------\n" 44 "keys and press <Y> to build it in, <M> to make it a module or\n" 46 "through the available options (ie. Y->N->M->Y).\n" 51 "----------\n" 52 "o Use the Up/Down arrow keys (cursor keys) to highlight the item\n" 54 " Submenus are designated by \"--->\".\n" 60 " You may also use the <PAGE UP> and <PAGE DOWN> keys to scroll\n" [all …]
|
| /third_party/ncurses/Ada95/samples/ |
| D | ncurses2-slk_test.adb | 1 ------------------------------------------------------------------------------ 2 -- -- 3 -- GNAT ncurses Binding Samples -- 4 -- -- 5 -- ncurses -- 6 -- -- 7 -- B O D Y -- 8 -- -- 9 ------------------------------------------------------------------------------ 10 -- Copyright 2018,2020 Thomas E. Dickey -- [all …]
|
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
| D | SIMachineFunctionInfo.h | 1 //==- SIMachineFunctionInfo.h - SIMachineFunctionInfo interface --*- C++ -*-==// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 77 return V->kind() == PSVBuffer; in classof() 88 return V->kind() == PSVImage; in classof() 98 return V->kind() == GWSResource; in classof() 172 auto Keys = YamlIO.keys(); 173 if (is_contained(Keys, "reg")) { 176 } else if (is_contained(Keys, "offset")) [all …]
|
| /third_party/python/Doc/howto/ |
| D | curses.rst | 1 .. _curses-howto: 16 module to control text-mode displays. 22 The curses library supplies a terminal-independent screen-painting and 23 keyboard-handling facility for text-based terminals; such terminals 31 true that character-cell display terminals are an obsolete technology, 33 are still valuable. One niche is on small-footprint or embedded 40 non-overlapping windows of text. The contents of a window can be 41 changed in various ways---adding text, erasing it, changing its 42 appearance---and the curses library will figure out what control codes 44 doesn't provide many user-interface concepts such as buttons, checkboxes, [all …]
|
| /third_party/mesa3d/src/gallium/drivers/freedreno/ |
| D | freedreno_gmem.c | 3 * SPDX-License-Identifier: MIT 35 * to restore the previous tiles contents (system mem -> GMEM), and after all 37 * contents (GMEM -> system mem). 43 * +--<---<-- IB ---<---+---<---+---<---<---<--+ 46 * ------------------------------------------------------ 48 * ------------------------------------------------------ 53 * Where the per-tile section handles scissor setup, mem2gmem restore (if 67 * configuration, avoiding multiple keys arriving at the same gmem 73 * become different keys that map to the same state. 103 printf("{ .minx=%u, .miny=%u, .width=%u, .height=%u", key->minx, key->miny, in dump_gmem_key() [all …]
|