IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 1842


Ignore:
Timestamp:
Sep 21, 2004, 1:17:53 PM (22 years ago)
Author:
desonia
Message:

reformatting.

Location:
trunk/psLib/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/collections/psBitSet.c

    r1807 r1842  
    1111 *  @author Robert DeSonia, MHPCC
    1212 *
    13  *  @version $Revision: 1.17 $ $Name: not supported by cvs2svn $
    14  *  @date $Date: 2004-09-14 20:01:52 $
     13 *  @version $Revision: 1.18 $ $Name: not supported by cvs2svn $
     14 *  @date $Date: 2004-09-21 23:17:52 $
    1515 *
    1616 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    9494}
    9595
    96 psBitSet* psBitSetSet(psBitSet* inBitSet, int bit)
     96psBitSet* psBitSetSet(psBitSet* inBitSet,
     97                      int bit)
    9798{
    9899    char *byte = NULL;
     
    118119}
    119120
    120 psBitSet* psBitSetClear(psBitSet* inBitSet, int bit)
     121psBitSet* psBitSetClear(psBitSet* inBitSet,
     122                        int bit)
    121123{
    122124    char *byte = NULL;
     
    142144}
    143145
    144 bool psBitSetTest(const psBitSet* inBitSet, int bit)
     146bool psBitSetTest(const psBitSet* inBitSet,
     147                  int bit)
    145148{
    146149    char *byte = NULL;
     
    165168}
    166169
    167 psBitSet* psBitSetOp(psBitSet* outBitSet, const psBitSet* restrict inBitSet1, char *operator,
     170psBitSet* psBitSetOp(psBitSet* outBitSet,
     171                     const psBitSet* restrict inBitSet1,
     172                     char *operator,
    168173                     const psBitSet* restrict inBitSet2)
    169174{
     
    279284}
    280285
    281 psBitSet* psBitSetNot(psBitSet* outBitSet, const psBitSet* restrict inBitSet)
     286psBitSet* psBitSetNot(psBitSet* outBitSet,
     287                      const psBitSet* restrict inBitSet)
    282288{
    283289    if (inBitSet == NULL) {
  • trunk/psLib/src/collections/psHash.c

    r1841 r1842  
    1111*  @author George Gusciora, MHPCC
    1212*
    13 *  @version $Revision: 1.4 $ $Name: not supported by cvs2svn $
    14 *  @date $Date: 2004-09-21 23:15:04 $
     13*  @version $Revision: 1.5 $ $Name: not supported by cvs2svn $
     14*  @date $Date: 2004-09-21 23:17:53 $
    1515*
    1616*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    8484    the new hash bucket.
    8585 *****************************************************************************/
    86 static psHashBucket* hashBucketAlloc(const char *key, void *data, psHashBucket* next)
     86static psHashBucket* hashBucketAlloc(const char *key,
     87                                     void *data,
     88                                     psHashBucket* next)
    8789{
    8890    // Allocate memory for the new hash bucket.
     
    210212there is little common code between those functions.
    211213  *****************************************************************************/
    212 static void *doHashWork(psHash* table, const char *key, void *data, bool remove
     214static void *doHashWork(psHash* table,
     215                        const char *key,
     216                        void *data, bool remove
    213217                           )
    214218{
     
    340344    boolean value defining success or failure
    341345 *****************************************************************************/
    342 bool psHashAdd(psHash* table, const char *key, void *data)
     346bool psHashAdd(psHash* table,
     347               const char *key,
     348               void *data)
    343349{
    344350    if (table == NULL) {
     
    403409    boolean value defining success or failure
    404410 *****************************************************************************/
    405 bool psHashRemove(psHash* table, const char *key)
     411bool psHashRemove(psHash* table,
     412                  const char *key)
    406413{
    407414    void *data = NULL;
  • trunk/psLib/src/types/psBitSet.c

    r1807 r1842  
    1111 *  @author Robert DeSonia, MHPCC
    1212 *
    13  *  @version $Revision: 1.17 $ $Name: not supported by cvs2svn $
    14  *  @date $Date: 2004-09-14 20:01:52 $
     13 *  @version $Revision: 1.18 $ $Name: not supported by cvs2svn $
     14 *  @date $Date: 2004-09-21 23:17:52 $
    1515 *
    1616 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    9494}
    9595
    96 psBitSet* psBitSetSet(psBitSet* inBitSet, int bit)
     96psBitSet* psBitSetSet(psBitSet* inBitSet,
     97                      int bit)
    9798{
    9899    char *byte = NULL;
     
    118119}
    119120
    120 psBitSet* psBitSetClear(psBitSet* inBitSet, int bit)
     121psBitSet* psBitSetClear(psBitSet* inBitSet,
     122                        int bit)
    121123{
    122124    char *byte = NULL;
     
    142144}
    143145
    144 bool psBitSetTest(const psBitSet* inBitSet, int bit)
     146bool psBitSetTest(const psBitSet* inBitSet,
     147                  int bit)
    145148{
    146149    char *byte = NULL;
     
    165168}
    166169
    167 psBitSet* psBitSetOp(psBitSet* outBitSet, const psBitSet* restrict inBitSet1, char *operator,
     170psBitSet* psBitSetOp(psBitSet* outBitSet,
     171                     const psBitSet* restrict inBitSet1,
     172                     char *operator,
    168173                     const psBitSet* restrict inBitSet2)
    169174{
     
    279284}
    280285
    281 psBitSet* psBitSetNot(psBitSet* outBitSet, const psBitSet* restrict inBitSet)
     286psBitSet* psBitSetNot(psBitSet* outBitSet,
     287                      const psBitSet* restrict inBitSet)
    282288{
    283289    if (inBitSet == NULL) {
  • trunk/psLib/src/types/psHash.c

    r1841 r1842  
    1111*  @author George Gusciora, MHPCC
    1212*
    13 *  @version $Revision: 1.4 $ $Name: not supported by cvs2svn $
    14 *  @date $Date: 2004-09-21 23:15:04 $
     13*  @version $Revision: 1.5 $ $Name: not supported by cvs2svn $
     14*  @date $Date: 2004-09-21 23:17:53 $
    1515*
    1616*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    8484    the new hash bucket.
    8585 *****************************************************************************/
    86 static psHashBucket* hashBucketAlloc(const char *key, void *data, psHashBucket* next)
     86static psHashBucket* hashBucketAlloc(const char *key,
     87                                     void *data,
     88                                     psHashBucket* next)
    8789{
    8890    // Allocate memory for the new hash bucket.
     
    210212there is little common code between those functions.
    211213  *****************************************************************************/
    212 static void *doHashWork(psHash* table, const char *key, void *data, bool remove
     214static void *doHashWork(psHash* table,
     215                        const char *key,
     216                        void *data, bool remove
    213217                           )
    214218{
     
    340344    boolean value defining success or failure
    341345 *****************************************************************************/
    342 bool psHashAdd(psHash* table, const char *key, void *data)
     346bool psHashAdd(psHash* table,
     347               const char *key,
     348               void *data)
    343349{
    344350    if (table == NULL) {
     
    403409    boolean value defining success or failure
    404410 *****************************************************************************/
    405 bool psHashRemove(psHash* table, const char *key)
     411bool psHashRemove(psHash* table,
     412                  const char *key)
    406413{
    407414    void *data = NULL;
Note: See TracChangeset for help on using the changeset viewer.