ADTast-experimentalenumpthread-emulationqualifiedEnum
Last change
on this file since 778315e was
6cc87c0,
checked in by Michael Brooks <mlbrooks@…>, 3 years ago
|
String bug fixes and new tests.
Enabled white-box visibility (DEBUG_ functions) into the string representation for heap-oriented tests.
string-gc/basicFillCompact
- newly testable, now with the DEBUG_ visibility, but was basically already working
string-gc/fillCompact_withSharedEdits
- new check for bug fixed here, where an append that triggers a compaction left substrings with dangling pointers
to the old text-pad range; fix is how string_res/assign now sequences growth-pushing operations before grabbing
pointers into the ranges of the old-version
string-overwrite
- new broad check a few of whose cases are fixed here; fixes are the adjustments to the case priorities and
edge-case classifications in string_res/assign "adjust all substring string and handle locations" section
|
-
Property mode set to
100644
|
File size:
716 bytes
|
Line | |
---|
1 | ======================== basicFillCompact |
---|
2 | hello! |
---|
3 | hello!----| |
---|
4 | hello!----|----| |
---|
5 | hello!----|----|----| |
---|
6 | --A |
---|
7 | length of x:21 |
---|
8 | padder from 6 to 11 |
---|
9 | x from 0 to 21 |
---|
10 | --B |
---|
11 | length of x:996 |
---|
12 | padder from 6 to 11 |
---|
13 | x from 0 to 996 |
---|
14 | --C |
---|
15 | xinit from 0 to 6 |
---|
16 | padder from 6 to 11 |
---|
17 | x from 996 to 997 |
---|
18 | --D |
---|
19 | before append, x = q |
---|
20 | after append, x = q----| |
---|
21 | --E |
---|
22 | xinit from 0 to 6 |
---|
23 | padder from 6 to 11 |
---|
24 | x from 11 to 17 |
---|
25 | --F |
---|
26 | 983 bytes available before re-fill |
---|
27 | 1 bytes available after re-fill |
---|
28 | --G |
---|
29 | after re-fill, x = q----| |
---|
30 | ======================== fillCompact_withSharedEdits |
---|
31 | x from 990 to 995 |
---|
32 | y from 990 to 995 |
---|
33 | - |
---|
34 | before reassign, x = hello |
---|
35 | before reassign, y = hello |
---|
36 | after reassign, x = 0123456789 |
---|
37 | after reassign, y = 0123456789 |
---|
38 | x from 5 to 15 |
---|
39 | y from 5 to 15 |
---|
Note: See
TracBrowser
for help on using the repository browser.