Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Qihoo360/logkafka
/ functions
Functions
3,133 in github.com/Qihoo360/logkafka
⨍
Functions
3,133
◇
Types & classes
1,325
↓ 11 callers
Function
AlwaysTrue
unittest/lib/gtest-1.6.0/src/gtest.cc:4533
↓ 11 callers
Method
BaseGenerator
unittest/lib/gtest-1.6.0/fused-src/gtest/gtest.h:10139
↓ 11 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,
unittest/lib/gtest-1.6.0/src/gtest.cc:4615
↓ 11 callers
Function
PrintTupleTo
unittest/lib/gtest-1.6.0/fused-src/gtest/gtest.h:9951
↓ 11 callers
Function
PrintTupleTo
unittest/lib/gtest-1.6.0/include/gtest/gtest-printers.h:766
↓ 11 callers
Method
RemoveDirectoryName
Returns a copy of the FilePath with the directory part removed. Example: FilePath("path/to/file").RemoveDirectoryName() returns FilePath("file"). If t
unittest/lib/gtest-1.6.0/src/gtest-filepath.cc:148
↓ 11 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
unittest/lib/gtest-1.6.0/src/gtest-filepath.cc:339
↓ 11 callers
Method
RunAndVerify
Runs gtest_break_on_failure_unittest_ and verifies that it does (or does not) have a seg-fault. Args: env_var_value: value of the GT
unittest/lib/gtest-1.6.0/test/gtest_break_on_failure_unittest.py:105
↓ 11 callers
Method
RunAndVerifyWithSharding
Checks that binary runs correct tests for the given filter and shard. Runs all shards of gtest_filter_unittest_ with the given filter, and ve
unittest/lib/gtest-1.6.0/test/gtest_filter_unittest.py:287
↓ 11 callers
Function
TestFlag
Verifies that the given flag is affected by the corresponding env var.
unittest/lib/gtest-1.6.0/test/gtest_env_var_test.py:73
↓ 11 callers
Function
ThrowNothing
unittest/lib/gtest-1.6.0/test/gtest_unittest.cc:3692
↓ 11 callers
Function
UniversalPrint
unittest/lib/gtest-1.6.0/fused-src/gtest/gtest.h:9881
↓ 11 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.
unittest/lib/gtest-1.6.0/src/gtest.cc:4477
↓ 11 callers
Function
length
Returns the length of the encapsulated string, or 0 if the string is NULL.
unittest/lib/gtest-1.6.0/fused-src/gtest/gtest.h:3120
↓ 11 callers
Method
pointer
unittest/lib/gtest-1.6.0/fused-src/gtest/gtest.h:2405
↓ 11 callers
Method
update
src/logkafka/file_position_entry.cc:38
↓ 10 callers
Function
CaptureStderr
Starts capturing stderr.
unittest/lib/gtest-1.6.0/src/gtest-port.cc:616
↓ 10 callers
Function
DieInside
unittest/lib/gtest-1.6.0/test/gtest-death-test_test.cc:122
↓ 10 callers
Function
EqFailure
Constructs and returns the message for an equality assertion (e.g. ASSERT_EQ, EXPECT_STREQ, etc) failure. The first four parameters are the expressio
unittest/lib/gtest-1.6.0/src/gtest.cc:998
↓ 10 callers
Function
ForEach
unittest/lib/gtest-1.6.0/src/gtest-internal-inl.h:286
↓ 10 callers
Function
Int32FromEnvOrDie
Parses the environment variable var as an Int32. If it is unset, returns default_val. If it is not an Int32, prints an error and aborts.
unittest/lib/gtest-1.6.0/src/gtest.cc:4348
↓ 10 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
unittest/lib/gtest-1.6.0/src/gtest-port.cc:717
↓ 10 callers
Function
IsNotSubstring
unittest/lib/gtest-1.6.0/src/gtest.cc:1292
↓ 10 callers
Function
IsRepeat
unittest/lib/gtest-1.6.0/src/gtest-port.cc:189
↓ 10 callers
Method
OnTestProgramStart
unittest/lib/gtest-1.6.0/test/gtest_unittest.cc:6629
↓ 10 callers
Method
Passed
unittest/lib/gtest-1.6.0/test/gtest-death-test_test.cc:835
↓ 10 callers
Method
Passed
Returns true iff the unit test passed (i.e. all test cases passed).
unittest/lib/gtest-1.6.0/src/gtest.cc:3700
↓ 10 callers
Function
SkipPrefix
If *pstr starts with the given prefix, modifies *pstr to be right past the prefix and returns true; otherwise leaves *pstr unchanged and returns false
unittest/lib/gtest-1.6.0/src/gtest.cc:4546
↓ 10 callers
Method
Use
unittest/lib/gtest-1.6.0/test/gtest-linked_ptr_test.cc:51
↓ 10 callers
Method
disabled_test_count
Gets the number of disabled tests.
unittest/lib/gtest-1.6.0/src/gtest.cc:735
↓ 10 callers
Method
failed_test_count
Gets the number of failed tests.
unittest/lib/gtest-1.6.0/src/gtest.cc:730
↓ 10 callers
Function
int2Str
src/base/tools.cc:101
↓ 9 callers
Function
Abort
unittest/lib/gtest-1.6.0/src/gtest-port.cc:640
↓ 9 callers
Method
AtEnd
unittest/lib/gtest-1.6.0/fused-src/gtest/gtest.h:13472
↓ 9 callers
Method
AtEnd
unittest/lib/gtest-1.6.0/include/gtest/internal/gtest-param-util-generated.h:2921
↓ 9 callers
Method
BaseGenerator
unittest/lib/gtest-1.6.0/include/gtest/internal/gtest-param-util-generated.h:2870
↓ 9 callers
Method
Clone
(self)
unittest/lib/gtest-1.6.0/scripts/pump.py:589
↓ 9 callers
Function
CountIf
unittest/lib/gtest-1.6.0/fused-src/gtest/gtest-all.cc:671
↓ 9 callers
Function
DeathTestAbort
Routine for aborting the program which is safe to call from an exec-style death test child process, in which case the error message is propagated back
unittest/lib/gtest-1.6.0/src/gtest-death-test.cc:213
↓ 9 callers
Function
DeathTestAbort
Routine for aborting the program which is safe to call from an exec-style death test child process, in which case the error message is propagated back
unittest/lib/gtest-1.6.0/fused-src/gtest/gtest-all.cc:6410
↓ 9 callers
Method
Get
unittest/lib/gtest-1.6.0/fused-src/gtest/gtest-all.cc:1347
↓ 9 callers
Function
GetElementOr
unittest/lib/gtest-1.6.0/src/gtest-internal-inl.h:293
↓ 9 callers
Method
Join
unittest/lib/gtest-1.6.0/fused-src/gtest/gtest.h:2222
↓ 9 callers
Method
Passed
Returns true iff the unit test passed (i.e. all test cases passed).
unittest/lib/gtest-1.6.0/fused-src/gtest/gtest-all.cc:5004
↓ 9 callers
Method
RunAndVerify
Runs gtest_throw_on_failure_test_ and verifies that it does (or does not) exit with a non-zero code. Args: env_var_value: value of t
unittest/lib/gtest-1.6.0/test/gtest_throw_on_failure_test.py:83
↓ 9 callers
Method
RunAndVerifyAllowingDisabled
Checks that the binary runs correct set of tests for the given filter. Runs gtest_filter_unittest_ with the given filter, and enables disable
unittest/lib/gtest-1.6.0/test/gtest_filter_unittest.py:325
↓ 9 callers
Function
StreamableToString
unittest/lib/gtest-1.6.0/fused-src/gtest/gtest.h:17197
↓ 9 callers
Method
count
Returns the number of live test objects that uses this fixture.
unittest/lib/gtest-1.6.0/test/gtest_unittest.cc:4867
↓ 9 callers
Method
elapsed_time
Gets the elapsed time, in milliseconds.
unittest/lib/gtest-1.6.0/src/gtest.cc:3695
↓ 9 callers
Method
elapsed_time
Gets the elapsed time, in milliseconds.
unittest/lib/gtest-1.6.0/fused-src/gtest/gtest-all.cc:4999
↓ 9 callers
Method
total_test_case_count
Gets the number of all test cases.
unittest/lib/gtest-1.6.0/src/gtest.cc:714
↓ 8 callers
Function
ClearCurrentTestPartResults
unittest/lib/gtest-1.6.0/test/gtest_unittest.cc:259
↓ 8 callers
Function
Combine
unittest/lib/gtest-1.6.0/fused-src/gtest/gtest.h:16454
↓ 8 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.
unittest/lib/gtest-1.6.0/src/gtest.cc:1679
↓ 8 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.
unittest/lib/gtest-1.6.0/src/gtest.cc:284
↓ 8 callers
Function
GetCapturedStderr
Stops capturing stderr and returns the captured string.
unittest/lib/gtest-1.6.0/src/gtest-port.cc:624
↓ 8 callers
Function
GetRandomSeedFromFlag
Returns a random seed in range [1, kMaxRandomSeed] based on the given --gtest_random_seed flag value.
unittest/lib/gtest-1.6.0/src/gtest-internal-inl.h:124
↓ 8 callers
Function
HandleExceptionsInMethodIfSupported
unittest/lib/gtest-1.6.0/src/gtest.cc:2098
↓ 8 callers
Function
HandleExceptionsInMethodIfSupported
unittest/lib/gtest-1.6.0/fused-src/gtest/gtest-all.cc:3402
↓ 8 callers
Function
HasPrefix
unittest/lib/gtest-1.6.0/test/gtest-printers_test.cc:537
↓ 8 callers
Function
IsEven
Returns true iff the argument is an even number.
unittest/lib/gtest-1.6.0/test/gtest_unittest.cc:2142
↓ 8 callers
Function
IsSubstringImpl
unittest/lib/gtest-1.6.0/src/gtest.cc:1257
↓ 8 callers
Function
IsSubstringImpl
unittest/lib/gtest-1.6.0/fused-src/gtest/gtest-all.cc:2561
↓ 8 callers
Function
MakeToken
Creates a new instance of Token.
unittest/lib/gtest-1.6.0/scripts/pump.py:237
↓ 8 callers
Function
ParseBoolFlag
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
unittest/lib/gtest-1.6.0/src/gtest.cc:4598
↓ 8 callers
Function
ParseBoolFlag
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
unittest/lib/gtest-1.6.0/fused-src/gtest/gtest-all.cc:5902
↓ 8 callers
Function
ParseNaturalNumber
unittest/lib/gtest-1.6.0/fused-src/gtest/gtest-all.cc:1369
↓ 8 callers
Function
ResultIsEven
A predicate function that returns AssertionResult for use in EXPECT/ASSERT_TRUE/FALSE.
unittest/lib/gtest-1.6.0/test/gtest_unittest.cc:2165
↓ 8 callers
Function
ResultIsEvenNoExplanation
A predicate function that returns AssertionResult but gives no explanation why it succeeds. Needed for testing that EXPECT/ASSERT_FALSE handles such f
unittest/lib/gtest-1.6.0/test/gtest_unittest.cc:2175
↓ 8 callers
Function
ShouldRunTestOnShard
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
unittest/lib/gtest-1.6.0/src/gtest.cc:4366
↓ 8 callers
Method
Size
Gets the number of elements.
unittest/lib/gtest-1.6.0/samples/sample3-inl.h:103
↓ 8 callers
Function
Skip
(lines, pos, regex)
unittest/lib/gtest-1.6.0/scripts/pump.py:261
↓ 8 callers
Function
StrDup
unittest/lib/gtest-1.6.0/fused-src/gtest/gtest.h:2621
↓ 8 callers
Function
StringStreamToString
Converts the buffer in a stringstream to a String, converting NUL bytes to "\\0" along the way.
unittest/lib/gtest-1.6.0/src/gtest.cc:1735
↓ 8 callers
Function
UniversalTersePrint
unittest/lib/gtest-1.6.0/fused-src/gtest/gtest.h:9862
↓ 8 callers
Method
copy
unittest/lib/gtest-1.6.0/fused-src/gtest/gtest.h:9157
↓ 8 callers
Function
remove
Windows CE doesn't have the remove C function.
unittest/lib/gtest-1.6.0/test/gtest-filepath_test.cc:68
↓ 8 callers
Method
start
src/logkafka/manager.cc:259
↓ 8 callers
Method
test_to_run_count
Gets the number of tests that should run.
unittest/lib/gtest-1.6.0/src/gtest.cc:745
↓ 8 callers
Method
x
unittest/lib/gtest-1.6.0/test/gtest_unittest.cc:4960
↓ 7 callers
Function
AddFatalFailure
AddFatalFailure() and AddNonfatalFailure() must be stand-alone functions (i.e. their definitions cannot be inlined at the call sites), or C++Builder w
unittest/lib/gtest-1.6.0/test/gtest_unittest.cc:1262
↓ 7 callers
Function
AddGlobalTestEnvironment
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
unittest/lib/gtest-1.6.0/include/gtest/gtest.h:1263
↓ 7 callers
Function
AddNonfatalFailure
unittest/lib/gtest-1.6.0/test/gtest_unittest.cc:1266
↓ 7 callers
Function
BoolFromGTestEnv
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
unittest/lib/gtest-1.6.0/src/gtest-port.cc:707
↓ 7 callers
Function
BoolFromGTestEnv
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
unittest/lib/gtest-1.6.0/fused-src/gtest/gtest-all.cc:8509
↓ 7 callers
Function
CheckTestFailureCount
unittest/lib/gtest-1.6.0/test/gtest_stress_test.cc:118
↓ 7 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
unittest/lib/gtest-1.6.0/src/gtest-filepath.cc:301
↓ 7 callers
Method
Enqueue
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
unittest/lib/gtest-1.6.0/samples/sample3-inl.h:117
↓ 7 callers
Function
FOpen
unittest/lib/gtest-1.6.0/fused-src/gtest/gtest.h:2682
↓ 7 callers
Method
FileOrDirectoryExists
Returns true if pathname describes something findable in the file-system, either a file, directory, or whatever.
unittest/lib/gtest-1.6.0/src/gtest-filepath.cc:202
↓ 7 callers
Function
ForEach
unittest/lib/gtest-1.6.0/fused-src/gtest/gtest-all.cc:684
↓ 7 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
unittest/lib/gtest-1.6.0/src/gtest.cc:594
↓ 7 callers
Function
GetTimeInMillis
Returns the current time in milliseconds.
unittest/lib/gtest-1.6.0/src/gtest.cc:765
↓ 7 callers
Function
GetTimeInMillis
Returns the current time in milliseconds.
unittest/lib/gtest-1.6.0/fused-src/gtest/gtest-all.cc:2069
↓ 7 callers
Function
GlobalFunction
A global function that's expected to die.
unittest/lib/gtest-1.6.0/test/gtest-death-test_test.cc:167
↓ 7 callers
Method
IsAbsolutePath
Returns true if pathname describes an absolute path.
unittest/lib/gtest-1.6.0/src/gtest-filepath.cc:258
↓ 7 callers
Function
IsAsciiPunct
unittest/lib/gtest-1.6.0/src/gtest-port.cc:186
↓ 7 callers
Method
Notify
Notifies all threads created with this notification to start. Must be called from the controller thread.
unittest/lib/gtest-1.6.0/fused-src/gtest/gtest.h:2153
↓ 7 callers
Function
ParseCodeNode
(tokens)
unittest/lib/gtest-1.6.0/scripts/pump.py:564
↓ 7 callers
Function
ParseExpNode
(token)
unittest/lib/gtest-1.6.0/scripts/pump.py:470
← previous
next →
101–200 of 3,133, ranked by callers