Skip to content
MapInitWithPolicy

MapInitWithPolicy

Description

Initialize a map with key callbacks and an explicit probing policy.

Usage example (Cross-references)

Usage examples (Cross-references)
                   .max_probe_count = 32,
        };
        IntIntMap map    = MapInitWithPolicy(i32_hash, i32_compare, custom_policy, &alloc);
        bool      result = true;
                   .max_probe_count = 11,
        };
        IntIntMap map = MapInitWithPolicy(i32_hash, i32_compare, custom_policy, &alloc);
    
        custom_policy.name            = "changed";
Last updated on