Changeset 11424
- Timestamp:
- 07/15/11 15:43:08 (13 years ago)
- Location:
- trunk/Mars/mbase
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/mbase/MZlib.cc
r9195 r11424 138 138 if (dir==ios::cur) 139 139 { 140 // Position in z-stream141 const z_off_t zpos = gztell(fFile); //gzseek(fFile, 0, SEEK_CUR);142 143 140 // Calculate future position in streambuffer 144 141 const char *ptr = gptr()+offset; 142 143 // Position in z-stream 144 const z_off_t zpos = gztell(fFile)+gptr()-egptr(); //gzseek(fFile, 0, SEEK_CUR); 145 145 146 146 // Check if the new position will still be in the buffer -
trunk/Mars/mbase/MZlib.h
r7786 r11424 18 18 { 19 19 private: 20 static const int fgBufferSize = 47+256; // size of data buff totals 512 bytes under g++ for igzstream at the end.20 static const int fgBufferSize = 3276804; // maximum size of a fact event + 4 21 21 22 22 gzFile fFile; // file handle for compressed file
Note:
See TracChangeset
for help on using the changeset viewer.