MCPcopy Create free account

hub / github.com/aksnzhy/xlearn / functions

Functions3,349 in github.com/aksnzhy/xlearn

↓ 9 callersMethodget
gtest/include/gtest/internal/gtest-port.h:899
↓ 9 callersMethodtotal_test_case_count
Gets the number of all test cases.
gtest/src/gtest.cc:718
↓ 8 callersFunctionAddGlobalTestEnvironment
A convenient wrapper for adding an environment for the test program. You should call this before RUN_ALL_TESTS() is called, probably in main(). If y
gtest/include/gtest/gtest.h:1318
↓ 8 callersFunctionClearCurrentTestPartResults
gtest/test/gtest_unittest.cc:352
↓ 8 callersFunctionCombine
gtest/fused-src/gtest/gtest.h:16840
↓ 8 callersFunctionExpectNonFatalFailureRecordingPropertyWithReservedKeyOutsideOfTestCase
gtest/test/gtest_unittest.cc:1959
↓ 8 callersMethodFindSimilar
Find the most similar string from string list. Return the minimal levenshtein distance.
src/base/levenshtein_distance.cc:43
↓ 8 callersMethodGenerate
Generates a random number from [0, range), using a Linear Congruential Generator (LCG). Crashes if 'range' is 0 or greater than kMaxRange.
gtest/src/gtest.cc:291
↓ 8 callersFunctionGetCapturedStderr
Stops capturing stderr and returns the captured string.
gtest/src/gtest-port.cc:669
↓ 8 callersMethodGetNumK
Get the number of k.
src/data/model_parameters.h:153
↓ 8 callersFunctionGetRandomSeedFromFlag
Returns a random seed in range [1, kMaxRandomSeed] based on the given --gtest_random_seed flag value.
gtest/src/gtest-internal-inl.h:135
↓ 8 callersFunctionGetTimeInMillis
Returns the current time in milliseconds.
gtest/fused-src/gtest/gtest-all.cc:2264
↓ 8 callersFunctionHandleExceptionsInMethodIfSupported
gtest/src/gtest.cc:2086
↓ 8 callersFunctionHandleExceptionsInMethodIfSupported
gtest/fused-src/gtest/gtest-all.cc:3570
↓ 8 callersFunctionHasPrefix
gtest/test/gtest-printers_test.cc:544
↓ 8 callersFunctionHashFile
Calculate the hash value of current txt file. If one_block == true, we just read a small chunk of data. If one_block == false, we read all the data fr
src/base/file_util.h:327
↓ 8 callersMethodInitialize
Basic contributor.
src/data/model_parameters.cc:39
↓ 8 callersFunctionIsEven
Returns true iff the argument is an even number.
gtest/test/gtest_unittest.cc:2104
↓ 8 callersFunctionIsSubstringImpl
gtest/src/gtest.cc:1260
↓ 8 callersFunctionIsSubstringImpl
gtest/fused-src/gtest/gtest-all.cc:2744
↓ 8 callersFunctionMakeToken
Creates a new instance of Token.
gtest/scripts/pump.py:237
↓ 8 callersFunctionParseBoolFlag
Parses a string for a bool flag, in the form of either "--flag=value" or "--flag". In the former case, the value is taken as true as long as it does
gtest/src/gtest.cc:4715
↓ 8 callersFunctionParseBoolFlag
Parses a string for a bool flag, in the form of either "--flag=value" or "--flag". In the former case, the value is taken as true as long as it does
gtest/fused-src/gtest/gtest-all.cc:6199
↓ 8 callersFunctionParseNaturalNumber
gtest/fused-src/gtest/gtest-all.cc:1403
↓ 8 callersFunctionPrintCharsAsStringTo
gtest/src/gtest-printers.cc:255
↓ 8 callersFunctionPrintCharsAsStringTo
gtest/fused-src/gtest/gtest-all.cc:9268
↓ 8 callersMethodReAlloc
ReAlloc memoryfor the DMatrix. This function will first release the original memory allocated for the DMatrix, and then re-allocate memory for this ne
src/data/data_structure.h:156
↓ 8 callersMethodReset
Reset loss_sum_ and total_example_
src/loss/loss.h:122
↓ 8 callersFunctionResultIsEven
A predicate function that returns AssertionResult for use in EXPECT/ASSERT_TRUE/FALSE.
gtest/test/gtest_unittest.cc:2127
↓ 8 callersFunctionResultIsEvenNoExplanation
A predicate function that returns AssertionResult but gives no explanation why it succeeds. Needed for testing that EXPECT/ASSERT_FALSE handles such f
gtest/test/gtest_unittest.cc:2137
↓ 8 callersFunctionShouldRunTestOnShard
Given the total number of shards, the shard index, and the test id, returns true iff the test should be run on this shard. The test id is some arbitra
gtest/src/gtest.cc:4444
↓ 8 callersMethodSize
Gets the number of elements.
gtest/samples/sample3-inl.h:102
↓ 8 callersFunctionSkip
(lines, pos, regex)
gtest/scripts/pump.py:261
↓ 8 callersFunctionStrDup
gtest/fused-src/gtest/gtest.h:2818
↓ 8 callersFunctionStringStreamToString
Converts the buffer in a stringstream to an std::string, converting NUL bytes to "\\0" along the way.
gtest/src/gtest.cc:1659
↓ 8 callersFunctionUniversalPrint
gtest/include/gtest/gtest-printers.h:752
↓ 8 callersFunctionXLearnSetBool
Set bool param
src/c_api/c_api.cc:467
↓ 8 callersFunctionXLearnSetFloat
Set float param
src/c_api/c_api.cc:423
↓ 8 callersFunctionc_str
gtest/fused-src/gtest/gtest.h:3565
↓ 8 callersMethodsetSigmoid
Convert output by using sigmoid
python-package/xlearn/xlearn.py:228
↓ 8 callersMethodtest_to_run_count
Gets the number of tests that should run.
gtest/src/gtest.cc:760
↓ 8 callersMethodx
gtest/test/gtest_unittest.cc:5034
↓ 7 callersFunctionAddFatalFailure
AddFatalFailure() and AddNonfatalFailure() must be stand-alone functions (i.e. their definitions cannot be inlined at the call sites), or C++Builder w
gtest/test/gtest_unittest.cc:1091
↓ 7 callersFunctionAddNonfatalFailure
gtest/test/gtest_unittest.cc:1095
↓ 7 callersFunctionBoolFromGTestEnv
Reads and returns the Boolean environment variable corresponding to the given flag; if it's not set, returns default_value. The value is considered t
gtest/src/gtest-port.cc:766
↓ 7 callersFunctionBoolFromGTestEnv
Reads and returns the Boolean environment variable corresponding to the given flag; if it's not set, returns default_value. The value is considered t
gtest/fused-src/gtest/gtest-all.cc:8976
↓ 7 callersFunctionCheckTestFailureCount
gtest/test/gtest_stress_test.cc:117
↓ 7 callersMethodCreateDirectoriesRecursively
Create directories so that path exists. Returns true if successful or if the directories already exist; returns false if unable to create directories
gtest/src/gtest-filepath.cc:303
↓ 7 callersFunctionCreateParser
src/reader/parser_test.cc:283
↓ 7 callersMethodEnqueue
Adds an element to the end of the queue. A copy of the element is created using the copy constructor, and then stored in the queue. Changes made to t
gtest/samples/sample3-inl.h:116
↓ 7 callersMethodFileOrDirectoryExists
Returns true if pathname describes something findable in the file-system, either a file, directory, or whatever.
gtest/src/gtest-filepath.cc:204
↓ 7 callersFunctionForEach
gtest/fused-src/gtest/gtest-all.cc:696
↓ 7 callersFunctionGTEST_LOCK_EXCLUDED_
gtest/src/gtest.cc:3514
↓ 7 callersFunctionGTEST_LOCK_EXCLUDED_
gtest/fused-src/gtest/gtest-all.cc:4998
↓ 7 callersFunctionGetLastErrnoDescription
Returns the message describing the last system error in errno.
gtest/src/gtest-death-test.cc:304
↓ 7 callersMethodGetTestCase
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.cc:3732
↓ 7 callersFunctionGetTestTypeId
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/src/gtest.cc:598
↓ 7 callersFunctionGlobalFunction
A global function that's expected to die.
gtest/test/gtest-death-test_test.cc:170
↓ 7 callersMethodIsAbsolutePath
Returns true if pathname describes an absolute path.
gtest/src/gtest-filepath.cc:260
↓ 7 callersFunctionIsAsciiPunct
gtest/src/gtest-port.cc:211
↓ 7 callersMethodNotify
Notifies all threads created with this notification to start. Must be called from the controller thread.
gtest/fused-src/gtest/gtest.h:2320
↓ 7 callersFunctionParseCodeNode
(tokens)
gtest/scripts/pump.py:564
↓ 7 callersFunctionParseExpNode
(token)
gtest/scripts/pump.py:470
↓ 7 callersFunctionPrintByRef
gtest/test/gtest-printers_test.cc:245
↓ 7 callersMethodRelease
TODO(vladl@google.com): Factor the search functionality into Vector::Find.
gtest/src/gtest.cc:2944
↓ 7 callersFunctionRemoveMatchingTests
Removes output of specified tests from a Google Test program's output. This function strips not only the beginning and the end of a test but also
gtest/test/gtest_output_test.py:167
↓ 7 callersFunctionShuffle
gtest/src/gtest-internal-inl.h:332
↓ 7 callersFunctionStringStreamToString
Converts the buffer in a stringstream to an std::string, converting NUL bytes to "\\0" along the way.
gtest/fused-src/gtest/gtest-all.cc:3143
↓ 7 callersFunctionSumOverTestCaseList
Iterates over a vector of TestCases, keeping a running sum of the results of calling a given int-returning method on each. Returns the sum.
gtest/src/gtest.cc:321
↓ 7 callersFunctionSumOverTestCaseList
Iterates over a vector of TestCases, keeping a running sum of the results of calling a given int-returning method on each. Returns the sum.
gtest/fused-src/gtest/gtest-all.cc:1805
↓ 7 callersFunctionUniversalTersePrint
gtest/fused-src/gtest/gtest.h:9934
↓ 7 callersFunctionWriteStringToFile
Write a std:string to disk file.
src/base/file_util.h:296
↓ 7 callersFunction__map_mman_error
src/base/mman.h:67
↓ 7 callersMethodbegin
gtest/include/gtest/internal/gtest-param-util.h:171
↓ 7 callersMethodc_string
Gets the 0-terminated C string this MyString object represents.
gtest/samples/sample2.h:74
↓ 7 callersMethoddisabled_test_count
Gets the number of disabled tests.
gtest/src/gtest.cc:745
↓ 7 callersMethodend
gtest/include/gtest/internal/gtest-param-util.h:172
↓ 7 callersMethodoriginal_working_dir
Returns the working directory when the first TEST() or TEST_F() was executed.
gtest/src/gtest.cc:3934
↓ 7 callersMethodos_stack_trace_getter
Returns the current OS stack trace getter if it is not NULL; otherwise, creates an OsStackTraceGetter, makes it the current getter, and returns it.
gtest/src/gtest.cc:4584
↓ 7 callersMethodos_stack_trace_getter
Returns the current OS stack trace getter if it is not NULL; otherwise, creates an OsStackTraceGetter, makes it the current getter, and returns it.
gtest/fused-src/gtest/gtest-all.cc:6068
↓ 7 callersMethodswap
Swap two scoped pointers.
src/base/scoped_ptr.h:126
↓ 6 callersFunctionAbort
gtest/fused-src/gtest/gtest-all.cc:8909
↓ 6 callersFunctionCaptureStdout
Starts capturing stdout.
gtest/src/gtest-port.cc:654
↓ 6 callersFunctionChDir
gtest/fused-src/gtest/gtest.h:2877
↓ 6 callersFunctionChopLowBits
Chops off the n lowest bits from a bit pattern. Returns the n lowest bits. As a side effect, the original bit pattern will be shifted to the right b
gtest/src/gtest.cc:1424
↓ 6 callersFunctionChopLowBits
Chops off the n lowest bits from a bit pattern. Returns the n lowest bits. As a side effect, the original bit pattern will be shifted to the right b
gtest/fused-src/gtest/gtest-all.cc:2908
↓ 6 callersMethodClear
Finalize xLearn
src/solver/solver.cc:620
↓ 6 callersFunctionCopyArray
gtest/fused-src/gtest/gtest.h:7889
↓ 6 callersMethodDMatrix
Constructor
src/data/data_structure.h:136
↓ 6 callersMethodDequeue
Removes the head of the queue and returns it. Returns NULL if the queue is empty.
gtest/samples/sample3-inl.h:131
↓ 6 callersFunctionDieIf
A unary function that may die.
gtest/test/gtest-death-test_test.cc:179
↓ 6 callersFunctionExpectNonFatalFailureRecordingPropertyWithReservedKeyForCurrentTest
gtest/test/gtest_unittest.cc:1943
↓ 6 callersFunctionExpectNonFatalFailureRecordingPropertyWithReservedKeyForCurrentTestCase
gtest/test/gtest_unittest.cc:1951
↓ 6 callersFunctionFlushInfoLog
gtest/fused-src/gtest/gtest.h:2151
↓ 6 callersFunctionFormatEpochTimeInMillisAsIso8601
Converts the given epoch time in milliseconds to a date string in the ISO 8601 format, without the timezone information.
gtest/src/gtest.cc:3221
↓ 6 callersFunctionFormatFileLocation
Formats a source file path and a line number as they would appear in an error message from the compiler used to compile this code.
gtest/fused-src/gtest/gtest-all.cc:8666
↓ 6 callersFunctionFormatRegexSyntaxError
Helper function used by ValidateRegex() to format error messages.
gtest/src/gtest-port.cc:250
↓ 6 callersFunctionFormatRegexSyntaxError
Helper function used by ValidateRegex() to format error messages.
gtest/fused-src/gtest/gtest-all.cc:8460
↓ 6 callersFunctionGenerateFatalFailureInAnotherThread
gtest/test/gtest_stress_test.cc:172
↓ 6 callersFunctionGetCurrentExecutableName
Returns the current application's name, removing directory path if that is present.
gtest/src/gtest.cc:377
← previousnext →201–300 of 3,349, ranked by callers