Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alibaba/libgrape-lite
/ functions
Functions
2,721 in github.com/alibaba/libgrape-lite
⨍
Functions
2,721
◇
Types & classes
479
↓ 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.
misc/cpplint.py:5445
↓ 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
misc/cpplint.py:6242
↓ 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
misc/cpplint.py:6178
↓ 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:
misc/cpplint.py:4154
↓ 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,
misc/cpplint.py:3667
↓ 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
misc/cpplint.py:3436
↓ 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
misc/cpplint.py:4807
↓ 1 callers
Function
CheckTrailingSemicolon
Looks for redundant trailing semicolon. Args: filename: The name of the current file. clean_lines: A CleansedLines instance containing the
misc/cpplint.py:4351
↓ 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
misc/cpplint.py:2636
↓ 1 callers
Function
CleanseRawStrings
Removes C++11 raw strings from lines. Before: static const char kData[] = R"( multi-line string )"; After: s
misc/cpplint.py:1765
↓ 1 callers
Method
Clear
grape/cuda/utils/vertex_set.h:39
↓ 1 callers
Method
ConsumeMessages
Fetch stream data from the topic given when init * at the specified offset. */
examples/gnn_sampler/kafka_consumer.h:104
↓ 1 callers
Method
ConvertToCOO
grape/cuda/fragment/host_fragment.h:496
↓ 1 callers
Method
DropBuffer
grape/cuda/parallel/gpu_message_manager.h:206
↓ 1 callers
Method
Empty
grape/serialization/out_archive.h:122
↓ 1 callers
Method
End
Stop analyzing function body.
misc/cpplint.py:1540
↓ 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
misc/cpplint.py:1683
↓ 1 callers
Method
EstimateMessageSize
grape/app/parallel_app_base.h:80
↓ 1 callers
Function
ExclusiveSum64
Force the accumulate type as size_t, and it will always be ExclusiveSum
grape/cuda/utils/cuda_utils.h:302
↓ 1 callers
Function
ExpectingFunctionArgs
Checks whether where function type arguments are expected. Args: clean_lines: A CleansedLines instance containing the file. linenum: The nu
misc/cpplint.py:5865
↓ 1 callers
Method
ExtendFragment
examples/gnn_sampler/append_only_edgecut_fragment.h:497
↓ 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
misc/cpplint.py:5967
↓ 1 callers
Function
Finalize
misc/vertex_map_tests.cc:61
↓ 1 callers
Function
Finalize
misc/mutable_fragment_tests.cc:84
↓ 1 callers
Function
Finalize
misc/load_tests.cc:66
↓ 1 callers
Function
Finalize
tests/vertex_map_tests.cc:61
↓ 1 callers
Function
Finalize
tests/mutable_fragment_tests.cc:84
↓ 1 callers
Function
Finalize
tests/mutate_tests.cc:67
↓ 1 callers
Function
Finalize
tests/load_tests.cc:66
↓ 1 callers
Function
Finalize
examples/analytical_apps/utils.h:51
↓ 1 callers
Method
Finalize
grape/cuda/worker/gpu_batch_shuffle_worker.h:68
↓ 1 callers
Method
Finalize
grape/cuda/worker/gpu_worker.h:67
↓ 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
misc/cpplint.py:4602
↓ 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
misc/cpplint.py:1113
↓ 1 callers
Function
FindNextMultiLineCommentEnd
We are inside a comment, find the end marker.
misc/cpplint.py:1852
↓ 1 callers
Function
FindNextMultiLineCommentStart
Find the beginning marker for a multiline comment.
misc/cpplint.py:1841
↓ 1 callers
Function
FixupPathFromRoot
()
misc/cpplint.py:2308
↓ 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
misc/cpplint.py:6380
↓ 1 callers
Function
ForEachWithIndexBlockShared
grape/cuda/parallel/parallel_engine.h:122
↓ 1 callers
Function
ForEachWithIndexWarpShared
grape/cuda/parallel/parallel_engine.h:94
↓ 1 callers
Method
FormatJUnitXML
(self)
misc/cpplint.py:1369
↓ 1 callers
Method
GetContext
grape/worker/worker.h:148
↓ 1 callers
Method
GetInnerVerticesNum
* @brief Returns the number of inner vertices in this fragment. * * @return The number of inner vertices in this fragment. */
grape/fragment/edgecut_fragment_base.h:228
↓ 1 callers
Method
GetInternalOid
grape/vertex_map/vertex_map.h:80
↓ 1 callers
Method
GetOuterVertexGid
grape/fragment/mutable_edgecut_fragment.h:520
↓ 1 callers
Method
GetOuterVerticesNum
* @brief Returns the number of outer vertices in this fragment. * * @return The number of outer vertices in this fragment. */
grape/fragment/edgecut_fragment_base.h:235
↓ 1 callers
Method
GetTotalVertexSize
grape/vertex_map/vertex_map.h:67
↓ 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.
misc/cpplint.py:2956
↓ 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.
misc/cpplint.py:2940
↓ 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.
misc/cpplint.py:2932
↓ 1 callers
Method
InTemplateArgumentList
Check if current position is inside template argument list. Args: clean_lines: A CleansedLines instance containing the file. linenum:
misc/cpplint.py:2964
↓ 1 callers
Method
IncrementErrorCount
Bumps the module's error statistic.
misc/cpplint.py:1335
↓ 1 callers
Function
Init
misc/vertex_map_tests.cc:45
↓ 1 callers
Function
Init
misc/mutable_fragment_tests.cc:65
↓ 1 callers
Function
Init
tests/vertex_map_tests.cc:45
↓ 1 callers
Function
Init
tests/mutable_fragment_tests.cc:65
↓ 1 callers
Function
Init
tests/mutate_tests.cc:48
↓ 1 callers
Function
Init
tests/load_tests.cc:47
↓ 1 callers
Method
Init
grape/vertex_map/partitioner.h:115
↓ 1 callers
Method
Init
examples/gnn_sampler/append_only_edgecut_fragment.h:335
↓ 1 callers
Method
Init
examples/analytical_apps/pagerank/pagerank_push_opt_context.h:40
↓ 1 callers
Function
InitCommunicator
grape/communication/communicator.h:120
↓ 1 callers
Method
InitCommunicator
grape/communication/communicator.h:43
↓ 1 callers
Method
InitCommunicator
grape/cuda/communication/communicator.h:35
↓ 1 callers
Method
InitIndices
examples/gnn_sampler/append_only_edgecut_fragment.h:491
↓ 1 callers
Function
InitParallelEngine
grape/parallel/parallel_engine.h:707
↓ 1 callers
Method
InitParallelEngine
grape/parallel/parallel_engine.h:37
↓ 1 callers
Method
InitThreadPool
the constructor just launches some amount of workers
grape/utils/thread_pool.h:81
↓ 1 callers
Method
InnerVertexGid2Vertex
* @brief Convert from global id to an inner vertex handle. * * @param gid Input global id. * @param v Output vertex handle. * * @return
grape/fragment/edgecut_fragment_base.h:337
↓ 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_
misc/cpplint.py:6275
↓ 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:
misc/cpplint.py:1748
↓ 1 callers
Function
IsDerivedFunction
Check if current line contains an inherited function. Args: clean_lines: A CleansedLines instance containing the file. linenum: The number
misc/cpplint.py:5474
↓ 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
misc/cpplint.py:1011
↓ 1 callers
Method
IsExist
grape/io/local_io_adaptor.cc:330
↓ 1 callers
Function
IsForwardClassDeclaration
(clean_lines, linenum)
misc/cpplint.py:2692
↓ 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.
misc/cpplint.py:1164
↓ 1 callers
Function
IsInitializerList
Check if current line is inside constructor initializer list. Args: clean_lines: A CleansedLines instance containing the file. linenum: The
misc/cpplint.py:5512
↓ 1 callers
Function
IsMacroDefinition
(clean_lines, linenum)
misc/cpplint.py:2682
↓ 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:
misc/cpplint.py:5496
↓ 1 callers
Method
LineParserForVFile
grape/io/tsv_line_parser.h:45
↓ 1 callers
Method
Mutate
grape/fragment/mutable_edgecut_fragment.h:245
↓ 1 callers
Function
MutateGraph
tests/mutate_tests.cc:88
↓ 1 callers
Method
Next
examples/gnn_sampler/append_only_edgecut_fragment.h:77
↓ 1 callers
Method
OuterVertexGid2Vertex
* @brief Convert from global id to an outer vertex handle. * * @param gid Input global id. * @param v Output vertex handle. * * @return
grape/fragment/edgecut_fragment_base.h:352
↓ 1 callers
Method
ParallelInit
grape/fragment/mutable_edgecut_fragment.h:233
↓ 1 callers
Method
ParallelPartialCount
grape/utils/vertex_set.h:102
↓ 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
misc/cpplint.py:6715
↓ 1 callers
Function
ParseLoadBalancing
grape/cuda/parallel/parallel_engine.h:53
↓ 1 callers
Method
Prepare
grape/parallel/thread_local_message_buffer_opt.h:84
↓ 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.
misc/cpplint.py:6706
↓ 1 callers
Method
PrintErrorCounts
Print a summary of errors by category, and the total.
misc/cpplint.py:1345
↓ 1 callers
Function
PrintVersion
()
misc/cpplint.py:6700
↓ 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
misc/cpplint.py:6502
↓ 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
misc/cpplint.py:6591
↓ 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
misc/cpplint.py:6451
↓ 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
misc/cpplint.py:987
↓ 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
misc/cpplint.py:6335
↓ 1 callers
Function
PropagateLabel_lo
examples/analytical_apps/cuda/cdlp/cdlp.h:506
↓ 1 callers
Method
Rebuild
examples/gnn_sampler/fragment_indices.h:152
↓ 1 callers
Method
RecordEdge
grape/fragment/basic_vc_ds_fragment_loader.h:118
← previous
next →
601–700 of 2,721, ranked by callers