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


Groups > comp.programming.threads > #1366

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

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!eternal-september.org!feeder.eternal-september.org!mx05.eternal-september.org!.POSTED!not-for-mail
From aminer <aminer@toto.ca>
Newsgroups comp.programming, comp.programming.threads
Subject Re: Parallel archiver using my ParallelZlib is here...
Date Sat, 16 Feb 2013 08:42:51 -0800
Organization A noiseless patient Spider
Lines 70
Message-ID <kfo2bd$tdu$1@dont-email.me> (permalink)
References <kfmr7l$tec$1@dont-email.me>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
Injection-Date Sat, 16 Feb 2013 13:42:05 +0000 (UTC)
Injection-Info mx05.eternal-september.org; posting-host="8427fd05edc201bb6b1d125b80ca38e6"; logging-data="30142"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18r3z1gnCytqRxcZqtDoDt0pHYaA4PC/pM="
User-Agent Mozilla/5.0 (Windows NT 6.0; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2
In-Reply-To <kfmr7l$tec$1@dont-email.me>
Cancel-Lock sha1:VR8HkkJ+V0UPHnHSAqbGvcmouyw=
Xref csiph.com comp.programming:3032 comp.programming.threads:1366

Cross-posted to 2 groups.

Show key headers only | View raw


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.


Back to comp.programming.threads | Previous | Next | Find similar


Thread

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

csiph-web