Changeset 620
- Timestamp:
- May 7, 2004, 3:19:28 PM (22 years ago)
- Location:
- trunk/psLib/test/collections
- Files:
-
- 16 edited
-
tst_psArray_01.c (modified) (2 diffs)
-
tst_psArray_02.c (modified) (2 diffs)
-
tst_psArray_03.c (modified) (2 diffs)
-
tst_psArray_04.c (modified) (2 diffs)
-
tst_psArray_05.c (modified) (2 diffs)
-
tst_psArray_06.c (modified) (2 diffs)
-
tst_psBitSet_01.c (modified) (2 diffs)
-
tst_psBitSet_02.c (modified) (2 diffs)
-
tst_psBitSet_03.c (modified) (2 diffs)
-
tst_psBitSet_04.c (modified) (2 diffs)
-
tst_psBitSet_05.c (modified) (2 diffs)
-
tst_psBitSet_06.c (modified) (2 diffs)
-
tst_psSort_01.c (modified) (2 diffs)
-
tst_psSort_02.c (modified) (2 diffs)
-
tst_psSort_03.c (modified) (2 diffs)
-
tst_psSort_04.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/collections/tst_psArray_01.c
r576 r620 12 12 * @author Ross Harman, MHPCC 13 13 * 14 * @version $Revision: 1. 1$ $Name: not supported by cvs2svn $15 * @date $Date: 2004-05-0 5 20:39:09$14 * @version $Revision: 1.2 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2004-05-08 01:19:28 $ 16 16 * 17 17 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 68 68 psIntArrayFree(psArr); 69 69 psMemCheckLeaks(0, NULL, stdout); 70 int nBad = psMemCheckCorruption(0); 71 if(nBad) { 72 printf("ERROR: Found %d bad memory blocks\n", nBad); 73 } 70 74 printFooter(stdout, "psArray" ,"Free integer array", true); 71 75 -
trunk/psLib/test/collections/tst_psArray_02.c
r576 r620 12 12 * @author Ross Harman, MHPCC 13 13 * 14 * @version $Revision: 1. 1$ $Name: not supported by cvs2svn $15 * @date $Date: 2004-05-0 5 20:39:09$14 * @version $Revision: 1.2 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2004-05-08 01:19:28 $ 16 16 * 17 17 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 70 70 psFloatArrayFree(psArr); 71 71 psMemCheckLeaks(0, NULL, stdout); 72 int nBad = psMemCheckCorruption(0); 73 if(nBad) { 74 printf("ERROR: Found %d bad memory blocks\n", nBad); 75 } 72 76 printFooter(stdout, "psArray","Free float array",true); 73 77 -
trunk/psLib/test/collections/tst_psArray_03.c
r576 r620 12 12 * @author Ross Harman, MHPCC 13 13 * 14 * @version $Revision: 1. 1$ $Name: not supported by cvs2svn $15 * @date $Date: 2004-05-0 5 20:39:09$14 * @version $Revision: 1.2 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2004-05-08 01:19:28 $ 16 16 * 17 17 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 69 69 psDoubleArrayFree(psArr); 70 70 psMemCheckLeaks(0, NULL, stdout); 71 int nBad = psMemCheckCorruption(0); 72 if(nBad) { 73 printf("ERROR: Found %d bad memory blocks\n", nBad); 74 } 71 75 printFooter(stdout, "psArray","Free double array",true); 72 76 -
trunk/psLib/test/collections/tst_psArray_04.c
r576 r620 12 12 * @author Ross Harman, MHPCC 13 13 * 14 * @version $Revision: 1. 1$ $Name: not supported by cvs2svn $15 * @date $Date: 2004-05-0 5 20:39:09$14 * @version $Revision: 1.2 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2004-05-08 01:19:28 $ 16 16 * 17 17 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 69 69 psComplexArrayFree(psArr); 70 70 psMemCheckLeaks(0, NULL, stdout); 71 int nBad = psMemCheckCorruption(0); 72 if(nBad) { 73 printf("ERROR: Found %d bad memory blocks\n", nBad); 74 } 71 75 printFooter(stdout, "psArray","Free complex array",true); 72 76 -
trunk/psLib/test/collections/tst_psArray_05.c
r576 r620 12 12 * @author Ross Harman, MHPCC 13 13 * 14 * @version $Revision: 1. 1$ $Name: not supported by cvs2svn $15 * @date $Date: 2004-05-0 5 20:39:09$14 * @version $Revision: 1.2 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2004-05-08 01:19:28 $ 16 16 * 17 17 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 102 102 } 103 103 psMemCheckLeaks(0, NULL, stdout); 104 int nBad = psMemCheckCorruption(0); 105 if(nBad) { 106 printf("ERROR: Found %d bad memory blocks\n", nBad); 107 } 104 108 printFooter(stdout, "psArray", "Free void pointer array", true); 105 109 -
trunk/psLib/test/collections/tst_psArray_06.c
r576 r620 12 12 * @author Ross Harman, MHPCC 13 13 * 14 * @version $Revision: 1. 1$ $Name: not supported by cvs2svn $15 * @date $Date: 2004-05-0 5 20:39:09$14 * @version $Revision: 1.2 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2004-05-08 01:19:28 $ 16 16 * 17 17 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 111 111 } 112 112 psMemCheckLeaks(0, NULL, stdout); 113 int nBad = psMemCheckCorruption(0); 114 if(nBad) { 115 printf("ERROR: Found %d bad memory blocks\n", nBad); 116 } 113 117 printFooter(stdout, "psArray", "Free void pointer array with function callback", true); 114 118 -
trunk/psLib/test/collections/tst_psBitSet_01.c
r576 r620 11 11 * @author Ross Harman, MHPCC 12 12 * 13 * @version $Revision: 1. 1$ $Name: not supported by cvs2svn $14 * @date $Date: 2004-05-0 5 20:39:09$13 * @version $Revision: 1.2 $ $Name: not supported by cvs2svn $ 14 * @date $Date: 2004-05-08 01:19:28 $ 15 15 * 16 16 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 58 58 psBitSetFree(bs); 59 59 psMemCheckLeaks(0, NULL, stdout); 60 psMemCheckCorruption(0); 61 int nBad = psMemCheckCorruption(0); 62 if(nBad) { 63 printf("ERROR: Found %d bad memory blocks\n", nBad); 64 } 60 65 printFooter(stdout, "psBitSet", "Free psBitSet", true); 61 66 -
trunk/psLib/test/collections/tst_psBitSet_02.c
r576 r620 10 10 * @author Ross Harman, MHPCC 11 11 * 12 * @version $Revision: 1. 1$ $Name: not supported by cvs2svn $13 * @date $Date: 2004-05-0 5 20:39:09$12 * @version $Revision: 1.2 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2004-05-08 01:19:28 $ 14 14 * 15 15 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 67 67 psBitSetFree(outbs); 68 68 psMemCheckLeaks(0, NULL, stdout); 69 int nBad = psMemCheckCorruption(0); 70 if(nBad) { 71 printf("ERROR: Found %d bad memory blocks\n", nBad); 72 } 69 73 printFooter(stdout, "psBitSet", "Free psBitSets", true); 70 74 -
trunk/psLib/test/collections/tst_psBitSet_03.c
r576 r620 10 10 * @author Ross Harman, MHPCC 11 11 * 12 * @version $Revision: 1. 1$ $Name: not supported by cvs2svn $13 * @date $Date: 2004-05-0 5 20:39:09$12 * @version $Revision: 1.2 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2004-05-08 01:19:28 $ 14 14 * 15 15 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 67 67 psBitSetFree(outbs); 68 68 psMemCheckLeaks(0, NULL, stdout); 69 int nBad = psMemCheckCorruption(0); 70 if(nBad) { 71 printf("ERROR: Found %d bad memory blocks\n", nBad); 72 } 69 73 printFooter(stdout, "psBitSet", "Free psBitSets", true); 70 74 -
trunk/psLib/test/collections/tst_psBitSet_04.c
r576 r620 10 10 * @author Ross Harman, MHPCC 11 11 * 12 * @version $Revision: 1. 1$ $Name: not supported by cvs2svn $13 * @date $Date: 2004-05-0 5 20:39:09$12 * @version $Revision: 1.2 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2004-05-08 01:19:28 $ 14 14 * 15 15 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 67 67 psBitSetFree(outbs); 68 68 psMemCheckLeaks(0, NULL, stdout); 69 int nBad = psMemCheckCorruption(0); 70 if(nBad) { 71 printf("ERROR: Found %d bad memory blocks\n", nBad); 72 } 69 73 printFooter(stdout, "psBitSet", "Free psBitSets", true); 70 74 -
trunk/psLib/test/collections/tst_psBitSet_05.c
r576 r620 10 10 * @author Ross Harman, MHPCC 11 11 * 12 * @version $Revision: 1. 1$ $Name: not supported by cvs2svn $13 * @date $Date: 2004-05-0 5 20:39:09$12 * @version $Revision: 1.2 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2004-05-08 01:19:28 $ 14 14 * 15 15 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 52 52 psBitSetFree(outbs); 53 53 psMemCheckLeaks(0, NULL, stdout); 54 int nBad = psMemCheckCorruption(0); 55 if(nBad) { 56 printf("ERROR: Found %d bad memory blocks\n", nBad); 57 } 54 58 printFooter(stdout, "psBitSet", "Free psBitSets", true); 55 59 -
trunk/psLib/test/collections/tst_psBitSet_06.c
r576 r620 10 10 * @author Ross Harman, MHPCC 11 11 * 12 * @version $Revision: 1. 1$ $Name: not supported by cvs2svn $13 * @date $Date: 2004-05-0 5 20:39:09$12 * @version $Revision: 1.2 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2004-05-08 01:19:28 $ 14 14 * 15 15 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 53 53 psBitSetFree(outbs); 54 54 psMemCheckLeaks(0, NULL, stdout); 55 int nBad = psMemCheckCorruption(0); 56 if(nBad) { 57 printf("ERROR: Found %d bad memory blocks\n", nBad); 58 } 55 59 printFooter(stdout, "psBitSet", "Free psBitSetFree psBitSets", true); 56 60 -
trunk/psLib/test/collections/tst_psSort_01.c
r576 r620 10 10 * @author Ross Harman, MHPCC 11 11 * 12 * @version $Revision: 1. 1$ $Name: not supported by cvs2svn $13 * @date $Date: 2004-05-0 5 20:39:09$12 * @version $Revision: 1.2 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2004-05-08 01:19:28 $ 14 14 * 15 15 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 58 58 psFloatArrayFree(out); 59 59 psMemCheckLeaks(0, NULL, stdout); 60 int nBad = psMemCheckCorruption(0); 61 if(nBad) { 62 printf("ERROR: Found %d bad memory blocks\n", nBad); 63 } 60 64 printFooter(stdout, "psSort", "Free float arrays", true); 61 65 -
trunk/psLib/test/collections/tst_psSort_02.c
r576 r620 10 10 * @author Ross Harman, MHPCC 11 11 * 12 * @version $Revision: 1. 1$ $Name: not supported by cvs2svn $13 * @date $Date: 2004-05-0 5 20:39:09$12 * @version $Revision: 1.2 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2004-05-08 01:19:28 $ 14 14 * 15 15 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 58 58 psIntArrayFree(out); 59 59 psMemCheckLeaks(0, NULL, stdout); 60 int nBad = psMemCheckCorruption(0); 61 if(nBad) { 62 printf("ERROR: Found %d bad memory blocks\n", nBad); 63 } 60 64 printFooter(stdout, "psSort", "Free arrays", true); 61 65 -
trunk/psLib/test/collections/tst_psSort_03.c
r576 r620 10 10 * @author Ross Harman, MHPCC 11 11 * 12 * @version $Revision: 1. 1$ $Name: not supported by cvs2svn $13 * @date $Date: 2004-05-0 5 20:39:09$12 * @version $Revision: 1.2 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2004-05-08 01:19:28 $ 14 14 * 15 15 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 52 52 psFloatArrayFree(out); 53 53 psMemCheckLeaks(0, NULL, stdout); 54 int nBad = psMemCheckCorruption(0); 55 if(nBad) { 56 printf("ERROR: Found %d bad memory blocks\n", nBad); 57 } 54 58 printFooter(stdout, "psSort", "Free float arrays", true); 55 59 -
trunk/psLib/test/collections/tst_psSort_04.c
r576 r620 10 10 * @author Ross Harman, MHPCC 11 11 * 12 * @version $Revision: 1. 1$ $Name: not supported by cvs2svn $13 * @date $Date: 2004-05-0 5 20:39:09$12 * @version $Revision: 1.2 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2004-05-08 01:19:28 $ 14 14 * 15 15 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 45 45 psFloatArrayFree(goodOut); 46 46 psMemCheckLeaks(0, NULL, stdout); 47 int nBad = psMemCheckCorruption(0); 48 if(nBad) { 49 printf("ERROR: Found %d bad memory blocks\n", nBad); 50 } 47 51 printFooter(stdout, "psSort", "Free arays", true); 52 53 return 0; 48 54 }
Note:
See TracChangeset
for help on using the changeset viewer.
