Home
last modified time | relevance | path

Searched refs:reset (Results 1 – 25 of 236) sorted by relevance

12345678910

/rocksdb-6.9/db/
Ddb_bloom_filter_test.cc309 options.prefix_extractor.reset(); in TEST_F()
350 options.prefix_extractor.reset(); in TEST_F()
971 options.prefix_extractor.reset( in TEST_F()
1003 options.prefix_extractor.reset(); in TEST_F()
1050 options_.prefix_extractor.reset( in BloomStatsTestWithParam()
1067 table_options.filter_policy.reset( in BloomStatsTestWithParam()
1400 bbto.block_cache.reset(); in TEST_F()
1417 bbto.block_cache.reset(); in TEST_F()
1431 bbto.block_cache.reset(); in TEST_F()
1446 bbto.block_cache.reset(); in TEST_F()
[all …]
Ddb_block_cache_test.cc195 iterators[i].reset(iter); in TEST_F()
213 iterators[i].reset(); in TEST_F()
222 iterators[i].reset(iter); in TEST_F()
252 iterators[i].reset(iter); in TEST_F()
298 table_options.filter_policy.reset(NewBloomFilterPolicy(20)); in TEST_F()
392 table_options.filter_policy.reset(NewBloomFilterPolicy(20, true)); in TEST_F()
469 table_options.block_cache.reset(new MockCache()); in TEST_F()
470 table_options.filter_policy.reset(NewBloomFilterPolicy(20)); in TEST_F()
527 table_options.filter_policy.reset(NewBloomFilterPolicy(20)); in TEST_F()
619 no_block_cache_opts.table_factory.reset( in TEST_F()
[all …]
Dplain_table_db_test.cc305 table_properties_.reset(props); in TestPlainTableReader()
403 options.prefix_extractor.reset(); in TEST_P()
424 options.prefix_extractor.reset(); in TEST_P()
468 options.prefix_extractor.reset(); in TEST_P()
480 options.table_factory.reset( in TEST_P()
493 options.table_factory.reset( in TEST_P()
834 options.table_factory.reset(new TestPlainTableFactory( in TEST_P()
883 options.prefix_extractor.reset(); in TEST_P()
1315 options.table_factory.reset(NewPlainTableFactory()); in TEST_P()
1329 options.table_factory.reset(NewAdaptiveTableFactory( in TEST_P()
[all …]
Dwrite_controller_test.cc54 stop_token_1.reset(); in TEST_F()
56 stop_token_2.reset(); in TEST_F()
78 delay_token_2.reset(); in TEST_F()
124 delay_token_1.reset(); in TEST_F()
126 delay_token_1.reset(); in TEST_F()
Dprefix_test.cc256 options.memtable_factory.reset( in NextOptions()
260 options.memtable_factory.reset( in NextOptions()
264 options.memtable_factory.reset( in NextOptions()
268 options.memtable_factory.reset( in NextOptions()
386 iter.reset(db->NewIterator(read_options)); in TEST_F()
406 iter.reset(db->NewIterator(read_options)); in TEST_F()
433 iter.reset(db->NewIterator(read_options)); in TEST_F()
453 iter.reset(db->NewIterator(read_options)); in TEST_F()
479 iter.reset(db->NewIterator(read_options)); in TEST_F()
678 options.memtable_factory.reset(new SkipListFactory); in TEST_F()
[all …]
Ddb_test_util.cc353 options.prefix_extractor.reset(NewFixedPrefixTransform(1)); in GetOptions()
359 options.table_factory.reset(new PlainTableFactory()); in GetOptions()
366 options.table_factory.reset(new PlainTableFactory()); in GetOptions()
373 options.table_factory.reset(new PlainTableFactory()); in GetOptions()
380 options.table_factory.reset(new PlainTableFactory()); in GetOptions()
381 options.prefix_extractor.reset(NewNoopTransform()); in GetOptions()
387 options.memtable_factory.reset(new VectorRepFactory(100)); in GetOptions()
393 options.memtable_factory.reset( in GetOptions()
496 options.prefix_extractor.reset(NewNoopTransform()); in GetOptions()
501 options.prefix_extractor.reset(NewNoopTransform()); in GetOptions()
[all …]
Ddb_test2.cc42 options.prefix_extractor.reset(NewCappedPrefixTransform(3)); in TEST_P()
50 bbto.filter_policy.reset(NewBloomFilterPolicy(10, false)); in TEST_P()
345 options.write_buffer_manager.reset(); in TEST_P()
346 last_options_.write_buffer_manager.reset(); in TEST_P()
1056 options.memtable_factory.reset( in TEST_F()
1713 options.memtable_factory.reset( in TEST_F()
1805 data->reset(new char[it->second.size()]); in Lookup()
1962 table_options.persistent_cache.reset( in TEST_F()
1977 no_block_cache_opts.table_factory.reset( in TEST_F()
2229 options.statistics.reset(); in TEST_F()
[all …]
Dcuckoo_table_db_test.cc41 options.table_factory.reset(NewCuckooTableFactory()); in CurrentOptions()
42 options.memtable_factory.reset(NewHashLinkListRepFactory(4, 0, 3, true)); in CurrentOptions()
289 options.prefix_extractor.reset(NewCappedPrefixTransform(8)); in TEST_F()
292 options.table_factory.reset(NewCuckooTableFactory()); in TEST_F()
308 options.table_factory.reset(NewAdaptiveTableFactory( in TEST_F()
317 options.table_factory.reset(NewAdaptiveTableFactory( in TEST_F()
Ddb_range_del_test.cc584 opts.memtable_factory.reset(new SpecialSkipListFactory(1)); in TEST_F()
589 opts.table_factory.reset(NewBlockBasedTableFactory(bbto)); in TEST_F()
653 opts.memtable_factory.reset(new SpecialSkipListFactory(1)); in TEST_F()
718 opts.memtable_factory.reset(new SpecialSkipListFactory(1)); in TEST_F()
812 opts.memtable_factory.reset(new SpecialSkipListFactory(1)); in TEST_F()
928 options.prefix_extractor.reset( in TEST_F()
958 options.memtable_factory.reset( in TEST_F()
1026 options.memtable_factory.reset( in TEST_F()
1170 options.merge_operator.reset(new MockMergeOperator()); in TEST_F()
1257 options.merge_operator.reset(new MockMergeOperator()); in TEST_F()
[all …]
/rocksdb-6.9/memtable/
Dmemtablerep_bench.cc588 options.prefix_extractor.reset( in main()
595 options.prefix_extractor.reset( in main()
631 memtablerep.reset(createMemtableRep()); in main()
632 key_gen.reset(new ROCKSDB_NAMESPACE::KeyGenerator( in main()
637 memtablerep.reset(createMemtableRep()); in main()
638 key_gen.reset(new ROCKSDB_NAMESPACE::KeyGenerator( in main()
643 key_gen.reset(new ROCKSDB_NAMESPACE::KeyGenerator( in main()
648 key_gen.reset(new ROCKSDB_NAMESPACE::KeyGenerator( in main()
653 memtablerep.reset(createMemtableRep()); in main()
654 key_gen.reset(new ROCKSDB_NAMESPACE::KeyGenerator( in main()
[all …]
/rocksdb-6.9/utilities/options/
Doptions_util_test.cc33 env_.reset(new test::StringEnv(Env::Default())); in OptionsUtilTest()
34 fs_.reset(new LegacyFileSystemWrapper(env_.get())); in OptionsUtilTest()
107 default_column_family_opt.table_factory.reset( in TEST_F()
112 cf_opt_sample.table_factory.reset(NewBlockBasedTableFactory(bbt_opts)); in TEST_F()
116 cf_opt_plain_table_opt.table_factory.reset(NewPlainTableFactory()); in TEST_F()
230 cf_descs.back().options.prefix_extractor.reset( in TEST_F()
232 cf_descs.back().options.merge_operator.reset( in TEST_F()
262 cf_descs[0].options.merge_operator.reset(); in TEST_F()
282 cf_descs[1].options.prefix_extractor.reset(); in TEST_F()
302 cf_descs[0].options.prefix_extractor.reset(); in TEST_F()
[all …]
/rocksdb-6.9/table/
Dtable_test.cc441 table_reader_.reset(); in Reset()
442 file_writer_.reset(); in Reset()
443 file_reader_.reset(); in Reset()
736 internal_comparator_.reset( in Init()
754 internal_comparator_.reset( in Init()
2656 iter.reset(); in TEST_P()
2889 iter.reset(); in TEST_P()
2933 iter.reset(); in TEST_P()
3141 iter.reset(); in TEST_P()
3703 iter_guard.reset(iter); in TEST_F()
[all …]
Dscoped_arena_iterator.h16 void reset(InternalIterator* iter) ROCKSDB_NOEXCEPT { in reset() function
37 reset(o.iter_);
45 void set(InternalIterator* iter) { reset(iter); } in set()
55 reset(nullptr); in ~ScopedArenaIterator()
Dtable_reader_bench.cc98 file_writer.reset(new WritableFileWriter( in TableReaderBenchmark()
289 options.prefix_extractor.reset( in main()
303 tf.reset(ROCKSDB_NAMESPACE::NewCuckooTableFactory(table_options)); in main()
318 tf.reset(new ROCKSDB_NAMESPACE::PlainTableFactory(plain_table_options)); in main()
319 options.prefix_extractor.reset( in main()
326 tf.reset(new ROCKSDB_NAMESPACE::BlockBasedTableFactory()); in main()
/rocksdb-6.9/util/
Dslice_transform_test.cc29 transform.reset(NewCappedPrefixTransform(6)); in TEST_F()
35 transform.reset(NewCappedPrefixTransform(8)); in TEST_F()
38 transform.reset(NewCappedPrefixTransform(10)); in TEST_F()
41 transform.reset(NewCappedPrefixTransform(0)); in TEST_F()
44 transform.reset(NewCappedPrefixTransform(0)); in TEST_F()
100 last_options_.prefix_extractor.reset(NewCappedPrefixTransform(8)); in TEST_F()
103 bbto.filter_policy.reset(NewBloomFilterPolicy(10, false)); in TEST_F()
105 last_options_.table_factory.reset(NewBlockBasedTableFactory(bbto)); in TEST_F()
Dstop_watch.h100 uint64_t ElapsedNanos(bool reset = false) {
103 if (reset) {
109 uint64_t ElapsedNanosSafe(bool reset = false) {
110 return (env_ != nullptr) ? ElapsedNanos(reset) : 0U;
/rocksdb-6.9/env/
Dfs_posix.cc147 result->reset(); in NewSequentialFile()
191 result->reset(new PosixSequentialFile( in NewSequentialFile()
201 result->reset(); in NewRandomAccessFile()
236 result->reset( in NewRandomAccessFile()
269 result->reset(); in OpenWritableFile()
347 result->reset( in OpenWritableFile()
374 result->reset(); in ReuseWritableFile()
453 result->reset( in ReuseWritableFile()
520 result->reset( in NewMemoryMappedFileBuffer()
533 result->reset(); in NewDirectory()
[all …]
Denv_basic_test.cc146 writable_file.reset(); in TEST_P()
162 writable_file.reset(); in TEST_P()
166 writable_file.reset(); in TEST_P()
219 writable_file.reset(); in TEST_P()
255 writable_file.reset(); in TEST_P()
272 writable_file.reset(); in TEST_P()
345 writable_file.reset(); in TEST_P()
Denv_hdfs.cc394 result->reset(); in NewSequentialFile()
401 result->reset(dynamic_cast<SequentialFile*>(f)); in NewSequentialFile()
409 result->reset(); in NewRandomAccessFile()
416 result->reset(dynamic_cast<RandomAccessFile*>(f)); in NewRandomAccessFile()
424 result->reset(); in NewWritableFile()
432 result->reset(dynamic_cast<WritableFile*>(f)); in NewWritableFile()
454 result->reset(new HdfsDirectory(0)); in NewDirectory()
605 result->reset(h); in NewLogger()
/rocksdb-6.9/tools/
Dsst_dump_test.cc60 tb.reset(opts.table_factory->NewTableBuilder( in createSST()
154 table_opts.filter_policy.reset( in TEST_F()
156 opts.table_factory.reset(new BlockBasedTableFactory(table_opts)); in TEST_F()
176 table_opts.filter_policy.reset( in TEST_F()
178 opts.table_factory.reset(new BlockBasedTableFactory(table_opts)); in TEST_F()
198 table_opts.filter_policy.reset( in TEST_F()
200 opts.table_factory.reset(new BlockBasedTableFactory(table_opts)); in TEST_F()
220 table_opts.filter_policy.reset( in TEST_F()
222 opts.table_factory.reset(new BlockBasedTableFactory(table_opts)); in TEST_F()
/rocksdb-6.9/utilities/trace/
Dfile_trace_reader_writer.cc30 file_reader_.reset(); in Close()
81 file_writer_.reset(); in Close()
101 file_reader.reset(new RandomAccessFileReader( in NewFileTraceReader()
103 trace_reader->reset(new FileTraceReader(std::move(file_reader))); in NewFileTraceReader()
117 file_writer.reset(new WritableFileWriter( in NewFileTraceWriter()
120 trace_writer->reset(new FileTraceWriter(std::move(file_writer))); in NewFileTraceWriter()
/rocksdb-6.9/utilities/leveldb_options/
Dleveldb_options.cc41 options.info_log.reset(leveldb_options.info_log); in ConvertOptions()
47 table_options.block_cache.reset(leveldb_options.block_cache); in ConvertOptions()
50 table_options.filter_policy.reset(leveldb_options.filter_policy); in ConvertOptions()
51 options.table_factory.reset(NewBlockBasedTableFactory(table_options)); in ConvertOptions()
/rocksdb-6.9/utilities/
Dobject_registry_test.cc34 env_guard->reset(new EnvWrapper(Env::Default())); in __anonb60cb4c90202()
100 guard->reset(new EnvWrapper(Env::Default())); in TEST_F()
106 shared.reset(); in TEST_F()
124 guard->reset(new EnvWrapper(Env::Default())); in TEST_F()
148 guard->reset(new EnvWrapper(Env::Default())); in TEST_F()
154 unique.reset(); in TEST_F()
/rocksdb-6.9/utilities/transactions/
Dwrite_unprepared_txn.cc92 flushed_save_points_.reset(nullptr); in Initialize()
93 unflushed_save_points_.reset(nullptr); in Initialize()
498 flushed_save_points_.reset( in FlushWriteBatchWithSavePointToDB()
601 flushed_save_points_.reset(nullptr); in CommitInternal()
636 flushed_save_points_.reset(nullptr); in CommitInternal()
637 unflushed_save_points_.reset(nullptr); in CommitInternal()
753 flushed_save_points_.reset(nullptr); in RollbackInternal()
786 flushed_save_points_.reset(nullptr); in RollbackInternal()
787 unflushed_save_points_.reset(nullptr); in RollbackInternal()
796 flushed_save_points_.reset(nullptr); in Clear()
[all …]
/rocksdb-6.9/monitoring/
Dstats_history_test.cc40 mock_env.reset(new ROCKSDB_NAMESPACE::MockTimeEnv(env_)); in TEST_F()
79 mock_env.reset(new ROCKSDB_NAMESPACE::MockTimeEnv(env_)); in TEST_F()
115 mock_env.reset(new ROCKSDB_NAMESPACE::MockTimeEnv(env_)); in TEST_F()
148 mock_env.reset(new ROCKSDB_NAMESPACE::MockTimeEnv(env_)); in TEST_F()
204 mock_env.reset(new ROCKSDB_NAMESPACE::MockTimeEnv(env_)); in TEST_F()
318 mock_env.reset(new ROCKSDB_NAMESPACE::MockTimeEnv(env_)); in TEST_F()
399 mock_env.reset(new ROCKSDB_NAMESPACE::MockTimeEnv(env_)); in TEST_F()
478 mock_env.reset(new ROCKSDB_NAMESPACE::MockTimeEnv(env_)); in TEST_F()
508 stats_iter.reset(); in TEST_F()
579 mock_env.reset(new ROCKSDB_NAMESPACE::MockTimeEnv(env_)); in TEST_F()

12345678910