Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

X64-Question in TGpHugeFile: BufOffs maybe too short #5

Open
GoogleCodeExporter opened this issue Apr 16, 2015 · 0 comments
Open

X64-Question in TGpHugeFile: BufOffs maybe too short #5

GoogleCodeExporter opened this issue Apr 16, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

In Unit GpHugeF.pas

the class (and some functions) use a Buffer-Offset. But this offset is defined 
as DWORD. 
Is there any possibility in X64 and very large files (I have >3GB-Files), that 
the BufOffset is too small?

  TGpHugeFile = class
  private
    hfAsynchronous     : boolean;
    hfBlockSize        : DWORD;
    (...)
    hfBufFilePos       : HugeInt; //cached FilePos (according the current hfBufOffs)
    hfBufOffs          : DWORD;   //current position inside the buffer


Suggestion:
   hfBufOffs          : HugeInt;


Original issue reported on code.google.com by [email protected] on 25 Mar 2015 at 8:58

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant