File: Const.hpp

package info (click to toggle)
rapmap 0.4.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,428 kB
  • ctags: 3,173
  • sloc: cpp: 16,065; ansic: 3,471; sh: 153; python: 82; makefile: 8
file content (36 lines) | stat: -rw-r--r-- 1,175 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/* 
 *  Copyright (c) 2012 Daisuke Okanohara
 * 
 *   Redistribution and use in source and binary forms, with or without
 *   modification, are permitted provided that the following conditions
 *   are met:
 * 
 *   1. Redistributions of source code must retain the above Copyright
 *      notice, this list of conditions and the following disclaimer.
 *
 *   2. Redistributions in binary form must reproduce the above Copyright
 *      notice, this list of conditions and the following disclaimer in the
 *      documentation and/or other materials provided with the distribution.
 *
 *   3. Neither the name of the authors nor the names of its contributors
 *      may be used to endorse or promote products derived from this
 *      software without specific prior written permission.
 */

#ifndef RSDIC_CONST_HPP_
#define RSDIC_CONST_HPP_

#include <stdint.h>

namespace rsdic{

static const uint64_t kLargeBlockSize = 1024;
static const uint64_t kSmallBlockSize = 64;
static const uint64_t kSelectBlockSize = 2048;
static const uint64_t kUseRawLen = 48;
static const uint64_t kSmallBlockPerLargeBlock = kLargeBlockSize / kSmallBlockSize;


}

#endif // RSDIC_CONST_HPP_