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
Function
CheckForFunctionLengths
Reports for long function bodies. For an overview why this is done, see: https://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Write_Sh
build_support/cpplint.py:3282
↓ 1 callers
Function
CheckForHeaderGuard
Checks that the file contains a header guard. Logs an error if no #ifndef header guard is present. For other headers, checks that the full pathn
build_support/cpplint.py:2110
↓ 1 callers
Function
CheckForIncludeWhatYouUse
Reports for missing stl includes. This function will output warnings to make sure you are including the headers necessary for the stl containers
build_support/cpplint.py:5782
↓ 1 callers
Function
CheckForMultilineCommentsAndStrings
Logs an error if we see /* ... */ or "..." that extend past one line. /* ... */ comments are legit inside macros, for one line. Otherwise, we pre
build_support/cpplint.py:2283
↓ 1 callers
Function
CheckForNamespaceIndentation
(filename, nesting_state, clean_lines, line, error)
build_support/cpplint.py:3268
↓ 1 callers
Function
CheckForNewlineAtEOF
Logs an error if there is no newline char at the end of the file. Args: filename: The name of the current file. lines: An array of strings,
build_support/cpplint.py:2265
↓ 1 callers
Function
CheckForNonConstReference
Check for non-const references. Separate from CheckLanguage since it scans backwards from current line, instead of scanning forward. Args:
build_support/cpplint.py:5284
↓ 1 callers
Function
CheckForNonStandardConstructs
r"""Logs an error if we see certain non-ANSI constructs ignored by gcc-2. Complain about several constructs which gcc-2 accepts, but which are no
build_support/cpplint.py:3012
↓ 1 callers
Function
CheckGlobalStatic
Check for unsafe global or static objects. Args: filename: The name of the current file. clean_lines: A CleansedLines instance containing t
build_support/cpplint.py:5114
↓ 1 callers
Function
CheckHeaderFileIncluded
Logs an error if a source file does not include its header.
build_support/cpplint.py:2213
↓ 1 callers
Function
CheckIncludeLine
Check rules that are applicable to #include lines. Strings on #include lines are NOT removed from elided line, to make certain tasks easier. Howe
build_support/cpplint.py:4777
↓ 1 callers
Method
CheckIntegrity
* @brief Checks the integrity of the skip list. * * This method uses GTest internally. * * @param keys expected keys to be in the skip lis
test/primer/skiplist_test.cpp:48
↓ 1 callers
Function
CheckInvalidIncrement
Checks for invalid increment *count++. For example following function: void increment_counter(int* count) { *count++; } is invalid, becau
build_support/cpplint.py:2401
↓ 1 callers
Function
CheckItemIndentationInNamespace
(filename, raw_lines_no_comments, linenum, error)
build_support/cpplint.py:6056
↓ 1 callers
Function
CheckLanguage
Checks rules from the 'C++ language rules' section of cppguide.html. Some of these rules are hard to test (function overloading, using uint32 ina
build_support/cpplint.py:4953
↓ 1 callers
Function
CheckMakePairUsesDeduction
Check that make_pair's template arguments are deduced. G++ 4.6 in C++11 mode fails badly if make_pair's template arguments are specified explicit
build_support/cpplint.py:5886
↓ 1 callers
Method
CheckNextIncludeOrder
Returns a non-empty error message if the next header is out of order. This function also updates the internal state to be ready to check the
build_support/cpplint.py:950
↓ 1 callers
Function
CheckOperatorSpacing
Checks for horizontal spacing around operators. Args: filename: The name of the current file. clean_lines: A CleansedLines instance contain
build_support/cpplint.py:3535
↓ 1 callers
Function
CheckOrderByCompatible
src/planner/plan_window_function.cpp:43
↓ 1 callers
Function
CheckPageConsistent
Check the page and verify the data inside
tools/bpm_bench/bpm_bench.cpp:140
↓ 1 callers
Function
CheckParenthesisSpacing
Checks for horizontal spacing around parentheses. Args: filename: The name of the current file. clean_lines: A CleansedLines instance conta
build_support/cpplint.py:3650
↓ 1 callers
Function
CheckPosixThreading
Checks for calls to thread-unsafe functions. Much code has been originally written without consideration of multi-threading. Also, engineers are
build_support/cpplint.py:2351
↓ 1 callers
Function
CheckPrintf
Check for printf related issues. Args: filename: The name of the current file. clean_lines: A CleansedLines instance containing the file.
build_support/cpplint.py:5175
↓ 1 callers
Function
CheckRedundantOverrideOrFinal
Check if line contains a redundant "override" or "final" virt-specifier. Args: filename: The name of the current file. clean_lines: A Clean
build_support/cpplint.py:5971
↓ 1 callers
Function
CheckRedundantVirtual
Check if line contains a redundant "virtual" function-specifier. Args: filename: The name of the current file. clean_lines: A CleansedLines
build_support/cpplint.py:5907
↓ 1 callers
Function
CheckSectionSpacing
Checks for additional blank line issues related to sections. Currently the only thing checked here is blank line before protected/private. Args:
build_support/cpplint.py:3893
↓ 1 callers
Function
CheckSpacing
Checks for the correctness of various spacing issues in the code. Things we check for: spaces around operators, spaces after if/for/while/switch,
build_support/cpplint.py:3407
↓ 1 callers
Function
CheckSpacingForFunctionCall
Checks for the correctness of various spacing around function calls. Args: filename: The name of the current file. clean_lines: A CleansedL
build_support/cpplint.py:3176
↓ 1 callers
Function
CheckStyle
Checks rules from the 'C++ style rules' section of cppguide.html. Most of these rules are hard to test (naming, comment style), but we do what we
build_support/cpplint.py:4546
↓ 1 callers
Function
CheckTainted
test/txn/txn_common.h:376
↓ 1 callers
Function
CheckTrailingSemicolon
Looks for redundant trailing semicolon. Args: filename: The name of the current file. clean_lines: A CleansedLines instance containing the
build_support/cpplint.py:4090
↓ 1 callers
Function
CheckVlogArguments
Checks that VLOG() is only used for defining a logging level. For example, VLOG(2) is correct. VLOG(INFO), VLOG(WARNING), VLOG(ERROR), and VLOG(F
build_support/cpplint.py:2377
↓ 1 callers
Function
CleanseRawStrings
Removes C++11 raw strings from lines. Before: static const char kData[] = R"( multi-line string )"; After: s
build_support/cpplint.py:1513
↓ 1 callers
Method
CompareGreaterThan
src/type/varlen_type.cpp:89
↓ 1 callers
Method
CompareGreaterThanEquals
src/type/timestamp_type.cpp:64
↓ 1 callers
Method
CompareGreaterThanEquals
src/type/type.cpp:212
↓ 1 callers
Method
CompareGreaterThanEquals
src/type/decimal_type.cpp:256
↓ 1 callers
Method
CompareGreaterThanEquals
src/include/type/value.h:128
↓ 1 callers
Method
CompareLessThan
src/type/timestamp_type.cpp:40
↓ 1 callers
Method
CompareLessThan
src/type/varlen_type.cpp:71
↓ 1 callers
Method
CompareLessThan
src/type/type.cpp:200
↓ 1 callers
Method
CompareLessThanEquals
src/type/decimal_type.cpp:232
↓ 1 callers
Method
CompareLessThanEquals
src/include/type/value.h:122
↓ 1 callers
Method
CompareNotEquals
src/include/type/value.h:116
↓ 1 callers
Function
CompareValue
test/txn/txn_common.h:66
↓ 1 callers
Function
ComputeDbSize
tools/terrier_bench/terrier.cpp:440
↓ 1 callers
Function
ConstructTuple
use a fixed schema to construct a random tuple
test/include/logging/common.h:26
↓ 1 callers
Method
Copy
Create a copy of this value
src/include/type/value.h:161
↓ 1 callers
Method
Count
Count line in current function body.
build_support/cpplint.py:1262
↓ 1 callers
Method
DecrGlobalDepth
* Decrement the global depth of the directory */
src/storage/page/hash_table_directory_page.cpp:75
↓ 1 callers
Function
DeleteHelper
helper function to delete
test/container/disk/hash/extendible_htable_concurrent_test.cpp:75
↓ 1 callers
Method
DeletePage
src/include/buffer/traced_buffer_pool_manager.h:28
↓ 1 callers
Method
DrawBPlusTree
* @brief draw a B+ tree, below is a printed * B+ tree(3 max leaf, 4 max internal) after inserting key: * {1, 5, 9, 13, 17, 21, 25, 29, 33, 37, 18,
src/include/storage/index/b_plus_tree_debug.h:244
↓ 1 callers
Method
EnableLatencySimulator
src/include/storage/disk/disk_manager_memory.h:73
↓ 1 callers
Method
End
Stop analyzing function body.
build_support/cpplint.py:1295
↓ 1 callers
Method
End
* @brief Input parameter is void, construct an index iterator representing the end * of the key/value pair in the leaf node * @return : index iterat
src/storage/index/b_plus_tree.cpp:126
↓ 1 callers
Function
Error
Logs the fact we've found a lint error. We log where the error was found, and also our confidence in the error, that is, how certain we are this
build_support/cpplint.py:1438
↓ 1 callers
Method
Execute
* Execute a query plan. * @param plan The query plan to execute * @param result_set The set of tuples produced by executing the plan * @param
src/include/execution/execution_engine.h:54
↓ 1 callers
Function
ExpectResult
test/txn/txn_common.h:144
↓ 1 callers
Function
ExpectingFunctionArgs
Checks whether where function type arguments are expected. Args: clean_lines: A CleansedLines instance containing the file. linenum: The nu
build_support/cpplint.py:5595
↓ 1 callers
Function
FilesBelongToSameModule
Check if these two filenames belong to the same module. The concept of a 'module' here is a as follows: foo.h, foo-inl.h, foo.cc, foo_test.cc and
build_support/cpplint.py:5697
↓ 1 callers
Function
FindCheckMacro
Find a replaceable CHECK-like macro. Args: line: line to search on. Returns: (macro name, start position), or (None, -1) if no replaceabl
build_support/cpplint.py:4341
↓ 1 callers
Method
FindHeader
Check if a header has already been included. Args: header: header to check. Returns: Line number of previous occurrence, or -1 if
build_support/cpplint.py:878
↓ 1 callers
Function
FindNextMultiLineCommentEnd
We are inside a comment, find the end marker.
build_support/cpplint.py:1600
↓ 1 callers
Function
FindNextMultiLineCommentStart
Find the beginning marker for a multiline comment.
build_support/cpplint.py:1589
↓ 1 callers
Function
FixupPathFromRoot
()
build_support/cpplint.py:2056
↓ 1 callers
Function
FlagCxx11Features
Flag those c++11 features that we only allow in certain places. Args: filename: The name of the current file. clean_lines: A CleansedLines
build_support/cpplint.py:6109
↓ 1 callers
Method
FormatJUnitXML
(self)
build_support/cpplint.py:1124
↓ 1 callers
Method
GenerateTestTables
* Generate test tables. */
src/catalog/table_generator.cpp:103
↓ 1 callers
Method
GenerateUid
* @brief Generates a unique id. * * @return a unique id. */
src/include/primer/orset_driver.h:122
↓ 1 callers
Method
Get
src/include/common/rid.h:37
↓ 1 callers
Method
GetAggregates
@return The aggregate expressions */
src/include/execution/plans/aggregation_plan.h:73
↓ 1 callers
Method
GetCatalog
@return the catalog */
src/include/execution/executor_context.h:63
↓ 1 callers
Method
GetCheckOptions
@return the check options */
src/include/execution/executor_context.h:83
↓ 1 callers
Method
GetData
* Access the raw variable length data */
src/type/varlen_type.cpp:46
↓ 1 callers
Method
GetData
@return the actual data contained within this page */
src/include/storage/page/page.h:51
↓ 1 callers
Method
GetData
Access the raw variable length data
src/include/type/value.h:93
↓ 1 callers
Function
GetDbForIsolationTest
test/concurrency/common_checker.h:228
↓ 1 callers
Function
GetFunctionOf
src/execution/mock_scan_executor.cpp:380
↓ 1 callers
Method
GetGroupBys
@return The group by expressions */
src/include/execution/plans/aggregation_plan.h:67
↓ 1 callers
Method
GetInfo
test/type/type_test.cpp:32
↓ 1 callers
Method
GetInitCount
@return The number of inits */
src/include/execution/executors/init_check_executor.h:41
↓ 1 callers
Function
GetMockTableSchemaOf
src/execution/mock_scan_executor.cpp:146
↓ 1 callers
Method
GetNLJCheckExecutorSet
@return the set of nlj check executors */
src/include/execution/executor_context.h:78
↓ 1 callers
Method
GetNextCount
@return The number of nexts */
src/include/execution/executors/init_check_executor.h:44
↓ 1 callers
Method
GetNextTupleOffset
Get the next offset to insert, return nullopt if this tuple cannot fit in this page */
src/storage/page/table_page.cpp:35
↓ 1 callers
Method
GetNumDeletes
@return the number of deletions */
src/storage/disk/disk_manager.cpp:245
↓ 1 callers
Function
GetNumLeaves
test/include/storage/b_plus_tree_utils.h:166
↓ 1 callers
Method
GetRid
return RID of current tuple
src/include/storage/table/tuple.h:85
↓ 1 callers
Function
GetShuffled
src/execution/mock_scan_executor.cpp:362
↓ 1 callers
Function
GetSizeOf
src/execution/mock_scan_executor.cpp:256
↓ 1 callers
Method
GetStorageSize
@return column length */
src/include/catalog/column.h:78
↓ 1 callers
Method
GetTupleMeta
* Read a tuple meta from the table. Note: if you want to get tuple and meta together, use `GetTuple` instead * to ensure atomicity. * @param rid rid
src/storage/table/table_heap.cpp:131
↓ 1 callers
Method
GetUnlinedColumns
@return the indices of non-inlined columns */
src/include/catalog/schema.h:81
↓ 1 callers
Method
GetValue
src/container/disk/hash/linear_probe_hash_table.cpp:51
↓ 1 callers
Method
HashFunction
* @brief Seeded hash function generator * * @param seed Used for creating independent hash functions * @return A function that maps items to
src/include/primer/count_min_sketch.h:97
↓ 1 callers
Method
HashToDirectoryIndex
* Get the directory index that the key is hashed to * * @param hash the hash of the key * @return directory index the key is hashed to */
src/storage/page/extendible_htable_header_page.cpp:34
↓ 1 callers
Method
InAsmBlock
Check if we are currently one level inside an inline ASM block. Returns: True if the top of the stack is a block containing inline ASM.
build_support/cpplint.py:2697
↓ 1 callers
Method
InExternC
Check if we are currently one level inside an 'extern "C"' block. Returns: True if top of the stack is an extern block, False otherwise.
build_support/cpplint.py:2681
↓ 1 callers
Method
InNamespaceBody
Check if we are currently one level inside a namespace body. Returns: True if top of the stack is a namespace block, False otherwise.
build_support/cpplint.py:2673
← previous
next →
401–500 of 1,956, ranked by callers