IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 1201


Ignore:
Timestamp:
Jul 8, 2004, 12:04:12 PM (22 years ago)
Author:
desonia
Message:

changed psHashInsert to psHashAdd.

Location:
trunk/psLib/test/sysUtils
Files:
1 deleted
15 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/sysUtils/builddir/atst_psAbort_01.d

    r1109 r1201  
    33  ../../include/psTrace.h ../../include/psAbort.h ../../include/psError.h \
    44  ../../include/psString.h ../../include/psType.h ../../include/psList.h \
    5   ../../include/psVector.h ../../include/psHash.h \
    6   ../../include/psScalar.h ../../include/psImage.h \
     5  ../../include/psCompare.h ../../include/psVector.h \
     6  ../../include/psHash.h ../../include/psScalar.h ../../include/psImage.h \
    77  ../../include/psBitSet.h ../../include/psSort.h ../../include/psStats.h \
    88  ../../include/psMatrix.h ../../include/psMatrixVectorArithmetic.h \
  • trunk/psLib/test/sysUtils/builddir/atst_psAbort_02.d

    r1109 r1201  
    33  ../../include/psTrace.h ../../include/psAbort.h ../../include/psError.h \
    44  ../../include/psString.h ../../include/psType.h ../../include/psList.h \
    5   ../../include/psVector.h ../../include/psHash.h \
    6   ../../include/psScalar.h ../../include/psImage.h \
     5  ../../include/psCompare.h ../../include/psVector.h \
     6  ../../include/psHash.h ../../include/psScalar.h ../../include/psImage.h \
    77  ../../include/psBitSet.h ../../include/psSort.h ../../include/psStats.h \
    88  ../../include/psMatrix.h ../../include/psMatrixVectorArithmetic.h \
  • trunk/psLib/test/sysUtils/builddir/atst_psAbort_03.d

    r1109 r1201  
    33  ../../include/psTrace.h ../../include/psAbort.h ../../include/psError.h \
    44  ../../include/psString.h ../../include/psType.h ../../include/psList.h \
    5   ../../include/psVector.h ../../include/psHash.h \
    6   ../../include/psScalar.h ../../include/psImage.h \
     5  ../../include/psCompare.h ../../include/psVector.h \
     6  ../../include/psHash.h ../../include/psScalar.h ../../include/psImage.h \
    77  ../../include/psBitSet.h ../../include/psSort.h ../../include/psStats.h \
    88  ../../include/psMatrix.h ../../include/psMatrixVectorArithmetic.h \
  • trunk/psLib/test/sysUtils/builddir/tst_psError.d

    r1109 r1201  
    33  ../../include/psTrace.h ../../include/psAbort.h ../../include/psError.h \
    44  ../../include/psString.h ../../include/psType.h ../../include/psList.h \
    5   ../../include/psVector.h ../../include/psHash.h \
    6   ../../include/psScalar.h ../../include/psImage.h \
     5  ../../include/psCompare.h ../../include/psVector.h \
     6  ../../include/psHash.h ../../include/psScalar.h ../../include/psImage.h \
    77  ../../include/psBitSet.h ../../include/psSort.h ../../include/psStats.h \
    88  ../../include/psMatrix.h ../../include/psMatrixVectorArithmetic.h \
  • trunk/psLib/test/sysUtils/builddir/tst_psHash00.d

    r1109 r1201  
    33  ../../include/psTrace.h ../../include/psAbort.h ../../include/psError.h \
    44  ../../include/psString.h ../../include/psType.h ../../include/psList.h \
    5   ../../include/psVector.h ../../include/psHash.h \
    6   ../../include/psScalar.h ../../include/psImage.h \
     5  ../../include/psCompare.h ../../include/psVector.h \
     6  ../../include/psHash.h ../../include/psScalar.h ../../include/psImage.h \
    77  ../../include/psBitSet.h ../../include/psSort.h ../../include/psStats.h \
    88  ../../include/psMatrix.h ../../include/psMatrixVectorArithmetic.h \
  • trunk/psLib/test/sysUtils/builddir/tst_psHash01.d

    r1109 r1201  
    33  ../../include/psTrace.h ../../include/psAbort.h ../../include/psError.h \
    44  ../../include/psString.h ../../include/psType.h ../../include/psList.h \
    5   ../../include/psVector.h ../../include/psHash.h \
    6   ../../include/psScalar.h ../../include/psImage.h \
     5  ../../include/psCompare.h ../../include/psVector.h \
     6  ../../include/psHash.h ../../include/psScalar.h ../../include/psImage.h \
    77  ../../include/psBitSet.h ../../include/psSort.h ../../include/psStats.h \
    88  ../../include/psMatrix.h ../../include/psMatrixVectorArithmetic.h \
  • trunk/psLib/test/sysUtils/builddir/tst_psHash02.d

    r1109 r1201  
    33  ../../include/psTrace.h ../../include/psAbort.h ../../include/psError.h \
    44  ../../include/psString.h ../../include/psType.h ../../include/psList.h \
    5   ../../include/psVector.h ../../include/psHash.h \
    6   ../../include/psScalar.h ../../include/psImage.h \
     5  ../../include/psCompare.h ../../include/psVector.h \
     6  ../../include/psHash.h ../../include/psScalar.h ../../include/psImage.h \
    77  ../../include/psBitSet.h ../../include/psSort.h ../../include/psStats.h \
    88  ../../include/psMatrix.h ../../include/psMatrixVectorArithmetic.h \
  • trunk/psLib/test/sysUtils/builddir/tst_psHash03.d

    r1109 r1201  
    33  ../../include/psTrace.h ../../include/psAbort.h ../../include/psError.h \
    44  ../../include/psString.h ../../include/psType.h ../../include/psList.h \
    5   ../../include/psVector.h ../../include/psHash.h \
    6   ../../include/psScalar.h ../../include/psImage.h \
     5  ../../include/psCompare.h ../../include/psVector.h \
     6  ../../include/psHash.h ../../include/psScalar.h ../../include/psImage.h \
    77  ../../include/psBitSet.h ../../include/psSort.h ../../include/psStats.h \
    88  ../../include/psMatrix.h ../../include/psMatrixVectorArithmetic.h \
  • trunk/psLib/test/sysUtils/builddir/tst_psHash04.d

    r1109 r1201  
    33  ../../include/psTrace.h ../../include/psAbort.h ../../include/psError.h \
    44  ../../include/psString.h ../../include/psType.h ../../include/psList.h \
    5   ../../include/psVector.h ../../include/psHash.h \
    6   ../../include/psScalar.h ../../include/psImage.h \
     5  ../../include/psCompare.h ../../include/psVector.h \
     6  ../../include/psHash.h ../../include/psScalar.h ../../include/psImage.h \
    77  ../../include/psBitSet.h ../../include/psSort.h ../../include/psStats.h \
    88  ../../include/psMatrix.h ../../include/psMatrixVectorArithmetic.h \
  • trunk/psLib/test/sysUtils/builddir/tst_psLogMsg01.d

    r1109 r1201  
    33  ../../include/psTrace.h ../../include/psAbort.h ../../include/psError.h \
    44  ../../include/psString.h ../../include/psType.h ../../include/psList.h \
    5   ../../include/psVector.h ../../include/psHash.h \
    6   ../../include/psScalar.h ../../include/psImage.h \
     5  ../../include/psCompare.h ../../include/psVector.h \
     6  ../../include/psHash.h ../../include/psScalar.h ../../include/psImage.h \
    77  ../../include/psBitSet.h ../../include/psSort.h ../../include/psStats.h \
    88  ../../include/psMatrix.h ../../include/psMatrixVectorArithmetic.h \
  • trunk/psLib/test/sysUtils/builddir/tst_psStringCopy.d

    r1109 r1201  
    33  ../../include/psTrace.h ../../include/psAbort.h ../../include/psError.h \
    44  ../../include/psString.h ../../include/psType.h ../../include/psList.h \
    5   ../../include/psVector.h ../../include/psHash.h \
    6   ../../include/psScalar.h ../../include/psImage.h \
     5  ../../include/psCompare.h ../../include/psVector.h \
     6  ../../include/psHash.h ../../include/psScalar.h ../../include/psImage.h \
    77  ../../include/psBitSet.h ../../include/psSort.h ../../include/psStats.h \
    88  ../../include/psMatrix.h ../../include/psMatrixVectorArithmetic.h \
  • trunk/psLib/test/sysUtils/tst_psHash01.c

    r1073 r1201  
    4646    myHashTable = psHashAlloc(NUM_HASH_TABLE_BUCKETS);
    4747    id = IdAlloc("IDA");
    48     psHashInsert(myHashTable, "ENTRY00", id);
     48    psHashAdd(myHashTable, "ENTRY00", id);
    4949    psFree(id);
    5050    id = IdAlloc("IDB");
    51     psHashInsert(myHashTable, "ENTRY01", id);
     51    psHashAdd(myHashTable, "ENTRY01", id);
    5252    psFree(id);
    5353    id = IdAlloc("IDC");
    54     psHashInsert(myHashTable, "ENTRY02", id);
     54    psHashAdd(myHashTable, "ENTRY02", id);
    5555    psFree(id);
    5656    id = IdAlloc("IDD");
    57     psHashInsert(myHashTable, "ENTRY03", id);
     57    psHashAdd(myHashTable, "ENTRY03", id);
    5858    psFree(id);
    5959    psFree(myHashTable);
  • trunk/psLib/test/sysUtils/tst_psHash02.c

    r1073 r1201  
    4949    printPositiveTestHeader(stdout,
    5050                            "psHash functions",
    51                             "psHashInsert()");
     51                            "psHashAdd()");
    5252
    5353    myHashTable = psHashAlloc(NUM_HASH_TABLE_BUCKETS);
     
    5555    while (myKeys[i] != NULL) {
    5656        id = IdAlloc(myData[i]);
    57         psHashInsert(myHashTable, myKeys[i], id);
     57        psHashAdd(myHashTable, myKeys[i], id);
    5858        psFree(id);
    5959        i++;
     
    7575    }
    7676
    77     printFooter(stdout,
    78                 "psHash functions",
    79                 "psHashInsert()",
    80                 testStatus);
    81 
    8277    //    psHashFree(myHashTable, NULL);
    8378    psFree(myHashTable);
    8479
    85     memLeaks = psMemCheckLeaks(currentId,NULL,NULL);
     80    memLeaks = psMemCheckLeaks(currentId,NULL,stderr);
    8681    if (0 != memLeaks) {
    8782        psAbort(__func__,"Memory Leaks! (%d leaks)", memLeaks);
     
    8984    psMemCheckCorruption(1);
    9085
     86    printFooter(stdout,
     87                "psHash functions",
     88                "psHashAdd()",
     89                testStatus);
     90
    9191    return (!testStatus);
    9292}
  • trunk/psLib/test/sysUtils/tst_psHash03.c

    r1073 r1201  
    8383    i = 0;
    8484    while (myKeys[i] != NULL) {
    85         psHashInsert(myHashTable, myKeys[i], IdAlloc(myData[i]));
     85        psHashAdd(myHashTable, myKeys[i], IdAlloc(myData[i]));
    8686        i++;
    8787    }
  • trunk/psLib/test/sysUtils/tst_psHash04.c

    r1073 r1201  
    5353    while (myKeys[i] != NULL) {
    5454        id = IdAlloc(myData[i]);
    55         psHashInsert(myHashTable, myKeys[i], id);
     55        psHashAdd(myHashTable, myKeys[i], id);
    5656        psFree(id);
    5757        i++;
Note: See TracChangeset for help on using the changeset viewer.