This website works better with JavaScript.
首頁
探索
帮助
返回水杉在线
登录水杉在线
登录水杉码园
building_data_management_systems.Xuanzhou.2024Fall.DaSE
/
LevelDB-Time-To-Live
關註
23
收藏
0
複製
0
程式碼
問題管理
0
合併請求
0
版本發佈
0
Wiki
Activity
瀏覽代碼
Defend against inclusion of windows.h in tests that invoke
Env::DeleteFile. PiperOrigin-RevId: 283607548
naive_version
leveldb Team
5 年之前
committed by
Victor Costan
父節點
58a89bbcb2
當前提交
d152b23f3b
共有
6 個文件被更改
,包括
30 次插入
和
0 次删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+5
-0
benchmarks/db_bench.cc
+5
-0
db/db_test.cc
+5
-0
db/fault_injection_test.cc
+5
-0
db/recovery_test.cc
+5
-0
helpers/memenv/memenv_test.cc
+5
-0
util/env_test.cc
+ 5
- 0
benchmarks/db_bench.cc
查看文件
@ -18,6 +18,11 @@
#
include
"util/random.h"
#
include
"util/testutil.h"
#
if defined(_WIN32) && defined(DeleteFile)
// See rationale in env.h
#
undef DeleteFile
#
endif
// Comma-separated list of operations to run in the specified order
// Actual benchmarks:
// fillseq -- write N values in sequential key order in async mode
+ 5
- 0
db/db_test.cc
查看文件
@ -23,6 +23,11 @@
#
include
"util/mutexlock.h"
#
include
"util/testutil.h"
#
if defined(_WIN32) && defined(DeleteFile)
// See rationale in env.h
#
undef DeleteFile
#
endif
namespace
leveldb
{
static
std
:
:
string
RandomString
(
Random
*
rnd
,
int
len
)
{
+ 5
- 0
db/fault_injection_test.cc
查看文件
@ -25,6 +25,11 @@
#
include
"util/mutexlock.h"
#
include
"util/testutil.h"
#
if defined(_WIN32) && defined(DeleteFile)
// See rationale in env.h
#
undef DeleteFile
#
endif
namespace
leveldb
{
static
const
int
kValueSize
=
1000
;
+ 5
- 0
db/recovery_test.cc
查看文件
@ -13,6 +13,11 @@
#
include
"util/logging.h"
#
include
"util/testutil.h"
#
if defined(_WIN32) && defined(DeleteFile)
// See rationale in env.h
#
undef DeleteFile
#
endif
namespace
leveldb
{
class
RecoveryTest
:
public
testing
:
:
Test
{
+ 5
- 0
helpers/memenv/memenv_test.cc
查看文件
@ -13,6 +13,11 @@
#
include
"leveldb/env.h"
#
include
"util/testutil.h"
#
if defined(_WIN32) && defined(DeleteFile)
// See rationale in env.h
#
undef DeleteFile
#
endif
namespace
leveldb
{
class
MemEnvTest
:
public
testing
:
:
Test
{
+ 5
- 0
util/env_test.cc
查看文件
@ -12,6 +12,11 @@
#
include
"util/mutexlock.h"
#
include
"util/testutil.h"
#
if defined(_WIN32) && defined(DeleteFile)
// See rationale in env.h
#
undef DeleteFile
#
endif
namespace
leveldb
{
static
const
int
kDelayMicros
=
100000
;
Write
Preview
Loading…
取消
儲存