"Fossies" - the Fresh Open Source Software Archive

Member "memcached-1.6.9/assoc.h" (21 Nov 2020, 640 Bytes) of package /linux/www/memcached-1.6.9.tar.gz:

As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "assoc.h" see the Fossies "Dox" file reference documentation and the latest Fossies "Diffs" side-by-side code changes report: 1.6.8_vs_1.6.9.

    1 /* associative array */
    2 void assoc_init(const int hashpower_init);
    3 item *assoc_find(const char *key, const size_t nkey, const uint32_t hv);
    4 int assoc_insert(item *item, const uint32_t hv);
    5 void assoc_delete(const char *key, const size_t nkey, const uint32_t hv);
    6 void do_assoc_move_next_bucket(void);
    7 int start_assoc_maintenance_thread(void);
    8 void stop_assoc_maintenance_thread(void);
    9 void assoc_start_expand(uint64_t curr_items);
   10 /* walk functions */
   11 void *assoc_get_iterator(void);
   12 bool assoc_iterate(void *iterp, item **it);
   13 void assoc_iterate_final(void *iterp);
   15 extern unsigned int hashpower;
   16 extern unsigned int item_lock_hashpower;