repo stringlengths 1 152 ⌀ | file stringlengths 14 221 | code stringlengths 501 25k | file_length int64 501 25k | avg_line_length float64 20 99.5 | max_line_length int64 21 134 | extension_type stringclasses 2
values |
|---|---|---|---|---|---|---|
null | endure-main/extern/rocksdb/util/kv_map.h | // 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).
#pragma once
#include <map>
#include <string>
#include "... | 922 | 26.147059 | 71 | h |
null | endure-main/extern/rocksdb/file/writable_file_writer.h | // 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).
//
// Copyright (c) 2011 The LevelDB Authors. All rights r... | 9,596 | 34.544444 | 79 | h |
null | endure-main/extern/rocksdb/file/line_file_reader.h | // Copyright (c) Facebook, Inc. and its affiliates. 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).
#pragma once
#include <array>
#include "file/sequen... | 2,306 | 37.45 | 78 | h |
null | endure-main/extern/rocksdb/file/random_access_file_reader.h | // 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).
//
// Copyright (c) 2011 The LevelDB Authors. All rights r... | 5,595 | 36.810811 | 80 | h |
null | endure-main/extern/rocksdb/file/filename.h | // 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).
//
// Copyright (c) 2011 The LevelDB Authors. All rights r... | 7,552 | 39.827027 | 80 | h |
null | endure-main/extern/rocksdb/file/file_prefetch_buffer.h | // 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).
//
// Copyright (c) 2011 The LevelDB Authors. All rights r... | 5,375 | 40.038168 | 80 | h |
null | endure-main/extern/rocksdb/file/sst_file_manager_impl.h | // 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).
#pragma once
#ifndef ROCKSDB_LITE
#include <string>
#i... | 7,775 | 38.472081 | 79 | h |
null | endure-main/extern/rocksdb/file/sequence_file_reader.h | // 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).
//
// Copyright (c) 2011 The LevelDB Authors. All rights r... | 2,641 | 37.289855 | 79 | h |
null | endure-main/extern/rocksdb/file/read_write_util.h | // 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).
//
// Copyright (c) 2011 The LevelDB Authors. All rights r... | 1,158 | 36.387097 | 77 | h |
null | endure-main/extern/rocksdb/file/readahead_raf.h | // 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).
//
// Copyright (c) 2011 The LevelDB Authors. All rights r... | 1,305 | 42.533333 | 78 | h |
null | endure-main/extern/rocksdb/file/file_util.h | // 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).
//
#pragma once
#include <string>
#include "file/filename... | 4,030 | 41.431579 | 80 | h |
null | endure-main/extern/rocksdb/file/delete_scheduler.h | // 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).
#pragma once
#ifndef ROCKSDB_LITE
#include <map>
#inclu... | 5,265 | 33.418301 | 80 | h |
null | endure-main/extern/rocksdb/memtable/stl_wrappers.h | // 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).
#pragma once
#include <map>
#include <string>
#include "... | 898 | 25.441176 | 80 | h |
null | endure-main/extern/rocksdb/memtable/hash_linklist_rep.h | // 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).
// Copyright (c) 2011 The LevelDB Authors. All rights reser... | 1,915 | 37.32 | 77 | h |
null | endure-main/extern/rocksdb/memtable/hash_skiplist_rep.h | // 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).
// Copyright (c) 2011 The LevelDB Authors. All rights reser... | 1,491 | 32.155556 | 77 | h |
null | endure-main/extern/rocksdb/memtable/skiplist.h | // 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).
//
// Copyright (c) 2011 The LevelDB Authors. All rights r... | 16,029 | 31.253521 | 80 | h |
null | endure-main/extern/rocksdb/utilities/merge_operators.h | // 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).
//
#pragma once
#include "rocksdb/merge_operator.h"
#incl... | 2,026 | 35.196429 | 84 | h |
null | endure-main/extern/rocksdb/utilities/fault_injection_fs.h | // 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).
//
// Copyright 2014 The LevelDB Authors. All rights reser... | 17,210 | 33.284861 | 80 | h |
null | endure-main/extern/rocksdb/utilities/fault_injection_env.h | // 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).
//
// Copyright 2014 The LevelDB Authors. All rights reser... | 8,208 | 31.44664 | 80 | h |
null | endure-main/extern/rocksdb/utilities/table_properties_collectors/compact_on_deletion_collector.h | // 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).
#pragma once
#ifndef ROCKSDB_LITE
#include "rocksdb/util... | 2,624 | 34.958904 | 79 | h |
null | endure-main/extern/rocksdb/utilities/checkpoint/checkpoint_impl.h | // Copyright (c) 2017-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).
#pragma once
#ifndef ROCKSDB_LITE
#include "rocksdb/util... | 2,419 | 35.119403 | 80 | h |
null | endure-main/extern/rocksdb/utilities/transactions/transaction_base.h | // 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).
#pragma once
#ifndef ROCKSDB_LITE
#include <stack>
#include... | 14,139 | 36.807487 | 80 | h |
null | endure-main/extern/rocksdb/utilities/transactions/optimistic_transaction_db_impl.h | // 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).
#pragma once
#ifndef ROCKSDB_LITE
#include <mutex>
#incl... | 2,985 | 32.931818 | 80 | h |
null | endure-main/extern/rocksdb/utilities/transactions/write_prepared_txn.h | // 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).
#pragma once
#ifndef ROCKSDB_LITE
#include <algorithm>
#... | 4,531 | 36.766667 | 80 | h |
null | endure-main/extern/rocksdb/utilities/transactions/transaction_test.h | // 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).
#pragma once
#include <algorithm>
#include <cinttypes>
#... | 18,306 | 34.003824 | 80 | h |
null | endure-main/extern/rocksdb/utilities/transactions/write_unprepared_txn.h | // 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).
#pragma once
#ifndef ROCKSDB_LITE
#include <set>
#inclu... | 14,676 | 41.915205 | 80 | h |
null | endure-main/extern/rocksdb/utilities/transactions/transaction_util.h | // 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).
#pragma once
#ifndef ROCKSDB_LITE
#include <string>
#inc... | 3,094 | 37.209877 | 80 | h |
null | endure-main/extern/rocksdb/utilities/transactions/pessimistic_transaction.h | // 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).
#pragma once
#ifndef ROCKSDB_LITE
#include <algorithm>
#... | 7,903 | 32.922747 | 80 | h |
null | endure-main/extern/rocksdb/utilities/transactions/optimistic_transaction.h | // 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).
#pragma once
#ifndef ROCKSDB_LITE
#include <stack>
#incl... | 3,080 | 29.205882 | 79 | h |
null | endure-main/extern/rocksdb/utilities/transactions/pessimistic_transaction_db.h | // 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).
#pragma once
#ifndef ROCKSDB_LITE
#include <mutex>
#incl... | 9,176 | 39.074236 | 80 | h |
null | endure-main/extern/rocksdb/utilities/transactions/write_unprepared_txn_db.h | // 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).
#pragma once
#ifndef ROCKSDB_LITE
#include "utilities/tr... | 4,260 | 38.091743 | 80 | h |
null | endure-main/extern/rocksdb/utilities/transactions/transaction_db_mutex_impl.h | // 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).
#pragma once
#ifndef ROCKSDB_LITE
#include "rocksdb/util... | 838 | 30.074074 | 74 | h |
null | endure-main/extern/rocksdb/utilities/transactions/lock/lock_manager.h | // 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).
#pragma once
#ifndef ROCKSDB_LITE
#include "rocksdb/types.h"... | 3,396 | 39.927711 | 80 | h |
null | endure-main/extern/rocksdb/utilities/transactions/lock/lock_tracker.h | // 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).
#pragma once
#ifndef ROCKSDB_LITE
#include <memory>
#includ... | 6,900 | 31.861905 | 79 | h |
null | endure-main/extern/rocksdb/utilities/transactions/lock/range/range_lock_manager.h | //
// Generic definitions for a Range-based Lock Manager
//
#pragma once
#ifndef ROCKSDB_LITE
#include "utilities/transactions/lock/lock_manager.h"
namespace ROCKSDB_NAMESPACE {
/*
A base class for all Range-based lock managers
See also class RangeLockManagerHandle in
include/rocksdb/utilities/transaction_db.... | 847 | 26.354839 | 78 | h |
null | endure-main/extern/rocksdb/utilities/transactions/lock/range/range_tree/range_tree_lock_manager.h | // 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).
#pragma once
#ifndef ROCKSDB_LITE
#ifndef OS_WIN
// For ... | 4,731 | 35.122137 | 83 | h |
null | endure-main/extern/rocksdb/utilities/transactions/lock/range/range_tree/range_tree_lock_tracker.h | // 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).
#pragma once
#include <memory>
#include <string>
#include <u... | 4,561 | 30.034014 | 80 | h |
null | endure-main/extern/rocksdb/utilities/transactions/lock/range/range_tree/lib/db.h | #ifndef _DB_H
#define _DB_H
#include <stdint.h>
#include <sys/types.h>
typedef struct __toku_dbt DBT;
// port: this is currently not used
struct simple_dbt {
uint32_t len;
void *data;
};
// engine status info
// engine status is passed to handlerton as an array of
// TOKU_ENGINE_STATUS_ROW_S[]
typedef enum {
... | 2,283 | 28.662338 | 79 | h |
null | endure-main/extern/rocksdb/utilities/transactions/lock/range/range_tree/lib/util/status.h | /* -*- mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
// vim: ft=cpp:expandtab:ts=8:sw=4:softtabstop=4:
#ident "$Id$"
/*======
This file is part of PerconaFT.
Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved.
PerconaFT is free software: you can redistribute it and/or modif... | 3,498 | 44.441558 | 83 | h |
null | endure-main/extern/rocksdb/utilities/transactions/lock/range/range_tree/lib/util/dbt.h | /* -*- mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
// vim: ft=cpp:expandtab:ts=8:sw=4:softtabstop=4:
#ident "$Id$"
/*======
This file is part of PerconaFT.
Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved.
PerconaFT is free software: you can redistribute it and/or modif... | 3,551 | 34.878788 | 83 | h |
null | endure-main/extern/rocksdb/utilities/transactions/lock/range/range_tree/lib/util/memarena.h | /* -*- mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
// vim: ft=cpp:expandtab:ts=8:sw=4:softtabstop=4:
#ident "$Id$"
/*======
This file is part of PerconaFT.
Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved.
PerconaFT is free software: you can redistribute it and/or modif... | 5,031 | 34.43662 | 83 | h |
null | endure-main/extern/rocksdb/utilities/transactions/lock/range/range_tree/lib/util/growable_array.h | /* -*- mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
// vim: ft=cpp:expandtab:ts=8:sw=4:softtabstop=4:
#ident "$Id$"
/*======
This file is part of PerconaFT.
Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved.
PerconaFT is free software: you can redistribute it and/or modif... | 4,605 | 30.765517 | 83 | h |
null | endure-main/extern/rocksdb/utilities/transactions/lock/range/range_tree/lib/ft/comparator.h | /* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */
// vim: ft=cpp:expandtab:ts=8:sw=4:softtabstop=4:
/*======
This file is part of PerconaFT.
Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved.
PerconaFT is free software: you can redistribute it and/or modify
it under t... | 4,740 | 33.107914 | 83 | h |
null | endure-main/extern/rocksdb/utilities/transactions/lock/range/range_tree/lib/ft/ft-status.h | /* -*- mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
// vim: ft=cpp:expandtab:ts=8:sw=4:softtabstop=4:
#ident "$Id$"
/*======
This file is part of PerconaFT.
Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved.
PerconaFT is free software: you can redistribute it and/or modif... | 3,329 | 31.330097 | 83 | h |
null | endure-main/extern/rocksdb/utilities/transactions/lock/range/range_tree/lib/locktree/txnid_set.h | /* -*- mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
// vim: ft=cpp:expandtab:ts=8:sw=4:softtabstop=4:
#ident "$Id$"
/*======
This file is part of PerconaFT.
Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved.
PerconaFT is free software: you can redistribute it and/or modif... | 3,055 | 31.860215 | 83 | h |
null | endure-main/extern/rocksdb/utilities/transactions/lock/range/range_tree/lib/locktree/range_buffer.h | /* -*- mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
// vim: ft=cpp:expandtab:ts=8:sw=4:softtabstop=4:
#ident "$Id$"
/*======
This file is part of PerconaFT.
Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved.
PerconaFT is free software: you can redistribute it and/or modif... | 5,954 | 32.268156 | 83 | h |
null | endure-main/extern/rocksdb/utilities/transactions/lock/range/range_tree/lib/locktree/locktree.h | /* -*- mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
// vim: ft=cpp:expandtab:ts=8:sw=4:softtabstop=4:
#ident "$Id$"
/*======
This file is part of PerconaFT.
Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved.
PerconaFT is free software: you can redistribute it and/or modif... | 22,405 | 38.939394 | 83 | h |
null | endure-main/extern/rocksdb/utilities/transactions/lock/range/range_tree/lib/locktree/lock_request.h | /* -*- mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
// vim: ft=cpp:expandtab:ts=8:sw=2:softtabstop=2:
#ident "$Id$"
/*======
This file is part of PerconaFT.
Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved.
PerconaFT is free software: you can redistribute it and/or modif... | 9,080 | 34.751969 | 83 | h |
null | endure-main/extern/rocksdb/utilities/transactions/lock/range/range_tree/lib/locktree/treenode.h | /* -*- mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
// vim: ft=cpp:expandtab:ts=8:sw=2:softtabstop=2:
#ident "$Id$"
/*======
This file is part of PerconaFT.
Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved.
PerconaFT is free software: you can redistribute it and/or modif... | 11,030 | 35.405941 | 83 | h |
null | endure-main/extern/rocksdb/utilities/transactions/lock/range/range_tree/lib/locktree/keyrange.h | /* -*- mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
// vim: ft=cpp:expandtab:ts=8:sw=4:softtabstop=4:
#ident "$Id$"
/*======
This file is part of PerconaFT.
Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved.
PerconaFT is free software: you can redistribute it and/or modif... | 5,474 | 37.556338 | 83 | h |
null | endure-main/extern/rocksdb/utilities/transactions/lock/range/range_tree/lib/locktree/concurrent_tree.h | /* -*- mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
// vim: ft=cpp:expandtab:ts=8:sw=2:softtabstop=2:
#ident "$Id$"
/*======
This file is part of PerconaFT.
Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved.
PerconaFT is free software: you can redistribute it and/or modif... | 6,858 | 38.194286 | 83 | h |
null | endure-main/extern/rocksdb/utilities/transactions/lock/range/range_tree/lib/locktree/wfg.h | /* -*- mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
// vim: ft=cpp:expandtab:ts=8:sw=4:softtabstop=4:
#ident "$Id$"
/*======
This file is part of PerconaFT.
Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved.
PerconaFT is free software: you can redistribute it and/or modif... | 4,248 | 32.992 | 83 | h |
null | endure-main/extern/rocksdb/utilities/transactions/lock/range/range_tree/lib/portability/toku_portability.h | /* -*- mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
// vim: ft=cpp:expandtab:ts=8:sw=4:softtabstop=4:
#ident "$Id$"
/*======
This file is part of PerconaFT.
Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved.
PerconaFT is free software: you can redistribute it and/or modif... | 2,965 | 32.704545 | 83 | h |
null | endure-main/extern/rocksdb/utilities/transactions/lock/range/range_tree/lib/portability/toku_time.h | /* -*- mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
// vim: ft=cpp:expandtab:ts=8:sw=4:softtabstop=4:
#ident "$Id$"
/*======
This file is part of PerconaFT.
Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved.
PerconaFT is free software: you can redistribute it and/or modif... | 6,913 | 38.965318 | 117 | h |
null | endure-main/extern/rocksdb/utilities/transactions/lock/range/range_tree/lib/portability/toku_external_pthread.h | /*
A wrapper around rocksdb::TransactionDBMutexFactory-provided condition and
mutex that provides toku_pthread_*-like interface. The functions are named
toku_external_{mutex|cond}_XXX
Lock Tree uses this mutex and condition for interruptible (long) lock waits.
(It also still uses toku_pthread_XXX calls f... | 2,479 | 28.879518 | 78 | h |
null | endure-main/extern/rocksdb/utilities/transactions/lock/range/range_tree/lib/portability/txn_subst.h | //
// A substitute for ft/txn/txn.h
//
#pragma once
#include <set>
#include "../util/omt.h"
typedef uint64_t TXNID;
#define TXNID_NONE ((TXNID)0)
// A set of transactions
// (TODO: consider using class toku::txnid_set. The reason for using STL
// container was that its API is easier)
class TxnidVector : public s... | 730 | 25.107143 | 77 | h |
null | endure-main/extern/rocksdb/utilities/transactions/lock/range/range_tree/lib/portability/toku_instrumentation.h | /*======
This file is part of PerconaFT.
Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved.
PerconaFT is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License, version 2,
as published by the Free Software Foundation.
Perco... | 9,658 | 32.655052 | 80 | h |
null | endure-main/extern/rocksdb/utilities/transactions/lock/range/range_tree/lib/portability/memory.h | /* -*- mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
// vim: ft=cpp:expandtab:ts=8:sw=4:softtabstop=4:
#ident "$Id$"
/*======
This file is part of PerconaFT.
Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved.
PerconaFT is free software: you can redistribute it and/or modif... | 9,481 | 42.898148 | 83 | h |
null | endure-main/extern/rocksdb/utilities/transactions/lock/range/range_tree/lib/portability/toku_race_tools.h | /* -*- mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
// vim: ft=cpp:expandtab:ts=8:sw=4:softtabstop=4:
#ident "$Id$"
/*======
This file is part of PerconaFT.
Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved.
PerconaFT is free software: you can redistribute it and/or modif... | 6,939 | 37.555556 | 83 | h |
null | endure-main/extern/rocksdb/utilities/transactions/lock/range/range_tree/lib/portability/toku_atomic.h | /* -*- mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
// vim: ft=cpp:expandtab:ts=8:sw=4:softtabstop=4:
#ident "$Id$"
/*======
This file is part of PerconaFT.
Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved.
PerconaFT is free software: you can redistribute it and/or modif... | 5,351 | 39.854962 | 83 | h |
null | endure-main/extern/rocksdb/utilities/transactions/lock/range/range_tree/lib/portability/toku_assert_subst.h | //
// A replacement for toku_assert.h
//
#pragma once
#include <assert.h>
#include <errno.h>
#ifdef NDEBUG
#define assert_zero(a) ((void)(a))
#define invariant(a) ((void)(a))
#define invariant_notnull(a) ((void)(a))
#define invariant_zero(a) ((void)(a))
#else
#define assert_zero(a) assert((a) == 0)
#define invaria... | 941 | 22.55 | 77 | h |
null | endure-main/extern/rocksdb/utilities/transactions/lock/range/range_tree/lib/portability/toku_pthread.h | /* -*- mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
// vim: ft=cpp:expandtab:ts=8:sw=4:softtabstop=4:
#ident "$Id$"
/*======
This file is part of PerconaFT.
Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved.
PerconaFT is free software: you can redistribute it and/or modif... | 17,554 | 32.694818 | 83 | h |
null | endure-main/extern/rocksdb/utilities/transactions/lock/point/point_lock_manager_test.h |
#include "file/file_util.h"
#include "port/port.h"
#include "port/stack_trace.h"
#include "rocksdb/utilities/transaction_db.h"
#include "test_util/testharness.h"
#include "test_util/testutil.h"
#include "utilities/transactions/lock/point/point_lock_manager.h"
#include "utilities/transactions/pessimistic_transaction_db... | 9,412 | 28.415625 | 79 | h |
null | endure-main/extern/rocksdb/utilities/transactions/lock/point/point_lock_manager.h | // 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).
#pragma once
#ifndef ROCKSDB_LITE
#include <memory>
#inc... | 7,578 | 32.834821 | 79 | h |
null | endure-main/extern/rocksdb/utilities/transactions/lock/point/point_lock_tracker.h | // 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).
#pragma once
#ifndef ROCKSDB_LITE
#include <memory>
#include... | 2,798 | 26.99 | 79 | h |
null | endure-main/extern/rocksdb/utilities/backupable/backupable_db_impl.h | // Copyright (c) Facebook, Inc. and its affiliates. 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).
#pragma once
#ifndef ROCKSDB_LITE
#include "rocksdb... | 1,070 | 34.7 | 78 | h |
null | endure-main/extern/rocksdb/utilities/ttl/db_ttl_impl.h | // Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
// Copyright (c) 2011 The LevelDB Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. See the AUTHORS file for names of contributors.
#pragma once
#ifndef ROCKSDB_... | 11,939 | 32.445378 | 80 | h |
null | endure-main/extern/rocksdb/utilities/blob_db/blob_file.h | // 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).
#pragma once
#ifndef ROCKSDB_LITE
#include <atomic>
#incl... | 7,472 | 29.255061 | 80 | h |
null | endure-main/extern/rocksdb/utilities/blob_db/blob_db_listener.h | // 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).
#pragma once
#ifndef ROCKSDB_LITE
#include <atomic>
#i... | 1,826 | 26.268657 | 78 | h |
null | endure-main/extern/rocksdb/utilities/blob_db/blob_compaction_filter.h | // 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).
#pragma once
#ifndef ROCKSDB_LITE
#include <unordered_set... | 8,028 | 38.165854 | 80 | h |
null | endure-main/extern/rocksdb/utilities/blob_db/blob_db_impl.h | // 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).
#pragma once
#ifndef ROCKSDB_LITE
#include <atomic>
#in... | 18,447 | 35.603175 | 80 | h |
null | endure-main/extern/rocksdb/utilities/blob_db/blob_db_gc_stats.h | // 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).
//
#pragma once
#ifndef ROCKSDB_LITE
namespace ROCKSDB_N... | 1,346 | 24.415094 | 72 | h |
null | endure-main/extern/rocksdb/utilities/blob_db/blob_db_iterator.h | // 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).
#pragma once
#ifndef ROCKSDB_LITE
#include "db/arena_wra... | 3,706 | 23.549669 | 79 | h |
null | endure-main/extern/rocksdb/utilities/blob_db/blob_dump_tool.h | // 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).
#pragma once
#ifndef ROCKSDB_LITE
#include <memory>
#incl... | 1,756 | 28.779661 | 75 | h |
null | endure-main/extern/rocksdb/utilities/blob_db/blob_db.h | // 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).
#pragma once
#ifndef ROCKSDB_LITE
#include <functional>... | 10,558 | 38.546816 | 80 | h |
null | endure-main/extern/rocksdb/utilities/merge_operators/sortlist.h | // 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).
// A MergeOperator for RocksDB that implements Merge Sort... | 1,450 | 36.205128 | 80 | h |
null | endure-main/extern/rocksdb/utilities/merge_operators/bytesxor.h | // 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).
#pragma once
#include <algorithm>
#include <memory>
#inc... | 1,328 | 32.225 | 80 | h |
null | endure-main/extern/rocksdb/utilities/merge_operators/string_append/stringappend2.h | // Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
/**
* A TEST MergeOperator for rocksdb that implements string append.
* It is built using the MergeOperator interface rather than the simpler
* AssociativeMergeOperator interface. This is useful for testing/benchmarking.
* While the two operat... | 1,757 | 34.16 | 79 | h |
null | endure-main/extern/rocksdb/utilities/merge_operators/string_append/stringappend.h | /**
* A MergeOperator for rocksdb that implements string append.
* @author Deon Nicholas (dnicholas@fb.com)
* Copyright 2013 Facebook
*/
#pragma once
#include "rocksdb/merge_operator.h"
#include "rocksdb/slice.h"
namespace ROCKSDB_NAMESPACE {
class StringAppendOperator : public AssociativeMergeOperator {
public... | 802 | 24.09375 | 68 | h |
null | endure-main/extern/rocksdb/utilities/write_batch_with_index/write_batch_with_index_internal.h | // 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).
#pragma once
#ifndef ROCKSDB_LITE
#include <limits>
#incl... | 12,625 | 37.493902 | 80 | h |
null | endure-main/extern/rocksdb/utilities/cassandra/merge_operator.h | // Copyright (c) 2017-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).
#pragma once
#include "rocksdb/merge_operator.h"
#include... | 1,568 | 33.866667 | 78 | h |
null | endure-main/extern/rocksdb/utilities/cassandra/serialize.h | // Copyright (c) 2017-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).
/**
* Helper functions which serialize and deserialize i... | 2,136 | 27.118421 | 79 | h |
null | endure-main/extern/rocksdb/utilities/cassandra/cassandra_compaction_filter.h | // 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).
#pragma once
#include <string>
#include "rocksdb/compactio... | 1,718 | 38.976744 | 79 | h |
null | endure-main/extern/rocksdb/utilities/cassandra/format.h | // Copyright (c) 2017-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).
/**
* The encoding of Cassandra Row Value.
*
* A Cassan... | 5,603 | 29.291892 | 77 | h |
null | endure-main/extern/rocksdb/utilities/cassandra/test_utils.h | // Copyright (c) 2017-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).
#pragma once
#include <memory>
#include "test_util/testha... | 1,522 | 33.613636 | 77 | h |
null | endure-main/extern/rocksdb/utilities/persistent_cache/block_cache_tier.h | // Copyright (c) 2013, 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).
#pragma once
#ifndef ROCKSDB_LITE
#ifndef OS_WIN
#include <unis... | 5,259 | 32.717949 | 91 | h |
null | endure-main/extern/rocksdb/utilities/persistent_cache/hash_table_evictable.h | // Copyright (c) 2013, 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).
//
#pragma once
#ifndef ROCKSDB_LITE
#include <functional>
#inc... | 4,881 | 27.887574 | 80 | h |
null | endure-main/extern/rocksdb/utilities/persistent_cache/volatile_tier_impl.h | // Copyright (c) 2013, 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).
//
#pragma once
#ifndef ROCKSDB_LITE
#include <atomic>
#include ... | 3,881 | 26.146853 | 80 | h |
null | endure-main/extern/rocksdb/utilities/persistent_cache/persistent_cache_tier.h | // Copyright (c) 2013, 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).
//
#pragma once
#ifndef ROCKSDB_LITE
#include <limits>
#include ... | 10,412 | 29.358601 | 80 | h |
null | endure-main/extern/rocksdb/utilities/persistent_cache/block_cache_tier_file_buffer.h | // Copyright (c) 2013, 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).
#pragma once
#include <list>
#include <memory>
#include <string>
... | 3,185 | 23.890625 | 73 | h |
null | endure-main/extern/rocksdb/utilities/persistent_cache/persistent_cache_util.h | // Copyright (c) 2013, 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).
#pragma once
#include <limits>
#include <list>
#include "util/mu... | 1,434 | 20.102941 | 67 | h |
null | endure-main/extern/rocksdb/utilities/persistent_cache/block_cache_tier_metadata.h | // Copyright (c) 2013, 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).
#pragma once
#ifndef ROCKSDB_LITE
#include <functional>
#include... | 3,426 | 26.198413 | 80 | h |
null | endure-main/extern/rocksdb/utilities/persistent_cache/block_cache_tier_file.h | // Copyright (c) 2013, 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).
#pragma once
#ifndef ROCKSDB_LITE
#include <list>
#include <memo... | 9,974 | 32.585859 | 80 | h |
null | endure-main/extern/rocksdb/utilities/persistent_cache/hash_table.h | // Copyright (c) 2013, 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).
//
#pragma once
#ifndef ROCKSDB_LITE
#include <assert.h>
#includ... | 6,527 | 26.313808 | 80 | h |
null | endure-main/extern/rocksdb/utilities/persistent_cache/persistent_cache_test.h | // Copyright (c) 2013, 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).
//
// Copyright (c) 2011 The LevelDB Authors. All rights reserved.... | 7,927 | 26.623693 | 80 | h |
null | endure-main/extern/rocksdb/utilities/compaction_filters/layered_compaction_filter_base.h | // Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
// Copyright (c) 2011 The LevelDB Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. See the AUTHORS file for names of contributors.
#pragma once
#include <memory>... | 1,341 | 34.315789 | 80 | h |
null | endure-main/extern/rocksdb/utilities/compaction_filters/remove_emptyvalue_compactionfilter.h | // 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).
#ifndef ROCKSDB_LITE
#pragma once
#include <string>
#in... | 759 | 26.142857 | 67 | h |
null | endure-main/extern/rocksdb/utilities/simulator_cache/cache_simulator.h | // 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).
#pragma once
#include <unordered_map>
#include "cache/l... | 8,193 | 34.318966 | 80 | h |
null | endure-main/extern/rocksdb/utilities/trace/file_trace_reader_writer.h | // 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).
#pragma once
#include "rocksdb/trace_reader_writer.h"
n... | 1,375 | 27.081633 | 77 | h |
null | endure-main/extern/rocksdb/port/jemalloc_helper.h | // 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).
#pragma once
#if defined(__clang__)
// glibc's `posix_me... | 4,430 | 40.411215 | 109 | h |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.