librsync  2.3.4
Data Fields
hashtable Struct Reference

The hashtable type. More...

#include <hashtable.h>

Data Fields

int size
 Size of allocated hashtable. More...
 
int count
 Number of entries in hashtable. More...
 
unsigned tmask
 Mask to get the hashtable index. More...
 
unsigned bshift
 Shift to get the bloomfilter index. More...
 
long find_count
 The count of finds tried. More...
 
long match_count
 The count of matches found. More...
 
long hashcmp_count
 The count of hash compares done. More...
 
long entrycmp_count
 The count of entry compares done. More...
 
unsigned char * kbloom
 Bloom filter of hash keys with k=1. More...
 
void ** etable
 Table of pointers to entries. More...
 
unsigned ktable []
 Table of hash keys. More...
 

Detailed Description

The hashtable type.

Definition at line 128 of file hashtable.h.

Field Documentation

◆ size

int hashtable::size

Size of allocated hashtable.

Definition at line 129 of file hashtable.h.

◆ count

int hashtable::count

Number of entries in hashtable.

Definition at line 130 of file hashtable.h.

◆ tmask

unsigned hashtable::tmask

Mask to get the hashtable index.

Definition at line 131 of file hashtable.h.

◆ bshift

unsigned hashtable::bshift

Shift to get the bloomfilter index.

Definition at line 133 of file hashtable.h.

◆ find_count

long hashtable::find_count

The count of finds tried.

Definition at line 137 of file hashtable.h.

◆ match_count

long hashtable::match_count

The count of matches found.

Definition at line 138 of file hashtable.h.

◆ hashcmp_count

long hashtable::hashcmp_count

The count of hash compares done.

Definition at line 139 of file hashtable.h.

◆ entrycmp_count

long hashtable::entrycmp_count

The count of entry compares done.

Definition at line 140 of file hashtable.h.

◆ kbloom

unsigned char* hashtable::kbloom

Bloom filter of hash keys with k=1.

Definition at line 143 of file hashtable.h.

◆ etable

void** hashtable::etable

Table of pointers to entries.

Definition at line 145 of file hashtable.h.

◆ ktable

unsigned hashtable::ktable[]

Table of hash keys.

Definition at line 146 of file hashtable.h.


The documentation for this struct was generated from the following file: