- Timestamp:
- Oct 5, 2023, 2:30:54 PM (15 months ago)
- Branches:
- master
- Children:
- b67b632
- Parents:
- bf1cbde
- Location:
- tests/io
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/io/.expect/manipulatorsInput.arm64.txt
rbf1cbde r8cffa4f 15 15 12 wwwwwwww 16 16 13 wwwwwwww 17 14 rc=1, cccc 18 15 rc=0, q 17 19 1 yyyyyyyyyyyyyyyyyyyy 18 20 2 abcxxx … … 28 30 12 wwwwwwww 29 31 13 wwwwwwww 32 14 cccc 33 15 30 34 a 31 35 a -
tests/io/.expect/manipulatorsInput.x64.txt
rbf1cbde r8cffa4f 15 15 12 wwwwwwww 16 16 13 wwwwwwww 17 14 rc=1, cccc 18 15 rc=0, q 17 19 1 yyyyyyyyyyyyyyyyyyyy 18 20 2 abcxxx … … 28 30 12 wwwwwwww 29 31 13 wwwwwwww 32 14 cccc 33 15 30 34 a 31 35 a -
tests/io/.expect/manipulatorsInput.x86.txt
rbf1cbde r8cffa4f 15 15 12 wwwwwwww 16 16 13 wwwwwwww 17 14 rc=1, cccc 18 15 rc=0, q 17 19 1 yyyyyyyyyyyyyyyyyyyy 18 20 2 abcxxx … … 28 30 12 wwwwwwww 29 31 13 wwwwwwww 32 14 cccc 33 15 30 34 a 31 35 a -
tests/io/.in/manipulatorsInput.txt
rbf1cbde r8cffa4f 7 7 abcyyy 8 8 aaaaaaaaxxxxxxxxaabbccbbdddwwwbbbbbbbbwwwwwwwwaaaaaaaawwwwwwww 9 uuuuuccccuuuuu 9 10 abc 10 11 cccccb … … 13 14 abcyyy 14 15 aaaaaaaaxxxxxxxxaabbccbbdddwwwbbbbbbbbwwwwwwwwaaaaaaaawwwwwwww 16 uuuuuccccuuuuu 15 17 ab 16 18 0xff 017 15-15 -
tests/io/manipulatorsInput.cfa
rbf1cbde r8cffa4f 67 67 scanf( "%*8[abc]" ); printf( "12 %s\n", s ); 68 68 scanf( "%*8[^abc]" ); printf( "13 %s\n", s ); 69 70 int rc; 71 s[0] = 'q'; s[1] = '\0'; rc = 99; 72 rc = scanf( "%[abc]", s ); printf( "14 rc=%d, %s\n", rc, s ); 73 s[0] = 'q'; s[1] = '\0'; rc = 99; 74 rc = scanf( "%[^u]", s ); printf( "15 rc=%d, %s\n", rc, s ); 75 scanf( "%*[u]" ); 76 scanf("\n"); 69 77 } 70 78 { … … 85 93 sin | ignore( incl( "abc", wdi( sizeof(s), 8, s ) ) ); sout | "12" | s; 86 94 sin | ignore( excl( "abc", wdi( sizeof(s), 8, s ) ) ); sout | "13" | s; 95 96 s[0] = 'q'; s[1] = '\0'; 97 sin | incl( "abc", wdi( sizeof(s), s ) ); sout | "14" | s; 98 s[0] = 'q'; s[1] = '\0'; 99 sin | excl( "u", wdi( sizeof(s), s ) ); sout | "15" | s; 100 sin | skip( "u" ); 101 sin | "\n"; 87 102 } 88 103 /* Keep harmonized with collections/string-istream-manip */
Note: See TracChangeset
for help on using the changeset viewer.