Function report |
Source Code:lib\test_printf.c |
Create Date:2022-07-28 06:32:29 |
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
Proto:static void __init test_string(void)
Type:void
Parameter:Nothing
184 | test("", "%s%.0s", "", "123") |
185 | test("ABCD|abc|123", "%s|%.3s|%.*s", "ABCD", "abcdef", 3, "123456") |
186 | test("1 | 2|3 | 4|5 ", "%-3s|%3s|%-*s|%*s|%*s", "1", "2", 3, "3", 3, "4", - 3, "5") |
187 | test("1234 ", "%-10.4s", "123456") |
188 | test(" 1234", "%10.4s", "123456") |
202 | test(" ", "%4.*s", - 5, "123456") |
203 | test("123456", "%.s", "123456") |
204 | test("a||", "%.s|%.0s|%.*s", "a", "b", 0, "c") |
205 | test("a | | ", "%-3.s|%-3.0s|%-3.*s", "a", "b", 0, "c") |
Name | Describe |
---|---|
selftest |
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 |