/packages/modules/Bluetooth/system/gd/packet/ |
D | endian_inserter.h | 71 void insert(T value, BitInserter& it, size_t num_bits) const { in insert() argument 72 assert(num_bits <= (sizeof(T) * 8)); in insert() 74 for (size_t i = 0; i < num_bits / 8; i++) { in insert() 78 …it.insert_byte(static_cast<uint8_t>(static_cast<uint64_t>(value) >> (((num_bits / 8) - i - 1) * 8)… in insert() 81 if (num_bits % 8) { in insert() 82 …ert_bits(static_cast<uint8_t>(static_cast<uint64_t>(value) >> ((num_bits / 8) * 8)), num_bits % 8); in insert()
|
D | bit_inserter.cc | 31 void BitInserter::insert_bits(uint8_t byte, size_t num_bits) { in insert_bits() argument 32 size_t total_bits = num_bits + num_saved_bits_; in insert_bits()
|
D | fragmenting_inserter.cc | 30 void FragmentingInserter::insert_bits(uint8_t byte, size_t num_bits) { in insert_bits() argument 32 size_t total_bits = num_bits + num_saved_bits_; in insert_bits()
|
D | bit_inserter.h | 34 virtual void insert_bits(uint8_t byte, size_t num_bits);
|
D | fragmenting_inserter.h | 34 void insert_bits(uint8_t byte, size_t num_bits) override;
|
/packages/modules/NeuralNetworks/runtime/test/specs/V1_2/ |
D | lsh_projection_float16.mod.py | 19 num_bits = 2 variable 23 hhash = Parameter("hash", "TENSOR_FLOAT16", "{%d, %d}" % (num_hash, num_bits), 25 lookup = Input("lookup", "TENSOR_INT32", "{%d, %d}" % (num_input, num_bits)) 28 output = Output("output", "TENSOR_INT32", "{%d}" % (num_hash * num_bits))
|
D | lsh_projection_deprecated.mod.py | 19 num_bits = 2 variable 24 "hash", "TENSOR_FLOAT32", "{%d, %d}" % (num_hash, num_bits), 26 lookup = Input("lookup", "TENSOR_INT32", "{%d, %d}" % (num_input, num_bits))
|
D | lsh_projection_4_relaxed.mod.py | 19 num_bits = 2 variable 24 "hash", "TENSOR_FLOAT32", "{%d, %d}" % (num_hash, num_bits), 26 lookup = Input("lookup", "TENSOR_INT32", "{%d, %d}" % (num_input, num_bits))
|
D | lsh_projection_3_relaxed.mod.py | 19 num_bits = 2 variable 24 "hash", "TENSOR_FLOAT32", "{%d, %d}" % (num_hash, num_bits), 26 lookup = Input("lookup", "TENSOR_INT32", "{%d, %d}" % (num_input, num_bits))
|
/packages/modules/NeuralNetworks/runtime/test/specs/V1_0/ |
D | lsh_projection.mod.py | 19 num_bits = 2 variable 23 hhash = Parameter("hash", "TENSOR_FLOAT32", "{%d, %d}" % (num_hash, num_bits), 25 lookup = Input("lookup", "TENSOR_INT32", "{%d, %d}" % (num_input, num_bits)) 28 output = Output("output", "TENSOR_INT32", "{%d}" % (num_hash * num_bits))
|
D | lsh_projection_weights_as_inputs.mod.py | 19 num_bits = 2 variable 23 hhash = Input("hash", "TENSOR_FLOAT32", "{%d, %d}" % (num_hash, num_bits)) 24 lookup = Input("lookup", "TENSOR_INT32", "{%d, %d}" % (num_input, num_bits)) 27 output = Output("output", "TENSOR_INT32", "{%d}" % (num_hash * num_bits))
|
D | lsh_projection_2.mod.py | 19 num_bits = 2 variable 23 hhash = Parameter("hash", "TENSOR_FLOAT32", "{%d, %d}" % (num_hash, num_bits), 25 lookup = Input("lookup", "TENSOR_INT32", "{%d, %d}" % (num_input, num_bits))
|
/packages/modules/NeuralNetworks/runtime/test/specs/V1_1/ |
D | lsh_projection_relaxed.mod.py | 19 num_bits = 2 variable 24 "hash", "TENSOR_FLOAT32", "{%d, %d}" % (num_hash, num_bits), 26 lookup = Input("lookup", "TENSOR_INT32", "{%d, %d}" % (num_input, num_bits)) 29 output = Output("output", "TENSOR_INT32", "{%d}" % (num_hash * num_bits))
|
D | lsh_projection_weights_as_inputs_relaxed.mod.py | 19 num_bits = 2 variable 23 hhash = Input("hash", "TENSOR_FLOAT32", "{%d, %d}" % (num_hash, num_bits)) 24 lookup = Input("lookup", "TENSOR_INT32", "{%d, %d}" % (num_input, num_bits)) 27 output = Output("output", "TENSOR_INT32", "{%d}" % (num_hash * num_bits))
|
D | lsh_projection_2_relaxed.mod.py | 19 num_bits = 2 variable 24 "hash", "TENSOR_FLOAT32", "{%d, %d}" % (num_hash, num_bits), 26 lookup = Input("lookup", "TENSOR_INT32", "{%d, %d}" % (num_input, num_bits))
|
/packages/modules/NeuralNetworks/common/cpu_operations/ |
D | LSHProjection.cpp | 129 int num_bits = SizeOfDimension(hash, 1); in SparseLshProjection() local 132 for (int j = 0; j < num_bits; j++) { in SparseLshProjection() 133 T seed = reinterpret_cast<T*>(hash->buffer)[i * num_bits + j]; in SparseLshProjection() 140 *out_buf++ = hash_signature + i * (1 << num_bits); in SparseLshProjection() 149 int num_bits = SizeOfDimension(hash, 1); in DenseLshProjection() local 151 for (int j = 0; j < num_bits; j++) { in DenseLshProjection() 152 T seed = reinterpret_cast<T*>(hash->buffer)[i * num_bits + j]; in DenseLshProjection()
|
/packages/modules/Virtualization/libs/apkverify/src/ |
D | v4.rs | 307 let num_bits = std::mem::size_of::<usize>() * 8; in log2() localVariable 308 (num_bits as u32 - n.leading_zeros() - 1) as u8 in log2()
|