exec.chk

来自「开放源码的编译器open watcom 1.6.0版的源代码」· CHK 代码 · 共 1,951 行 · 第 1/4 页

CHK
1,951
字号
**(2) iter range bad

**(1) the iterator was baaaad **
Should be here 3

**(1) the iterator value was baaaad **
--- end execution of wctest28
--- start execution of wctest29
[str#2]
>valdlist<String>< [str#1]
>valdlist<String>< [str#5]
>valdlist<String>< [str#2]
>valdlist<String>< [str#4]
>valdlist<String>< [str#3]
[str#2]
>ptrdlist<String>< [str#1]
>ptrdlist<String>< [str#5]
>ptrdlist<String>< [str#2]
>ptrdlist<String>< [str#4]
>ptrdlist<String>< [str#3]
[str#2]
>isvdlist<str_ddata>< [str#1]
>isvdlist<str_ddata>< [str#5]
>isvdlist<str_ddata>< [str#2]
>isvdlist<str_ddata>< [str#4]
>isvdlist<str_ddata>< [str#3]
--- end execution of wctest29
--- start execution of wctest30
<intrusive double list for int_ddata>
[1]
[2]
[3]
[4]
[5]
<the fourth element>[4]
<the third element>[3]
<the first element>[1]
--- end execution of wctest30
--- start execution of wctest31
<value double list for int>
[1]
[2]
[3]
[4]
[5]
<the fourth element>[4]
<the third element>[3]
<the first element>[1]
--- end execution of wctest31
--- start execution of wctest32
<pointer double list for int>
[1]
[2]
[3]
[4]
[5]
<the fourth element>[4]
<the third element>[3]
<the first element>[1]
--- end execution of wctest32
--- start execution of wctest33

Number of queue 2 entries: 4
First entry = [7]
Last entry = [10]
7
8
9
10
--- end execution of wctest33
--- start execution of wctest34

Number of stack 2 entries: 4
Top entry = [10]
10
9
8
7
--- end execution of wctest34
--- start execution of wctest35

Number of stack 2 entries: 4
Top entry = [10]
10
9
8
7
--- end execution of wctest35
--- start execution of wctest36
<intrusive double list for int_ddata>
[1]
[2]
[3]
[1]
[2]
[3]
[2]
--- end execution of wctest36
--- start execution of wctest37
[1]
[2]
--- end execution of wctest37
--- start execution of wctest38
[2]
[1]
--- end execution of wctest38
--- start execution of wctest40
0 0
1 2
5 6
10 11
20 21

0 0
1 2
5 6
10 11
14 15
20 21

0 0
1 2
5 6
14 15
20 21
primary 14 = 3
sort 16 = -1
sort 15 = 3
0 0
14 15
5 6
range for 2-6 is 1 to 4
--- end execution of wctest40
--- start execution of wctest41
[str#3]
[ NULL ]
[ NULL ]
[str#3]

**(1) the current value was baaaad **

**(1) the iterator was baaaad **

**(1) the iterator value was baaaad **
--- end execution of wctest41
--- start execution of wctest42
[str#3]
[str#3]

**(1) the current value was baaaad **

**(1) the iterator was baaaad **

**(1) the iterator value was baaaad **
--- end execution of wctest42
--- start execution of wctest43
[str#3]
[ NULL ]
[ NULL ]
[str#3]

**(1) the current value was baaaad **

**(1) the iterator was baaaad **

**(1) the iterator value was baaaad **
--- end execution of wctest43
--- start execution of wctest44
OK, we're freeing a chunk we allocated
OK, we're freeing a chunk we allocated
OK, we're freeing a chunk we allocated
--- end execution of wctest44
--- start execution of wctest45
append out of mem (supposed to happen)
OK, we're freeing a chunk we allocated
OK, we're freeing a chunk we allocated
OK, we're freeing a chunk we allocated
2append out of mem (supposed to happen)
we got caught
--- end execution of wctest45
--- start execution of wctest47
There should be 6 sets of 3 (supposed to happen)
(supposed to happen 1)
(supposed to happen  2)
(supposed to happen   3)
(supposed to happen 1)
(supposed to happen  2)
(supposed to happen   3)
(supposed to happen 1)
(supposed to happen  2)
(supposed to happen   3)
(supposed to happen 1)
(supposed to happen  2)
(supposed to happen   3)
(supposed to happen 1)
(supposed to happen  2)
(supposed to happen   3)
(supposed to happen 1)
(supposed to happen  2)
(supposed to happen   3)
--- end execution of wctest47
--- start execution of wctest48
Should see no output...
--- end execution of wctest48
--- start execution of wctest49
dd[0].info = 0
dd[1].info = 1
dd[2].info = 2
dd[3].info = 3
dd[4].info = 4
dd[5].info = 5
dd[6].info = 6
dd[7].info = 7
dd[8].info = 8
dd[9].info = 9
dd[10].info = 10
dd[11].info = 11
dd[12].info = 12
dd[13].info = 13
dd[14].info = 14
dd[15].info = 15
dd[16].info = 16
dd[17].info = 17
dd[18].info = 18
dd[19].info = 19


--- end execution of wctest49
--- start execution of wctest50
vect[0] = 0
vect[1] = 1
vect[2] = 2
vect[3] = 3
vect[4] = 4
vect[5] = 5
vect[6] = 6
vect[7] = 7
vect[8] = 8
vect[9] = 9


--- end execution of wctest50
--- start execution of wctest51
test PtrSlist
test PtrDlist
test IsvSlist
test IsvDlist
--- end execution of wctest51
--- start execution of wctest52
There should be no output
--- end execution of wctest52
--- start execution of wctest53
stack out of mem (supposed to happen)
OK, we're freeing a chunk we allocated
OK, we're freeing a chunk we allocated
test 1 (supposed to happen)
Queue out of mem (supposed to happen)
OK, we're freeing a chunk we allocated
OK, we're freeing a chunk we allocated
test 2 (supposed to happen)
--- end execution of wctest53
--- start execution of wctest54
to need not to  values values, for table hash WCValHashTable Ian Class Table Hash Container WATCOM the for Defines wchash.h 
to need not to  values values, for table hash WCValHashTable Ian Class Table Hash Container WATCOM the for Defines wchash.h 
to need not to  values values, for table hash WCValHashTable Ian Class Table Hash Container WATCOM the for Defines wchash.h 
to need not to  values values, for table hash WCValHashTable Ian Class Table Hash Container WATCOM the for Defines wchash.h 
--- end execution of wctest54
--- start execution of wctest55
2 1 0 
2 1 0 
2 1 0 
2 1 0 
2 1 0 
2 1 0 
--- end execution of wctest55
--- start execution of wctest56
round 1
round 2
round 3
round 4
round 5
round 6
test2: round 1
round 2
round 3
round 4
round 5
round 6
test ValSlist
test ValDlist
--- end execution of wctest56
--- start execution of wctest59
--- test 1
wchash.h Defines for the WATCOM Container Hash Table Class Ian WCValHashTable hash table for values,  values to not need do 
--- test 2
wchash.h Defines for the WATCOM Container Hash Table Class Ian WCValHashTable hash table for values,  values to not need do 
--- test 3
wchash.h Defines for the WATCOM Container Hash Table Class Ian WCValHashTable hash table for values,  values to not need do 
--- test 4
wchash.h Defines for the WATCOM Container Hash Table Class Ian WCValHashTable hash table for values,  values to not need do 
--- test 5
index i==13failed (OK for i==13)
wchash.h Defines for the WATCOM Container Hash Table Class Ian WCValHashTable hash table for values,  values to not need do 
--- test 6
index i==13failed (OK for i==13)
wchash.h Defines for the WATCOM Container Hash Table Class Ian WCValHashTable hash table for values,  values to not need do 
--- end execution of wctest59
--- start execution of wctest61
5 4 3 2 1 
1 2 3 4 5 
--- end execution of wctest61
--- start execution of wctest62
PASS source\wctest62.cpp
--- end execution of wctest62
--- start execution of wcvt1
length before indexing: 5
length after indexing: 5
50
0
25
0
1234567
length before indexing: 5
length after indexing: 5
50
0
25
0
1234
--- end execution of wcvt1
--- start execution of wcvt2
There should be 4 supposed to happen exceptions

resize_required exception (supposed to happen)
25 0 0 0 0 9999999 100 

resize_required exception (supposed to happen)

** index range exception ** (supposed to happen)

resize_required exception (supposed to happen)

resize_required exception (supposed to happen)
0 0 0 0 0 

resize_required exception (supposed to happen)
--- end execution of wcvt2
--- start execution of wcvt3
17 25 0 25 0 1234567 
25 0 25 0 1234 
--- end execution of wcvt3
--- start execution of wcvt4
Found 25 (OK)
Found 50 (OK)
25 0 50 0 1234 
Found 25 (OK)
 -1 0 0 1234567 25 34143 50 

Found 50 (OK)
-1 -1 0 0 1234 25 34143 50 

--- end execution of wcvt4
--- start execution of wcvt5
Should get 7 supposed to happen exceptions

empty_container exception (supposed to happen)

empty_container exception (supposed to happen)
valOrd len 1
length exception (supposed to happen)

empty_container exception (supposed to happen)
ptrOrd len 0

empty_container exception (supposed to happen)

empty_container exception (supposed to happen)
length exception (supposed to happen)
ptrsort len 5
The next test should *NOT* cause a run time error
--- end execution of wcvt5
--- start execution of wcvt6
There should be 4 supposed to happen exceptions

resize_required exception (supposed to happen)

out of mem exception (supposed to happen)
Vector length5

vector_length range exception (supposed to happen)

out_of_mem exception (supposed to happen)
Vector length2
--- end execution of wcvt6
--- start execution of wcvt7
Inserting one
Prepending two
Appending three
Inserting four at 1
prepending five
Inserting six
five two four one three six 
Inserting one
Prepending two
Appending three
Inserting four at 1
prepending five
Inserting six
five two four one three six 
--- end execution of wcvt7
--- start execution of wcvt8
ValOrdered
25 0 50 0 1234567 
vect->removeAll 0
25 50 1234567 
removing 50
25 1234567 
vect->removeAt 10
25 
25 
PtrOrdered
25 0 50 0 1234 
removingat -354
0 50 0 1234 
removingAll 0
50 1234 
removing 50
1234 
ValSorted
-1 0 0 1234567 25 34143 50 
vect.removeAll 0
-1 1234567 25 34143 50 
removingAt 3
-1 1234567 25 50 
removing 25
removing Last
-1 1234567 
removing First
1234567 
PtrSorted
-1 -1 0 0 1234 25 34143 50 
removingat 3414
-1 -1 0 0 1234 25 34143 
removingAll 0
-1 -1 1234 25 34143 
removing -1
-1 1234 25 34143 
removingAll 25
-1 1234 34143 
removing Last
-1 
removing First

--- end execution of wcvt8
--- start execution of wcvt9
Should be 15 supposed to happen exceptions
ValOrdered
index 1 (supposed to happen)
index 1b (supposed to happen)
index 1c (supposed to happen)
index 2 (supposed to happen)
index 3 (supposed to happen)
PtrOrdered
index 1 (supposed to happen)
index 1b (supposed to happen)
index 1c (supposed to happen)
index 2 (supposed to happen)
index 3 (supposed to happen)
ValSorted
PtrSorted
index 1 (supposed to happen)
index 1b (supposed to happen)
index 1c (supposed to happen)
index 2 (supposed to happen)
index 3 (supposed to happen)
--- end execution of wcvt9
--- start execution of wcvt10
50 0 25 0 1234567 0 
50 0 25 0 1234 0 
25 0 50 0 1234567 0 
25 0 50 0 1234 0 
-1 0 0 0 1234567 25 34143 50 
-1 -1 0 0 0 1234 25 34143 50 
--- end execution of wcvt10
--- start execution of wcvt12
there should be 6 sets of 5 supposed to happen exceptions
index 1 (supposed to happen)
index 2 (supposed to happen)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?