Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cmu-db/bustub
/ functions
Functions
1,956 in github.com/cmu-db/bustub
⨍
Functions
1,956
◇
Types & classes
541
↓ 11 callers
Method
GetUndoLink
@brief Get the first undo log of a table heap tuple. */
src/concurrency/transaction_manager_impl.cpp:76
↓ 11 callers
Method
Sync
src/primer/orset_driver.cpp:58
↓ 11 callers
Method
ToString
tools/sqllogictest/parser.h:133
↓ 10 callers
Function
CollectUndoLogs
* @brief Collects the undo logs sufficient to reconstruct the tuple w.r.t. the txn. * * @param rid The RID of the tuple. * @param base_meta The met
src/execution/execution_common.cpp:70
↓ 10 callers
Function
ExecuteTxnTainted
test/txn/txn_common.h:398
↓ 10 callers
Method
GetColumn
* Get the type of this value */
src/type/value.cpp:342
↓ 10 callers
Method
Init
* Initialize the TablePage header. */
src/storage/page/table_page.cpp:28
↓ 10 callers
Method
IsCoercableFrom
* Is this type coercable from the other type */
src/type/type.cpp:67
↓ 10 callers
Method
IsInvalid
src/include/binder/bound_table_ref.h:59
↓ 10 callers
Method
IsLeafPage
* Helper methods to get/set page type * Page type enum class is defined in b_plus_tree_page.h */
src/storage/page/b_plus_tree_page.cpp:21
↓ 10 callers
Function
QueryIndex
test/txn/txn_common.h:476
↓ 10 callers
Function
StatusFail
test/txn/txn_common.h:78
↓ 10 callers
Method
ValueAt
src/storage/page/hash_table_block_page.cpp:36
↓ 9 callers
Method
CreateTable
* Create a new table and return its metadata. * @param txn The transaction in which the table is being created * @param table_name The name of t
src/include/catalog/catalog.h:139
↓ 9 callers
Method
End
tools/terrier_bench/terrier.cpp:69
↓ 9 callers
Function
EnsureIndexScan
test/txn/txn_common.h:448
↓ 9 callers
Method
GetChildren
@return the children of this plan node */
src/include/execution/plans/abstract_plan.h:85
↓ 9 callers
Method
GetPageId
@return the page id of this page */
src/include/storage/page/page.h:54
↓ 9 callers
Method
GetTombstones
* @brief Helper function for fetching tombstones of a page. * @return The last `NumTombs` keys with pending deletes in this page in order of recency
src/storage/page/b_plus_tree_leaf_page.cpp:41
↓ 8 callers
Function
CheckUndoLogNum
test/txn/txn_common.h:208
↓ 8 callers
Function
DoubleNull
test/txn/txn_common.h:60
↓ 8 callers
Function
GenerateNewUndoLog
* @brief Generates a new undo log as the transaction tries to modify this tuple at the first time. * * @param schema The schema of the table. * @pa
src/execution/execution_common.cpp:86
↓ 8 callers
Function
GetCmpBool
src/include/type/value.h:30
↓ 8 callers
Method
GetDenseBucket
@brief Returns the dense_bucket_ data structure. */
src/include/primer/hyperloglog_presto.h:54
↓ 8 callers
Function
GetHeaderExtensions
()
build_support/cpplint.py:697
↓ 8 callers
Method
GetMinSize
* Helper method to get min page size * Generally, min page size == max page size / 2 * But whether you will take ceil() or floor() depends on your i
src/storage/page/b_plus_tree_page.cpp:43
↓ 8 callers
Function
PrintUsage
Prints a brief usage string and exits, optionally with an error message. Args: message: The optional error message.
build_support/cpplint.py:6410
↓ 8 callers
Method
RepositoryName
r"""FullName after removing the local path to the repository. If we have a real absolute path name here we can try to do something smart: det
build_support/cpplint.py:1319
↓ 8 callers
Method
ShutDown
* Shut down the disk manager and close all the file resources. */
src/storage/disk/disk_manager.cpp:70
↓ 8 callers
Method
WriteCell
src/include/common/bustub_instance.h:80
↓ 8 callers
Method
WriteHeaderCell
src/include/common/bustub_instance.h:81
↓ 8 callers
Method
format
tools/sqllogictest/parser.h:146
↓ 7 callers
Function
BeginTxnSerializable
test/txn/txn_common.h:322
↓ 7 callers
Method
CheckedWritePage
* @brief Acquires an optional write-locked guard over a page of data. The user can specify an `AccessType` if needed. * * If it is not possible to b
src/buffer/buffer_pool_manager.cpp:182
↓ 7 callers
Method
Evaluate
src/include/execution/expressions/array_expression.h:34
↓ 7 callers
Method
Extension
File extension - text following the final period, includes that period.
build_support/cpplint.py:1397
↓ 7 callers
Method
GetLeftPlan
@return The left plan node of the hash join */
src/include/execution/plans/hash_join_plan.h:55
↓ 7 callers
Method
GetRightPlan
@return The right plan node of the hash join */
src/include/execution/plans/hash_join_plan.h:61
↓ 7 callers
Function
request_yn
(buffer, msg)
gradescope_sign.py:8
↓ 6 callers
Method
CheckedReadPage
* @brief Acquires an optional read-locked guard over a page of data. The user can specify an `AccessType` if needed. * * If it is not possible to br
src/buffer/buffer_pool_manager.cpp:210
↓ 6 callers
Function
GetAllExtensions
()
build_support/cpplint.py:706
↓ 6 callers
Method
GetOverflowBucketofIndex
@brief Returns overflow bucket of a specific given index. */
src/include/primer/hyperloglog_presto.h:57
↓ 6 callers
Method
GetTupleIdx
src/include/execution/expressions/column_value_expression.h:49
↓ 6 callers
Method
GetType
@return The type of the plan node */
src/include/execution/plans/topn_plan.h:44
↓ 6 callers
Function
InsertHelper
test/storage/b_plus_tree_concurrent_test.cpp:48
↓ 6 callers
Function
LaunchParallelTest
test/container/disk/hash/extendible_htable_concurrent_test.cpp:31
↓ 6 callers
Method
Next
* @brief Gets the next node by following the link at `level`. * * @param level index to the link. * @return std::shared_ptr<SkipNode> the next node
src/primer/skiplist.cpp:138
↓ 6 callers
Method
OperateNull
src/type/type.cpp:254
↓ 6 callers
Method
OperateNull
src/type/decimal_type.cpp:191
↓ 6 callers
Method
PrintError
(self, message)
build_support/cpplint.py:1114
↓ 6 callers
Method
ReadPage
src/include/buffer/traced_buffer_pool_manager.h:22
↓ 6 callers
Method
SetLocalDepth
* Set the local depth of the bucket at bucket_idx to local_depth * * @param bucket_idx bucket index to update * @param local_depth new local depth
src/storage/page/hash_table_directory_page.cpp:117
↓ 6 callers
Method
ToString
* Debug */
src/type/varlen_type.cpp:132
↓ 6 callers
Method
ToString
@return A string representation for debugging */
src/include/storage/index/index.h:151
↓ 6 callers
Method
ToString
src/include/common/rid.h:48
↓ 6 callers
Method
ToString
@return a string representation of this column */
src/catalog/column.cpp:22
↓ 6 callers
Method
TopK
src/primer/count_min_sketch.cpp:74
↓ 5 callers
Method
Begin
* Begins a new transaction. * @param isolation_level an optional isolation level of the transaction. * @return an initialized transaction */
src/concurrency/transaction_manager.cpp:43
↓ 5 callers
Function
ClockMs
tools/bpm_bench/bpm_bench.cpp:39
↓ 5 callers
Function
ClockMs
tools/htable_bench/htable_bench.cpp:41
↓ 5 callers
Function
ClockMs
tools/terrier_bench/terrier.cpp:40
↓ 5 callers
Function
ClockMs
tools/btree_bench/btree_bench.cpp:41
↓ 5 callers
Method
Copy
* Create a copy of this value */
src/type/varlen_type.cpp:175
↓ 5 callers
Method
Copy
* Create a copy of this value */
src/type/decimal_type.cpp:349
↓ 5 callers
Method
Empty
@brief Checks whether the container is empty. */
src/primer/skiplist.cpp:26
↓ 5 callers
Function
ExpectResult
test/concurrency/common_checker.h:149
↓ 5 callers
Function
GenerateUpdatedUndoLog
* @brief Generate the updated undo log to replace the old one, whereas the tuple is already modified by this txn once. * * @param schema The schema
src/execution/execution_common.cpp:101
↓ 5 callers
Method
GetKeySchema
@return The index key schema */
src/include/storage/index/index.h:145
↓ 5 callers
Method
GetNextPageId
* Helper methods to set/get next page id */
src/storage/page/b_plus_tree_leaf_page.cpp:49
↓ 5 callers
Function
GetNonHeaderExtensions
()
build_support/cpplint.py:720
↓ 5 callers
Function
GetPreviousNonBlankLine
Return the most recent non-blank line and its line number. Args: clean_lines: A CleansedLines instance containing the file contents. linenu
build_support/cpplint.py:3948
↓ 5 callers
Method
GetTransactionTempTs
@return the temporary timestamp of this transaction */
src/include/concurrency/transaction.h:108
↓ 5 callers
Function
InsertHelper
helper function to insert
test/container/disk/hash/extendible_htable_concurrent_test.cpp:46
↓ 5 callers
Function
IntNull
test/txn/txn_common.h:56
↓ 5 callers
Method
IsEnd
src/storage/table/table_iterator.cpp:42
↓ 5 callers
Function
IsHeaderExtension
(file_extension)
build_support/cpplint.py:694
↓ 5 callers
Method
OperateNull
src/type/bigint_type.cpp:165
↓ 5 callers
Method
OperateNull
src/type/integer_type.cpp:166
↓ 5 callers
Method
OperateNull
src/type/tinyint_type.cpp:170
↓ 5 callers
Method
OperateNull
src/type/smallint_type.cpp:166
↓ 5 callers
Function
ParseNolintSuppressions
Updates the global list of line error-suppressions. Parses any NOLINT comments on the current line, updating the global error_suppressions store.
build_support/cpplint.py:723
↓ 5 callers
Method
Report
tools/terrier_bench/terrier.cpp:114
↓ 5 callers
Method
SetBucketPageId
* Updates the directory index using a bucket index and page_id * * @param bucket_idx directory index at which to insert page_id * @param bucket_pag
src/storage/page/hash_table_directory_page.cpp:91
↓ 5 callers
Method
TxnCommitted
tools/terrier_bench/terrier.cpp:110
↓ 5 callers
Function
check
(arguments, source_dir)
build_support/run_clang_format.py:30
↓ 4 callers
Function
AbortTxn
test/txn/txn_common.h:361
↓ 4 callers
Function
CleanseComments
Removes //-comments and single-line C-style /* */ comments. Args: line: A line of C++ source. Returns: The line with single-line comment
build_support/cpplint.py:1633
↓ 4 callers
Method
Copy
* Create a copy of this value */
src/type/timestamp_type.cpp:155
↓ 4 callers
Method
Copy
* Create a copy of this value */
src/type/type.cpp:296
↓ 4 callers
Method
Drop
* @brief Manually drops a valid `ReadPageGuard`'s data. If this guard is invalid, this function does nothing. * * ### Implementation * * Make sure
src/storage/page/page_guard.cpp:122
↓ 4 callers
Method
Erase
* @brief Erases the key from the skip list. * * @param key key to erase. * @return bool true if the element got erased, false otherwise. */
src/primer/skiplist.cpp:81
↓ 4 callers
Method
FullName
Make Windows paths like Unix.
build_support/cpplint.py:1315
↓ 4 callers
Method
GenerateMockTable
* FOR TEST ONLY. Generate test tables in this BusTub instance. * It's used in the shell to predefine some tables, as we don't support * create / dro
src/common/bustub_instance.cpp:419
↓ 4 callers
Method
GenerateTestTable
* FOR TEST ONLY. Generate test tables in this BusTub instance. * It's used in the shell to predefine some tables, as we don't support * create / dro
src/common/bustub_instance.cpp:402
↓ 4 callers
Method
GetNextPageId
@return the page ID of the next table page */
src/include/storage/page/table_page.h:60
↓ 4 callers
Method
GetNumTuples
@return number of tuples in this page */
src/include/storage/page/table_page.h:57
↓ 4 callers
Method
GetOffset
@return column's offset in the tuple */
src/include/catalog/column.h:81
↓ 4 callers
Method
GetOutputSchema
@return The output schema for the TopN */
src/include/execution/executors/topn_executor.h:40
↓ 4 callers
Method
GetPredicate
@return The predicate to test tuples against; tuples should only be returned if they evaluate to true */
src/include/execution/plans/filter_plan.h:44
↓ 4 callers
Method
GetReads
src/include/buffer/traced_buffer_pool_manager.h:30
← previous
next →
101–200 of 1,956, ranked by callers