diff options
| author | tylo <[email protected]> | 2020-03-09 16:13:23 +0100 |
|---|---|---|
| committer | tylo <[email protected]> | 2020-03-09 16:13:23 +0100 |
| commit | 7ef38a5f3dbf7fbda4137ca3f341e9b962362fab (patch) | |
| tree | 90749ddd7d243fe2f2a29d25be2e6ec0a016b012 /cmap_test.c | |
| parent | 9a0186979a3ad014352b5b129687df98f060133e (diff) | |
| download | STC-modified-7ef38a5f3dbf7fbda4137ca3f341e9b962362fab.tar.gz STC-modified-7ef38a5f3dbf7fbda4137ca3f341e9b962362fab.zip | |
Added a few features.
Diffstat (limited to 'cmap_test.c')
| -rw-r--r-- | cmap_test.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/cmap_test.c b/cmap_test.c index fcb138b7..ca773fdb 100644 --- a/cmap_test.c +++ b/cmap_test.c @@ -91,9 +91,6 @@ int main() stringSpeed(20000);
- CString tmp = cstring_makeTemp("I will automatically be destroyed when going out of scope");
- printf("tmp: %s\n", tmp.str);
-
CString cs = cstring_make("one-nine-three-seven-five");
printf("%s.\n", cs.str);
cstring_insert(&cs, 3, "-two");
@@ -119,7 +116,7 @@ int main() num = cmap_si_get(words, "funny");
if (num) printf("%s: %d\n", num->key.str, num->value);
- printf("words size: %zd, capacity %zd\n", cmap_size(words), cmap_capacity(words));
+ printf("words size: %llu, capacity %llu\n", cmap_size(words), cmap_buckets(words));
cmap_si_clear(&words);
CVector_s strv = cvector_initializer;
|
