Home
last modified time | relevance | path

Searched refs:opt (Results 1 – 5 of 5) sorted by relevance

/leveldb-1.20/db/
H A Dc.cc395 leveldb_options_t* opt, in leveldb_options_set_comparator() argument
397 opt->rep.comparator = cmp; in leveldb_options_set_comparator()
401 leveldb_options_t* opt, in leveldb_options_set_filter_policy() argument
413 opt->rep.error_if_exists = v; in leveldb_options_set_error_if_exists()
418 opt->rep.paranoid_checks = v; in leveldb_options_set_paranoid_checks()
434 opt->rep.max_open_files = n; in leveldb_options_set_max_open_files()
442 opt->rep.block_size = s; in leveldb_options_set_block_size()
527 delete opt; in leveldb_readoptions_destroy()
538 opt->rep.fill_cache = v; in leveldb_readoptions_set_fill_cache()
552 delete opt; in leveldb_writeoptions_destroy()
[all …]
H A Drecovery_test.cc260 Options opt; in TEST() local
261 opt.reuse_logs = true; in TEST()
262 opt.write_buffer_size = (kNum*100) / 2; in TEST()
263 Open(&opt); in TEST()
H A Ddb_impl.cc1476 Status DB::Put(const WriteOptions& opt, const Slice& key, const Slice& value) { in Put() argument
1479 return Write(opt, &batch); in Put()
1482 Status DB::Delete(const WriteOptions& opt, const Slice& key) { in Delete() argument
1485 return Write(opt, &batch); in Delete()
/leveldb-1.20/table/
H A Dtable.cc61 ReadOptions opt; in Open() local
63 opt.verify_checksums = true; in Open()
65 s = ReadBlock(file, opt, footer.index_handle(), &contents); in Open()
98 ReadOptions opt; in ReadMeta() local
100 opt.verify_checksums = true; in ReadMeta()
103 if (!ReadBlock(rep_->file, opt, footer.metaindex_handle(), &contents).ok()) { in ReadMeta()
129 ReadOptions opt; in ReadFilter() local
131 opt.verify_checksums = true; in ReadFilter()
134 if (!ReadBlock(rep_->file, opt, filter_handle, &block).ok()) { in ReadFilter()
H A Dtable_builder.cc47 Rep(const Options& opt, WritableFile* f) in Rep()
48 : options(opt), in Rep()
49 index_block_options(opt), in Rep()
56 filter_block(opt.filter_policy == NULL ? NULL in Rep()
57 : new FilterBlockBuilder(opt.filter_policy)), in Rep()