Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aksnzhy/xlearn
/ functions
Functions
3,349 in github.com/aksnzhy/xlearn
⨍
Functions
3,349
◇
Types & classes
1,370
↓ 1 callers
Function
FuncWithAssert
gtest/test/gtest-death-test_test.cc:1278
↓ 1 callers
Function
FuseGTestAllCc
Scans folder gtest_root to generate gtest/gtest-all.cc in output_dir.
gtest/scripts/fuse_gtest_files.py:218
↓ 1 callers
Function
FuseGTestAllCcToFile
Scans folder gtest_root to generate gtest/gtest-all.cc in output_file.
gtest/scripts/fuse_gtest_files.py:175
↓ 1 callers
Function
FuseGTestH
Scans folder gtest_root to generate gtest/gtest.h in output_dir.
gtest/scripts/fuse_gtest_files.py:146
↓ 1 callers
Function
GTestIsInitialized
gtest/src/gtest.cc:316
↓ 1 callers
Function
GTestIsInitialized
gtest/fused-src/gtest/gtest-all.cc:1800
↓ 1 callers
Function
GenTest
Returns the test for a predicate assertion macro. Args: use_format: true iff the assertion is a *_PRED_FORMAT*. use_assert: t
gtest/scripts/gen_gtest_pred_impl.py:570
↓ 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.
gtest/fused-src/gtest/gtest-all.cc:1775
↓ 1 callers
Function
GenerateHeader
Given the maximum arity n, updates the header file that implements the predicate assertions.
gtest/scripts/gen_gtest_pred_impl.py:315
↓ 1 callers
Function
GenerateUnitTest
Returns the tests for up-to n-ary predicate assertions.
gtest/scripts/gen_gtest_pred_impl.py:706
↓ 1 callers
Function
GetAnsiColorCode
Returns the ANSI color code for the given color. COLOR_DEFAULT is an invalid input.
gtest/src/gtest.cc:2573
↓ 1 callers
Function
GetAnsiColorCode
Returns the ANSI color code for the given color. COLOR_DEFAULT is an invalid input.
gtest/fused-src/gtest/gtest-all.cc:4057
↓ 1 callers
Function
GetBuildDir
Returns the absolute path of the directory where the test binaries are.
gtest/test/gtest_test_utils.py:132
↓ 1 callers
Function
GetCapturedStderr
Stops capturing stderr and returns the captured string.
gtest/fused-src/gtest/gtest-all.cc:8879
↓ 1 callers
Method
GetCapturedString
gtest/src/gtest-port.cc:568
↓ 1 callers
Method
GetCapturedString
gtest/fused-src/gtest/gtest-all.cc:8778
↓ 1 callers
Method
GetCharPtrValue
gtest/xcode/Samples/FrameworkSample/widget.cc:58
↓ 1 callers
Function
GetColorAttribute
Returns the character attribute for the given color.
gtest/src/gtest.cc:2560
↓ 1 callers
Function
GetColorAttribute
Returns the character attribute for the given color.
gtest/fused-src/gtest/gtest-all.cc:4044
↓ 1 callers
Function
GetCurrentExecutableName
Returns the current application's name, removing directory path if that is present.
gtest/fused-src/gtest/gtest-all.cc:1861
↓ 1 callers
Function
GetDefaultFilter
gtest/src/gtest.cc:185
↓ 1 callers
Function
GetDefaultFilter
gtest/fused-src/gtest/gtest-all.cc:1669
↓ 1 callers
Method
GetFloatValue
gtest/xcode/Samples/FrameworkSample/widget.cc:46
↓ 1 callers
Method
GetIntValue
gtest/xcode/Samples/FrameworkSample/widget.cc:50
↓ 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.
gtest/src/gtest-internal-inl.h:593
↓ 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.
gtest/fused-src/gtest/gtest-all.cc:994
↓ 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
gtest/fused-src/gtest/gtest-all.cc:552
↓ 1 callers
Function
GetPrefixUntilComma
Returns the prefix of 'str' before the first comma in it; returns the entire string if it contains no comma.
gtest/include/gtest/internal/gtest-internal.h:553
↓ 1 callers
Function
GetRandomSeedFromFlag
Returns a random seed in range [1, kMaxRandomSeed] based on the given --gtest_random_seed flag value.
gtest/fused-src/gtest/gtest-all.cc:536
↓ 1 callers
Method
GetRange
(self, identifier)
gtest/scripts/pump.py:632
↓ 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
gtest/src/gtest-death-test.cc:1229
↓ 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
gtest/fused-src/gtest/gtest-all.cc:7723
↓ 1 callers
Method
GetStringValue
gtest/xcode/Samples/FrameworkSample/widget.cc:54
↓ 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.
gtest/src/gtest-internal-inl.h:586
↓ 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.
gtest/fused-src/gtest/gtest-all.cc:987
↓ 1 callers
Method
GetTestCaseTypeId
Test case id to verify identity.
gtest/fused-src/gtest/gtest.h:10458
↓ 1 callers
Method
GetTestCaseTypeId
Test case id to verify identity.
gtest/include/gtest/internal/gtest-param-util.h:459
↓ 1 callers
Function
GetThreadCount
Returns the number of threads running in the process, or 0 to indicate that we cannot detect it.
gtest/fused-src/gtest/gtest-all.cc:8299
↓ 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
gtest/src/gtest.cc:4767
↓ 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
gtest/fused-src/gtest/gtest-all.cc:6251
↓ 1 callers
Function
HeaderPostamble
Returns the postamble for the header file.
gtest/scripts/gen_gtest_pred_impl.py:293
↓ 1 callers
Function
HeaderPreamble
Returns the preamble for the header file. Args: n: the maximum arity of the predicate macros to be generated.
gtest/scripts/gen_gtest_pred_impl.py:65
↓ 1 callers
Function
ImplementationForArity
Returns the implementation of n-ary predicate assertions.
gtest/scripts/gen_gtest_pred_impl.py:205
↓ 1 callers
Method
Increment
gtest/test/gtest-port_test.cc:1061
↓ 1 callers
Function
InitDeathTestSubprocessControlInfo
gtest/src/gtest-internal-inl.h:759
↓ 1 callers
Function
InitDeathTestSubprocessControlInfo
gtest/fused-src/gtest/gtest-all.cc:1160
↓ 1 callers
Function
InitGoogleTest
Initializes Google Test. This must be called before calling RUN_ALL_TESTS(). In particular, it parses a command line for the flags that Google Test
gtest/fused-src/gtest/gtest-all.cc:6489
↓ 1 callers
Function
InitializeLogger
src/base/logging.cc:35
↓ 1 callers
Method
IsAbsolutePath
Returns true if pathname describes an absolute path.
gtest/fused-src/gtest/gtest-all.cc:8094
↓ 1 callers
Function
IsInPreprocessorDirective
(prev_lines, cur_line)
gtest/scripts/pump.py:711
↓ 1 callers
Function
IsMultiLineIWYUPragma
(line)
gtest/scripts/pump.py:779
↓ 1 callers
Function
IsPrintableAscii
Returns true if c is a printable ASCII character. We test the value of c directly instead of calling isprint(), which is buggy on Windows Mobile.
gtest/src/gtest-printers.cc:133
↓ 1 callers
Function
IsPrintableAscii
Returns true if c is a printable ASCII character. We test the value of c directly instead of calling isprint(), which is buggy on Windows Mobile.
gtest/fused-src/gtest/gtest-all.cc:9146
↓ 1 callers
Function
IsSingleLineComment
(cur_line)
gtest/scripts/pump.py:707
↓ 1 callers
Function
IsSpace
gtest/include/gtest/internal/gtest-port.h:1671
↓ 1 callers
Function
IsSubstringPred
gtest/src/gtest.cc:1234
↓ 1 callers
Function
IsSubstringPred
gtest/fused-src/gtest/gtest-all.cc:2718
↓ 1 callers
Function
IsUtf16SurrogatePair
Determines if the arguments constitute UTF-16 surrogate pair and thus should be combined into a single Unicode code point using CreateCodePointFromUtf
gtest/src/gtest.cc:1471
↓ 1 callers
Function
IsUtf16SurrogatePair
Determines if the arguments constitute UTF-16 surrogate pair and thus should be combined into a single Unicode code point using CreateCodePointFromUtf
gtest/fused-src/gtest/gtest-all.cc:2955
↓ 1 callers
Function
IsValidEscape
Returns true iff "\\c" is a supported escape sequence.
gtest/fused-src/gtest/gtest-all.cc:8432
↓ 1 callers
Method
Lock
gtest/fused-src/gtest/gtest.h:2655
↓ 1 callers
Method
Lock
gtest/include/gtest/internal/gtest-port.h:1548
↓ 1 callers
Method
Map
gtest/samples/sample3-inl.h:153
↓ 1 callers
Function
MatchRepetitionAndRegexAtHead
Matches a repeated regex atom followed by a valid simple regular expression. The regex atom is defined as c if escaped is false, or \c otherwise. re
gtest/fused-src/gtest/gtest-all.cc:8530
↓ 1 callers
Method
MemberFunction
A member function that may die.
gtest/test/gtest-death-test_test.cc:159
↓ 1 callers
Function
NonVoidFunction
A non-void function that's expected to die.
gtest/test/gtest-death-test_test.cc:173
↓ 1 callers
Function
NonVoidFunction
gtest/test/gtest_unittest.cc:1209
↓ 1 callers
Function
NormalizeOutput
Normalizes output (the output of gtest_output_test_.exe).
gtest/test/gtest_output_test.py:190
↓ 1 callers
Method
OnEnvironmentsSetUpEnd
gtest/src/gtest.cc:2703
↓ 1 callers
Method
OnEnvironmentsSetUpEnd
gtest/fused-src/gtest/gtest-all.cc:4187
↓ 1 callers
Method
OnEnvironmentsSetUpStart
gtest/src/gtest.cc:2754
↓ 1 callers
Method
OnEnvironmentsSetUpStart
gtest/fused-src/gtest/gtest-all.cc:4238
↓ 1 callers
Method
OnEnvironmentsTearDownEnd
gtest/src/gtest.cc:2710
↓ 1 callers
Method
OnEnvironmentsTearDownEnd
gtest/fused-src/gtest/gtest-all.cc:4194
↓ 1 callers
Method
OnEnvironmentsTearDownStart
gtest/src/gtest.cc:2824
↓ 1 callers
Method
OnEnvironmentsTearDownStart
gtest/fused-src/gtest/gtest-all.cc:4308
↓ 1 callers
Method
OnTestCaseEnd
gtest/test/gtest-listener_test.cc:96
↓ 1 callers
Method
OnTestCaseEnd
gtest/src/gtest.cc:2812
↓ 1 callers
Method
OnTestCaseEnd
gtest/fused-src/gtest/gtest-all.cc:4296
↓ 1 callers
Method
OnTestCaseStart
gtest/test/gtest-listener_test.cc:80
↓ 1 callers
Method
OnTestCaseStart
gtest/src/gtest.cc:2761
↓ 1 callers
Method
OnTestCaseStart
gtest/fused-src/gtest/gtest-all.cc:4245
↓ 1 callers
Method
OnTestEnd
gtest/test/gtest-listener_test.cc:92
↓ 1 callers
Method
OnTestEnd
gtest/src/gtest.cc:2793
↓ 1 callers
Method
OnTestEnd
gtest/fused-src/gtest/gtest-all.cc:4277
↓ 1 callers
Method
OnTestIterationEnd
gtest/src/gtest.cc:2856
↓ 1 callers
Method
OnTestIterationEnd
gtest/fused-src/gtest/gtest-all.cc:4340
↓ 1 callers
Method
OnTestIterationStart
gtest/test/gtest_unittest.cc:6784
↓ 1 callers
Method
OnTestIterationStart
Fired before each iteration of tests starts.
gtest/src/gtest.cc:2719
↓ 1 callers
Method
OnTestIterationStart
Fired before each iteration of tests starts.
gtest/fused-src/gtest/gtest-all.cc:4203
↓ 1 callers
Method
OnTestPartResult
gtest/test/gtest-listener_test.cc:88
↓ 1 callers
Method
OnTestPartResult
Called after an assertion failure.
gtest/src/gtest.cc:2782
↓ 1 callers
Method
OnTestPartResult
Called after an assertion failure.
gtest/fused-src/gtest/gtest-all.cc:4266
↓ 1 callers
Method
OnTestProgramEnd
gtest/src/gtest.cc:2712
↓ 1 callers
Method
OnTestProgramEnd
gtest/fused-src/gtest/gtest-all.cc:1549
↓ 1 callers
Method
OnTestProgramStart
The following methods override what's in the TestEventListener class.
gtest/src/gtest.cc:2700
↓ 1 callers
Method
OnTestProgramStart
gtest/fused-src/gtest/gtest-all.cc:1545
↓ 1 callers
Method
OnTestStart
gtest/test/gtest_shuffle_test_.cc:86
↓ 1 callers
Method
OnTestStart
gtest/src/gtest.cc:2774
↓ 1 callers
Method
OnTestStart
gtest/fused-src/gtest/gtest-all.cc:4258
← previous
next →
801–900 of 3,349, ranked by callers