| /external/tensorflow/tensorflow/compiler/jit/ |
| D | resource_operation_safety_analysis_test.cc | 7 http://www.apache.org/licenses/LICENSE-2.0 44 Output read = in MakeRead() local 45 ops::ReadVariableOp(scope.WithOpName("Read" + id), var_handle, DT_FLOAT); in MakeRead() 46 return read.node(); in MakeRead() 75 return ComputeIncompatibleResourceOperationPairs(*g, &g->flib_def(), {}, in ComputeIncompatiblePairs() 82 Node* read = MakeRead(root, "R"); in TEST() local 83 Node* write = MakeWrite(root, "W"); in TEST() local 85 root.graph()->AddControlEdge(write, read); in TEST() 91 std::pair<int, int> write_read_pair = {write->id(), read->id()}; in TEST() 98 Node* read = MakeRead(root, "R"); in TEST() local [all …]
|
| /external/python/cpython2/Tools/iobench/ |
| D | iobench.py | 1 # -*- coding: utf-8 -*- 40 return (("%s-%s-%s.txt" % (name, TEXT_ENCODING, NEWLINES), size) 61 """ read one unit at a time """ 63 while f.read(1): 69 """ read 20 units at a time """ 71 while f.read(20): 77 """ read 4096 units at a time """ 79 while f.read(4096): 85 """ read whole contents at once """ 87 while f.read(): [all …]
|
| /external/zucchini/ |
| D | buffer_view_unittest.cc | 2 // Use of this source code is governed by a BSD-style license that can be 22 // Some tests might modify this. 97 TEST_F(BufferViewTest, Read) { in TEST_F() argument 100 EXPECT_EQ(0x10U, buffer.read<uint8_t>(0)); in TEST_F() 101 EXPECT_EQ(0x54U, buffer.read<uint8_t>(2)); in TEST_F() 103 EXPECT_EQ(0x3210U, buffer.read<uint16_t>(0)); in TEST_F() 104 EXPECT_EQ(0x7654U, buffer.read<uint16_t>(2)); in TEST_F() 106 EXPECT_EQ(0x76543210U, buffer.read<uint32_t>(0)); in TEST_F() 107 EXPECT_EQ(0xBA987654U, buffer.read<uint32_t>(2)); in TEST_F() 109 EXPECT_EQ(0xFEDCBA9876543210ULL, buffer.read<uint64_t>(0)); in TEST_F() [all …]
|
| /external/python/cpython3/Tools/iobench/ |
| D | iobench.py | 1 # -*- coding: utf-8 -*- 41 return (("%s-%s-%s.txt" % (name, TEXT_ENCODING, NEWLINES), size) 62 """ read one unit at a time """ 64 while f.read(1): 70 """ read 20 units at a time """ 72 while f.read(20): 78 """ read 4096 units at a time """ 80 while f.read(4096): 86 """ read whole contents at once """ 88 while f.read(): [all …]
|
| /external/parameter-framework/upstream/parameter/ |
| D | BitwiseAreaConfiguration.cpp | 2 * Copyright (c) 2011-2014, Intel Corporation 39 static_cast<const CBitParameter *>(pConfigurableElement)->getBelongingBlockSize()) in CBitwiseAreaConfiguration() 52 /// Read/modify/write in copyTo() 54 // Read dst blackboard in copyTo() 55 pToBlackboard->readInteger(&uiDstData, pBitParameter->getBelongingBlockSize(), offset); in copyTo() 57 // Read src blackboard in copyTo() 58 _blackboard.readInteger(&uiSrcData, pBitParameter->getBelongingBlockSize(), 0); in copyTo() 61 uiDstData = pBitParameter->merge(uiDstData, uiSrcData); in copyTo() 63 // Write dst blackboard in copyTo() 64 pToBlackboard->writeInteger(&uiDstData, pBitParameter->getBelongingBlockSize(), offset); in copyTo() [all …]
|
| /external/freetype/ |
| D | vms_make.com | 3 $! Copyright (C) 2003-2023 by 8 $! LICENSE.TXT. By continuing to use, modify, or distribute this file you 9 $! indicate that you have read the license and understand and accept it 20 $! * DEBUG - Compile modules with /noopt/debug and link shareable image 22 $! * LOPTS - Options to be passed to the link command 23 $! * CCOPT - Options to be passed to the C compiler 26 $! zinser@zinser.no-ip.info (preferred) or 27 $! zinser@sysdev.deutsche-boerse.com (work) 31 $!------------------------------------------------------------------------------ 70 $ mydir = f$parse(whoami,,,"DIRECTORY") - "][" [all …]
|
| /external/rust/crates/libz-sys/src/zlib/examples/ |
| D | gzlog.c | 11 strategy is to write the short strings in an uncompressed form to the end of 31 foo.gz -- gzip file with the complete log 32 foo.add -- last message to append or last data to compress 33 foo.dict -- dictionary of the last 32K of data for next compression 34 foo.temp -- temporary dictionary file for compression after this one 35 foo.lock -- lock file for reading and writing the other files 36 foo.repairs -- log file for log file recovery operations (not compressed) 39 - fixed-length (no file name) header with extra field (see below) 40 - compressed data ending initially with empty stored block 41 - uncompressed data filling out originally empty stored block and [all …]
|
| /external/trusty/arm-trusted-firmware/drivers/arm/cci/ |
| D | cci.c | 2 * Copyright (c) 2015-2020, ARM Limited and Contributors. All rights reserved. 4 * SPDX-License-Identifier: BSD-3-Clause 21 /* CCI part number codes read from Peripheral ID registers 0 and 1 */ 71 * Read CCI part number from Peripheral ID registers 84 * Identify a CCI device, and return the number of slaves. Return -1 for an 89 int num_slave_ports = -1; in get_slave_ports() 123 * the max master id is (n - 1). in cci_init() 125 max_master_id = num_cci_masters - 1U; in cci_init() 142 * Enable Snoops and DVM messages, no need for Read/Modify/Write as in cci_enable_snoop_dvm_reqs() 143 * rest of bits are write ignore in cci_enable_snoop_dvm_reqs() [all …]
|
| /external/arm-trusted-firmware/drivers/arm/cci/ |
| D | cci.c | 2 * Copyright (c) 2015-2020, ARM Limited and Contributors. All rights reserved. 4 * SPDX-License-Identifier: BSD-3-Clause 21 /* CCI part number codes read from Peripheral ID registers 0 and 1 */ 71 * Read CCI part number from Peripheral ID registers 84 * Identify a CCI device, and return the number of slaves. Return -1 for an 89 int num_slave_ports = -1; in get_slave_ports() 123 * the max master id is (n - 1). in cci_init() 125 max_master_id = num_cci_masters - 1U; in cci_init() 142 * Enable Snoops and DVM messages, no need for Read/Modify/Write as in cci_enable_snoop_dvm_reqs() 143 * rest of bits are write ignore in cci_enable_snoop_dvm_reqs() [all …]
|
| /external/deqp/doc/testspecs/GLES31/ |
| D | functional.synchronization.txt | 1 ------------------------------------------------------------------------- 3 ----------------------------------------------- 11 http://www.apache.org/licenses/LICENSE-2.0 18 ------------------------------------------------------------------------- 22 + dEQP-GLES31.functional.synchronization.* 26 + In-invocation synchronization 27 - Test synchronization primitives within a single invocation. 29 + Inter-invocation synchronization 30 - Test synchronization between work group invocations. 32 + Inter-call synchronization [all …]
|
| /external/python/google-api-python-client/docs/dyn/ |
| D | iam_v1.organizations.roles.html | 8 font-weight: inherit; 9 font-style: inherit; 10 font-size: 100%; 11 font-family: inherit; 12 vertical-align: baseline; 16 font-size: 13px; 21 font-size: 26px; 22 margin-bottom: 1em; 26 font-size: 24px; 27 margin-bottom: 1em; [all …]
|
| D | iam_v1.projects.roles.html | 8 font-weight: inherit; 9 font-style: inherit; 10 font-size: 100%; 11 font-family: inherit; 12 vertical-align: baseline; 16 font-size: 13px; 21 font-size: 26px; 22 margin-bottom: 1em; 26 font-size: 24px; 27 margin-bottom: 1em; [all …]
|
| D | spanner_v1.projects.instances.databases.sessions.html | 8 font-weight: inherit; 9 font-style: inherit; 10 font-size: 100%; 11 font-family: inherit; 12 vertical-align: baseline; 16 font-size: 13px; 21 font-size: 26px; 22 margin-bottom: 1em; 26 font-size: 24px; 27 margin-bottom: 1em; [all …]
|
| /external/kotlinx.atomicfu/atomicfu/src/jvmMain/kotlin/kotlinx/atomicfu/ |
| D | AtomicFU.kt | 2 …* Copyright 2016-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 licen… 19 * It can only be used in initialize of private read-only property, like this: 32 * It can only be used in initialize of private read-only property, like this: in atomic() 45 * It can only be used in initialize of private read-only property, like this: in atomic() 58 * It can only be used in initialize of private read-only property, like this: in atomic() 72 * [value] property and various atomic read-modify-write operations in atomic() 78 * Reading/writing this property maps to read/write of volatile variable. in atomic() 129 * [value] property and various atomic read-modify-write operations 143 * Reading/writing this property maps to read/write of volatile variable. 193 * [value] property and various atomic read-modify-write operations [all …]
|
| /external/trusty/lk/include/kernel/ |
| D | port.h | 2 * Copyright (c) 2015 Carlos Pizano-Uribe cpu@chromium.org 7 * including without limitation the rights to use, copy, modify, merge, 33 * write-side, the read-side and a port group which is a collection 34 * of read-side ports. 60 /* Make a named write-side port. broadcast ports can be opened by any 61 * number of read-clients. |name| can be up to PORT_NAME_LEN chars. If 62 * the write port exists it is returned even if the |mode| does not match. 66 /* Make a read-side port. Only non-destroyed existing write ports can 72 /* Creates a read-side port group which behaves just like a regular 73 * read-side port. A given port can only be assoicated with one port group. [all …]
|
| /external/capstone/arch/M680X/ |
| D | M680XDisassembler.c | 81 // r: (r)read access 82 // w: (w)write access 83 // m: (m)odify access (= read + write) 108 READ = CS_AC_READ, enumerator 109 WRITE = CS_AC_WRITE, enumerator 110 MODIFY = (CS_AC_READ | CS_AC_WRITE), enumerator 153 // A reader is needed to read a byte or word from a given memory address. 157 if (address - info->offset >= info->size) in read_byte() 161 *byte = info->code[address - info->offset]; in read_byte() 169 if (address - info->offset >= info->size) in read_byte_sign_extended() [all …]
|
| /external/autotest/site_utils/ |
| D | seed_test_attr.py | 4 # Use of this source code is governed by a BSD-style license that can be 7 """Method to add or modify ATTRIBUTES in the test control files whose 29 parser.add_argument('--execute', 51 # Modify attributes based on suite for the control files not match. 54 count = count - 1 60 # When not specify 'execute' in cmd, not modify control files. 64 'please add \'--execute\' argument when run the script.') 80 # Read the allowlist to a set, if path is invalid, throw IOError. 84 # Read the attr in the control files, check with allowlist and suite. 108 Read and re-write a control file with modified contents with attributes added. [all …]
|
| /external/kernel-headers/original/uapi/linux/ |
| D | aspeed-p2a-ctrl.h | 1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ 6 * modify it under the terms of the GNU General Public License 11 * the host to read and write to various regions of the BMC's memory. 24 * This driver provides a mechanism for enabling or disabling the read-write 27 * A user can map a region of the BMC's memory as read-only or read-write, with 35 * Also used to read back the optional memory-region configuration for the 49 * readable-writeable. 55 * This IOCTL is meant to read back to the user the base address and length of 56 * the memory-region specified to the driver for use with mmap.
|
| /external/kotlinx.atomicfu/atomicfu/src/commonMain/kotlin/kotlinx/atomicfu/ |
| D | AtomicFU.common.kt | 2 …* Copyright 2017-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 licen… 17 * It can only be used to initialize a private or internal read-only property, like this: 30 * It can only be used to initialize a private or internal read-only property, like this: in atomic() 41 * It can only be used to initialize a private or internal read-only property, like this: in atomic() 54 * It can only be used to initialize a private or internal read-only property, like this: in atomic() 65 * It can only be used to initialize a private or internal read-only property, like this: in atomic() 78 * It can only be used to initialize a private or internal read-only property, like this: in atomic() 89 * It can only be used to initialize a private or internal read-only property, like this: in atomic() 102 * It can only be used to initialize a private or internal read-only property, like this: in atomic() 120 * [value] property and various atomic read-modify-write operations in atomic() [all …]
|
| /external/sg3_utils/ |
| D | COVERAGE | 9 ------------ ------------------------------------------------- 10 ATA COMMAND PASS-THROUGH(12) sg_sat_identify, ++ 11 ATA COMMAND PASS-THROUGH(16) sg_sat_identify, sg_sat_set_features, 16 ATA COMMAND PASS-THROUGH(32) sg_sat_identify, ++ 19 COMPARE AND WRITE sg_compare_and_write 27 sg_logs, sg_map('-i'), sg_modes, sg_opcodes, 33 LOG SELECT sg_logs('-r' or '-select'), ++ 40 sg_senddiag('-e'), sg_rdac, ++ 42 sg_senddiag('-e'), sg_rdac, ++ 49 PRE-FETCH(10) sg_seek [all …]
|
| /external/crosvm/cros_async/src/sys/linux/ |
| D | poll_source.rs | 2 // Use of this source code is governed by a BSD-style license that can be 48 Read(base::Error), enumerator 54 Write(base::Error), enumerator 59 fn from(e: Error) -> Self { in from() 68 Read(e) => e.into(), in from() 70 Write(e) => e.into(), in from() 76 fn from(e: Error) -> AsyncError { in from() 88 pub fn new(f: F, ex: &Arc<RawExecutor<EpollReactor>>) -> Result<Self> { in new() 105 ) -> AsyncResult<(usize, Vec<u8>)> { in read_to_vec() 109 // Safe because this will only modify `vec` and we check the return value. in read_to_vec() [all …]
|
| /external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/bench/ |
| D | jsmin_2_0_9.py | 11 # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 79 def write(char): function 85 self.outs.write(char) 89 read = self.ins.read 93 starters, enders = '{[(+-', '}])+-"\'' 106 previous = read(1) 109 next1 = read(1) 116 next1 = read(1) 118 write(previous) 124 write(previous) [all …]
|
| /external/google-cloud-java/java-resourcemanager/ |
| D | .readme-partials.yaml | 6 …ult Credentials](https://developers.google.com/identity/protocols/application-default-credentials). 18 You can load a project if you know its project ID and have read permissions to the project. 28 String projectId = "my-globally-unique-project-id"; // Change to a unique project ID 34 non-unique name and labels to your project. Read more about naming guidelines for project IDs, 35 …names, and labels [here](https://cloud.google.com/resource-manager/reference/rest/v1beta1/projects… 47 String projectId = "my-globally-unique-project-id"; // Change to a unique project ID 51 Note that the return value from `create` is a `Project` that includes additional read-only 52 information, like creation time, project number, and lifecycle state. Read more about these fields 53 on the [Projects page](https://cloud.google.com/resource-manager/reference/rest/v1beta1/projects). 54 `Project`, a subclass of `ProjectInfo`, adds a layer of service-related functionality over [all …]
|
| /external/grpc-grpc/src/python/grpcio/grpc/aio/ |
| D | _base_call.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 14 """Abstract base classes for client-side Call objects. 16 Call objects represents the RPC itself, and offer methods to access / modify 17 its information. They also offer methods to manipulate the life-cycle of the 37 """Provides RPC-related information and action.""" 40 def cancelled(self) -> bool: 50 def done(self) -> bool: 60 def time_remaining(self) -> Optional[float]: 70 def cancel(self) -> bool: 80 def add_done_callback(self, callback: DoneCallbackType) -> None: [all …]
|
| /external/curl/lib/ |
| D | bufq.h | 16 * You may opt to use, copy, modify, merge, publish, distribute and/or sell 23 * SPDX-License-Identifier: curl 32 * The size is fixed a creation with read and write offset 70 * of bytes that can be read. For an empty bufq, `len` will be 0. 77 * e.g. when the head chunk is partially read. `len` may also become 80 * By default, writing to a full bufq will return (-1, CURLE_AGAIN). Same 87 * By default and without a pool, a bufq will keep chunks that read 95 struct buf_chunk *head; /* chunk with bytes to read from */ 96 struct buf_chunk *tail; /* chunk to write to */ 106 * Default behaviour: chunk limit is "hard", meaning attempts to write [all …]
|