C# Class hOOt.Hash

Afficher le fichier Open project: TargetProcess/Target-Process-Plugins

Méthodes publiques

Méthode Description
Commit ( ) : void
Contains ( byte key ) : bool
Count ( ) : long
Get ( byte key, int &offset ) : bool
Hash ( string indexfilename, byte maxkeysize, short bucketItems = 200, int bucketcount = 10007 ) : System
SaveIndex ( ) : void
Set ( byte key, int offset ) : void
Shutdown ( ) : void

Private Methods

Méthode Description
ContainsBucket ( byte key ) : bool
CreateBucket ( int bucketNumber ) : Bucket
DirtyBucket ( Bucket b ) : void
FindBucket ( byte key ) : Bucket
FindPointerOrLower ( Bucket b, bytearr key, bool &found ) : int
LoadBucket ( int pagenumber ) : Bucket
SearchBucket ( Bucket b, byte key, int &offset ) : bool
SetBucket ( byte key, int offset, Bucket b ) : Bucket

Method Details

Commit() public méthode

public Commit ( ) : void
Résultat void

Contains() public méthode

public Contains ( byte key ) : bool
key byte
Résultat bool

Count() public méthode

public Count ( ) : long
Résultat long

Get() public méthode

public Get ( byte key, int &offset ) : bool
key byte
offset int
Résultat bool

Hash() public méthode

public Hash ( string indexfilename, byte maxkeysize, short bucketItems = 200, int bucketcount = 10007 ) : System
indexfilename string
maxkeysize byte
bucketItems short
bucketcount int
Résultat System

SaveIndex() public méthode

public SaveIndex ( ) : void
Résultat void

Set() public méthode

public Set ( byte key, int offset ) : void
key byte
offset int
Résultat void

Shutdown() public méthode

public Shutdown ( ) : void
Résultat void