MCPcopy Create free account

hub / github.com/cmu-db/bustub / functions

Functions1,956 in github.com/cmu-db/bustub

↓ 228 callersMethodIsNull
src/include/type/value.h:144
↓ 169 callersFunctionQueryShowResult
test/txn/txn_common.h:203
↓ 132 callersFunctionMatch
Matches the string with the pattern, caching the compiled regexp.
build_support/cpplint.py:797
↓ 131 callersFunctionSearch
Searches the string for the pattern, caching the compiled regexp.
build_support/cpplint.py:825
↓ 129 callersMethodInsert
* @brief Inserts a key into the skip list. * * Note: `Insert` will not insert the key if it already exists in the skip list. * * @param key key to
src/primer/skiplist.cpp:71
↓ 127 callersMethodCount
src/primer/count_min_sketch.cpp:64
↓ 110 callersFunctionExecuteTxn
test/txn/txn_common.h:299
↓ 101 callersFunctionBeginTxn
test/txn/txn_common.h:313
↓ 97 callersFunctionTxnMgrDbg
src/execution/execution_common.cpp:106
↓ 84 callersMethodContains
src/primer/orset.cpp:30
↓ 81 callersMethodCheckComparable
src/type/value.cpp:292
↓ 77 callersMethodSetFromInteger
NOTE: for test purpose only
src/include/storage/index/generic_key.h:39
↓ 72 callersMethodRemove
* @brief Remove the key from the trie. * @return If the key does not exist, return the original trie. Otherwise, returns the new trie. */
src/primer/trie.cpp:52
↓ 71 callersFunctionCommitTxn
test/txn/txn_common.h:328
↓ 71 callersMethodOutputSchema
@return the schema for the output of this plan node */
src/include/execution/plans/abstract_plan.h:79
↓ 66 callersMethodAddElem
src/primer/hyperloglog.cpp:51
↓ 63 callersMethodNewPage
* @brief Allocates a new page on disk. * * ### Implementation * * You will maintain a thread-safe, monotonically increasing counter in the form of
src/buffer/buffer_pool_manager.cpp:120
↓ 61 callersFunctionInt
test/txn/txn_common.h:54
↓ 59 callersMethodSize
@brief Returns the number of elements in the skip list. */
src/primer/skiplist.cpp:31
↓ 58 callersMethodRecordAccess
* TODO(P1): Add implementation * * @brief Record access to a frame, adjusting ARC bookkeeping accordingly * by bring the accessed page to the front
src/buffer/arc_replacer.cpp:78
↓ 57 callersMethodCheckInteger
* check whether value is integer */
src/type/value.cpp:326
↓ 56 callersFunctionDouble
test/txn/txn_common.h:58
↓ 56 callersMethodSetEvictable
* TODO(P1): Add implementation * * @brief Toggle whether a frame is evictable or non-evictable. This function also * controls replacer's size. Note
src/buffer/arc_replacer.cpp:97
↓ 55 callersMethodGetTypeId
src/include/type/type.h:43
↓ 55 callersFunctionParseCreateStatement
test/include/test_util.h:30
↓ 53 callersMethodGetPinCount
* @brief Retrieves the pin count of a page. If the page does not exist in memory, return `std::nullopt`. * * This function is thread safe. Callers m
src/buffer/buffer_pool_manager.cpp:358
↓ 51 callersMethodBegin
tools/bpm_bench/bpm_bench.cpp:89
↓ 50 callersFunctionEnsureTxnGCed
test/txn/txn_common.h:417
↓ 49 callersFunctionEnsureTxnExists
test/txn/txn_common.h:427
↓ 48 callersMethodGetReadTs
@return the read ts */
src/include/concurrency/transaction.h:117
↓ 46 callersMethodEvict
* TODO(P1): Add implementation * * @brief Performs the Replace operation as described by the writeup * that evicts from either mfu_ or mru_ into it
src/buffer/arc_replacer.cpp:47
↓ 44 callersMethodWritePage
* Write the contents of the specified page into disk file */
src/storage/disk/disk_manager.cpp:81
↓ 43 callersMethodReadPage
* Read the contents of the specified page into the given memory area */
src/storage/disk/disk_manager.cpp:110
↓ 40 callersMethodCommit
* Commits a transaction. * @param txn the transaction to commit, the txn will be managed by the txn manager so no need to delete it by * yourself *
src/concurrency/transaction_manager.cpp:65
↓ 40 callersMethodExecuteSqlTxn
* Execute a SQL query in the BusTub instance with provided txn. */
src/common/bustub_instance.cpp:273
↓ 39 callersMethodGetTransactionState
@return the transaction state */
src/include/concurrency/transaction.h:114
↓ 37 callersMethodGetTransactionId
@return the id of this transaction */
src/include/concurrency/transaction.h:102
↓ 36 callersMethodGetValue
* Get the value of a specified column (const) * checks the schema to see how to return the Value. */
src/storage/table/tuple.cpp:80
↓ 35 callersMethodGetTable
* Query table metadata by name. * @param table_name The name of the table * @return A (non-owning) pointer to the metadata for the table */
src/include/catalog/catalog.h:176
↓ 33 callersMethodGetSlotNum
src/include/common/rid.h:41
↓ 32 callersFunctionBoolNull
test/txn/txn_common.h:64
↓ 32 callersMethodSet
src/include/common/rid.h:43
↓ 31 callersMethodAbort
* Aborts a transaction * @param txn the transaction to abort, the txn will be managed by the txn manager so no need to delete it by yourself */
src/concurrency/transaction_manager.cpp:99
↓ 31 callersMethodKeyAt
* Helper method to find and return the key associated with input "index" (a.k.a * array offset) */
src/storage/page/b_plus_tree_leaf_page.cpp:61
↓ 31 callersFunctionTryBind
* @brief Bind a query using the schema below: * * - `CREATE TABLE y (x INT, z INT, a INT, b INT, c INT)` * - `CREATE TABLE a (x INT, y INT)` * - `
test/binder/binder_test.cpp:29
↓ 30 callersMethodGetCardinality
* @brief Getter value for cardinality. * * @returns cardinality value */
src/include/primer/hyperloglog.h:45
↓ 30 callersMethodGetCommitTs
@return the commit ts */
src/include/concurrency/transaction.h:120
↓ 27 callersFunctionReconstructTuple
* @brief Reconstruct a tuple by applying the provided undo logs from the base tuple. All logs in the undo_logs are * applied regardless of the timest
src/execution/execution_common.cpp:53
↓ 26 callersMethodComputeCardinality
src/primer/hyperloglog.cpp:59
↓ 25 callersFunctionExecute
test/txn/txn_common.h:263
↓ 25 callersMethodGetTransactionIdHumanReadable
@return the id of this transaction, stripping the highest bit. NEVER use/store this value unless for debugging. */
src/include/concurrency/transaction.h:105
↓ 25 callersMethodGetWatermark
src/include/concurrency/watermark.h:38
↓ 24 callersMethodAdd
test/common/rwlatch_test.cpp:24
↓ 24 callersFunctionBool
test/txn/txn_common.h:62
↓ 23 callersMethodExecuteSql
* Execute a SQL query in the BusTub instance. */
src/common/bustub_instance.cpp:250
↓ 23 callersMethodGetType
@return column type */
src/include/catalog/column.h:84
↓ 19 callersMethodGetPageId
src/include/common/rid.h:39
↓ 19 callersFunctionPrintStatements
test/binder/binder_test.cpp:61
↓ 19 callersMethodTxnAborted
tools/terrier_bench/terrier.cpp:108
↓ 18 callersFunctionHeader
test/txn/txn_common.h:86
↓ 18 callersMethodToString
Return a string version of this value
src/include/type/value.h:159
↓ 17 callersMethodGetRootPageId
* @return Page id of the root of this tree * * You may want to implement this while implementing Task #3. */
src/storage/index/b_plus_tree.cpp:134
↓ 17 callersMethodGetSize
src/include/recovery/log_record.h:131
↓ 17 callersFunctionTableHeapEntryNoMoreThan
test/txn/txn_common.h:285
↓ 16 callersMethodAppendUndoLog
@return the index of the undo log in this transaction */
src/include/concurrency/transaction.h:129
↓ 16 callersFunctionCheckUndoLogColumn
test/txn/txn_common.h:221
↓ 16 callersMethodGetBucketPageId
* Lookup a bucket page using a directory index * * @param bucket_idx the index in the directory to lookup * @return bucket page_id corresponding to
src/storage/page/hash_table_directory_page.cpp:83
↓ 16 callersMethodGetColumnCount
@return the number of columns in the schema for the tuple */
src/include/catalog/schema.h:84
↓ 16 callersMethodGetColumns
@return all the columns in the schema */
src/include/catalog/schema.h:43
↓ 16 callersMethodGetPageId
* @brief Gets the page ID of the page this guard is protecting. */
src/storage/page/page_guard.cpp:83
↓ 16 callersMethodInsertTuple
* Insert a tuple into the table. * @param tuple tuple to insert * @return true if the insert is successful (i.e. there is enough space) */
src/storage/page/table_page.cpp:56
↓ 16 callersMethodOneCell
src/include/common/bustub_instance.h:66
↓ 16 callersMethodUnpin
src/buffer/lru_replacer.cpp:32
↓ 15 callersMethodDrop
* @brief Iteratively deallocate all the nodes. * * We do this to avoid stack overflow when the skip list is large. * * If we let the compiler hand
src/primer/skiplist.cpp:43
↓ 15 callersFunctionExtractOneCell
tools/terrier_bench/terrier.cpp:145
↓ 15 callersMethodGetData
* Access the raw variable length data */
src/type/type.cpp:308
↓ 15 callersMethodGetReturnType
@return the type of this expression if it were to be evaluated */
src/include/execution/expressions/abstract_expression.h:77
↓ 15 callersMethodNumLines
Returns the number of lines represented.
build_support/cpplint.py:1672
↓ 15 callersMethodSetFromKey
src/include/storage/index/generic_key.h:32
↓ 15 callersMethodVerifyIntegrity
* VerifyIntegrity - Use this for debugging but **DO NOT CHANGE** * * If you want to make changes to this, make a new function and extend it. * * V
src/storage/page/hash_table_directory_page.cpp:151
↓ 15 callersFunctionVerifyTuple
test/txn/txn_common.h:94
↓ 14 callersFunctionBumpCommitTs
test/txn/txn_common.h:437
↓ 14 callersMethodGetAsInteger
NOTE: for test purpose only
src/include/storage/index/generic_key.h:45
↓ 14 callersMethodGetDataMut
* @brief Gets a mutable pointer to the page of data this guard is protecting. */
src/storage/page/page_guard.cpp:210
↓ 14 callersMethodGetIsolationLevel
@return the isolation level of this transaction */
src/include/concurrency/transaction.h:111
↓ 14 callersMethodGetSize
* Helper methods to get/set size (number of key/value pairs stored in that * page) */
src/storage/page/b_plus_tree_page.cpp:28
↓ 14 callersMethodMerge
src/primer/orset.cpp:64
↓ 13 callersMethodBegin
tools/terrier_bench/terrier.cpp:112
↓ 13 callersFunctionCloseExpression
If input points to ( or { or [ or <, finds the position that closes it. If lines[linenum][pos] points to a '(' or '{' or '[' or '<', finds the li
build_support/cpplint.py:1822
↓ 13 callersFunctionGarbageCollection
test/txn/txn_common.h:412
↓ 13 callersMethodGetTuple
* Read a tuple from a table. */
src/storage/page/table_page.cpp:86
↓ 13 callersFunctionPrintPlan
tools/terrier_bench/terrier.cpp:471
↓ 12 callersMethodGetChildPlan
@return The child plan node */
src/include/execution/plans/topn_plan.h:53
↓ 12 callersMethodGetColIdx
* Looks up and returns the index of the first column in the schema with the specified name. * If multiple columns have the same name, the first suc
src/include/catalog/schema.h:58
↓ 12 callersMethodGetJoinType
@return The join type used in the hash join */
src/include/execution/plans/hash_join_plan.h:67
↓ 12 callersMethodUpdateUndoLink
* @brief Update an undo link that links table heap tuple to the first undo log. * Before updating, `check` function will be called to ensure validity
src/concurrency/transaction_manager_impl.cpp:44
↓ 12 callersMethodVictim
src/buffer/lru_replacer.cpp:28
↓ 11 callersFunctionCopyString
test/buffer/buffer_pool_manager_test.cpp:27
↓ 11 callersMethodGetLength
Get length of the tuple, including varchar length
src/include/storage/table/tuple.h:94
↓ 11 callersMethodGetName
@return column name */
src/include/catalog/column.h:75
next →1–100 of 1,956, ranked by callers