Git 2.47-rc0
[git/gitster.git] / reftable / constants.h
blobf6beb843ebf2defb320d42a7aae834b423ece008
1 /*
2 Copyright 2020 Google LLC
4 Use of this source code is governed by a BSD-style
5 license that can be found in the LICENSE file or at
6 https://developers.google.com/open-source/licenses/bsd
7 */
9 #ifndef CONSTANTS_H
10 #define CONSTANTS_H
12 #define BLOCK_TYPE_LOG 'g'
13 #define BLOCK_TYPE_INDEX 'i'
14 #define BLOCK_TYPE_REF 'r'
15 #define BLOCK_TYPE_OBJ 'o'
16 #define BLOCK_TYPE_ANY 0
18 #define MAX_RESTARTS ((1 << 16) - 1)
19 #define DEFAULT_BLOCK_SIZE 4096
20 #define DEFAULT_GEOMETRIC_FACTOR 2
22 #endif