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
↓ 1 callers
Method
InTemplateArgumentList
Check if current position is inside template argument list. Args: clean_lines: A CleansedLines instance containing the file. linenum:
build_support/cpplint.py:2705
↓ 1 callers
Method
IncrementErrorCount
Bumps the module's error statistic.
build_support/cpplint.py:1092
↓ 1 callers
Method
Init
src/include/storage/page/tmp_tuple_page.h:35
↓ 1 callers
Method
InitCheckOptions
src/include/execution/executor_context.h:89
↓ 1 callers
Method
InsertEntry
src/include/storage/index/stl_ordered.h:69
↓ 1 callers
Method
InsertFromFile
* This method is used for test only * Read data from file and insert one by one */
src/include/storage/index/b_plus_tree_debug.h:37
↓ 1 callers
Function
IsBlockInNameSpace
Checks that the new block is directly in a namespace. Args: nesting_state: The _NestingState object that contains info about our state. is_
build_support/cpplint.py:6004
↓ 1 callers
Function
IsCppString
Does line terminate so, that the next symbol is in string constant. This function does not consider single-line nor multi-line comments. Args:
build_support/cpplint.py:1496
↓ 1 callers
Function
IsDerivedFunction
Check if current line contains an inherited function. Args: clean_lines: A CleansedLines instance containing the file. linenum: The number
build_support/cpplint.py:5204
↓ 1 callers
Method
IsEmpty
* @brief Helper function to decide whether current b+tree is empty * @return Returns true if this B+ tree has no keys and values. */
src/storage/index/b_plus_tree.cpp:37
↓ 1 callers
Method
IsEnd
src/include/storage/index/stl_ordered.h:39
↓ 1 callers
Function
IsErrorSuppressedByNolint
Returns true if the specified error category is suppressed on this line. Consults the global error_suppressions map populated by ParseNolintSuppr
build_support/cpplint.py:779
↓ 1 callers
Function
IsForwardClassDeclaration
(clean_lines, linenum)
build_support/cpplint.py:2433
↓ 1 callers
Method
IsFull
src/storage/page/hash_table_bucket_page.cpp:127
↓ 1 callers
Method
IsInAlphabeticalOrder
Check if a header is in alphabetical order with the previous header. Args: clean_lines: A CleansedLines instance containing the file.
build_support/cpplint.py:929
↓ 1 callers
Function
IsInitializerList
Check if current line is inside constructor initializer list. Args: clean_lines: A CleansedLines instance containing the file. linenum: The
build_support/cpplint.py:5242
↓ 1 callers
Method
IsInlined
@return true if all columns are inlined, false otherwise */
src/include/catalog/schema.h:93
↓ 1 callers
Function
IsMacroDefinition
(clean_lines, linenum)
build_support/cpplint.py:2423
↓ 1 callers
Function
IsOutOfLineMethodDefinition
Check if current line contains an out-of-line method definition. Args: clean_lines: A CleansedLines instance containing the file. linenum:
build_support/cpplint.py:5226
↓ 1 callers
Method
KeyFromTuple
* Generates a key tuple given schemas and attributes */
src/storage/table/tuple.cpp:91
↓ 1 callers
Method
LockRow
* Acquire a lock on rid in the given lock_mode. * If the transaction already holds a lock on the row, upgrade the lock * to the specified lock_mode
src/concurrency/lock_manager.cpp:65
↓ 1 callers
Method
Lookup
src/storage/page/extendible_htable_bucket_page.cpp:40
↓ 1 callers
Function
LookupHelper
test/container/disk/hash/extendible_htable_concurrent_test.cpp:97
↓ 1 callers
Function
LookupHelper
test/storage/b_plus_tree_concurrent_test.cpp:107
↓ 1 callers
Function
MatchSuffix
src/binder/bind_select.cpp:660
↓ 1 callers
Function
MockSeed
src/execution/mock_scan_executor.cpp:31
↓ 1 callers
Method
Parse
tools/sqllogictest/parser.cpp:188
↓ 1 callers
Function
ParseArguments
Parses the command line arguments. This may set the output format and verbosity level as side-effects. Args: args: The command line argument
build_support/cpplint.py:6441
↓ 1 callers
Function
ParseInner
tools/sqllogictest/parser.cpp:48
↓ 1 callers
Method
Print
src/include/storage/index/b_plus_tree_debug.h:67
↓ 1 callers
Method
PrintBucket
src/storage/page/hash_table_bucket_page.cpp:151
↓ 1 callers
Function
PrintCategories
Prints a list of all the error-categories used by error messages. These are the categories used to filter messages via --filter.
build_support/cpplint.py:6432
↓ 1 callers
Method
PrintDirectory
* Prints the current directory */
src/storage/page/hash_table_directory_page.cpp:196
↓ 1 callers
Method
PrintErrorCounts
Print a summary of errors by category, and the total.
build_support/cpplint.py:1102
↓ 1 callers
Method
PrintHeader
* Prints the header's occupancy information */
src/storage/page/extendible_htable_page_utils.cpp:24
↓ 1 callers
Function
PrintVersion
()
build_support/cpplint.py:6426
↓ 1 callers
Function
ProcessConfigOverrides
Loads the configuration files and processes the config overrides. Args: filename: The name of the file being processed by the linter. Retur
build_support/cpplint.py:6231
↓ 1 callers
Function
ProcessFile
Does google-lint on a single file. Args: filename: The name of the file to parse. vlevel: The level of errors to report. Every error of c
build_support/cpplint.py:6318
↓ 1 callers
Function
ProcessFileData
Performs lint checks and reports any errors to the given error function. Args: filename: Filename of the file that is being processed. file
build_support/cpplint.py:6180
↓ 1 callers
Function
ProcessGlobalSuppresions
Updates the list of global error suppressions. Parses any lint directives in the file that have global effect. Args: lines: An array of stri
build_support/cpplint.py:755
↓ 1 callers
Function
ProcessLine
Processes a single line in the file. Args: filename: Filename of the file that is being processed. file_extension: The extension (dot not i
build_support/cpplint.py:6064
↓ 1 callers
Method
Put
src/primer/trie.cpp:40
↓ 1 callers
Method
RLock
* Acquire a read latch. */
src/include/common/rwlatch.h:40
↓ 1 callers
Method
RUnlock
* Release a read latch. */
src/include/common/rwlatch.h:45
↓ 1 callers
Function
RandomValueForColumn
Generic random value for a column (keeps types/sensible ranges)
src/execution/mock_scan_executor.cpp:58
↓ 1 callers
Method
RemoveFromFile
* This method is used for test only * Read data from file and remove one by one */
src/include/storage/index/b_plus_tree_debug.h:55
↓ 1 callers
Function
RemoveMultiLineComments
Removes multiline (c-style) comments from lines.
build_support/cpplint.py:1617
↓ 1 callers
Function
RemoveMultiLineCommentsFromRange
Clears a range of lines for multi-line comments.
build_support/cpplint.py:1609
↓ 1 callers
Method
ReportGet
tools/bpm_bench/bpm_bench.cpp:58
↓ 1 callers
Method
ReportJoin
tools/terrier_bench/terrier.cpp:63
↓ 1 callers
Method
ReportRead
tools/htable_bench/htable_bench.cpp:68
↓ 1 callers
Method
ReportRead
tools/btree_bench/btree_bench.cpp:68
↓ 1 callers
Method
ReportScan
tools/bpm_bench/bpm_bench.cpp:53
↓ 1 callers
Method
ReportWrite
tools/htable_bench/htable_bench.cpp:63
↓ 1 callers
Method
ReportWrite
tools/btree_bench/btree_bench.cpp:63
↓ 1 callers
Method
ResetErrorCounts
Sets the module's error statistic back to zero.
build_support/cpplint.py:1087
↓ 1 callers
Function
ResetNolintSuppressions
Resets the set of NOLINT suppressions to empty.
build_support/cpplint.py:773
↓ 1 callers
Method
RestoreFilters
Restores filters previously backed up.
build_support/cpplint.py:1083
↓ 1 callers
Function
ResultCompare
tools/sqllogictest/sqllogictest.cpp:46
↓ 1 callers
Method
SetChildExecutor
Sets new child executor (for testing only) */
src/include/execution/executors/topn_executor.h:43
↓ 1 callers
Method
SetCountingStyle
Sets the module's counting options.
build_support/cpplint.py:1046
↓ 1 callers
Method
SetEnd
src/include/binder/expressions/bound_window.h:87
↓ 1 callers
Method
SetFilters
Sets the error-message filters. These filters are applied when deciding whether to emit a given error message. Args: filters: A st
build_support/cpplint.py:1050
↓ 1 callers
Method
SetLastHeader
(self, header_path)
build_support/cpplint.py:911
↓ 1 callers
Method
SetNextPageId
src/storage/page/b_plus_tree_leaf_page.cpp:52
↓ 1 callers
Method
SetOutputFormat
Sets the output format for errors.
build_support/cpplint.py:1030
↓ 1 callers
Method
SetQuiet
Sets the module's quiet settings, and returns the previous setting.
build_support/cpplint.py:1034
↓ 1 callers
Method
SetStart
src/include/binder/expressions/bound_window.h:85
↓ 1 callers
Method
SetVerboseLevel
Sets the module's verbosity, and returns the previous setting.
build_support/cpplint.py:1040
↓ 1 callers
Function
ShouldCheckNamespaceIndentation
This method determines if we should apply our namespace indentation check. Args: nesting_state: The current nesting state. is_namespace_ind
build_support/cpplint.py:6023
↓ 1 callers
Function
StartReadTxn
test/concurrency/common_checker.h:241
↓ 1 callers
Method
StopFlushThread
* Stop and join the flush thread, set enable_logging = false */
src/recovery/log_manager.cpp:30
↓ 1 callers
Function
TaskComputeDbSize
tools/terrier_bench/terrier.cpp:458
↓ 1 callers
Method
ToString
* Debug */
src/type/bigint_type.cpp:255
↓ 1 callers
Method
ToString
* Debug */
src/type/boolean_type.cpp:80
↓ 1 callers
Method
ToString
* Debug */
src/type/integer_type.cpp:259
↓ 1 callers
Method
ToString
* Debug */
src/type/decimal_type.cpp:324
↓ 1 callers
Method
ToString
* Debug */
src/type/tinyint_type.cpp:264
↓ 1 callers
Method
ToString
* Debug */
src/type/smallint_type.cpp:260
↓ 1 callers
Method
ToString
NOTE: for test purpose only interpret the first 8 bytes as int64_t from data vector
src/include/storage/index/generic_key.h:67
↓ 1 callers
Function
TryRead
test/concurrency/common_checker.h:288
↓ 1 callers
Method
Update
Update nesting state with current line. Args: filename: The name of the current file. clean_lines: A CleansedLines instance containin
build_support/cpplint.py:2814
↓ 1 callers
Function
UpdateIncludeState
Fill up the include_dict with new includes found from the file. Args: filename: the name of the header to read. include_dict: a dictionary
build_support/cpplint.py:5755
↓ 1 callers
Method
UpdatePreprocessor
Update preprocessor stack. We need to handle preprocessors due to classes like this: #ifdef SWIG struct ResultDetailsPageElementExten
build_support/cpplint.py:2757
↓ 1 callers
Method
UpdateTupleInPlaceWithLockAcquired
src/storage/table/table_heap.cpp:183
↓ 1 callers
Function
UsageMessage
tools/wasm-bpt-printer/wasm-bpt-printer.cpp:44
↓ 1 callers
Function
VecToVecString
test/txn/txn_common.h:135
↓ 1 callers
Method
WLock
* Acquire a write latch. */
src/include/common/rwlatch.h:30
↓ 1 callers
Method
WUnlock
* Release a write latch. */
src/include/common/rwlatch.h:35
↓ 1 callers
Method
WriteLog
* Write the contents of the log into disk file * Only return when sync is done, and only perform sequence write * @param log_data raw log data * @p
src/storage/disk/disk_manager.cpp:174
↓ 1 callers
Function
_AddFilters
Adds more filter overrides. Unlike _SetFilters, this function does not reset the current list of filters available. Args: filters: A strin
build_support/cpplint.py:1221
↓ 1 callers
Function
_BackupFilters
Saves the current filter list to backup storage.
build_support/cpplint.py:1233
↓ 1 callers
Function
_ClassifyInclude
Figures out what kind of header 'include' is. Args: fileinfo: The current file cpplint is running over. A FileInfo instance. include: The p
build_support/cpplint.py:4711
↓ 1 callers
Method
_CollapseStrings
Collapses strings and chars on a line to simple "" or '' blocks. We nix strings first so we're not fooled by text like '"http://"' Args:
build_support/cpplint.py:1677
↓ 1 callers
Function
_ExpandDirectories
Searches a list of filenames and replaces directories in the list with all files descending from those directories. Files with extensions not in t
build_support/cpplint.py:6539
↓ 1 callers
Function
_FilterExcludedFiles
Filters out files listed in the --exclude command line switch. File paths in the switch are evaluated relative to the current working directory
build_support/cpplint.py:6571
↓ 1 callers
Function
_Filters
Returns the module's list of output filters, as a list.
build_support/cpplint.py:1204
↓ 1 callers
Function
_GetTextInside
r"""Retrieves all the text between matching open and close parentheses. Given a string of lines and a regular expression string, retrieve all the t
build_support/cpplint.py:4868
↓ 1 callers
Function
_IsType
Check if expression looks like a type name, returns true if so. Args: clean_lines: A CleansedLines instance containing the file. nesting_st
build_support/cpplint.py:3724
↓ 1 callers
Function
_OutputFormat
Gets the module's output format.
build_support/cpplint.py:1171
← previous
next →
501–600 of 1,956, ranked by callers