mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 01:47:34 +00:00
Everywhere: Run clang-format
This commit is contained in:
parent
8639d8bc21
commit
d26aabff04
140 changed files with 1202 additions and 723 deletions
|
@ -318,7 +318,7 @@ void pretty_print(Decoder& decoder, OutputStream& stream, int indent)
|
|||
break;
|
||||
}
|
||||
case Kind::BitString: {
|
||||
auto value = decoder.read<const BitmapView>();
|
||||
auto value = decoder.read<BitmapView const>();
|
||||
if (value.is_error()) {
|
||||
dbgln("BitString PrettyPrint error: {}", value.error());
|
||||
return;
|
||||
|
|
|
@ -18,7 +18,7 @@ class SignedBigInteger {
|
|||
public:
|
||||
template<typename T>
|
||||
requires(IsSigned<T> && sizeof(T) <= sizeof(i32))
|
||||
SignedBigInteger(T value)
|
||||
SignedBigInteger(T value)
|
||||
: m_sign(value < 0)
|
||||
, m_unsigned_data(abs(static_cast<i32>(value)))
|
||||
{
|
||||
|
|
|
@ -27,7 +27,7 @@ public:
|
|||
// This constructor accepts any unsigned with size up to Word.
|
||||
template<typename T>
|
||||
requires(IsIntegral<T> && sizeof(T) <= sizeof(Word))
|
||||
UnsignedBigInteger(T value)
|
||||
UnsignedBigInteger(T value)
|
||||
{
|
||||
m_words.append(static_cast<Word>(value));
|
||||
}
|
||||
|
|
|
@ -24,7 +24,7 @@ public:
|
|||
|
||||
virtual size_t IV_length() const = 0;
|
||||
|
||||
const T& cipher() const { return m_cipher; }
|
||||
T const& cipher() const { return m_cipher; }
|
||||
|
||||
ErrorOr<ByteBuffer> create_aligned_buffer(size_t input_size) const
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue