Show More
@@ -206,7 +206,7 b' class lazyparser(object):' | |||||
206 | all = False |
|
206 | all = False | |
207 | if i == None: |
|
207 | if i == None: | |
208 | blockstart = 0 |
|
208 | blockstart = 0 | |
209 |
blocksize = ( |
|
209 | blocksize = (65536 / self.s) * self.s | |
210 | end = self.datasize |
|
210 | end = self.datasize | |
211 | all = True |
|
211 | all = True | |
212 | else: |
|
212 | else: | |
@@ -215,8 +215,8 b' class lazyparser(object):' | |||||
215 | end = end * self.s |
|
215 | end = end * self.s | |
216 | blocksize = end - blockstart |
|
216 | blocksize = end - blockstart | |
217 | else: |
|
217 | else: | |
218 |
blockstart = (i & ~ |
|
218 | blockstart = (i & ~1023) * self.s | |
219 |
blocksize = self.s * |
|
219 | blocksize = self.s * 1024 | |
220 | end = blockstart + blocksize |
|
220 | end = blockstart + blocksize | |
221 | while blockstart < end: |
|
221 | while blockstart < end: | |
222 | self.loadblock(blockstart, blocksize) |
|
222 | self.loadblock(blockstart, blocksize) |
General Comments 0
You need to be logged in to leave comments.
Login now