source: tests/collections/.expect/string-gc.txt @ 778315e

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
RevLine 
[6cc87c0]1======================== basicFillCompact
2hello!
3hello!----|
4hello!----|----|
5hello!----|----|----|
6--A
7length of x:21
8padder from 6 to 11
9x from 0 to 21
10--B
11length of x:996
12padder from 6 to 11
13x from 0 to 996
14--C
15xinit from 0 to 6
16padder from 6 to 11
17x from 996 to 997
18--D
19before append, x = q
20after append, x = q----|
21--E
22xinit from 0 to 6
23padder from 6 to 11
24x from 11 to 17
25--F
26983 bytes available before re-fill
271 bytes available after re-fill
28--G
29after re-fill, x = q----|
30======================== fillCompact_withSharedEdits
31x from 990 to 995
32y from 990 to 995
33-
34before reassign, x = hello
35before reassign, y = hello
36after reassign, x = 0123456789
37after reassign, y = 0123456789
38x from 5 to 15
39y from 5 to 15
Note: See TracBrowser for help on using the repository browser.