Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Made sure we properly check the size.
- Loading branch information
1 parent
15aba3d
commit ec36352
Showing
3 changed files
with
37 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
|
||
|
||
#ifndef BOWTIE_INDEX_TYPES_H | ||
#define BOWTIE_INDEX_TYPES_H | ||
|
||
#ifdef BOWTIE_64BIT_INDEX | ||
#define OFF_MASK 0xffffffffffffffff | ||
#define OFF_LEN_MASK 0xc000000000000000 | ||
#define LS_SIZE 0x100000000000000 | ||
#define OFF_SIZE 8 | ||
|
||
typedef uint64_t TIndexOffU; | ||
typedef int64_t TIndexOff; | ||
|
||
#else | ||
#define OFF_MASK 0xffffffff | ||
#define OFF_LEN_MASK 0xc0000000 | ||
#define LS_SIZE 0x10000000 | ||
#define OFF_SIZE 4 | ||
|
||
typedef uint32_t TIndexOffU; | ||
typedef int TIndexOff; | ||
|
||
#endif /* BOWTIE_64BIT_INDEX */ | ||
|
||
extern const std::string gEbwt_ext; | ||
|
||
#endif /* BOWTIE_INDEX_TYPES_H */ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters