Searched refs:kPaddingAlignment (Results 1 – 1 of 1) sorted by relevance
33 constexpr const static size_t kPaddingAlignment = 4u; variable54 size_t overage = size % kPaddingAlignment; in CalculatePaddingForAlignment()55 return overage == 0 ? 0 : kPaddingAlignment - overage; in CalculatePaddingForAlignment()59 CHECK(padding < kPaddingAlignment); in WritePadding()61 static_assert(sizeof(zero) >= kPaddingAlignment, "Not enough source bytes for padding"); in WritePadding()