Bug #127

FileMapping algo error

Added by fba about 1 year ago. Updated 5 months ago.

Status:Closed Start date:16 May 2011
Priority:High Due date:
Assignee:fba % Done:

100%

Category:API
Target version:1.2

Description

Method getChunckByOffset runs an infinite loop when all chuncks are not available. The divide & conquer algo has to be enhanced to manage this case.

Also investigate when there is an overlap between provided chunks

Associated revisions

Revision 38a3094f
Added by Frederic Baguelin 5 months ago

  • BUGFIX this commit fixes #127
    • FileMapping chunk resolution from offset has been fixed
    • Pushing chunks in an unordered way is now fully functionnal
    • requesting chunk from an offset which is not mapped will result in a shadow chunk automatically inserted in the chunk list
    • typo error for chunck has been replaced (chunk)

History

Updated by fba 5 months ago

  • % Done changed from 0 to 80

divide & conquer is now recursive
push method now checks if provided chunk does not overlap with existing ones and if so insert it in a sorted way

Tests are currently written to validate the patch

Updated by Anonymous 5 months ago

  • Status changed from New to Closed
  • % Done changed from 80 to 100

Also available in: Atom PDF