Function report |
Source Code:lib\test-string_helpers.c |
Create Date:2022-07-28 06:26:06 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:test_string_get_size
Proto:static __init void test_string_get_size(void)
Type:void
Parameter:Nothing
376 | test_string_get_size_one(0, 512, "0 B", "0 B") |
377 | test_string_get_size_one(1, 512, "512 B", "512 B") |
378 | test_string_get_size_one(1100, 1, "1.10 kB", "1.07 KiB") |
381 | test_string_get_size_one(16384, 512, "8.39 MB", "8.00 MiB") |
382 | test_string_get_size_one(500118192, 512, "256 GB", "238 GiB") |
383 | test_string_get_size_one(8192, 4096, "33.6 MB", "32.0 MiB") |
386 | test_string_get_size_one(3000, 1900, "5.70 MB", "5.44 MiB") |
389 | test_string_get_size_one(U64_MAX, 4096, "75.6 ZB", "64.0 ZiB") |
390 | test_string_get_size_one(4096, U64_MAX, "75.6 ZB", "64.0 ZiB") |
Name | Describe |
---|---|
test_string_helpers_init |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |