Mercurial > vba-linux
view src/win32/7zip/7z/C/BwtSort.h @ 2:3549bbe597ed
adding makefile.am
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sat, 03 Mar 2012 10:31:47 -0600 |
parents | f9f4f1b99eed |
children |
line wrap: on
line source
1 /* BwtSort.h -- BWT block sorting2 2008-03-263 Igor Pavlov4 Public domain */6 #ifndef __BWTSORT_H7 #define __BWTSORT_H9 #include "Types.h"11 /* use BLOCK_SORT_EXTERNAL_FLAGS if blockSize can be > 1M */12 /* #define BLOCK_SORT_EXTERNAL_FLAGS */14 #ifdef BLOCK_SORT_EXTERNAL_FLAGS15 #define BLOCK_SORT_EXTERNAL_SIZE(blockSize) ((((blockSize) + 31) >> 5))16 #else17 #define BLOCK_SORT_EXTERNAL_SIZE(blockSize) 018 #endif20 #define BLOCK_SORT_BUF_SIZE(blockSize) ((blockSize) * 2 + BLOCK_SORT_EXTERNAL_SIZE(blockSize) + (1 << 16))22 UInt32 BlockSort(UInt32 *indices, const Byte *data, UInt32 blockSize);24 #endif