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

Function msCopyHashTable

mapcopy.c:146–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144 **********************************************************************/
145
146int msCopyHashTable(hashTableObj *dst, hashTableObj *src) {
147 const char *key=NULL;
148 while (1) {
149 key = msNextKeyFromHashTable(src, key);
150 if (!key)
151 break;
152 else
153 msInsertHashTable(dst, key, msLookupHashTable(src, key));
154 }
155 return MS_SUCCESS;
156}
157
158/***********************************************************************
159 * msCopyFontSet() *

Callers 5

msCopyFontSetFunction · 0.85
msCopyWebFunction · 0.85
msCopyClassFunction · 0.85
msCopyLayerFunction · 0.85
msCopyMapFunction · 0.85

Calls 3

msNextKeyFromHashTableFunction · 0.85
msInsertHashTableFunction · 0.85
msLookupHashTableFunction · 0.85

Tested by

no test coverage detected