Turnstone Operating System
Loading...
Searching...
No Matches
map.64.c File Reference

map implementation with b+ tree More...

#include <map.h>
#include <bplustree.h>
#include <data.h>
#include <strings.h>
#include <xxhash.h>
#include <cpu/sync.h>

Classes

struct  map_internal_t
 

Typedefs

typedef struct map_internal_t map_internal_t
 

Functions

 MODULE ("turnstone.lib")
 
int8_t map_key_comparator (const void *data1, const void *data2)
 
uint64_t map_default_key_extractor (const void *key)
 
uint64_t map_string_key_extractor (const void *key)
 
uint64_t map_data_key_extractor (const void *key_size)
 
map_t map_new_with_heap_with_factor (memory_heap_t *heap, int64_t factor, map_key_extractor_f mke)
 
void * map_insert (map_t map, const void *key, const void *data)
 
const void * map_get_with_default (map_t map, const void *key, void *def)
 
const void * map_delete (map_t map, const void *key)
 
int8_t map_destroy (map_t map)
 
iterator_tmap_create_iterator (map_t map)
 
uint64_t map_size (map_t map)
 

Detailed Description

map implementation with b+ tree

This work is licensed under TURNSTONE OS Public License. Please read and understand latest version of Licence.