repo stringlengths 1 191 ⌀ | file stringlengths 23 351 | code stringlengths 0 5.32M | file_length int64 0 5.32M | avg_line_length float64 0 2.9k | max_line_length int64 0 288k | extension_type stringclasses 1
value |
|---|---|---|---|---|---|---|
rocksdb | rocksdb-master/java/src/main/java/org/rocksdb/StatisticsCollectorCallback.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
/**
* Callback interface provided t... | 1,124 | 33.090909 | 77 | java |
rocksdb | rocksdb-master/java/src/main/java/org/rocksdb/StatsCollectorInput.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
/**
* Contains all information nece... | 1,046 | 28.083333 | 77 | java |
rocksdb | rocksdb-master/java/src/main/java/org/rocksdb/StatsLevel.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
/**
* The level of Statistics to re... | 1,813 | 26.484848 | 77 | java |
rocksdb | rocksdb-master/java/src/main/java/org/rocksdb/Status.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
import java.util.Objects;
/**
* Re... | 4,089 | 25.217949 | 111 | java |
rocksdb | rocksdb-master/java/src/main/java/org/rocksdb/StringAppendOperator.java | // Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
// Copyright (c) 2014, Vlad Balan (vlad.gm@gmail.com). All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file i... | 838 | 32.56 | 79 | java |
rocksdb | rocksdb-master/java/src/main/java/org/rocksdb/TableFileCreationBriefInfo.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
import java.util.Objects;
public cl... | 3,147 | 28.148148 | 94 | java |
rocksdb | rocksdb-master/java/src/main/java/org/rocksdb/TableFileCreationInfo.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
import java.util.Objects;
public cl... | 2,605 | 28.954023 | 96 | java |
rocksdb | rocksdb-master/java/src/main/java/org/rocksdb/TableFileCreationReason.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
public enum TableFileCreationReason ... | 1,258 | 25.787234 | 100 | java |
rocksdb | rocksdb-master/java/src/main/java/org/rocksdb/TableFileDeletionInfo.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
import java.util.Objects;
public cl... | 2,136 | 23.563218 | 92 | java |
rocksdb | rocksdb-master/java/src/main/java/org/rocksdb/TableFilter.java | // Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
package org.rocksdb;
/**
* Filter for iterating a table.
*/
public interface TableFilter {
/**
* A callback to determine whether relevant keys for this scan exist in a
* given table based on the table's properties. The callback is pass... | 710 | 31.318182 | 78 | java |
rocksdb | rocksdb-master/java/src/main/java/org/rocksdb/TableFormatConfig.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
/**
* TableFormatConfig is used to c... | 958 | 40.695652 | 78 | java |
rocksdb | rocksdb-master/java/src/main/java/org/rocksdb/TableProperties.java | // Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
package org.rocksdb;
import java.util.Arrays;
import java.util.Map;
import java.util.Objects;
/**
* TableProperties contains read-only properties of its associated
* table.
*/
public class TableProperties {
private final long dataSize;
pr... | 13,482 | 29.924312 | 100 | java |
rocksdb | rocksdb-master/java/src/main/java/org/rocksdb/ThreadStatus.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
import java.util.Map;
public class ... | 6,558 | 28.151111 | 79 | java |
rocksdb | rocksdb-master/java/src/main/java/org/rocksdb/ThreadType.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
/**
* The type of a thread.
*/
pub... | 1,498 | 21.712121 | 81 | java |
rocksdb | rocksdb-master/java/src/main/java/org/rocksdb/TickerType.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
/**
* The logical mapping of ticker... | 19,315 | 23.419722 | 100 | java |
rocksdb | rocksdb-master/java/src/main/java/org/rocksdb/TimedEnv.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
/**
* Timed environment.
*/
public... | 948 | 29.612903 | 78 | java |
rocksdb | rocksdb-master/java/src/main/java/org/rocksdb/TraceOptions.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
/**
* TraceOptions is used for
* {... | 912 | 26.666667 | 69 | java |
rocksdb | rocksdb-master/java/src/main/java/org/rocksdb/TraceWriter.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
/**
* TraceWriter allows exporting ... | 898 | 23.297297 | 75 | java |
rocksdb | rocksdb-master/java/src/main/java/org/rocksdb/Transaction.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
import java.util.List;
/**
* Provi... | 83,156 | 40.187221 | 100 | java |
rocksdb | rocksdb-master/java/src/main/java/org/rocksdb/TransactionDB.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
import java.util.ArrayList;
import j... | 13,073 | 31.281481 | 81 | java |
rocksdb | rocksdb-master/java/src/main/java/org/rocksdb/TransactionDBOptions.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
public class TransactionDBOptions ex... | 7,806 | 34.811927 | 80 | java |
rocksdb | rocksdb-master/java/src/main/java/org/rocksdb/TransactionLogIterator.java | // Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
package org.rocksdb;
/**
* <p>A TransactionLogIterator is used to iterate over the transactions in a db.
* One run of the iterator is continuous, i.e. the iterator will stop at the
* beginning of any gap in sequences.</p>
*/
public class Tran... | 3,160 | 26.973451 | 80 | java |
rocksdb | rocksdb-master/java/src/main/java/org/rocksdb/TransactionOptions.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
public class TransactionOptions exte... | 6,307 | 32.2 | 80 | java |
rocksdb | rocksdb-master/java/src/main/java/org/rocksdb/TransactionalDB.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
interface TransactionalDB<T extends... | 2,485 | 35.028986 | 80 | java |
rocksdb | rocksdb-master/java/src/main/java/org/rocksdb/TransactionalOptions.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
interface TransactionalOptions<T ex... | 874 | 26.34375 | 67 | java |
rocksdb | rocksdb-master/java/src/main/java/org/rocksdb/TtlDB.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
import java.util.List;
/**
* Datab... | 8,807 | 34.804878 | 80 | java |
rocksdb | rocksdb-master/java/src/main/java/org/rocksdb/TxnDBWritePolicy.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
/**
* The transaction db write polic... | 1,583 | 24.142857 | 81 | java |
rocksdb | rocksdb-master/java/src/main/java/org/rocksdb/UInt64AddOperator.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
/**
* Uint64AddOperator is a merge ope... | 652 | 31.65 | 77 | java |
rocksdb | rocksdb-master/java/src/main/java/org/rocksdb/VectorMemTableConfig.java | // Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
package org.rocksdb;
/**
* The config for vector memtable representation.
*/
public class VectorMemTableConfig extends MemTableConfig {
public static final int DEFAULT_RESERVED_SIZE = 0;
/**
* VectorMemTableConfig constructor
*/
pu... | 1,207 | 24.702128 | 72 | java |
rocksdb | rocksdb-master/java/src/main/java/org/rocksdb/WALRecoveryMode.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
/**
* The WAL Recover Mode
*/
publ... | 2,342 | 26.892857 | 80 | java |
rocksdb | rocksdb-master/java/src/main/java/org/rocksdb/WBWIRocksIterator.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
import java.nio.ByteBuffer;
public ... | 5,679 | 27.542714 | 97 | java |
rocksdb | rocksdb-master/java/src/main/java/org/rocksdb/WalFileType.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
public enum WalFileType {
/**
*... | 1,527 | 26.285714 | 79 | java |
rocksdb | rocksdb-master/java/src/main/java/org/rocksdb/WalFilter.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
import java.util.Map;
/**
* WALFil... | 3,417 | 37.840909 | 81 | java |
rocksdb | rocksdb-master/java/src/main/java/org/rocksdb/WalProcessingOption.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
public enum WalProcessingOption {
... | 1,343 | 23.436364 | 88 | java |
rocksdb | rocksdb-master/java/src/main/java/org/rocksdb/WriteBatch.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
import java.nio.ByteBuffer;
/**
* ... | 12,953 | 31.794937 | 96 | java |
rocksdb | rocksdb-master/java/src/main/java/org/rocksdb/WriteBatchInterface.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
import java.nio.ByteBuffer;
/**
* ... | 12,304 | 39.212418 | 96 | java |
rocksdb | rocksdb-master/java/src/main/java/org/rocksdb/WriteBatchWithIndex.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
import java.nio.ByteBuffer;
/**
* ... | 16,207 | 43.773481 | 98 | java |
rocksdb | rocksdb-master/java/src/main/java/org/rocksdb/WriteBufferManager.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
/**
* Java wrapper over native writ... | 1,222 | 34.970588 | 103 | java |
rocksdb | rocksdb-master/java/src/main/java/org/rocksdb/WriteOptions.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
/**
* Options that control write op... | 7,727 | 34.127273 | 95 | java |
rocksdb | rocksdb-master/java/src/main/java/org/rocksdb/WriteStallCondition.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
public enum WriteStallCondition {
... | 1,168 | 24.977778 | 99 | java |
rocksdb | rocksdb-master/java/src/main/java/org/rocksdb/WriteStallInfo.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
import java.util.Objects;
public cl... | 2,237 | 28.447368 | 100 | java |
rocksdb | rocksdb-master/java/src/main/java/org/rocksdb/util/ByteUtil.java | package org.rocksdb.util;
import java.nio.ByteBuffer;
import static java.nio.charset.StandardCharsets.UTF_8;
public class ByteUtil {
/**
* Convert a String to a UTF-8 byte array.
*
* @param str the string
*
* @return the byte array.
*/
public static byte[] bytes(final String str) {
return ... | 1,333 | 27.382979 | 104 | java |
rocksdb | rocksdb-master/java/src/main/java/org/rocksdb/util/BytewiseComparator.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb.util;
import org.rocksdb.*;
import j... | 3,693 | 29.278689 | 78 | java |
rocksdb | rocksdb-master/java/src/main/java/org/rocksdb/util/Environment.java | // Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
package org.rocksdb.util;
import java.io.File;
import java.io.IOException;
public class Environment {
private static String OS = System.getProperty("os.name").toLowerCase();
private static String ARCH = System.getProperty("os.arch").toLowerC... | 4,287 | 27.026144 | 144 | java |
rocksdb | rocksdb-master/java/src/main/java/org/rocksdb/util/IntComparator.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb.util;
import org.rocksdb.AbstractComp... | 1,915 | 27.176471 | 76 | java |
rocksdb | rocksdb-master/java/src/main/java/org/rocksdb/util/ReverseBytewiseComparator.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb.util;
import org.rocksdb.AbstractComp... | 2,708 | 29.438202 | 86 | java |
rocksdb | rocksdb-master/java/src/main/java/org/rocksdb/util/SizeUnit.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb.util;
public class SizeUnit {
publi... | 543 | 31 | 67 | java |
rocksdb | rocksdb-master/java/src/test/java/org/rocksdb/AbstractTransactionTest.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
import org.junit.Rule;
import org.ju... | 30,742 | 33.045404 | 97 | java |
rocksdb | rocksdb-master/java/src/test/java/org/rocksdb/BackupEngineTest.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
import org.junit.ClassRule;
import o... | 9,658 | 35.866412 | 86 | java |
rocksdb | rocksdb-master/java/src/test/java/org/rocksdb/BackupableDBOptionsTest.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
import static org.assertj.core.api.A... | 10,443 | 28.670455 | 80 | java |
rocksdb | rocksdb-master/java/src/test/java/org/rocksdb/BlockBasedTableConfigTest.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
import static org.assertj.core.api.A... | 15,609 | 36.524038 | 117 | java |
rocksdb | rocksdb-master/java/src/test/java/org/rocksdb/BuiltinComparatorTest.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
import org.junit.ClassRule;
import o... | 5,435 | 36.232877 | 80 | java |
rocksdb | rocksdb-master/java/src/test/java/org/rocksdb/CheckPointTest.java | // Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
package org.rocksdb;
import org.junit.ClassRule;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.TemporaryFolder;
import static org.assertj.core.api.Assertions.assertThat;
public class CheckPointTest {
@ClassRule
publ... | 2,635 | 30.380952 | 80 | java |
rocksdb | rocksdb-master/java/src/test/java/org/rocksdb/ClockCacheTest.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
import org.junit.Test;
public class... | 663 | 23.592593 | 67 | java |
rocksdb | rocksdb-master/java/src/test/java/org/rocksdb/ColumnFamilyOptionsTest.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
import static org.assertj.core.api.A... | 24,170 | 34.081277 | 108 | java |
rocksdb | rocksdb-master/java/src/test/java/org/rocksdb/ColumnFamilyTest.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
import static java.nio.charset.Stand... | 27,553 | 44.170492 | 100 | java |
rocksdb | rocksdb-master/java/src/test/java/org/rocksdb/CompactRangeOptionsTest.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
import org.junit.Test;
import org.ro... | 3,102 | 30.343434 | 70 | java |
rocksdb | rocksdb-master/java/src/test/java/org/rocksdb/CompactionFilterFactoryTest.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
import org.junit.Rule;
import org.ju... | 2,192 | 34.370968 | 97 | java |
rocksdb | rocksdb-master/java/src/test/java/org/rocksdb/CompactionJobInfoTest.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
import org.junit.ClassRule;
import o... | 3,072 | 25.721739 | 80 | java |
rocksdb | rocksdb-master/java/src/test/java/org/rocksdb/CompactionJobStatsTest.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
import org.junit.ClassRule;
import o... | 5,923 | 29.071066 | 87 | java |
rocksdb | rocksdb-master/java/src/test/java/org/rocksdb/CompactionOptionsFIFOTest.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
import org.junit.Test;
import stati... | 1,004 | 26.916667 | 73 | java |
rocksdb | rocksdb-master/java/src/test/java/org/rocksdb/CompactionOptionsTest.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
import org.junit.ClassRule;
import o... | 1,733 | 31.716981 | 80 | java |
rocksdb | rocksdb-master/java/src/test/java/org/rocksdb/CompactionOptionsUniversalTest.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
import org.junit.Test;
import stati... | 2,583 | 30.901235 | 93 | java |
rocksdb | rocksdb-master/java/src/test/java/org/rocksdb/CompactionPriorityTest.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
import org.junit.Test;
import stati... | 978 | 29.59375 | 69 | java |
rocksdb | rocksdb-master/java/src/test/java/org/rocksdb/CompactionStopStyleTest.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
import org.junit.Test;
import stati... | 1,018 | 30.84375 | 78 | java |
rocksdb | rocksdb-master/java/src/test/java/org/rocksdb/ComparatorOptionsTest.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
import org.junit.ClassRule;
import o... | 1,899 | 31.20339 | 82 | java |
rocksdb | rocksdb-master/java/src/test/java/org/rocksdb/CompressionOptionsTest.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
import org.junit.Test;
import stati... | 1,891 | 25.277778 | 71 | java |
rocksdb | rocksdb-master/java/src/test/java/org/rocksdb/CompressionTypesTest.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
import org.junit.Test;
public clas... | 630 | 29.047619 | 76 | java |
rocksdb | rocksdb-master/java/src/test/java/org/rocksdb/ConcurrentTaskLimiterTest.java | package org.rocksdb;
import static org.junit.Assert.assertEquals;
import org.junit.After;
import org.junit.Before;
import org.junit.ClassRule;
import org.junit.Test;
public class ConcurrentTaskLimiterTest {
@ClassRule
public static final RocksNativeLibraryResource ROCKS_NATIVE_LIBRARY_RESOURCE =
new RocksN... | 1,247 | 23.470588 | 89 | java |
rocksdb | rocksdb-master/java/src/test/java/org/rocksdb/DBOptionsTest.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
import static org.assertj.core.api.A... | 29,019 | 30.004274 | 98 | java |
rocksdb | rocksdb-master/java/src/test/java/org/rocksdb/DefaultEnvTest.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
import org.junit.ClassRule;
import o... | 3,758 | 31.973684 | 94 | java |
rocksdb | rocksdb-master/java/src/test/java/org/rocksdb/DirectSliceTest.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
import org.junit.ClassRule;
import or... | 3,081 | 31.787234 | 80 | java |
rocksdb | rocksdb-master/java/src/test/java/org/rocksdb/EnvOptionsTest.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
import org.junit.ClassRule;
import o... | 4,704 | 31.226027 | 114 | java |
rocksdb | rocksdb-master/java/src/test/java/org/rocksdb/EventListenerTest.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
import static org.assertj.core.api.A... | 31,889 | 40.631854 | 100 | java |
rocksdb | rocksdb-master/java/src/test/java/org/rocksdb/FilterTest.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
import org.junit.ClassRule;
import o... | 1,206 | 29.175 | 80 | java |
rocksdb | rocksdb-master/java/src/test/java/org/rocksdb/FlushOptionsTest.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
import org.junit.Test;
import stati... | 954 | 28.84375 | 67 | java |
rocksdb | rocksdb-master/java/src/test/java/org/rocksdb/FlushTest.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
import org.junit.ClassRule;
import or... | 1,757 | 34.16 | 80 | java |
rocksdb | rocksdb-master/java/src/test/java/org/rocksdb/HdfsEnvTest.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
import org.junit.ClassRule;
import o... | 1,480 | 31.195652 | 84 | java |
rocksdb | rocksdb-master/java/src/test/java/org/rocksdb/InfoLogLevelTest.java | // Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
package org.rocksdb;
import org.junit.ClassRule;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.TemporaryFolder;
import org.rocksdb.util.Environment;
import java.io.IOException;
import static java.nio.file.Files.readAllByt... | 3,596 | 31.7 | 80 | java |
rocksdb | rocksdb-master/java/src/test/java/org/rocksdb/IngestExternalFileOptionsTest.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
import org.junit.ClassRule;
import o... | 3,638 | 32.694444 | 79 | java |
rocksdb | rocksdb-master/java/src/test/java/org/rocksdb/KeyMayExistTest.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
import org.junit.ClassRule;
import or... | 7,583 | 38.295337 | 85 | java |
rocksdb | rocksdb-master/java/src/test/java/org/rocksdb/LRUCacheTest.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
import static org.assertj.core.api.A... | 1,033 | 31.3125 | 80 | java |
rocksdb | rocksdb-master/java/src/test/java/org/rocksdb/LoggerTest.java | // Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
package org.rocksdb;
import org.junit.ClassRule;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.TemporaryFolder;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.concurrent.atomic... | 8,204 | 33.1875 | 80 | java |
rocksdb | rocksdb-master/java/src/test/java/org/rocksdb/MemTableTest.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
import org.junit.ClassRule;
import o... | 4,039 | 35.071429 | 80 | java |
rocksdb | rocksdb-master/java/src/test/java/org/rocksdb/MemoryUtilTest.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
import org.junit.ClassRule;
import o... | 6,184 | 41.951389 | 127 | java |
rocksdb | rocksdb-master/java/src/test/java/org/rocksdb/MergeTest.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
import static org.assertj.core.api.A... | 16,113 | 35.622727 | 95 | java |
rocksdb | rocksdb-master/java/src/test/java/org/rocksdb/MixedOptionsTest.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
import org.junit.ClassRule;
import o... | 2,047 | 35.571429 | 80 | java |
rocksdb | rocksdb-master/java/src/test/java/org/rocksdb/MutableColumnFamilyOptionsTest.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
import org.junit.Test;
import org.roc... | 3,093 | 33.764045 | 80 | java |
rocksdb | rocksdb-master/java/src/test/java/org/rocksdb/MutableDBOptionsTest.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
import org.junit.Test;
import org.roc... | 2,738 | 30.848837 | 73 | java |
rocksdb | rocksdb-master/java/src/test/java/org/rocksdb/NativeComparatorWrapperTest.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
import org.junit.Rule;
import org.ju... | 2,878 | 28.989583 | 94 | java |
rocksdb | rocksdb-master/java/src/test/java/org/rocksdb/NativeLibraryLoaderTest.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
import org.junit.Rule;
import org.jun... | 1,426 | 32.97619 | 76 | java |
rocksdb | rocksdb-master/java/src/test/java/org/rocksdb/OptimisticTransactionDBTest.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
import org.junit.Rule;
import org.ju... | 4,807 | 35.424242 | 87 | java |
rocksdb | rocksdb-master/java/src/test/java/org/rocksdb/OptimisticTransactionOptionsTest.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
import org.junit.Test;
import org.ro... | 1,229 | 30.538462 | 87 | java |
rocksdb | rocksdb-master/java/src/test/java/org/rocksdb/OptimisticTransactionTest.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
import org.junit.Test;
import java.... | 12,169 | 33.672365 | 85 | java |
rocksdb | rocksdb-master/java/src/test/java/org/rocksdb/OptionsTest.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
import static org.assertj.core.api.A... | 46,021 | 30.222524 | 108 | java |
rocksdb | rocksdb-master/java/src/test/java/org/rocksdb/OptionsUtilTest.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
import org.junit.ClassRule;
import o... | 5,630 | 43.338583 | 114 | java |
rocksdb | rocksdb-master/java/src/test/java/org/rocksdb/PlainTableConfigTest.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
import org.junit.ClassRule;
import o... | 2,681 | 28.8 | 80 | java |
rocksdb | rocksdb-master/java/src/test/java/org/rocksdb/PlatformRandomHelper.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
import java.util.Random;
/**
* Hel... | 1,685 | 27.576271 | 70 | java |
rocksdb | rocksdb-master/java/src/test/java/org/rocksdb/RateLimiterTest.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
import org.junit.ClassRule;
import or... | 2,168 | 31.863636 | 80 | java |
rocksdb | rocksdb-master/java/src/test/java/org/rocksdb/ReadOnlyTest.java | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
import org.junit.ClassRule;
import or... | 9,512 | 39.480851 | 98 | java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.