~ubuntu-branches/debian/lenny/fpc/lenny

« back to all changes in this revision

Viewing changes to fpcsrc/tests/webtbs/tw2958.pp

  • Committer: Bazaar Package Importer
  • Author(s): Mazen Neifer, Torsten Werner, Mazen Neifer
  • Date: 2008-05-17 17:12:11 UTC
  • mfrom: (3.1.9 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080517171211-9qi33xhd9evfa0kg
Tags: 2.2.0-dfsg1-9
[ Torsten Werner ]
* Add Mazen Neifer to Uploaders field.

[ Mazen Neifer ]
* Moved FPC sources into a version dependent directory from /usr/share/fpcsrc
  to /usr/share/fpcsrc/${FPCVERSION}. This allow installing more than on FPC
  release.
* Fixed far call issue in compiler preventing building huge binearies.
  (closes: #477743)
* Updated building dependencies, recomennded and suggested packages.
* Moved fppkg to fp-utils as it is just a helper tool and is not required by
  compiler.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
{ Source provided for Free Pascal Bug Report 2958 }
 
2
{ Submitted by "Marco ( Gory Bugs Department)" on  2004-02-08 }
 
3
{ e-mail:  }
 
4
 
 
5
{$mode Delphi}
 
6
Uses Classes;
 
7
 
 
8
type
 
9
 
 
10
  TIdHash = class(TObject);
 
11
 
 
12
  TIdHash32 = class(TIdHash)
 
13
  public
 
14
    function HashValue(const ASrc: string): LongWord; overload;
 
15
    function HashValue(AStream: TStream): LongWord; overload; virtual; abstract;
 
16
  end;
 
17
 
 
18
  TIdHashCRC32 = class( TIdHash32 )
 
19
  public
 
20
    function HashValue( AStream: TStream ) : LongWord; override;
 
21
    function HashValue( AStream: TStream; const ABeginPos: Cardinal{=0}; const AEndPos : Cardinal{=0} ) : LongWord; overload;
 
22
  end;
 
23
 
 
24
 
 
25
function tidhash32.hashvalue(const ASrc:string):longword;
 
26
 
 
27
begin
 
28
end;
 
29
 
 
30
function tidhashCRC32.hashvalue(AStream:TStream):longword;
 
31
 
 
32
begin
 
33
end;
 
34
 
 
35
function tidhashcrc32.hashvalue(AStream:TStream;const ABeginPos: Cardinal{=0}; const AEndPos : Cardinal{=0} ) : LongWord;
 
36
 
 
37
begin
 
38
end;
 
39
 
 
40
begin
 
41
end.