util/options.cc

filter: Statementstmt 100% 14 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub n/a Podpod n/a totaltotal 100% 14 / 14 CC 0 SCAR 0
CC
0
Cov
0%
CRAP 0
« util/crc32c.h ↑ Summary
1 // Copyright (c) 2011 The LevelDB Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. See the AUTHORS file for names of contributors.
4  
5 #include "leveldb/options.h"
6  
7 #include "leveldb/comparator.h"
8 #include "leveldb/env.h"
9  
10 namespace leveldb {
11  
12 5 Options::Options()
13 5 : comparator(BytewiseComparator()),
14 5 create_if_missing(false),
15 5 error_if_exists(false),
16 5 paranoid_checks(false),
17 5 env(Env::Default()),
18 5 info_log(NULL),
19 5 write_buffer_size(4<<20),
20 5 max_open_files(1000),
21 5 block_cache(NULL),
22 5 block_size(4096),
23 5 block_restart_interval(16),
24 5 compression(kSnappyCompression) {
25 5 }
26  
27  
28 }
« util/crc32c.h ↑ Summary