mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-05 15:49:11 +00:00
AK: Rename KB, MB, GB to KiB, MiB, GiB
The SI prefixes "k", "M", "G" mean "10^3", "10^6", "10^9". The IEC prefixes "Ki", "Mi", "Gi" mean "2^10", "2^20", "2^30". Let's use the correct name, at least in code. Only changes the name of the constants, no other behavior change.
This commit is contained in:
parent
a68650a7b4
commit
430b265cd4
Notes:
sideshowbarker
2024-07-19 03:34:44 +09:00
Author: https://github.com/nico
Commit: 430b265cd4
Pull-request: https://github.com/SerenityOS/serenity/pull/3164
Reviewed-by: https://github.com/Dexesttp
Reviewed-by: https://github.com/alimpfard
31 changed files with 69 additions and 69 deletions
|
@ -173,7 +173,7 @@ void Job::on_socket_connected()
|
|||
ASSERT(can_read());
|
||||
|
||||
read_while_data_available([&] {
|
||||
auto read_size = 64 * KB;
|
||||
auto read_size = 64 * KiB;
|
||||
if (m_current_chunk_remaining_size.has_value()) {
|
||||
read_chunk_size:;
|
||||
auto remaining = m_current_chunk_remaining_size.value();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue