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
↓ 4 callers
Method
GetStorageSize
* Get the length of the variable length data */
src/type/type.cpp:315
↓ 4 callers
Method
GetWrites
src/include/buffer/traced_buffer_pool_manager.h:31
↓ 4 callers
Method
IsInlined
* Is the data inlined into this classes storage space, or must it be accessed * through an indirection/pointer? */
src/type/type.cpp:266
↓ 4 callers
Function
LaunchParallelTest
test/storage/b_plus_tree_concurrent_test.cpp:32
↓ 4 callers
Function
PathSplitToList
Returns the path split into a list by the separator. Args: path: An absolute or relative path (e.g. '/a/b/c/' or '../a') Returns: A list
build_support/cpplint.py:2009
↓ 4 callers
Method
Pin
src/buffer/lru_replacer.cpp:30
↓ 4 callers
Method
PrintInfo
(self, message)
build_support/cpplint.py:1110
↓ 4 callers
Method
RemoveTxn
src/concurrency/watermark.cpp:27
↓ 4 callers
Method
Report
tools/htable_bench/htable_bench.cpp:101
↓ 4 callers
Method
Report
tools/btree_bench/btree_bench.cpp:101
↓ 4 callers
Function
ReverseCloseExpression
If input points to ) or } or ] or >, finds the position that opens it. If lines[linenum][pos] points to a ')' or '}' or ']' or '>', finds the lin
build_support/cpplint.py:1943
↓ 4 callers
Method
ShouldFinish
tools/terrier_bench/terrier.cpp:129
↓ 4 callers
Method
WithColumnName
src/include/catalog/column.h:68
↓ 4 callers
Function
request_sign
(buffer, msg)
gradescope_sign.py:18
↓ 3 callers
Method
AddTxn
src/concurrency/watermark.cpp:19
↓ 3 callers
Method
BaseName
File base name - text after the final slash, before the final period.
build_support/cpplint.py:1393
↓ 3 callers
Method
Begin
tools/htable_bench/htable_bench.cpp:99
↓ 3 callers
Method
Begin
tools/btree_bench/btree_bench.cpp:99
↓ 3 callers
Method
BeginHeader
src/include/common/bustub_instance.h:82
↓ 3 callers
Method
BeginRow
src/include/common/bustub_instance.h:84
↓ 3 callers
Method
BeginTable
src/include/common/bustub_instance.h:86
↓ 3 callers
Method
CanShrink
* @return true if the directory can be shrunk */
src/storage/page/hash_table_directory_page.cpp:101
↓ 3 callers
Method
CastAs
src/type/type.cpp:300
↓ 3 callers
Function
CheckCStyleCast
Checks for a C-style cast by looking for the pattern. Args: filename: The name of the current file. clean_lines: A CleansedLines instance c
build_support/cpplint.py:5542
↓ 3 callers
Method
Clear
* @brief Removes all elements from the skip list. * * Note: You might want to use the provided `Drop` helper function. */
src/primer/skiplist.cpp:59
↓ 3 callers
Method
CompareEquals
src/type/type.cpp:190
↓ 3 callers
Method
CompareEquals
Comparison Methods
src/include/type/value.h:113
↓ 3 callers
Method
DeletePage
* Note: This is a no-op for now without a more complex data structure to * track deallocated pages. */
src/storage/disk/disk_manager.cpp:156
↓ 3 callers
Method
EndHeader
src/include/common/bustub_instance.h:83
↓ 3 callers
Method
EndRow
src/include/common/bustub_instance.h:85
↓ 3 callers
Method
EndTable
src/include/common/bustub_instance.h:87
↓ 3 callers
Function
FindEndOfExpressionInLine
Find the position just after the end of current parenthesized expression. Args: line: a CleansedLines line. startpos: start searching at th
build_support/cpplint.py:1744
↓ 3 callers
Method
GetBoundTableName
src/include/binder/table_ref/bound_base_table_ref.h:44
↓ 3 callers
Method
GetDbFileSize
@brief returns the size of disk space in use */
src/include/storage/disk/disk_manager.h:93
↓ 3 callers
Method
GetExpressions
@return Projection expressions */
src/include/execution/plans/projection_plan.h:52
↓ 3 callers
Function
GetIndentLevel
Return the number of leading spaces in line. Args: line: A string to check. Returns: An integer count of leading spaces, possibly zero.
build_support/cpplint.py:1994
↓ 3 callers
Method
GetMaxSize
* Helper methods to get/set max size (capacity) of the page */
src/storage/page/b_plus_tree_page.cpp:35
↓ 3 callers
Method
GetNumInHeap
src/execution/topn_executor.cpp:41
↓ 3 callers
Method
GetRoot
Get the root of the trie, should only be used in test cases.
src/include/primer/trie.h:137
↓ 3 callers
Method
GetTableIndexes
* Get all of the indexes for the table identified by `table_name`. * @param table_name The name of the table for which indexes should be retrieved
src/include/catalog/catalog.h:342
↓ 3 callers
Method
GetTableOid
@return The identifier of the table into which tuples are inserted */
src/include/execution/plans/insert_plan.h:44
↓ 3 callers
Method
GetUndoLogNum
src/include/concurrency/transaction.h:156
↓ 3 callers
Method
GetValue
* SEARCH *****************************************************************************/ * @brief Return the only value that associated with input key
src/storage/index/b_plus_tree.cpp:52
↓ 3 callers
Function
HTableBucketArraySize
src/include/storage/page/extendible_htable_bucket_page.h:40
↓ 3 callers
Method
HasWindowFunction
src/include/binder/bound_expression.h:55
↓ 3 callers
Method
HashToBucketIndex
* Get the bucket index that the key is hashed to * * @param hash the hash of the key * @return bucket index current key is hashed to */
src/storage/page/extendible_htable_directory_page.cpp:38
↓ 3 callers
Method
Height
* @brief Gets the current node height. */
src/primer/skiplist.cpp:128
↓ 3 callers
Method
IncrGlobalDepth
* Increment the global depth of the directory */
src/storage/page/hash_table_directory_page.cpp:70
↓ 3 callers
Method
InnermostClass
Get class info on the top of the stack. Returns: A _ClassInfo object if we are inside a class, or None otherwise.
build_support/cpplint.py:2978
↓ 3 callers
Method
Insert
* INSERTION *****************************************************************************/ * @brief Insert constant key & value pair into b+ tree *
src/storage/index/b_plus_tree.cpp:73
↓ 3 callers
Function
IsBlankLine
Returns true if the given line is blank. We consider a line to be blank if the line is empty or consists of only white spaces. Args: line:
build_support/cpplint.py:3253
↓ 3 callers
Method
Key
@brief Returns a reference to the key stored in the node. */
src/primer/skiplist.cpp:154
↓ 3 callers
Function
KeyWillNeverBeInserted
These keys will not be present
tools/htable_bench/htable_bench.cpp:127
↓ 3 callers
Function
KeyWillVanish
These keys will be deleted and inserted again
tools/htable_bench/htable_bench.cpp:121
↓ 3 callers
Function
KeyWillVanish
These keys will be deleted and inserted again
tools/btree_bench/btree_bench.cpp:121
↓ 3 callers
Method
Load
src/primer/orset_driver.cpp:22
↓ 3 callers
Method
Remove
* REMOVE *****************************************************************************/ * @brief Delete key & value pair associated with input key *
src/storage/index/b_plus_tree.cpp:92
↓ 3 callers
Function
ReplaceAll
Replaces instances of pattern in a string with a replacement. The compiled regex is kept in a cache shared by Match and Search. Args: patter
build_support/cpplint.py:807
↓ 3 callers
Method
Report
tools/bpm_bench/bpm_bench.cpp:91
↓ 3 callers
Method
Save
src/primer/orset_driver.cpp:39
↓ 3 callers
Method
SeenOpenBrace
Check if we have seen the opening brace for the innermost block. Returns: True if we have seen the opening brace, False if the innermost
build_support/cpplint.py:2664
↓ 3 callers
Method
Split
Splits the file into the directory, basename, and extension. For 'chrome/browser/browser.cc', Split() would return ('chrome/browser', 'browse
build_support/cpplint.py:1379
↓ 3 callers
Function
StatusSuccess
test/txn/txn_common.h:70
↓ 3 callers
Method
Tick
tools/htable_bench/htable_bench.cpp:97
↓ 3 callers
Method
Tick
tools/btree_bench/btree_bench.cpp:97
↓ 3 callers
Method
ToString
src/primer/orset.cpp:86
↓ 3 callers
Method
ToString
src/binder/fmt_impl.cpp:30
↓ 3 callers
Method
ToString
@return the string representation of the plan node and its children */
src/include/execution/expressions/abstract_expression.h:80
↓ 3 callers
Method
UpdateCommitTs
The caller should update commit ts before removing the txn from the watermark so that we can track watermark * correctly. */
src/include/concurrency/watermark.h:36
↓ 3 callers
Function
UsageMessage
tools/b_plus_tree_printer/b_plus_tree_printer.cpp:31
↓ 3 callers
Function
_RestoreFilters
Restores filters previously backed up.
build_support/cpplint.py:1237
↓ 3 callers
Method
__init__
(self, filename)
build_support/cpplint.py:1312
↓ 2 callers
Method
AddFilters
Adds more filters to the existing list of error-message filters.
build_support/cpplint.py:1068
↓ 2 callers
Method
Begin
* INDEX ITERATOR *****************************************************************************/ * @brief Input parameter is void, find the leftmost l
src/storage/index/b_plus_tree.cpp:110
↓ 2 callers
Method
BindStatement
Transform a Postgres statement into a single SQL statement. */
src/binder/transformer.cpp:67
↓ 2 callers
Method
CastAs
src/type/bigint_type.cpp:284
↓ 2 callers
Method
CastAs
src/type/integer_type.cpp:291
↓ 2 callers
Method
CastAs
src/type/tinyint_type.cpp:295
↓ 2 callers
Method
CastAs
src/type/smallint_type.cpp:315
↓ 2 callers
Function
CheckPageConsistentNoSeed
Check the page and verify the data inside
tools/bpm_bench/bpm_bench.cpp:125
↓ 2 callers
Method
CompareGreaterThan
src/include/type/value.h:125
↓ 2 callers
Method
CompareLessThan
src/include/type/value.h:119
↓ 2 callers
Method
CreatePromise
* @brief Create a Promise object. If you want to implement your own version of promise, you can change this function * so that our test cases can u
src/include/storage/disk/disk_scheduler.h:70
↓ 2 callers
Method
CurrentManagedTxn
Get the current transaction. */
src/common/bustub_instance.cpp:442
↓ 2 callers
Function
DeleteHelper
test/storage/b_plus_tree_concurrent_test.cpp:81
↓ 2 callers
Method
Draw
@brief draw the B+ tree */
src/include/storage/index/b_plus_tree_debug.h:128
↓ 2 callers
Method
EnableManagedTxn
Enable managed txn mode on this BusTub instance, allowing statements like `BEGIN`. */
src/common/bustub_instance.cpp:439
↓ 2 callers
Function
FindStartOfExpressionInLine
Find position at the matching start of current expression. This is almost the reverse of FindEndOfExpressionInLine, but note that the input posit
build_support/cpplint.py:1866
↓ 2 callers
Method
GarbageCollection
@brief Stop-the-world garbage collection. Will be called only when all transactions are not accessing the table * heap. */
src/concurrency/transaction_manager.cpp:113
↓ 2 callers
Method
Get
src/primer/trie.cpp:26
↓ 2 callers
Method
GetColumn
* Returns a specific column from the schema. * @param col_idx index of requested column * @return requested column */
src/include/catalog/schema.h:50
↓ 2 callers
Method
GetDirectoryPageId
* Get the directory page id at an index * * @param directory_idx index in the directory page id array * @return directory page_id at index */
src/storage/page/extendible_htable_header_page.cpp:42
↓ 2 callers
Method
GetHash
* @param key the key to be hashed * @return the hashed value */
src/include/container/hash/hash_function.h:28
↓ 2 callers
Function
GetHeaderGuardCPPVariable
Returns the CPP variable that should be used as a header guard. Args: filename: The name of a C++ header file. Returns: The CPP variable
build_support/cpplint.py:2034
↓ 2 callers
Method
GetInlinedStorageSize
@return the number of bytes used by one tuple */
src/include/catalog/schema.h:90
↓ 2 callers
Method
GetKeyAttrs
@return The index key attributes */
src/include/storage/index/index.h:148
↓ 2 callers
Function
GetLineWidth
Determines the width of the line in column positions. Args: line: A string, which may be a Unicode string. Returns: The width of the lin
build_support/cpplint.py:4514
↓ 2 callers
Method
GetLogFileName
@brief returns the log file name */
src/include/storage/disk/disk_manager.h:90
↓ 2 callers
Method
GetN
@return The N (limit) */
src/include/execution/plans/topn_plan.h:47
↓ 2 callers
Method
GetNumWrites
@return the number of disk writes */
src/storage/disk/disk_manager.cpp:242
← previous
next →
201–300 of 1,956, ranked by callers