Home
last modified time | relevance | path

Searched refs:code (Results 1 – 25 of 52) sorted by relevance

123

/rocksdb-6.9/include/rocksdb/
Dstatus.h66 Code code() const { return code_; } in code() function
221 bool ok() const { return code() == kOk; } in ok()
224 bool IsNotFound() const { return code() == kNotFound; } in IsNotFound()
236 bool IsIOError() const { return code() == kIOError; } in IsIOError()
247 bool IsTimedOut() const { return code() == kTimedOut; } in IsTimedOut()
249 bool IsAborted() const { return code() == kAborted; } in IsAborted()
252 return code() == kAborted && subcode() == kLockLimit; in IsLockLimit()
257 bool IsBusy() const { return code() == kBusy; } in IsBusy()
262 bool IsExpired() const { return code() == kExpired; } in IsExpired()
267 bool IsTryAgain() const { return code() == kTryAgain; } in IsTryAgain()
[all …]
Dio_status.h237 return IOStatus(status.code(), status.subcode(), in status_to_io_status()
240 return IOStatus(status.code(), status.subcode()); in status_to_io_status()
/rocksdb-6.9/java/src/main/java/org/rocksdb/
DStatus.java15 private final Code code; field in Status
19 public Status(final Code code, final SubCode subCode, final String state) { in Status() argument
20 this.code = code; in Status()
28 private Status(final byte code, final byte subCode, final String state) { in Status() argument
29 this.code = Code.getCode(code); in Status()
35 return code; in getCode()
48 .append(code.name()); in getCodeString()
82 for (final Code code : Code.values()) { in getCode()
83 if (code.value == value){ in getCode()
84 return code; in getCode()
DAbstractTraceWriter.java54 final Status.Code code = status != null && status.getCode() != null in statusToShort() local
60 return statusToShort(code, subCode); in statusToShort()
63 private static short statusToShort(final Status.Code code, in statusToShort() argument
65 short result = (short)(code.getValue() << 8); in statusToShort()
/rocksdb-6.9/monitoring/
Dthread_status_util.cc81 void ThreadStatusUtil::SetThreadOperationProperty(int code, uint64_t value) { in SetThreadOperationProperty() argument
88 thread_updater_local_cache_->SetThreadOperationProperty(code, value); in SetThreadOperationProperty()
91 void ThreadStatusUtil::IncreaseThreadOperationProperty(int code, in IncreaseThreadOperationProperty() argument
99 thread_updater_local_cache_->IncreaseThreadOperationProperty(code, delta); in IncreaseThreadOperationProperty()
Dthread_status_util.h66 int code, uint64_t value);
69 int code, uint64_t delta);
/rocksdb-6.9/
DCOPYING24 this service if you wish), that you receive source code or can get it
36 source code. And you must show them these terms so they know their
80 source code as you receive it, in any medium, provided that you
145 machine-readable copy of the corresponding source code, to be
150 to distribute corresponding source code. (This alternative is
157 code means all the source code for all modules it contains, plus any
160 special exception, the source code distributed need not include
166 If distribution of executable or object code is made by offering
168 access to copy the source code from the same place counts as
169 distribution of the source code, even though third parties are not
[all …]
DROCKSDB_LITE.md3 …d a compile flag ROCKSDB_LITE that comments out a lot of the nonessential code and keeps the binar…
18 * It would introduce a lot of code complexity. Compile guards make code harder to read. It's a trad…
DLICENSE.leveldb1 This contains code that is from LevelDB, and that code is under the following license:
9 * Redistributions of source code must retain the above copyright
DCONTRIBUTING.md4 The code of conduct is described in [`CODE_OF_CONDUCT.md`](CODE_OF_CONDUCT.md)
14 Complete your CLA here: <https://code.facebook.com/cla>
DCODE_OF_CONDUCT.md41 reject comments, commits, code, wiki edits, issues, and other contributions
71 available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
75 For answers to common questions about this code of conduct, see
DWINDOWS_PORT.md23 * make minimum [WY2]modifications within platform independent code.
27 * we would like to keep the port code inline with the master branch with no forking
66 … This allows anyone to quickly detect any changes within the posix source code and replicate them …
80 …rage cleanup on thread-exit we added a limited amount of windows specific code within the same thr…
/rocksdb-6.9/docs/_posts/
D2015-01-16-migrating-from-leveldb-to-rocksdb-2.markdown14 LevelDB code:
36 RocksDB code:
86 RocksDB code from scratch:
D2015-06-12-rocksdb-in-osquery.markdown10 Check out [this](https://code.facebook.com/posts/1411870269134471/how-rocksdb-is-used-in-osquery/) …
D2014-06-27-avoid-expensive-locks-in-get.markdown37 The code looks something like this:
59 …wever, the real cost difference lies beyond what is shown in the assembly code. Mutex can keep thr…
/rocksdb-6.9/docs/_sass/
D_syntax-highlighting.scss3 .rougeHighlight { background-color: $code-bg; color: #93a1a1 }
100 border-right: 1px solid lighten($code-bg, 10%);
101 color: lighten($code-bg, 15%);
D_tables.scss33 code {
D_reset.scss3 a, abbr, acronym, address, big, cite, code,
/rocksdb-6.9/java/jmh/
DLICENSE-HEADER.txt2 This source code is licensed under both the GPLv2 (found in the
DREADME.md3 …lity, using [JMH (Java Microbenchmark Harness)](https://openjdk.java.net/projects/code-tools/jmh/).
/rocksdb-6.9/db/
Derror_handler.cc175 auto entry = ErrorSeverityMap.find(std::make_tuple(reason, bg_err.code(), in SetBGError()
185 bg_err.code(), paranoid)); in SetBGError()
Derror_handler.h33 Status::Code code,
/rocksdb-6.9/util/
Dthread_operation.h93 int code; member
/rocksdb-6.9/docs/_docs/
Dfaq.md14 RocksDB builds on [LevelDB](https://code.google.com/p/leveldb/) to be scalable to run on servers wi…
44 [MyRocks](https://code.facebook.com/posts/190251048047090/myrocks-a-space-and-write-optimized-mysql…
/rocksdb-6.9/tools/
Ddbench_monitor52 See the code for more info

123