ocssw
V2022
|
shash.c
Go to the documentation of this file.
155 for (is_first = 1; cur_bucket != NULL; is_first = 0, bucket_ptr = &cur_bucket->next, cur_bucket = *bucket_ptr) {
171 shash_bucket **a = (shash_bucket**) realloc((shash_bucket*) h->buckets, newsize * sizeof(shash_bucket*));
#define SHASH_FILLPCT
How full to get before doubling the size of the shash, 0-99.
Definition: shash.c:28
int shash_set(shash *h, const char *key, const char *value)
Add or overwrite a pointer, associating it with the given key.
Definition: shash.c:224
const char * shash_version()
Returns the source code version and the implemented API version.
Definition: shash.c:324
const char * shash_get(shash *h, const char *key)
Find a pointer associated with the given string.
Definition: shash.c:205
char * strdup(const char *)
int shash_next(shash *h, const char **key, const char **value)
Retrieves the next key-value pair in the shash. The order in which the pointers are returned shall be...
Definition: shash.c:283
int shash_size(shash *h)
Retrieves the number of key-value pairs in the hash object.
Definition: shash.c:320
int shash_rewind(shash *h)
Rewind iterator for traversing all the keys and values.
Definition: shash.c:277
A simple dictionary library for storing strings.
int shash_remove(shash *h, const char *key)
Remove a pointer associated with the given string.
Definition: shash.c:146
Definition: shash.c:33
PGE01 indicating that PGE02 PGE01 V6 for and PGE01 V2 for MOD03 were used to produce the granule By convention adopted in all MODIS Terra PGE02 code versions are The fourth digit of the PGE02 version denotes the LUT version used to produce the granule The source of the metadata environment variable ProcessingCenter was changed from a QA LUT value to the Process Configuration A sign used in error in the second order term was changed to a
Definition: HISTORY.txt:424