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
↓ 4 callers
Function
ReadStringFromFile
Read a std::string from disk file.
src/base/file_util.h:308
↓ 4 callers
Method
Reset
Return to the begining of the data.
src/reader/reader.h:313
↓ 4 callers
Function
RunAllTests
Runs the tests. Return true iff successful. The 'failure' parameter specifies the type of failure that should be generated by the global set-up.
gtest/test/gtest_environment_test.cc:127
↓ 4 callers
Function
RunAndExtractTestList
Runs the test program and returns its exit code and a list of tests run.
gtest/test/gtest_filter_unittest.py:185
↓ 4 callers
Function
SStringPrintf
src/base/stringprintf.cc:81
↓ 4 callers
Method
SerializeToTXT
Serialize current model to a TXT file.
src/data/model_parameters.cc:238
↓ 4 callers
Method
SetShuffle
If shuffle data ?
src/reader/reader.h:126
↓ 4 callers
Method
SetTestPartResultReporterForCurrentThread
Sets the test part result reporter for the current thread.
gtest/src/gtest.cc:702
↓ 4 callers
Method
SetTestPartResultReporterForCurrentThread
Sets the test part result reporter for the current thread.
gtest/fused-src/gtest/gtest-all.cc:2186
↓ 4 callers
Function
UniversalTersePrintTupleFieldsToStrings
gtest/fused-src/gtest/gtest.h:10027
↓ 4 callers
Function
VerifyGeneratorIsEmpty
gtest/test/gtest-param-test_test.cc:172
↓ 4 callers
Method
_VerifyTestCasesDoNotInterleave
(self, tests)
gtest/test/gtest_shuffle_test.py:245
↓ 4 callers
Method
key
Gets the user supplied key.
gtest/fused-src/gtest/gtest.h:17886
↓ 4 callers
Function
mmap
src/base/mman.h:104
↓ 4 callers
Function
munmap
src/base/mman.h:152
↓ 4 callers
Method
next
Gets the next node in the queue.
gtest/samples/sample3-inl.h:57
↓ 4 callers
Function
random
Gets the random number generator.
gtest/src/gtest-internal-inl.h:801
↓ 4 callers
Function
random
Gets the random number generator.
gtest/fused-src/gtest/gtest-all.cc:1202
↓ 4 callers
Method
repeater
Returns repeater that broadcasts the TestEventListener events to all subscribers.
gtest/fused-src/gtest/gtest-all.cc:5072
↓ 4 callers
Method
reset
gtest/include/gtest/internal/gtest-port.h:907
↓ 4 callers
Method
tear_down_was_run
Was TearDown() run?
gtest/test/gtest_environment_test.cc:98
↓ 4 callers
Method
test_to_run_count
Gets the number of tests that should run.
gtest/fused-src/gtest/gtest-all.cc:2244
↓ 4 callers
Method
value
gtest/test/gtest-param-test_test.cc:317
↓ 3 callers
Method
AbortArgument
gtest/test/gtest-death-test_test.cc:832
↓ 3 callers
Method
AddTestPartResult
Adds a test part result to the list.
gtest/src/gtest.cc:1727
↓ 3 callers
Method
AddTestPartResult
Adds a test part result to the list.
gtest/fused-src/gtest/gtest-all.cc:3211
↓ 3 callers
Method
AdjustForParameterizedTests
Adjust tests_to_run in case value parameterized tests are disabled.
gtest/test/gtest_filter_unittest.py:248
↓ 3 callers
Method
AlmostEquals
Returns true iff this number is at most kMaxUlps ULP's away from rhs. In particular, this function: - returns false if either number is (or both are
gtest/fused-src/gtest/gtest.h:7288
↓ 3 callers
Function
AppendUserMessage
Appends the user-supplied message to the Google-Test-generated message.
gtest/src/gtest.cc:1678
↓ 3 callers
Function
ArrayAsVector
gtest/src/gtest.cc:1785
↓ 3 callers
Function
ArrayAsVector
gtest/fused-src/gtest/gtest-all.cc:3269
↓ 3 callers
Function
AssertionResult
Used in the EXPECT_TRUE/FALSE(bool_expression).
gtest/fused-src/gtest/gtest.h:17675
↓ 3 callers
Function
AssertionResult
Used in the EXPECT_TRUE/FALSE(bool_expression).
gtest/include/gtest/gtest.h:262
↓ 3 callers
Function
CaptureStderr
Starts capturing stderr.
gtest/fused-src/gtest/gtest-all.cc:8869
↓ 3 callers
Function
CheckCounts
Checks that the count for each test is expected.
gtest/test/gtest_repeat_test.cc:153
↓ 3 callers
Method
Clear
Clears the object.
gtest/src/gtest.cc:1839
↓ 3 callers
Method
Clear
Clears the object.
gtest/fused-src/gtest/gtest-all.cc:3323
↓ 3 callers
Method
Clone
gtest/fused-src/gtest/gtest.h:10211
↓ 3 callers
Method
Clone
gtest/include/gtest/internal/gtest-param-util.h:212
↓ 3 callers
Function
Close
gtest/fused-src/gtest/gtest.h:2896
↓ 3 callers
Function
ExpectNonFatalFailureRecordingPropertyWithReservedKey
When a property using a reserved key is supplied to this function, it tests that a non-fatal failure is added, a fatal failure is not added, and that
gtest/test/gtest_unittest.cc:1936
↓ 3 callers
Function
FlagToEnvVar
Returns the name of the environment variable corresponding to the given flag. For example, FlagToEnvVar("foo") will return "GTEST_FOO" in the open-so
gtest/src/gtest-port.cc:709
↓ 3 callers
Function
FlagToEnvVar
Returns the name of the environment variable corresponding to the given flag. For example, FlagToEnvVar("foo") will return "GTEST_FOO" in the open-so
gtest/fused-src/gtest/gtest-all.cc:8919
↓ 3 callers
Function
FormatTimeInMillisAsSeconds
Formats the given time in milliseconds as seconds.
gtest/fused-src/gtest/gtest-all.cc:4697
↓ 3 callers
Function
GetAbsolutePathOf
Turns the given relative path into an absolute path.
gtest/test/gtest-options_test.cc:63
↓ 3 callers
Function
GetPrefixUntilComma
Returns the prefix of 'str' before the first comma in it; returns the entire string if it contains no comma.
gtest/fused-src/gtest/gtest.h:7513
↓ 3 callers
Method
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:5216
↓ 3 callers
Method
GetTestInfo
Returns the i-th test among all the tests. i can range from 0 to total_test_count() - 1. If i is not in that range, returns NULL.
gtest/fused-src/gtest/gtest-all.cc:3893
↓ 3 callers
Method
GetTestPartResultReporterForCurrentThread
Returns the test part result reporter for the current thread.
gtest/src/gtest.cc:696
↓ 3 callers
Method
GetTestPartResultReporterForCurrentThread
Returns the test part result reporter for the current thread.
gtest/fused-src/gtest/gtest-all.cc:2180
↓ 3 callers
Function
GetTestTypeId
Returns the type ID of ::testing::Test. We should always call this instead of GetTypeId< ::testing::Test>() to get the type ID of testing::Test. Thi
gtest/fused-src/gtest/gtest-all.cc:2082
↓ 3 callers
Function
IdToKey
gtest/test/gtest_stress_test.cc:64
↓ 3 callers
Function
IdToString
gtest/test/gtest_stress_test.cc:70
↓ 3 callers
Method
Increment
Returns the current counter value, and increments it.
gtest/samples/sample4.cc:39
↓ 3 callers
Function
Int32FromGTestEnv
Reads and returns a 32-bit integer stored in the environment variable corresponding to the given flag; if it isn't set or doesn't represent a valid 32
gtest/fused-src/gtest/gtest-all.cc:8986
↓ 3 callers
Function
InvokeWithModifiedEnv
Runs the given function and arguments in a modified environment.
gtest/test/gtest_filter_unittest.py:204
↓ 3 callers
Function
IsTrue
gtest/src/gtest.cc:4648
↓ 3 callers
Function
IsTrue
gtest/fused-src/gtest/gtest-all.cc:6132
↓ 3 callers
Function
MatchRegexAtHead
Returns true iff regex matches a prefix of str. regex must be a valid simple regular expression and not start with "^", or the result is undefined.
gtest/fused-src/gtest/gtest-all.cc:8557
↓ 3 callers
Function
NormalExitStatus
Returns the exit status of a process that calls _exit(2) with a given exit code. This is a helper function for the ExitStatusPredicateTest test suite
gtest/test/gtest-death-test_test.cc:229
↓ 3 callers
Function
ParseFlagValue
Parses a string as a command line flag. The string should have the format "--flag=value". When def_optional is true, the "=value" part can be omitte
gtest/src/gtest.cc:4677
↓ 3 callers
Function
ParseFlagValue
Parses a string as a command line flag. The string should have the format "--flag=value". When def_optional is true, the "=value" part can be omitte
gtest/fused-src/gtest/gtest-all.cc:6161
↓ 3 callers
Function
ParseInt32
Parses 'str' for a 32-bit signed integer. If successful, writes the result to *value and returns true; otherwise leaves *value unchanged and returns
gtest/src/gtest-port.cc:724
↓ 3 callers
Function
ParseInt32
Parses 'str' for a 32-bit signed integer. If successful, writes the result to *value and returns true; otherwise leaves *value unchanged and returns
gtest/fused-src/gtest/gtest-all.cc:8934
↓ 3 callers
Function
ParseInt32Flag
Parses a string for an Int32 flag, in the form of "--flag=value". On success, stores the value of the flag in *value, and returns true. On failure,
gtest/fused-src/gtest/gtest-all.cc:6216
↓ 3 callers
Function
PeekToken
(a_list)
gtest/scripts/pump.py:463
↓ 3 callers
Method
Predict
Predict in multi-thread
src/loss/loss.cc:51
↓ 3 callers
Function
PrintByteSegmentInObjectTo
Prints a segment of bytes in the given object.
gtest/src/gtest-printers.cc:59
↓ 3 callers
Function
PrintByteSegmentInObjectTo
Prints a segment of bytes in the given object.
gtest/fused-src/gtest/gtest-all.cc:9072
↓ 3 callers
Function
PrintRawArrayTo
gtest/fused-src/gtest/gtest.h:9638
↓ 3 callers
Function
PrintRawArrayTo
gtest/include/gtest/gtest-printers.h:447
↓ 3 callers
Method
RegisterTests
UnitTest class invokes this method to register tests in this test case test cases right before running tests in RUN_ALL_TESTS macro. This method shoul
gtest/fused-src/gtest/gtest.h:10486
↓ 3 callers
Method
RemoveTrailingPathSeparator
If input name has a trailing separator character, remove it and return the name, otherwise return the name string unmodified. On Windows platform, use
gtest/fused-src/gtest/gtest-all.cc:8175
↓ 3 callers
Function
ReportFailureInUnknownLocation
gtest/src/gtest.cc:1926
↓ 3 callers
Function
ReportFailureInUnknownLocation
gtest/fused-src/gtest/gtest-all.cc:3410
↓ 3 callers
Method
Reset
Resets the state of the environment s.t. it can be reused.
gtest/test/gtest_environment_test.cc:82
↓ 3 callers
Method
Reset
Reset memory for DMatrix.
src/data/data_structure.h:173
↓ 3 callers
Function
Set
gtest/fused-src/gtest/gtest.h:3560
↓ 3 callers
Method
SetPredict
src/solver/solver.h:64
↓ 3 callers
Method
SetValue
Sets a new value, overriding the one supplied in the constructor.
gtest/include/gtest/gtest.h:483
↓ 3 callers
Function
ShuffleRange
gtest/fused-src/gtest/gtest-all.cc:712
↓ 3 callers
Function
SkipComma
Skips to the first non-space char after the first comma in 'str'; returns NULL if no comma is found in 'str'.
gtest/fused-src/gtest/gtest.h:7502
↓ 3 callers
Function
SleepMilliseconds
Sleeps for (roughly) n milli-seconds. This function is only for testing Google Test's own constructs. Don't use it in user tests, either directly or
gtest/fused-src/gtest/gtest.h:2295
↓ 3 callers
Function
StringAppendV
src/base/stringprintf.cc:28
↓ 3 callers
Function
SubString
Returns a substring in lines.
gtest/scripts/pump.py:208
↓ 3 callers
Function
SubWithTrace
Another helper function for testing SCOPED_TRACE.
gtest/test/gtest_output_test_.cc:169
↓ 3 callers
Function
TestPartResult
C'tor. TestPartResult does NOT have a default constructor. Always use this constructor (with parameters) to create a TestPartResult object.
gtest/fused-src/gtest/gtest.h:17103
↓ 3 callers
Function
TestRepeat
Tests the behavior of Google Test when --gtest_repeat has the given value.
gtest/test/gtest_repeat_test.cc:172
↓ 3 callers
Method
_TestXmlOutput
Asserts that the XML document generated by running the program gtest_prog_name matches expected_xml, a string containing another XML docu
gtest/test/gtest_xml_output_unittest.py:286
↓ 3 callers
Function
abs
src/loss/metric.h:598
↓ 3 callers
Method
current_test_result
Returns the TestResult for the test that's currently running, or the TestResult for the ad hoc test if no test is running.
gtest/fused-src/gtest/gtest-all.cc:6078
↓ 3 callers
Method
get
Get the time duration (seconds)
src/base/timer.cc:47
↓ 3 callers
Method
loss_type
src/loss/loss_test.cc:51
↓ 3 callers
Method
reportable_disabled_test_count
Gets the number of disabled tests that will be reported in the XML report.
gtest/src/gtest.cc:739
↓ 3 callers
Method
reportable_disabled_test_count
Gets the number of disabled tests that will be reported in the XML report.
gtest/fused-src/gtest/gtest-all.cc:2223
↓ 3 callers
Method
reportable_test_count
Gets the number of tests to be printed in the XML report.
gtest/src/gtest.cc:750
↓ 3 callers
Method
reportable_test_count
Gets the number of tests to be printed in the XML report.
gtest/fused-src/gtest/gtest-all.cc:2234
↓ 3 callers
Method
start_timestamp
Gets the time of the test program start, in ms from the start of the UNIX epoch.
gtest/src/gtest.cc:3714
↓ 3 callers
Method
test_case_to_run_count
Gets the number of all test cases that contain at least one test that should run.
gtest/src/gtest.cc:724
↓ 3 callers
Function
type
Gets the outcome of the test part.
gtest/fused-src/gtest/gtest.h:17115
← previous
next →
401–500 of 3,349, ranked by callers