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
↓ 208 callers
Method
end
unittest/lib/gtest-1.6.0/fused-src/gtest/gtest.h:7741
↓ 195 callers
Method
begin
unittest/lib/gtest-1.6.0/fused-src/gtest/gtest.h:7740
↓ 170 callers
Function
Print
unittest/lib/gtest-1.6.0/test/gtest-printers_test.cc:228
↓ 161 callers
Function
EXPECT_FATAL_FAILURE
The c'tor sets this object as the test part result reporter used by Google Test. The 'result' parameter specifies where to report the results. This r
unittest/lib/gtest-1.6.0/include/gtest/gtest-spi.h:64
↓ 152 callers
Function
FilePath
unittest/lib/gtest-1.6.0/fused-src/gtest/gtest.h:3261
↓ 141 callers
Function
String
The default c'tor constructs a NULL string.
unittest/lib/gtest-1.6.0/fused-src/gtest/gtest.h:3042
↓ 111 callers
Method
begin
unittest/lib/gtest-1.6.0/include/gtest/internal/gtest-internal.h:1060
↓ 110 callers
Method
end
unittest/lib/gtest-1.6.0/include/gtest/internal/gtest-internal.h:1061
↓ 77 callers
Method
size
Returns the number of TestPartResult objects in the array.
unittest/lib/gtest-1.6.0/src/gtest-test-part.cc:83
↓ 73 callers
Function
AtomMatchesChar
Returns true iff the given atom (specified by escaped and pattern) matches ch. The result is undefined if the atom is invalid.
unittest/lib/gtest-1.6.0/src/gtest-port.cc:203
↓ 59 callers
Function
ValuesIn
unittest/lib/gtest-1.6.0/fused-src/gtest/gtest.h:15488
↓ 54 callers
Method
get
unittest/lib/gtest-1.6.0/fused-src/gtest/gtest.h:1845
↓ 51 callers
Function
SetEnv
Sets an environment variable with the given name to the given value. If the value argument is "", unsets the environment variable. The caller must e
unittest/lib/gtest-1.6.0/test/gtest_unittest.cc:1828
↓ 51 callers
Function
ValuesIn
unittest/lib/gtest-1.6.0/include/gtest/gtest-param-test.h:308
↓ 42 callers
Function
Values
unittest/lib/gtest-1.6.0/fused-src/gtest/gtest.h:15528
↓ 41 callers
Function
AssertionSuccess
Makes a successful assertion result.
unittest/lib/gtest-1.6.0/src/gtest.cc:966
↓ 36 callers
Function
AssertionFailure
Makes a failed assertion result.
unittest/lib/gtest-1.6.0/src/gtest.cc:971
↓ 36 callers
Method
IsPrime
unittest/lib/gtest-1.6.0/samples/prime_tables.h:58
↓ 35 callers
Method
join
Join an existing circle. L < g_linked_ptr_mutex
unittest/lib/gtest-1.6.0/fused-src/gtest/gtest.h:9063
↓ 33 callers
Function
GetUnitTestImpl
Convenience function for accessing the global UnitTest implementation object.
unittest/lib/gtest-1.6.0/src/gtest-internal-inl.h:905
↓ 33 callers
Function
UsesColor
Runs gtest_color_test_ and returns its exit code.
unittest/lib/gtest-1.6.0/test/gtest_color_test.py:56
↓ 33 callers
Method
size
Returns the number of TestPartResult objects in the array.
unittest/lib/gtest-1.6.0/fused-src/gtest/gtest-all.cc:8983
↓ 31 callers
Function
ShouldUseColor
Returns true iff Google Test should use colors in the output.
unittest/lib/gtest-1.6.0/src/gtest.cc:2585
↓ 29 callers
Function
WideStringToUtf8
Converts a wide string to a narrow string in UTF-8 encoding. The wide string is assumed to have the following encoding: UTF-16 if sizeof(wchar_t) == 2
unittest/lib/gtest-1.6.0/src/gtest.cc:1504
↓ 28 callers
Method
RunAndVerify
Checks that the binary runs correct set of tests for a given filter.
unittest/lib/gtest-1.6.0/test/gtest_filter_unittest.py:257
↓ 27 callers
Function
Iter
Given a positive integer n, a format string that contains 0 or more '%s' format specs, and optionally a separator string, returns the join of n st
unittest/lib/gtest-1.6.0/scripts/gen_gtest_pred_impl.py:189
↓ 27 callers
Function
c_str
Gets the 0-terminated C string this String object represents. The String object still owns the string. Therefore the caller should NOT delete the ret
unittest/lib/gtest-1.6.0/fused-src/gtest/gtest.h:3125
↓ 27 callers
Method
setDescription
* Defines a description for the option. This is only used for generating usage information. * * @param string $description * @return Op
tools/getopt-php/Option.php:41
↓ 26 callers
Function
Pop
(token_type=None)
unittest/lib/gtest-1.6.0/scripts/pump.py:476
↓ 26 callers
Function
PrintPointer
Since ::std::stringstream::operator<<(const void *) formats the pointer output differently with different compilers, we have to create the expected ou
unittest/lib/gtest-1.6.0/test/gtest-printers_test.cc:375
↓ 25 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.
unittest/lib/gtest-1.6.0/src/gtest-port.cc:322
↓ 25 callers
Function
ValidateRegex
Generates non-fatal failures and returns false if regex is invalid; otherwise returns true.
unittest/lib/gtest-1.6.0/src/gtest-port.cc:232
↓ 25 callers
Function
make_tuple
unittest/lib/gtest-1.6.0/fused-src/gtest/gtest.h:1206
↓ 23 callers
Function
ColoredPrintf
Helpers for printing colored strings to stdout. Note that on Windows, we cannot simply emit special characters and have the terminal change colors. Th
unittest/lib/gtest-1.6.0/src/gtest.cc:2620
↓ 23 callers
Function
ColoredPrintf
Helpers for printing colored strings to stdout. Note that on Windows, we cannot simply emit special characters and have the terminal change colors. Th
unittest/lib/gtest-1.6.0/fused-src/gtest/gtest-all.cc:3924
↓ 23 callers
Function
IsPrime
Returns true iff n is a prime number.
unittest/lib/gtest-1.6.0/samples/sample1.cc:47
↓ 23 callers
Function
IsValidEscape
Returns true iff "\\c" is a supported escape sequence.
unittest/lib/gtest-1.6.0/src/gtest-port.cc:197
↓ 23 callers
Function
ParseNaturalNumber
unittest/lib/gtest-1.6.0/src/gtest-internal-inl.h:971
↓ 23 callers
Function
empty
Returns true iff this is an empty string (i.e. "").
unittest/lib/gtest-1.6.0/fused-src/gtest/gtest.h:3091
↓ 22 callers
Function
GetUnitTestImpl
Convenience function for accessing the global UnitTest implementation object.
unittest/lib/gtest-1.6.0/fused-src/gtest/gtest-all.cc:1303
↓ 22 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
unittest/lib/gtest-1.6.0/src/gtest.cc:4888
↓ 22 callers
Function
IsNull
unittest/lib/gtest-1.6.0/test/gtest-unittest-api_test.cc:140
↓ 22 callers
Method
Set
Sets the 0-terminated C string this MyString object represents.
unittest/lib/gtest-1.6.0/samples/sample2.cc:51
↓ 22 callers
Method
value
unittest/lib/gtest-1.6.0/test/gtest_unittest.cc:3756
↓ 21 callers
Function
VerifyGenerator
unittest/lib/gtest-1.6.0/test/gtest-param-test_test.cc:130
↓ 20 callers
Method
setValidation
* Defines a validation function for the option. * * @param callable $function * @return Option this object (for chaining calls) */
tools/getopt-php/Option.php:65
↓ 19 callers
Function
AssertionSuccess
Makes a successful assertion result.
unittest/lib/gtest-1.6.0/fused-src/gtest/gtest-all.cc:2270
↓ 18 callers
Function
AlwaysFalse
Always returns false.
unittest/lib/gtest-1.6.0/fused-src/gtest/gtest.h:7414
↓ 18 callers
Method
Append
unittest/lib/gtest-1.6.0/src/gtest.cc:2937
↓ 18 callers
Method
GetNextPrime
unittest/lib/gtest-1.6.0/samples/prime_tables.h:69
↓ 18 callers
Function
impl
Accessors for the implementation object.
unittest/lib/gtest-1.6.0/fused-src/gtest/gtest.h:18229
↓ 18 callers
Function
impl
Accessors for the implementation object.
unittest/lib/gtest-1.6.0/include/gtest/gtest.h:1204
↓ 17 callers
Function
ShuffleRange
unittest/lib/gtest-1.6.0/src/gtest-internal-inl.h:302
↓ 17 callers
Function
StreamableToString
unittest/lib/gtest-1.6.0/include/gtest/gtest.h:172
↓ 17 callers
Method
close
src/logkafka/producer.cc:134
↓ 17 callers
Method
key
Gets the user supplied key.
unittest/lib/gtest-1.6.0/include/gtest/gtest.h:481
↓ 17 callers
Method
setDefaultValue
* Defines a default value for the option. * * @param mixed $value * @return Option this object (for chaining calls) */
tools/getopt-php/Option.php:53
↓ 16 callers
Function
ArrayEq
unittest/lib/gtest-1.6.0/fused-src/gtest/gtest.h:7637
↓ 16 callers
Function
AssertionFailure
Makes a failed assertion result.
unittest/lib/gtest-1.6.0/fused-src/gtest/gtest-all.cc:2275
↓ 16 callers
Function
Factorial
Returns n! (the factorial of n). For negative n, n! is defined to be 1.
unittest/lib/gtest-1.6.0/samples/sample1.cc:37
↓ 16 callers
Function
GetTestsForAllIterations
Runs the test program and returns a list of test lists. Args: extra_env: a map from environment variables to their values args: command lin
unittest/lib/gtest-1.6.0/test/gtest_shuffle_test.py:87
↓ 16 callers
Function
IsAsciiWordChar
unittest/lib/gtest-1.6.0/src/gtest-port.cc:191
↓ 16 callers
Function
IsSubstring
unittest/lib/gtest-1.6.0/src/gtest.cc:1280
↓ 16 callers
Function
PartialMatch
unittest/lib/gtest-1.6.0/fused-src/gtest/gtest.h:1902
↓ 16 callers
Function
ShouldShard
Checks whether sharding is enabled by examining the relevant environment variable values. If the variables are present, but inconsistent (i.e., shard_
unittest/lib/gtest-1.6.0/src/gtest.cc:4303
↓ 16 callers
Method
long
()
tools/getopt-php/Option.php:102
↓ 16 callers
Method
short
()
tools/getopt-php/Option.php:97
↓ 15 callers
Method
Compare
Compares this with another String. Returns < 0 if this is less than rhs, 0 if this is equal to rhs, or > 0 if this is greater than rhs.
unittest/lib/gtest-1.6.0/src/gtest.cc:1641
↓ 15 callers
Function
GetEnv
unittest/lib/gtest-1.6.0/fused-src/gtest/gtest.h:2702
↓ 15 callers
Function
MatchRegexAnywhere
Returns true iff regex matches any substring of str. regex must be a valid simple regular expression, or the result is undefined. The algorithm is r
unittest/lib/gtest-1.6.0/src/gtest-port.cc:358
↓ 15 callers
Function
Range
unittest/lib/gtest-1.6.0/fused-src/gtest/gtest.h:15422
↓ 15 callers
Function
ThrowAnInteger
unittest/lib/gtest-1.6.0/test/gtest_unittest.cc:3333
↓ 15 callers
Method
total_test_count
Gets the number of all tests.
unittest/lib/gtest-1.6.0/src/gtest.cc:740
↓ 14 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
unittest/lib/gtest-1.6.0/src/gtest.cc:1435
↓ 14 callers
Method
DirectoryExists
Returns true if pathname describes a directory in the file-system that exists.
unittest/lib/gtest-1.6.0/src/gtest-filepath.cc:216
↓ 14 callers
Function
FormatTimeInMillisAsSeconds
Formats the given time in milliseconds as seconds.
unittest/lib/gtest-1.6.0/src/gtest.cc:3196
↓ 14 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
unittest/lib/gtest-1.6.0/src/gtest-port.cc:295
↓ 14 callers
Function
Message
Copy constructor.
unittest/lib/gtest-1.6.0/fused-src/gtest/gtest.h:8594
↓ 14 callers
Function
ToCString
A helper function that turns a Message into a C string.
unittest/lib/gtest-1.6.0/test/gtest-message_test.cc:43
↓ 14 callers
Method
get
unittest/lib/gtest-1.6.0/include/gtest/internal/gtest-port.h:783
↓ 14 callers
Method
total_part_count
Gets the number of all test parts. This is the sum of the number of successful test parts and the number of failed test parts.
unittest/lib/gtest-1.6.0/src/gtest.cc:1883
↓ 13 callers
Function
Check
Prints the message and aborts the program if condition is false.
unittest/lib/gtest-1.6.0/test/gtest_environment_test.cc:115
↓ 13 callers
Function
FullMatch
FullMatch(str, re) returns true iff regular expression re matches the entire str. PartialMatch(str, re) returns true iff regular expression re matches
unittest/lib/gtest-1.6.0/fused-src/gtest/gtest.h:1899
↓ 13 callers
Method
Get
unittest/lib/gtest-1.6.0/src/gtest-internal-inl.h:949
↓ 13 callers
Function
IsAsciiWhiteSpace
unittest/lib/gtest-1.6.0/src/gtest-port.cc:190
↓ 13 callers
Function
IsInSet
Returns true iff ch appears anywhere in str (excluding the terminating '\0' character).
unittest/lib/gtest-1.6.0/src/gtest-port.cc:178
↓ 13 callers
Method
IsRootDirectory
Returns true if pathname describes a root directory. (Windows has one root directory per disk drive.)
unittest/lib/gtest-1.6.0/src/gtest-filepath.cc:246
↓ 13 callers
Method
current_test_info
Returns the TestInfo object for the test that's currently running, or NULL if no test is running. L < mutex_
unittest/lib/gtest-1.6.0/src/gtest.cc:3894
↓ 13 callers
Method
reset
unittest/lib/gtest-1.6.0/fused-src/gtest/gtest.h:1853
↓ 12 callers
Function
CountIf
unittest/lib/gtest-1.6.0/src/gtest-internal-inl.h:273
↓ 12 callers
Method
Failed
Returns true iff the test failed.
unittest/lib/gtest-1.6.0/src/gtest.cc:1853
↓ 12 callers
Function
FormatFileLocation
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.
unittest/lib/gtest-1.6.0/src/gtest-port.cc:431
↓ 12 callers
Function
GetTestCases
Returns a list of test cases in the given full test names. Args: tests: a list of full test names Returns: A list of test cases from 'te
unittest/lib/gtest-1.6.0/test/gtest_shuffle_test.py:110
↓ 12 callers
Function
IsAsciiDigit
Returns true iff ch belongs to the given classification. Unlike similar functions in <ctype.h>, these aren't affected by the current locale.
unittest/lib/gtest-1.6.0/src/gtest-port.cc:185
↓ 12 callers
Method
IsPrime
unittest/lib/gtest-1.6.0/samples/sample8_unittest.cc:62
↓ 12 callers
Function
RandomSeedFlag
(n)
unittest/lib/gtest-1.6.0/test/gtest_shuffle_test.py:74
↓ 12 callers
Method
RemoveFileName
RemoveFileName returns the directory path with the filename removed. Example: FilePath("path/to/file").RemoveFileName() returns "path/to/". If the Fil
unittest/lib/gtest-1.6.0/src/gtest-filepath.cc:159
↓ 12 callers
Function
ShuffleFlag
()
unittest/lib/gtest-1.6.0/test/gtest_shuffle_test.py:70
↓ 12 callers
Method
getPath
src/logkafka/tail_watcher.cc:330
↓ 12 callers
Method
test_property_count
Returns the number of the test properties.
unittest/lib/gtest-1.6.0/src/gtest.cc:1888
next →
1–100 of 3,133, ranked by callers