MCPcopy Create free account

hub / github.com/PlatformLab/Arachne / functions

Functions336 in github.com/PlatformLab/Arachne

↓ 1 callersFunctionCheckForCopyright
Logs an error if no Copyright message appears at the top of the file.
scripts/cpplint.py:1729
↓ 1 callersFunctionCheckForFunctionLengths
Reports for long function bodies. For an overview why this is done, see: https://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Write_Sh
scripts/cpplint.py:2904
↓ 1 callersFunctionCheckForHeaderGuard
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
scripts/cpplint.py:1789
↓ 1 callersFunctionCheckForIncludeWhatYouUse
Reports for missing stl includes. This function will output warnings to make sure you are including the headers necessary for the stl containers
scripts/cpplint.py:5219
↓ 1 callersFunctionCheckForMultilineCommentsAndStrings
Logs an error if we see /* ... */ or "..." that extend past one line. /* ... */ comments are legit inside macros, for one line. Otherwise, we pre
scripts/cpplint.py:1914
↓ 1 callersFunctionCheckForNamespaceIndentation
(filename, nesting_state, clean_lines, line, error)
scripts/cpplint.py:2890
↓ 1 callersFunctionCheckForNewlineAtEOF
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,
scripts/cpplint.py:1896
↓ 1 callersFunctionCheckForNonConstReference
Check for non-const references. Separate from CheckLanguage since it scans backwards from current line, instead of scanning forward. Args:
scripts/cpplint.py:4743
↓ 1 callersFunctionCheckForNonStandardConstructs
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
scripts/cpplint.py:2643
↓ 1 callersFunctionCheckGlobalStatic
Check for unsafe global or static objects. Args: filename: The name of the current file. clean_lines: A CleansedLines instance containing t
scripts/cpplint.py:4617
↓ 1 callersFunctionCheckIncludeLine
Check rules that are applicable to #include lines. Strings on #include lines are NOT removed from elided line, to make certain tasks easier. Howe
scripts/cpplint.py:4300
↓ 1 callersFunctionCheckInvalidIncrement
Checks for invalid increment *count++. For example following function: void increment_counter(int* count) { *count++; } is invalid, becau
scripts/cpplint.py:2032
↓ 1 callersFunctionCheckItemIndentationInNamespace
(filename, raw_lines_no_comments, linenum, error)
scripts/cpplint.py:5493
↓ 1 callersFunctionCheckLanguage
Checks rules from the 'C++ language rules' section of cppguide.html. Some of these rules are hard to test (function overloading, using uint32 ina
scripts/cpplint.py:4459
↓ 1 callersFunctionCheckMakePairUsesDeduction
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
scripts/cpplint.py:5321
↓ 1 callersMethodCheckNextIncludeOrder
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
scripts/cpplint.py:796
↓ 1 callersFunctionCheckOperatorSpacing
Checks for horizontal spacing around operators. Args: filename: The name of the current file. clean_lines: A CleansedLines instance contain
scripts/cpplint.py:3187
↓ 1 callersFunctionCheckParenthesisSpacing
Checks for horizontal spacing around parentheses. Args: filename: The name of the current file. clean_lines: A CleansedLines instance conta
scripts/cpplint.py:3302
↓ 1 callersFunctionCheckPosixThreading
Checks for calls to thread-unsafe functions. Much code has been originally written without consideration of multi-threading. Also, engineers are
scripts/cpplint.py:1982
↓ 1 callersFunctionCheckPrintf
Check for printf related issues. Args: filename: The name of the current file. clean_lines: A CleansedLines instance containing the file.
scripts/cpplint.py:4638
↓ 1 callersFunctionCheckRedundantOverrideOrFinal
Check if line contains a redundant "override" or "final" virt-specifier. Args: filename: The name of the current file. clean_lines: A Clean
scripts/cpplint.py:5406
↓ 1 callersFunctionCheckRedundantVirtual
Check if line contains a redundant "virtual" function-specifier. Args: filename: The name of the current file. clean_lines: A CleansedLines
scripts/cpplint.py:5342
↓ 1 callersFunctionCheckSectionSpacing
Checks for additional blank line issues related to sections. Currently the only thing checked here is blank line before protected/private. Args:
scripts/cpplint.py:3546
↓ 1 callersFunctionCheckSpacing
Checks for the correctness of various spacing issues in the code. Things we check for: spaces around operators, spaces after if/for/while/switch,
scripts/cpplint.py:3059
↓ 1 callersFunctionCheckSpacingForFunctionCall
Checks for the correctness of various spacing around function calls. Args: filename: The name of the current file. clean_lines: A CleansedL
scripts/cpplint.py:2798
↓ 1 callersFunctionCheckStyle
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
scripts/cpplint.py:4085
↓ 1 callersFunctionCheckTrailingSemicolon
Looks for redundant trailing semicolon. Args: filename: The name of the current file. clean_lines: A CleansedLines instance containing the
scripts/cpplint.py:3743
↓ 1 callersFunctionCheckVlogArguments
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
scripts/cpplint.py:2008
↓ 1 callersFunctionCleanseRawStrings
Removes C++11 raw strings from lines. Before: static const char kData[] = R"( multi-line string )"; After: s
scripts/cpplint.py:1261
↓ 1 callersMethodCount
Count line in current function body.
scripts/cpplint.py:1027
↓ 1 callersMethodEnd
Stop analyzing function body.
scripts/cpplint.py:1060
↓ 1 callersFunctionError
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
scripts/cpplint.py:1189
↓ 1 callersFunctionExpectingFunctionArgs
Checks whether where function type arguments are expected. Args: clean_lines: A CleansedLines instance containing the file. linenum: The nu
scripts/cpplint.py:5045
↓ 1 callersFunctionFilesBelongToSameModule
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
scripts/cpplint.py:5137
↓ 1 callersFunctionFindCheckMacro
Find a replaceable CHECK-like macro. Args: line: line to search on. Returns: (macro name, start position), or (None, -1) if no replaceabl
scripts/cpplint.py:3890
↓ 1 callersMethodFindHeader
Check if a header has already been included. Args: header: header to check. Returns: Line number of previous occurrence, or -1 if
scripts/cpplint.py:724
↓ 1 callersFunctionFindNextMultiLineCommentEnd
We are inside a comment, find the end marker.
scripts/cpplint.py:1348
↓ 1 callersFunctionFindNextMultiLineCommentStart
Find the beginning marker for a multiline comment.
scripts/cpplint.py:1337
↓ 1 callersFunctionFlagCxx11Features
Flag those c++11 features that we only allow in certain places. Args: filename: The name of the current file. clean_lines: A CleansedLines
scripts/cpplint.py:5545
↓ 1 callersMethodInAsmBlock
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.
scripts/cpplint.py:2328
↓ 1 callersMethodInExternC
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.
scripts/cpplint.py:2312
↓ 1 callersMethodInNamespaceBody
Check if we are currently one level inside a namespace body. Returns: True if top of the stack is a namespace block, False otherwise.
scripts/cpplint.py:2304
↓ 1 callersMethodInTemplateArgumentList
Check if current position is inside template argument list. Args: clean_lines: A CleansedLines instance containing the file. linenum:
scripts/cpplint.py:2336
↓ 1 callersMethodIncrementErrorCount
Bumps the module's error statistic.
scripts/cpplint.py:924
↓ 1 callersFunctionIsBlockInNameSpace
Checks that the new block is directly in a namespace. Args: nesting_state: The _NestingState object that contains info about our state. is_
scripts/cpplint.py:5439
↓ 1 callersFunctionIsCppString
Does line terminate so, that the next symbol is in string constant. This function does not consider single-line nor multi-line comments. Args:
scripts/cpplint.py:1244
↓ 1 callersFunctionIsDerivedFunction
Check if current line contains an inherited function. Args: clean_lines: A CleansedLines instance containing the file. linenum: The number
scripts/cpplint.py:4663
↓ 1 callersFunctionIsErrorSuppressedByNolint
Returns true if the specified error category is suppressed on this line. Consults the global error_suppressions map populated by ParseNolintSuppr
scripts/cpplint.py:627
↓ 1 callersFunctionIsForwardClassDeclaration
(clean_lines, linenum)
scripts/cpplint.py:2064
↓ 1 callersMethodIsInAlphabeticalOrder
Check if a header is in alphabetical order with the previous header. Args: clean_lines: A CleansedLines instance containing the file.
scripts/cpplint.py:775
↓ 1 callersFunctionIsInitializerList
Check if current line is inside constructor initializer list. Args: clean_lines: A CleansedLines instance containing the file. linenum: The
scripts/cpplint.py:4701
↓ 1 callersFunctionIsMacroDefinition
(clean_lines, linenum)
scripts/cpplint.py:2054
↓ 1 callersFunctionIsOutOfLineMethodDefinition
Check if current line contains an out-of-line method definition. Args: clean_lines: A CleansedLines instance containing the file. linenum:
scripts/cpplint.py:4685
↓ 1 callersMethodIsSource
File has a source file extension.
scripts/cpplint.py:1156
↓ 1 callersFunctionParseArguments
Parses the command line arguments. This may set the output format and verbosity level as side-effects. Args: args: The command line argument
scripts/cpplint.py:5839
↓ 1 callersFunctionPrintCategories
Prints a list of all the error-categories used by error messages. These are the categories used to filter messages via --filter.
scripts/cpplint.py:5830
↓ 1 callersMethodPrintErrorCounts
Print a summary of errors by category, and the total.
scripts/cpplint.py:934
↓ 1 callersFunctionProcessConfigOverrides
Loads the configuration files and processes the config overrides. Args: filename: The name of the file being processed by the linter. Retur
scripts/cpplint.py:5648
↓ 1 callersFunctionProcessFile
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
scripts/cpplint.py:5729
↓ 1 callersFunctionProcessFileData
Performs lint checks and reports any errors to the given error function. Args: filename: Filename of the file that is being processed. file
scripts/cpplint.py:5601
↓ 1 callersFunctionProcessGlobalSuppresions
Updates the list of global error suppressions. Parses any lint directives in the file that have global effect. Args: lines: An array of stri
scripts/cpplint.py:603
↓ 1 callersFunctionProcessLine
Processes a single line in the file. Args: filename: Filename of the file that is being processed. file_extension: The extension (dot not i
scripts/cpplint.py:5501
↓ 1 callersFunctionRemoveMultiLineComments
Removes multiline (c-style) comments from lines.
scripts/cpplint.py:1365
↓ 1 callersFunctionRemoveMultiLineCommentsFromRange
Clears a range of lines for multi-line comments.
scripts/cpplint.py:1357
↓ 1 callersFunctionReplaceAll
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
scripts/cpplint.py:655
↓ 1 callersMethodResetErrorCounts
Sets the module's error statistic back to zero.
scripts/cpplint.py:919
↓ 1 callersFunctionResetNolintSuppressions
Resets the set of NOLINT suppressions to empty.
scripts/cpplint.py:621
↓ 1 callersMethodRestoreFilters
Restores filters previously backed up.
scripts/cpplint.py:915
↓ 1 callersMethodSetCountingStyle
Sets the module's counting options.
scripts/cpplint.py:878
↓ 1 callersMethodSetFilters
Sets the error-message filters. These filters are applied when deciding whether to emit a given error message. Args: filters: A st
scripts/cpplint.py:882
↓ 1 callersMethodSetLastHeader
(self, header_path)
scripts/cpplint.py:757
↓ 1 callersMethodSetOutputFormat
Sets the output format for errors.
scripts/cpplint.py:868
↓ 1 callersMethodSetVerboseLevel
Sets the module's verbosity, and returns the previous setting.
scripts/cpplint.py:872
↓ 1 callersFunctionShouldCheckNamespaceIndentation
This method determines if we should apply our namespace indentation check. Args: nesting_state: The current nesting state. is_namespace_ind
scripts/cpplint.py:5460
↓ 1 callersMethodUpdate
Update nesting state with current line. Args: filename: The name of the current file. clean_lines: A CleansedLines instance containin
scripts/cpplint.py:2445
↓ 1 callersFunctionUpdateIncludeState
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
scripts/cpplint.py:5192
↓ 1 callersMethodUpdatePreprocessor
Update preprocessor stack. We need to handle preprocessors due to classes like this: #ifdef SWIG struct ResultDetailsPageElementExten
scripts/cpplint.py:2388
↓ 1 callersFunction_AddFilters
Adds more filter overrides. Unlike _SetFilters, this function does not reset the current list of filters available. Args: filters: A strin
scripts/cpplint.py:986
↓ 1 callersFunction_BackupFilters
Saves the current filter list to backup storage.
scripts/cpplint.py:998
↓ 1 callersFunction_ClassifyInclude
Figures out what kind of header 'include' is. Args: fileinfo: The current file cpplint is running over. A FileInfo instance. include: The p
scripts/cpplint.py:4240
↓ 1 callersMethod_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:
scripts/cpplint.py:1425
↓ 1 callersFunction_Filters
Returns the module's list of output filters, as a list.
scripts/cpplint.py:969
↓ 1 callersFunction_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
scripts/cpplint.py:4374
↓ 1 callersFunction_IsSourceExtension
File extension (excluding dot) matches a source file extension.
scripts/cpplint.py:680
↓ 1 callersFunction_IsType
Check if expression looks like a type name, returns true if so. Args: clean_lines: A CleansedLines instance containing the file. nesting_st
scripts/cpplint.py:3376
↓ 1 callersFunction_OutputFormat
Gets the module's output format.
scripts/cpplint.py:944
↓ 1 callersFunction_SetCountingStyle
Sets the module's counting options.
scripts/cpplint.py:964
↓ 1 callersFunction_SetFilters
Sets the module's error-message filters. These filters are applied when deciding whether to emit a given error message. Args: filters: A s
scripts/cpplint.py:974
↓ 1 callersFunction_SetOutputFormat
Sets the module's output format.
scripts/cpplint.py:949
↓ 1 callersFunction_ShouldPrintError
If confidence >= verbose, category passes filter and is not suppressed.
scripts/cpplint.py:1161
↓ 1 callersFunctionarachne_thread_create_with_class
* This function is the wrapper for Arachne::createThreadWithClass. * Under Arachne's default core policy, the following thread classes are * availab
cwrapper/arachne_wrapper.cc:72
↓ 1 callersFunctioncanThreadBeCreatedOnCore
src/ArachneTest.cc:139
↓ 1 callersFunctiondescheduleCore
* If the Core Arbiter asks the Arachne runtime to yield the current core, this * function shall begin the process of descheduling a core. */
src/Arachne.cc:1436
↓ 1 callersMethodestimate
* Returns -1,0,1 to suggest whether the core count should decrease, * stay the same, or increase respectively. * * \param coreList * The list o
src/CoreLoadEstimator.cc:33
↓ 1 callersFunctiongetThreadId
* Return a thread handle for the currently executing thread, identical to the * one returned by the createThread call that initially created this thr
src/Arachne.cc:560
↓ 1 callersFunctionlimitedTimeWait
Helper function for tests with timing dependencies, so that we wait for a finite amount of time in the case of a bug causing an infinite loop.
cwrapper/arachne_wrapper_test.cc:114
↓ 1 callersFunctionlimitedTimeWait
Helper function for tests with timing dependencies, so that we wait for a finite amount of time in the case of a bug causing an infinite loop.
src/DefaultCorePolicyTest.cc:115
↓ 1 callersMethodlog
src/Logger.cc:43
↓ 1 callersFunctionmain
()
scripts/cpplint.py:5912
↓ 1 callersFunctionmainThreadDestroy
* Tear down the state set up by mainThreadInit(). */
src/Arachne.cc:1203
← previousnext →101–200 of 336, ranked by callers