IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 6535


Ignore:
Timestamp:
Mar 6, 2006, 5:03:33 PM (20 years ago)
Author:
Paul Price
Message:

Changing size of hash for psMetadata.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/types/psMetadata.c

    r6314 r6535  
    1212 *  @author Ross Harman, MHPCC
    1313 *
    14  *  @version $Revision: 1.99 $ $Name: not supported by cvs2svn $
    15  *  @date $Date: 2006-02-03 00:12:00 $
     14 *  @version $Revision: 1.100 $ $Name: not supported by cvs2svn $
     15 *  @date $Date: 2006-03-07 03:03:33 $
    1616 *
    1717 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    4747/** Maximum size of a string */
    4848#define MAX_STRING_LENGTH 1024
     49#define HASH_SIZE 256
    4950
    5051/******************************************************************************/
     
    327328    // Allocate metadata's internal containers
    328329    list = (psList*) psListAlloc(NULL);
    329     hash = (psHash*) psHashAlloc(10);
     330    hash = (psHash*) psHashAlloc(HASH_SIZE);
    330331
    331332    metadata->list = list;
Note: See TracChangeset for help on using the changeset viewer.