Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Yijunmaverick/GenerativeFaceCompletion
/ functions
Functions
2,509 in github.com/Yijunmaverick/GenerativeFaceCompletion
⨍
Functions
2,509
◇
Types & classes
783
↓ 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
scripts/cpp_lint.py:3278
↓ 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
scripts/cpp_lint.py:2457
↓ 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
scripts/cpp_lint.py:2172
↓ 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
scripts/cpp_lint.py:3243
↓ 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
scripts/cpp_lint.py:1778
↓ 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
scripts/cpp_lint.py:1483
↓ 1 callers
Function
CheckForCopyright
Logs an error if a Copyright message appears at the top of the file.
scripts/cpp_lint.py:1372
↓ 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
scripts/cpp_lint.py:2384
↓ 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
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
scripts/cpp_lint.py:4483
↓ 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
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,
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:
scripts/cpp_lint.py:4134
↓ 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
scripts/cpp_lint.py:2194
↓ 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
scripts/cpp_lint.py:3680
↓ 1 callers
Function
CheckInvalidIncrement
Checks for invalid increment *count++. For example following function: void increment_counter(int* count) { *count++; } is invalid, becau
scripts/cpp_lint.py:1733
↓ 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
scripts/cpp_lint.py:3834
↓ 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
scripts/cpp_lint.py:4579
↓ 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
scripts/cpp_lint.py:633
↓ 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
scripts/cpp_lint.py:1681
↓ 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:
scripts/cpp_lint.py:2991
↓ 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,
scripts/cpp_lint.py:2643
↓ 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
scripts/cpp_lint.py:2301
↓ 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
scripts/cpp_lint.py:3459
↓ 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
scripts/cpp_lint.py:1708
↓ 1 callers
Function
CleanseRawStrings
Removes C++11 raw strings from lines. Before: static const char kData[] = R"( multi-line string )"; After: s
scripts/cpp_lint.py:1062
↓ 1 callers
Function
ClearNonAdHocTestResult
Clears the results of all tests, except the ad hoc tests.
src/gtest/gtest-all.cpp:1087
↓ 1 callers
Method
ClearResult
Clears the results of all tests in this test case.
src/gtest/gtest-all.cpp:3761
↓ 1 callers
Method
ClearTestPartResults
Clears the test part results.
src/gtest/gtest-all.cpp:3105
↓ 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
src/gtest/gtest-all.cpp:2138
↓ 1 callers
Function
CmpHelperSTREQ
Helper function for *_STREQ on wide strings.
src/gtest/gtest-all.cpp:2863
↓ 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
src/gtest/gtest-all.cpp:2738
↓ 1 callers
Function
CopyArray
src/gtest/gtest.h:7677
↓ 1 callers
Function
CopyLayers
Load the weights from the specified caffemodel(s) into the train and test nets.
tools/caffe.cpp:124
↓ 1 callers
Method
Count
Count line in current function body.
scripts/cpp_lint.py:831
↓ 1 callers
Function
CreateCodePointFromUtf16SurrogatePair
Creates a Unicode code point from UTF16 surrogate pair.
src/gtest/gtest-all.cpp:2784
↓ 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
src/gtest/gtest-all.cpp:7728
↓ 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
src/gtest/gtest-all.cpp:7745
↓ 1 callers
Method
CreateTestFactory
src/gtest/gtest.h:10331
↓ 1 callers
Method
DataLayerSetUp
src/caffe/layers/data_layer.cpp:30
↓ 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
src/gtest/gtest-all.cpp:6375
↓ 1 callers
Function
DefaultPrintNonContainerTo
src/gtest/gtest.h:9403
↓ 1 callers
Function
DefaultPrintTo
src/gtest/gtest.h:9454
↓ 1 callers
Function
DeleteThreadLocalValue
src/gtest/gtest.h:2355
↓ 1 callers
Method
End
src/gtest/gtest.h:10127
↓ 1 callers
Method
End
Stop analyzing function body.
scripts/cpp_lint.py:861
↓ 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.
src/gtest/gtest-all.cpp:2982
↓ 1 callers
Method
Equals
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
scripts/cpp_lint.py:988
↓ 1 callers
Method
ExactNumTopBlobs
* @brief Returns the exact number of top blobs required by the layer, * or -1 if no exact number is required. * * This method should b
include/caffe/layer.hpp:249
↓ 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
src/gtest/gtest-all.cpp:7096
↓ 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.
src/gtest/gtest-all.cpp:7149
↓ 1 callers
Function
ExitSummary
Generates a textual description of a given exit code, in the format specified by wait(2).
src/gtest/gtest-all.cpp:6340
↓ 1 callers
Method
Extension
File extension - text following the final period.
scripts/cpp_lint.py:948
↓ 1 callers
Function
FClose
src/gtest/gtest.h:2691
↓ 1 callers
Function
FDOpen
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
src/gtest/gtest-all.cpp:6468
↓ 1 callers
Function
Failed
Returns true iff the unit test failed (i.e. some test case failed or something outside of all tests failed).
src/gtest/gtest-all.cpp:956
↓ 1 callers
Function
FileNo
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.
src/gtest/gtest-all.cpp:7629
↓ 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
scripts/cpp_lint.py:4399
↓ 1 callers
Method
FillBottoms
src/caffe/test/test_accuracy_layer.cpp:42
↓ 1 callers
Function
FindNextMatchingAngleBracket
Find the corresponding > to close a template. Args: clean_lines: A CleansedLines instance containing the file. linenum: Current line number
scripts/cpp_lint.py:2517
↓ 1 callers
Function
FindNextMultiLineCommentEnd
We are inside a comment, find the end marker.
scripts/cpp_lint.py:1134
↓ 1 callers
Function
FindNextMultiLineCommentStart
Find the beginning marker for a multiline comment.
scripts/cpp_lint.py:1123
↓ 1 callers
Function
FindPreviousMatchingAngleBracket
Find the corresponding < that started a template. Args: clean_lines: A CleansedLines instance containing the file. linenum: Current line nu
scripts/cpp_lint.py:2586
↓ 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
src/gtest/gtest-all.cpp:8250
↓ 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
src/gtest/gtest-all.cpp:3321
↓ 1 callers
Method
ForwardFrom
src/caffe/net.cpp:584
↓ 1 callers
Method
ForwardFromTo
src/caffe/net.cpp:565
↓ 1 callers
Function
GTestIsInitialized
src/gtest/gtest-all.cpp:1612
↓ 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.
src/gtest/gtest-all.cpp:1587
↓ 1 callers
Method
GetActionFunction
Return the function that the solver can use to find out if a snapshot or early exit is being requested.
src/caffe/util/signal_handler.cpp:111
↓ 1 callers
Function
GetAnsiColorCode
Returns the ANSI color code for the given color. COLOR_DEFAULT is an invalid input.
src/gtest/gtest-all.cpp:3876
↓ 1 callers
Function
GetBrewFunction
tools/caffe.cpp:66
↓ 1 callers
Function
GetCapturedStderr
Stops capturing stderr and returns the captured string.
src/gtest/gtest-all.cpp:8425
↓ 1 callers
Method
GetCapturedString
src/gtest/gtest-all.cpp:8326
↓ 1 callers
Function
GetColorAttribute
Returns the character attribute for the given color.
src/gtest/gtest-all.cpp:3863
↓ 1 callers
Function
GetCurrentExecutableName
Returns the current application's name, removing directory path if that is present.
src/gtest/gtest-all.cpp:1673
↓ 1 callers
Function
GetEnviron
src/gtest/gtest-all.cpp:7080
↓ 1 callers
Function
GetLineWidth
Determines the width of the line in column positions. Args: line: A string, which may be a Unicode string. Returns: The width of the lin
scripts/cpp_lint.py:3437
↓ 1 callers
Function
GetMutableTestCase
Gets the i-th test case among all the test cases. i can range from 0 to total_test_case_count() - 1. If i is not in that range, returns NULL.
src/gtest/gtest-all.cpp:969
↓ 1 callers
Function
GetNextRandomSeed
Returns the first valid random seed after 'seed'. The behavior is undefined if 'seed' is invalid. The seed after kMaxRandomSeed is considered to be
src/gtest/gtest-all.cpp:538
↓ 1 callers
Function
GetRandomSeedFromFlag
Returns a random seed in range [1, kMaxRandomSeed] based on the given --gtest_random_seed flag value.
src/gtest/gtest-all.cpp:522
↓ 1 callers
Function
GetStatusFileDescriptor
Recreates the pipe and event handles from the provided parameters, signals the event, and returns a file descriptor wrapped around the pipe handle. Th
src/gtest/gtest-all.cpp:7315
↓ 1 callers
Function
GetTestCase
Gets the i-th test case among all the test cases. i can range from 0 to total_test_case_count() - 1. If i is not in that range, returns NULL.
src/gtest/gtest-all.cpp:962
↓ 1 callers
Method
GetTestCaseTypeId
Test case id to verify identity.
src/gtest/gtest.h:10393
↓ 1 callers
Function
GetThreadCount
Returns the number of threads running in the process, or 0 to indicate that we cannot detect it.
src/gtest/gtest-all.cpp:7885
↓ 1 callers
Function
GotSIGHUP
Return true iff a SIGHUP has been received since the last time this function was called.
src/caffe/util/signal_handler.cpp:79
↓ 1 callers
Function
GotSIGINT
Return true iff a SIGINT has been received since the last time this function was called.
src/caffe/util/signal_handler.cpp:71
↓ 1 callers
Function
HasGoogleTestFlagPrefix
Determines whether a string has a prefix that Google Test uses for its flags, i.e., starts with GTEST_FLAG_PREFIX_ or GTEST_FLAG_PREFIX_DASH_. If Goog
src/gtest/gtest-all.cpp:5953
↓ 1 callers
Function
HookupHandler
src/caffe/util/signal_handler.cpp:25
↓ 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.
scripts/cpp_lint.py:1940
↓ 1 callers
Method
IncrementErrorCount
Bumps the module's error statistic.
scripts/cpp_lint.py:747
↓ 1 callers
Function
InitDeathTestSubprocessControlInfo
src/gtest/gtest-all.cpp:1129
↓ 1 callers
Method
InitDiffDataUnsharedWeightsNet
src/caffe/test/test_net.cpp:431
↓ 1 callers
Method
InitReshapableNet
src/caffe/test/test_net.cpp:555
↓ 1 callers
Method
InitSolverFromProtoString
src/caffe/test/test_gradient_based_solver.cpp:52
↓ 1 callers
Method
InitSolverFromProtoString
src/caffe/test/test_solver.cpp:24
↓ 1 callers
Method
InitTinyNetEuclidean
src/caffe/test/test_net.cpp:135
← previous
next →
501–600 of 2,509, ranked by callers