Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.programming.threads > #1366
| From | aminer <aminer@toto.ca> |
|---|---|
| Newsgroups | comp.programming, comp.programming.threads |
| Subject | Re: Parallel archiver using my ParallelZlib is here... |
| Date | 2013-02-16 08:42 -0800 |
| Organization | A noiseless patient Spider |
| Message-ID | <kfo2bd$tdu$1@dont-email.me> (permalink) |
| References | <kfmr7l$tec$1@dont-email.me> |
Cross-posted to 2 groups.
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
Re: Parallel archiver using my ParallelZlib is here... aminer <aminer@toto.ca> - 2013-02-16 08:42 -0800
csiph-web