Home
last modified time | relevance | path

Searched refs:bit_width_ (Results 1 – 2 of 2) sorted by relevance

/external/federated-compute/fcp/secagg/shared/
Dsecagg_vector.cc44 bit_width_(SecAggVector::GetBitWidth(modulus)), in SecAggVector()
65 DivideRoundUp(static_cast<uint32_t>(num_elements_ * bit_width_), 8); in SecAggVector()
77 bit_width_(SecAggVector::GetBitWidth(modulus)), in SecAggVector()
83 int expected_num_bytes = DivideRoundUp(num_elements_ * bit_width_, 8); in SecAggVector()
100 UnpackUint64FromByteStringAt(i, bit_width_, packed_bytes_)); in GetAsUint64Vector()
111 int leftmost_bit_position = index * bit_width_; in PackUint64IntoByteStringAt()
113 int bits_left_to_pack = bit_width_; in PackUint64IntoByteStringAt()
212 SecAggVector::Coder coder(modulus_, bit_width_, num_elements_); in PackUint64IntoByteStringBranchless()
234 bit_width_(SecAggVector::GetBitWidth(modulus)), in Decoder()
235 mask_((1ULL << bit_width_) - 1), in Decoder()
[all …]
Dsecagg_vector.h94 ABSL_MUST_USE_RESULT inline size_t bit_width() const { return bit_width_; } in bit_width()
120 bit_width_ = 0; in TakePackedBytes()
152 uint8_t bit_width_; variable
172 int bit_width_; variable
182 int bit_width_; variable
189 target->bit_width_ = bit_width_; in MoveTo()
194 bit_width_ = 0; in MoveTo()