Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Evolving-AI-Lab/fooling
/ functions
Functions
2,703 in github.com/Evolving-AI-Lab/fooling
⨍
Functions
2,703
◇
Types & classes
921
↓ 2 callers
Function
show_all
sferes/sferes/stat/pareto_front.hpp:86
↓ 2 callers
Method
show_stat
sferes/sferes/ea/ea.hpp:207
↓ 2 callers
Function
showimage
(im, c01=False, bgr=False)
caffe/ascent/misc_helper.py:32
↓ 2 callers
Method
size
sferes/sferes/gen/cmaes.hpp:104
↓ 2 callers
Function
sync_archive
keep pareto_front & elite synchronized (for stat reporting)
sferes/sferes/ea/eps_moea.hpp:113
↓ 2 callers
Method
test_case_to_run_count
Gets the number of all test cases that contain at least one test that should run.
caffe/src/gtest/gtest-all.cpp:2024
↓ 2 callers
Function
timings_start
sferes/sferes/ea/cmaes.cpp:2176
↓ 2 callers
Method
total_test_case_count
Gets the number of all test cases.
caffe/src/gtest/gtest-all.cpp:2018
↓ 2 callers
Function
type
Gets the outcome of the test part.
caffe/src/gtest/gtest.h:16729
↓ 2 callers
Method
x
sferes/modules/nn2/phen_hyper_nn.hpp:69
↓ 2 callers
Method
y
sferes/modules/nn2/phen_hyper_nn.hpp:72
↓ 1 callers
Method
Abort
Signals that the death test code which should have exited, didn't. Should be called only in a death test child process. Writes a status byte to the ch
caffe/src/gtest/gtest-all.cpp:6627
↓ 1 callers
Function
Adapt_C2
--------------------------------------------------------- */ --------------------------------------------------------- */
sferes/sferes/ea/cmaes.cpp:897
↓ 1 callers
Method
AddArguments
caffe/src/gtest/gtest-all.cpp:7059
↓ 1 callers
Method
AddEnvironment
Registers and returns a global test environment. When a test program is run, all global test environments will be set-up in the order they were regis
caffe/src/gtest/gtest-all.cpp:5038
↓ 1 callers
Function
AlwaysFalse
Always returns false.
caffe/src/gtest/gtest.h:7414
↓ 1 callers
Function
AppendUserMessage
Appends the user-supplied message to the Google-Test-generated message.
caffe/src/gtest/gtest-all.cpp:3059
↓ 1 callers
Method
Argv
caffe/src/gtest/gtest-all.cpp:7066
↓ 1 callers
Method
BaseName
File base name - text after the final slash, before the final period.
caffe/scripts/cpp_lint.py:943
↓ 1 callers
Method
Begin
caffe/src/gtest/gtest.h:10124
↓ 1 callers
Method
Begin
Start analyzing function body. Args: function_name: The name of the function being tracked.
caffe/scripts/cpp_lint.py:820
↓ 1 callers
Method
CanonicalizeAlphabeticalOrder
Returns a path canonicalized for alphabetical comparison. - replaces "-" with "_" so they both cmp the same. - removes '-inl' since we don't
caffe/scripts/cpp_lint.py:596
↓ 1 callers
Method
Check
Report if too many lines in function body. Args: error: The function to call with any errors found. filename: The name of the current
caffe/scripts/cpp_lint.py:835
↓ 1 callers
Function
CheckAccess
Checks for improper use of DISALLOW* macros. Args: filename: The name of the current file. clean_lines: A CleansedLines instance containing
caffe/scripts/cpp_lint.py:2416
↓ 1 callers
Function
CheckAltTokens
Check alternative keywords being used in boolean expressions. Args: filename: The name of the current file. clean_lines: A CleansedLines in
caffe/scripts/cpp_lint.py:3335
↓ 1 callers
Method
CheckBegin
Run checks that applies to text up to the opening brace. This is mostly for checking the text after the class identifier and the "{", usually
caffe/scripts/cpp_lint.py:1693
↓ 1 callers
Function
CheckBraces
Looks for misplaced braces (e.g. at the end of line). Args: filename: The name of the current file. clean_lines: A CleansedLines instance c
caffe/scripts/cpp_lint.py:2999
↓ 1 callers
Function
CheckCaffeRandom
Checks for calls to C random functions (rand, rand_r, random, ...). Caffe code should (almost) always use the caffe_rng_* functions rather than t
caffe/scripts/cpp_lint.py:1570
↓ 1 callers
Function
CheckCheck
Checks the use of CHECK and EXPECT macros. Args: filename: The name of the current file. clean_lines: A CleansedLines instance containing t
caffe/scripts/cpp_lint.py:3208
↓ 1 callers
Function
CheckComment
Checks for common mistakes in TODO comments. Args: comment: The text of the comment from the line in question. filename: The name of the cu
caffe/scripts/cpp_lint.py:2387
↓ 1 callers
Method
CheckCompletedBlocks
Checks that all classes and namespaces have been completely parsed. Call this when all lines in a file have been processed. Args: filen
caffe/scripts/cpp_lint.py:2102
↓ 1 callers
Function
CheckEmptyBlockBody
Look for empty loop/conditional body with only a single semicolon. Args: filename: The name of the current file. clean_lines: A CleansedLin
caffe/scripts/cpp_lint.py:3173
↓ 1 callers
Method
CheckEnd
Run checks that applies to text after the closing brace. This is mostly used for checking end of namespace comments. Args: filename: T
caffe/scripts/cpp_lint.py:1708
↓ 1 callers
Function
CheckForBadCharacters
Logs an error for each line containing bad characters. Two kinds of bad characters: 1. Unicode replacement characters: These indicate that eithe
caffe/scripts/cpp_lint.py:1483
↓ 1 callers
Function
CheckForCopyright
Logs an error if no Copyright message appears at the top of the file.
caffe/scripts/cpp_lint.py:1371
↓ 1 callers
Function
CheckForFunctionLengths
Reports for long function bodies. For an overview why this is done, see: http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Write_Sho
caffe/scripts/cpp_lint.py:2314
↓ 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
caffe/scripts/cpp_lint.py:1408
↓ 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
caffe/scripts/cpp_lint.py:4413
↓ 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
caffe/scripts/cpp_lint.py:1526
↓ 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,
caffe/scripts/cpp_lint.py:1508
↓ 1 callers
Function
CheckForNonConstReference
Check for non-const references. Separate from CheckLanguage since it scans backwards from current line, instead of scanning forward. Args:
caffe/scripts/cpp_lint.py:4064
↓ 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
caffe/scripts/cpp_lint.py:2124
↓ 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
caffe/scripts/cpp_lint.py:3610
↓ 1 callers
Function
CheckInvalidIncrement
Checks for invalid increment *count++. For example following function: void increment_counter(int* count) { *count++; } is invalid, becau
caffe/scripts/cpp_lint.py:1663
↓ 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
caffe/scripts/cpp_lint.py:3764
↓ 1 callers
Function
CheckMakePairUsesDeduction
Check that make_pair's template arguments are deduced. G++ 4.6 in C++0x mode fails badly if make_pair's template arguments are specified explicit
caffe/scripts/cpp_lint.py:4509
↓ 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
caffe/scripts/cpp_lint.py:632
↓ 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
caffe/scripts/cpp_lint.py:1611
↓ 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:
caffe/scripts/cpp_lint.py:2921
↓ 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,
caffe/scripts/cpp_lint.py:2573
↓ 1 callers
Function
CheckSpacingForFunctionCall
Checks for the correctness of various spacing around function calls. Args: filename: The name of the current file. line: The text of the li
caffe/scripts/cpp_lint.py:2231
↓ 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
caffe/scripts/cpp_lint.py:3389
↓ 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
caffe/scripts/cpp_lint.py:1638
↓ 1 callers
Function
Check_Eigen
========================================================= */
sferes/sferes/ea/cmaes.cpp:1710
↓ 1 callers
Function
CleanseRawStrings
Removes C++11 raw strings from lines. Before: static const char kData[] = R"( multi-line string )"; After: s
caffe/scripts/cpp_lint.py:1061
↓ 1 callers
Function
ClearNonAdHocTestResult
Clears the results of all tests, except the ad hoc tests.
caffe/src/gtest/gtest-all.cpp:1088
↓ 1 callers
Method
ClearResult
Clears the results of all tests in this test case.
caffe/src/gtest/gtest-all.cpp:3762
↓ 1 callers
Method
ClearTestPartResults
Clears the test part results.
caffe/src/gtest/gtest-all.cpp:3106
↓ 1 callers
Function
CloneString
Copies at most length characters from str into a newly-allocated piece of memory of size length+1. The memory is allocated with new[]. A terminating
caffe/src/gtest/gtest-all.cpp:2139
↓ 1 callers
Function
CmpHelperSTREQ
Helper function for *_STREQ on wide strings.
caffe/src/gtest/gtest-all.cpp:2864
↓ 1 callers
Function
CodePointToUtf8
Converts a Unicode code point to a narrow string in UTF-8 encoding. code_point parameter is of type UInt32 because wchar_t may not be wide enough to c
caffe/src/gtest/gtest-all.cpp:2739
↓ 1 callers
Function
CopyArray
caffe/src/gtest/gtest.h:7677
↓ 1 callers
Method
Count
Count line in current function body.
caffe/scripts/cpp_lint.py:830
↓ 1 callers
Function
CreateCodePointFromUtf16SurrogatePair
Creates a Unicode code point from UTF16 surrogate pair.
caffe/src/gtest/gtest-all.cpp:2785
↓ 1 callers
Method
CreateDirectoriesRecursively
Create directories so that path exists. Returns true if successful or if the directories already exist; returns false if unable to create directories
caffe/src/gtest/gtest-all.cpp:7729
↓ 1 callers
Method
CreateFolder
Create the directory so that path exists. Returns true if successful or if the directory already exists; returns false if unable to create the directo
caffe/src/gtest/gtest-all.cpp:7746
↓ 1 callers
Method
CreateTestFactory
caffe/src/gtest/gtest.h:10331
↓ 1 callers
Function
DeathTestThreadWarning
Generates a textual failure message when a death test finds more than one thread running, or cannot determine the number of threads, prior to executin
caffe/src/gtest/gtest-all.cpp:6376
↓ 1 callers
Function
DefaultPrintNonContainerTo
caffe/src/gtest/gtest.h:9403
↓ 1 callers
Function
DefaultPrintTo
caffe/src/gtest/gtest.h:9454
↓ 1 callers
Function
DeleteThreadLocalValue
caffe/src/gtest/gtest.h:2355
↓ 1 callers
Function
Eigen
========================================================= */
sferes/sferes/ea/cmaes.cpp:1817
↓ 1 callers
Method
End
caffe/src/gtest/gtest.h:10127
↓ 1 callers
Method
End
Stop analyzing function body.
caffe/scripts/cpp_lint.py:860
↓ 1 callers
Method
EndsWithCaseInsensitive
Returns true iff this String ends with the given suffix, ignoring case. Any String is considered to end with a NULL or empty suffix.
caffe/src/gtest/gtest-all.cpp:2983
↓ 1 callers
Method
Equals
caffe/src/gtest/gtest.h:10150
↓ 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
caffe/scripts/cpp_lint.py:987
↓ 1 callers
Function
ExecDeathTestChildMain
The main function for a threadsafe-style death test child process. This function is called in a clone()-ed process and thus must avoid any potentially
caffe/src/gtest/gtest-all.cpp:7097
↓ 1 callers
Function
ExecDeathTestFork
A threadsafe implementation of fork(2) for threadsafe-style death tests that uses clone(2). It dies with an error message if anything goes wrong.
caffe/src/gtest/gtest-all.cpp:7150
↓ 1 callers
Function
ExitSummary
Generates a textual description of a given exit code, in the format specified by wait(2).
caffe/src/gtest/gtest-all.cpp:6341
↓ 1 callers
Method
Extension
File extension - text following the final period.
caffe/scripts/cpp_lint.py:947
↓ 1 callers
Function
FClose
caffe/src/gtest/gtest.h:2691
↓ 1 callers
Function
FDOpen
caffe/src/gtest/gtest.h:2689
↓ 1 callers
Function
FailFromInternalError
This is called from a death test parent process to read a failure message from the death test child process and log it with the FATAL severity. On Win
caffe/src/gtest/gtest-all.cpp:6469
↓ 1 callers
Function
Failed
Returns true iff the unit test failed (i.e. some test case failed or something outside of all tests failed).
caffe/src/gtest/gtest-all.cpp:957
↓ 1 callers
Function
FileNo
caffe/src/gtest/gtest.h:2635
↓ 1 callers
Method
FileOrDirectoryExists
Returns true if pathname describes something findable in the file-system, either a file, directory, or whatever.
caffe/src/gtest/gtest-all.cpp:7630
↓ 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
caffe/scripts/cpp_lint.py:4329
↓ 1 callers
Function
FindNextMatchingAngleBracket
Find the corresponding > to close a template. Args: clean_lines: A CleansedLines instance containing the file. linenum: Current line number
caffe/scripts/cpp_lint.py:2447
↓ 1 callers
Function
FindNextMultiLineCommentEnd
We are inside a comment, find the end marker.
caffe/scripts/cpp_lint.py:1133
↓ 1 callers
Function
FindNextMultiLineCommentStart
Find the beginning marker for a multiline comment.
caffe/scripts/cpp_lint.py:1122
↓ 1 callers
Function
FindPreviousMatchingAngleBracket
Find the corresponding < that started a template. Args: clean_lines: A CleansedLines instance containing the file. linenum: Current line nu
caffe/scripts/cpp_lint.py:2516
↓ 1 callers
Function
FitElli
sferes/tests/ea/cmaes.cpp:95
↓ 1 callers
Function
FitZDT2
sferes/tests/modif/diversity.cpp:100
↓ 1 callers
Function
FormatCompilerIndependentFileLocation
Formats a file location for compiler-independent XML output. Although this function is not platform dependent, we put it next to FormatFileLocation in
caffe/src/gtest/gtest-all.cpp:8251
↓ 1 callers
Function
FormatSehExceptionMessage
Adds an "exception thrown" fatal failure to the current test. This function returns its result via an output parameter pointer because VC++ prohibits
caffe/src/gtest/gtest-all.cpp:3322
↓ 1 callers
Method
ForwardBackward
caffe/include/caffe/net.hpp:49
↓ 1 callers
Function
GTestIsInitialized
caffe/src/gtest/gtest-all.cpp:1613
↓ 1 callers
Method
Generate
Generates a random number from [0, range), using a Linear Congruential Generator (LCG). Crashes if 'range' is 0 or greater than kMaxRange.
caffe/src/gtest/gtest-all.cpp:1588
↓ 1 callers
Function
GetAnsiColorCode
Returns the ANSI color code for the given color. COLOR_DEFAULT is an invalid input.
caffe/src/gtest/gtest-all.cpp:3877
← previous
next →
501–600 of 2,703, ranked by callers