MCPcopy Index your code
hub / github.com/MapServer/MapServer / msCreateHashTable

Function msCreateHashTable

maphash.c:47–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47hashTableObj *msCreateHashTable()
48{
49 int i;
50 hashTableObj *table;
51
52 table = (hashTableObj *) msSmallMalloc(sizeof(hashTableObj));
53 table->items = (struct hashObj **) msSmallMalloc(sizeof(struct hashObj *)*MS_HASHSIZE);
54
55 for (i=0; i<MS_HASHSIZE; i++)
56 table->items[i] = NULL;
57 table->numitems = 0;
58
59 return table;
60}
61
62int initHashTable( hashTableObj *table )
63{

Callers 8

msInitWmsParamsObjFunction · 0.85
loadHashTableFunction · 0.85
getTagArgsFunction · 0.85
generateGroupTemplateFunction · 0.85
generateLayerTemplateFunction · 0.85
generateClassTemplateFunction · 0.85
KmlRendererMethod · 0.85
hashTableObj_newFunction · 0.85

Calls 1

msSmallMallocFunction · 0.85

Tested by

no test coverage detected