Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.programming > #3032 > unrolled thread

Re: Parallel archiver using my ParallelZlib is here...

Started byaminer <aminer@toto.ca>
First post2013-02-16 08:42 -0800
Last post2013-02-16 08:42 -0800
Articles 1 — 1 participant

Back to article view | Back to comp.programming

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Parallel archiver using my ParallelZlib is here... aminer <aminer@toto.ca> - 2013-02-16 08:42 -0800

#3032 — Re: Parallel archiver using my ParallelZlib is here...

Fromaminer <aminer@toto.ca>
Date2013-02-16 08:42 -0800
SubjectRe: Parallel archiver using my ParallelZlib is here...
Message-ID<kfo2bd$tdu$1@dont-email.me>
Hello

And here are all the methods that you can use:


PUBLIC METHODS:

  Constructor 
Create(file1:string,size,mrews:integer;casesensitive:boolean;nbrprocs);
    - Creates a new PZArchiver ready to use, size is the hashtable size 
for the index(Key file names and the correponding file position and with 
mrews The number of MREWs and casesensitive
      for case sensitive keys,the number of 
MREWS(multiple-readers-exclusive-writer) must be less or
      equal to the Hashtable size and file1 is the file archive,
nbrprocs is the number of cores you have specify to run parallelzlib in 
parallel.

Destructor Destroy;
    - Destroys the PZArchiver object and cleans up.

     procedure AddFiles;
    - Add the TStringList content to the archive.

     procedure DeleteFiles;
    - Delete the TStringList content to the archive.

   procedure ExtractFiles;
    - Extract the TStringList content from the archive.

procedure Test;
    - Test the files inside the archive.

   procedure GetInfo;
    - Get the file info that is returned in a TPZArchiver record.

  procedure ClearFile;
    - Deletes all contents of the archive.

    function Clean:boolean
    - Clean the marked deleted items from the file.

   function DeletedItems:integer
    - Return the number of items marked deleted.

   function LoadIndex:boolean
    - Load the the the key indexed and there correpondant values from 
the file passed to the constructor.

    function Delete(Name : String):boolean;
    - Deletes the variable with Name.

   function Exists(Name : String) : Boolean;
    - Returns True if a variable with Name exists

    procedure GetKeys(Strings : Tstrings);
    - Fills up a TStrings descendant with all the file names.

    function Count : Integer;
    - Returns the number of files.




Thank you,
Amine Moulay Ramdane.


[toc] | [standalone]


Back to top | Article view | comp.programming


csiph-web