Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Cambricon/mlu-ops
/ functions
Functions
4,409 in github.com/Cambricon/mlu-ops
⨍
Functions
4,409
◇
Types & classes
1,080
↓ 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
test/mlu_op_gtest/googletest/src/gtest-internal-inl.h:143
↓ 1 callers
Function
GetRandomSeedFromFlag
Returns a random seed in range [1, kMaxRandomSeed] based on the given --gtest_random_seed flag value.
test/mlu_op_gtest/googletest/src/gtest-internal-inl.h:128
↓ 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
test/mlu_op_gtest/googletest/src/gtest-death-test.cc:1342
↓ 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.
test/mlu_op_gtest/googletest/src/gtest-internal-inl.h:558
↓ 1 callers
Method
GetTestCaseTypeId
Test case id to verify identity.
test/mlu_op_gtest/googletest/include/gtest/internal/gtest-param-util.h:488
↓ 1 callers
Function
GetThreadCount
Returns the number of active threads, or 0 when there is an error.
test/mlu_op_gtest/googletest/src/gtest-port.cc:106
↓ 1 callers
Function
HasFailure
Returns true iff the current test has a (either fatal or non-fatal) failure.
test/mlu_op_gtest/googletest/include/gtest/gtest.h:428
↓ 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
test/mlu_op_gtest/googletest/src/gtest.cc:5334
↓ 1 callers
Function
InitDeathTestSubprocessControlInfo
test/mlu_op_gtest/googletest/src/gtest-internal-inl.h:716
↓ 1 callers
Function
IsATTY
test/mlu_op_gtest/googletest/include/gtest/internal/gtest-port.h:2394
↓ 1 callers
Method
IsAbsolutePath
Returns true if pathname describes an absolute path.
test/mlu_op_gtest/googletest/src/gtest-filepath.cc:256
↓ 1 callers
Function
IsDigit
test/mlu_op_gtest/googletest/include/gtest/internal/gtest-port.h:2345
↓ 1 callers
Function
IsDir
test/mlu_op_gtest/googletest/include/gtest/internal/gtest-port.h:2437
↓ 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.
test/mlu_op_gtest/googletest/src/gtest-printers.cc:134
↓ 1 callers
Function
IsSubstringPred
test/mlu_op_gtest/googletest/src/gtest.cc:1494
↓ 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
test/mlu_op_gtest/googletest/src/gtest.cc:1733
↓ 1 callers
Function
IsValidEscape
Returns true iff "\\c" is a supported escape sequence.
test/mlu_op_gtest/googletest/src/gtest-port.cc:627
↓ 1 callers
Function
IsValidUTF8
test/mlu_op_gtest/googletest/src/gtest-printers.cc:373
↓ 1 callers
Function
IsXDigit
test/mlu_op_gtest/googletest/include/gtest/internal/gtest-port.h:2357
↓ 1 callers
Function
LoadFlagsFromFile
test/mlu_op_gtest/googletest/src/gtest.cc:5579
↓ 1 callers
Function
LogLevelStrToInt
Parse log level (int64) from environment variable (char*)
core/logging.cpp:53
↓ 1 callers
Function
LogToStderr
test/mlu_op_gtest/googletest/include/gtest/internal/gtest-port.h:1321
↓ 1 callers
Function
LogspaceParamCheck
kernels/logspace/logspace.cpp:56
↓ 1 callers
Function
LogspacePolicyFunc
kernels/logspace/logspace.cpp:32
↓ 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
test/mlu_op_gtest/googletest/src/gtest-port.cc:734
↓ 1 callers
Function
MinVLogLevelFromEnv
core/logging.cpp:160
↓ 1 callers
Function
MoeDispatchForwardParamCheck
kernels/moe_dispatch/moe_dispatch_forward/moe_dispatch_forward.cpp:45
↓ 1 callers
Function
Mutex
This constructor intentionally does nothing. It relies on type_ being statically initialized to 0 (effectively setting it to kStatic) and on ThreadSa
test/mlu_op_gtest/googletest/include/gtest/internal/gtest-port.h:1769
↓ 1 callers
Method
NewString
core/logging.cpp:238
↓ 1 callers
Method
NewValueForCurrentThread
test/mlu_op_gtest/googletest/include/gtest/internal/gtest-port.h:1967
↓ 1 callers
Function
NormalGetIndicePairsKernel
kernels/sparse_conv/get_indice_pairs/normal_get_indice_pairs.cpp:831
↓ 1 callers
Method
NowMicros
Returns the number of micro-seconds since the Unix epoch.
core/platform/env_time.h:57
↓ 1 callers
Method
OnEnvironmentsSetUpEnd
test/mlu_op_gtest/googletest/src/gtest.cc:2941
↓ 1 callers
Method
OnEnvironmentsSetUpStart
test/mlu_op_gtest/googletest/src/gtest.cc:2985
↓ 1 callers
Method
OnEnvironmentsTearDownEnd
test/mlu_op_gtest/googletest/src/gtest.cc:2948
↓ 1 callers
Method
OnEnvironmentsTearDownStart
test/mlu_op_gtest/googletest/src/gtest.cc:3053
↓ 1 callers
Method
OnTestCaseEnd
test/mlu_op_gtest/googletest/src/gtest.cc:3042
↓ 1 callers
Method
OnTestCaseStart
test/mlu_op_gtest/googletest/src/gtest.cc:2991
↓ 1 callers
Method
OnTestEnd
test/mlu_op_gtest/googletest/src/gtest.cc:3024
↓ 1 callers
Method
OnTestIterationEnd
test/mlu_op_gtest/googletest/src/gtest.cc:3084
↓ 1 callers
Method
OnTestIterationStart
Fired before each iteration of tests starts.
test/mlu_op_gtest/googletest/src/gtest.cc:2957
↓ 1 callers
Method
OnTestPartResult
Called after an assertion failure.
test/mlu_op_gtest/googletest/src/gtest.cc:3014
↓ 1 callers
Method
OnTestProgramEnd
test/mlu_op_gtest/googletest/src/gtest.cc:2950
↓ 1 callers
Method
OnTestProgramStart
The following methods override what's in the TestEventListener class.
test/mlu_op_gtest/googletest/src/gtest.cc:2938
↓ 1 callers
Method
OnTestStart
test/mlu_op_gtest/googletest/src/gtest.cc:3003
↓ 1 callers
Function
OutputFlagAlsoCheckEnvVar
As a special case for the 'output' flag, if GTEST_OUTPUT is not set, we look for XML_OUTPUT_FILE, which is set by the Bazel build system. The value o
test/mlu_op_gtest/googletest/src/gtest-port.cc:1209
↓ 1 callers
Function
ParseGoogleTestFlagsOnly
Parses the command line for Google Test flags, without initializing other parts of Google Test.
test/mlu_op_gtest/googletest/src/gtest.cc:5653
↓ 1 callers
Function
ParseInternalRunDeathTestFlag
Returns a newly created InternalRunDeathTestFlag object with fields initialized from the GTEST_FLAG(internal_run_death_test) flag if the flag is speci
test/mlu_op_gtest/googletest/src/gtest-death-test.cc:1400
↓ 1 callers
Function
Passed
Returns true iff the unit test passed (i.e. all test cases passed).
test/mlu_op_gtest/googletest/src/gtest-internal-inl.h:550
↓ 1 callers
Function
PolicyFunc
policy function
kernels/moe_dispatch/moe_dispatch_backward_data/moe_dispatch_backward_data.cpp:36
↓ 1 callers
Function
PolyNmsImpl
test/mlu_op_gtest/pb_gtest/src/zoo/poly_nms/pnms_impl.cpp:162
↓ 1 callers
Method
PostFlagParsingInit
Performs initialization dependent upon flag values obtained in ParseGoogleTestFlagsOnly. Is called from InitGoogleTest after the call to ParseGoogleT
test/mlu_op_gtest/googletest/src/gtest.cc:4663
↓ 1 callers
Function
PrintAsStringLiteralTo
Prints a wchar_t c as if it's part of a string literal, escaping it when necessary; returns how c was formatted.
test/mlu_op_gtest/googletest/src/gtest-printers.cc:192
↓ 1 callers
Function
PrintBytesInObjectTo
Delegates to PrintBytesInObjectToImpl() to print the bytes in the given object. The delegation simplifies the implementation, which uses the << opera
test/mlu_op_gtest/googletest/src/gtest-printers.cc:116
↓ 1 callers
Function
PrintBytesInObjectToImpl
Prints the bytes in the given value to the given ostream.
test/mlu_op_gtest/googletest/src/gtest-printers.cc:85
↓ 1 callers
Function
PrintColorEncoded
Prints a string containing code-encoded text. The following escape sequences can be used in the string to control the text color: @@ prints a sin
test/mlu_op_gtest/googletest/src/gtest.cc:5351
↓ 1 callers
Function
PrintTestPartResult
Prints a TestPartResult.
test/mlu_op_gtest/googletest/src/gtest.cc:2732
↓ 1 callers
Method
PrintTo
test/mlu_op_gtest/googletest/src/gtest.cc:1118
↓ 1 callers
Function
RE
Constructs an RE from a string.
test/mlu_op_gtest/googletest/include/gtest/internal/gtest-port.h:1215
↓ 1 callers
Method
Release
TODO(vladl@google.com): Factor the search functionality into Vector::Find.
test/mlu_op_gtest/googletest/src/gtest.cc:3166
↓ 1 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
test/mlu_op_gtest/googletest/src/gtest-filepath.cc:151
↓ 1 callers
Method
RemoveExtension
Returns a copy of the FilePath with the case-insensitive extension removed. Example: FilePath("dir/file.exe").RemoveExtension("EXE") returns FilePath(
test/mlu_op_gtest/googletest/src/gtest-filepath.cc:122
↓ 1 callers
Function
ReportInvalidTestCaseType
test/mlu_op_gtest/googletest/src/gtest.cc:2443
↓ 1 callers
Method
ReportTestPartResult
Increments the test part result count and remembers the result. This method is from the TestPartResultReporterInterface interface.
test/mlu_op_gtest/googletest/src/gtest.cc:592
↓ 1 callers
Function
RoiCropBackwardParamCheck
kernels/roi_crop/roi_crop.cpp:119
↓ 1 callers
Function
RoiCropForwardParamCheck
user param check * step1:check desc and data ptr is not nullptr_t * step2:check shape and data type * step3:check zero element * */
kernels/roi_crop/roi_crop.cpp:51
↓ 1 callers
Function
RotatedFeatureAlignBackwardPreCheck
kernels/rotated_feature_align/rotated_feature_align.cpp:124
↓ 1 callers
Function
RotatedFeatureAlignForwardPreCheck
kernels/rotated_feature_align/rotated_feature_align.cpp:50
↓ 1 callers
Function
Set
test/mlu_op_gtest/googletest/include/gtest/internal/gtest-filepath.h:70
↓ 1 callers
Method
SetDefaultResultPrinter
Sets the default_result_printer attribute to the provided listener. The listener is also added to the listener list and previous default_result_printe
test/mlu_op_gtest/googletest/src/gtest.cc:4156
↓ 1 callers
Method
SetUp
Sets up the test fixture. A sub-class may override this.
test/mlu_op_gtest/googletest/src/gtest.cc:2127
↓ 1 callers
Method
SetValue
Sets a new value, overriding the one supplied in the constructor.
test/mlu_op_gtest/googletest/include/gtest/gtest.h:522
↓ 1 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
test/mlu_op_gtest/googletest/src/gtest.cc:5003
↓ 1 callers
Function
ShouldUseColor
Returns true iff Google Test should use colors in the output.
test/mlu_op_gtest/googletest/src/gtest.cc:2821
↓ 1 callers
Function
Shuffle
test/mlu_op_gtest/googletest/src/gtest-internal-inl.h:323
↓ 1 callers
Function
SkipSpaces
Skips to the first non-space char in str. Returns an empty string if str contains only whitespace characters.
test/mlu_op_gtest/googletest/src/gtest-typed-test.cc:43
↓ 1 callers
Function
SleepMilliseconds
Sleeps for (roughly) n milliseconds. This function is only for testing Google Test's own constructs. Don't use it in user tests, either directly or
test/mlu_op_gtest/googletest/include/gtest/internal/gtest-port.h:1552
↓ 1 callers
Function
SplitIntoTestNames
test/mlu_op_gtest/googletest/src/gtest-typed-test.cc:49
↓ 1 callers
Function
StackGrowsDown
Make sure AddressSanitizer does not tamper with the stack here.
test/mlu_op_gtest/googletest/src/gtest-death-test.cc:1124
↓ 1 callers
Function
StackLowerThanAddress
test/mlu_op_gtest/googletest/src/gtest-death-test.cc:1118
↓ 1 callers
Function
StrCaseCmp
test/mlu_op_gtest/googletest/include/gtest/internal/gtest-port.h:2397
↓ 1 callers
Function
StrError
test/mlu_op_gtest/googletest/include/gtest/internal/gtest-port.h:2511
↓ 1 callers
Method
TearDown
Tears down the test fixture. A sub-class may override this.
test/mlu_op_gtest/googletest/src/gtest.cc:2132
↓ 1 callers
Function
TestPartResult
C'tor. TestPartResult does NOT have a default constructor. Always use this constructor (with parameters) to create a TestPartResult object.
test/mlu_op_gtest/googletest/include/gtest/gtest-test-part.h:60
↓ 1 callers
Function
TestPartResultTypeToString
Converts a TestPartResult::Type enum to human-friendly string representation. Both kNonFatalFailure and kFatalFailure are translated to "Failure", as
test/mlu_op_gtest/googletest/src/gtest.cc:2703
↓ 1 callers
Function
ToUpper
test/mlu_op_gtest/googletest/include/gtest/internal/gtest-port.h:2368
↓ 1 callers
Function
UniversalPrintArray
Prints a (const) char array of 'len' elements, starting at address 'begin'.
test/mlu_op_gtest/googletest/src/gtest-printers.cc:310
↓ 1 callers
Function
ValidateRegex
Generates non-fatal failures and returns false if regex is invalid; otherwise returns true.
test/mlu_op_gtest/googletest/src/gtest-port.cc:674
↓ 1 callers
Function
ValidateTestPropertyName
test/mlu_op_gtest/googletest/src/gtest.cc:2045
↓ 1 callers
Function
VmodulesMapFromEnv
Returns a mapping from module name to VLOG level, derived from the MLUOP_CPP_VMOUDLE environment variable; ownership is transferred to the caller.
core/logging.cpp:115
↓ 1 callers
Function
VoxelPoolingForwardParamCheck
kernels/voxel_pooling_forward/voxel_pooling_forward.cpp:47
↓ 1 callers
Method
WaitForNotification
test/mlu_op_gtest/googletest/src/gtest-port.cc:239
↓ 1 callers
Method
WaitForNotification
Blocks until the controller thread notifies. Must be called from a test thread.
test/mlu_op_gtest/googletest/include/gtest/internal/gtest-port.h:1589
↓ 1 callers
Function
Write
test/mlu_op_gtest/googletest/include/gtest/internal/gtest-port.h:2505
↓ 1 callers
Function
WriteToShardStatusFileIfNeeded
Reads the GTEST_SHARD_STATUS_FILE environment variable, and creates the file if the variable is present. If a file already exists at this location, th
test/mlu_op_gtest/googletest/src/gtest.cc:4922
↓ 1 callers
Function
__mluop_cvt_uniform
kernels/utils/philox_generator.h:143
↓ 1 callers
Function
__mluop_gen_integer_incr_seq_
kernels/utils/common.h:565
↓ 1 callers
Function
__mluop_gen_random_u32
kernels/utils/philox_generator.h:32
↓ 1 callers
Function
__mluop_get_stage_indices_tfuse
* FUNC: __mluop_get_stage_indices_tfuse * param 'dst_nram' is nram space for store result * param 'length' is the continuous indices length * Note:
kernels/utils/common.h:430
↓ 1 callers
Function
__mluop_load_str_2D
kernels/utils/common.h:322
← previous
next →
701–800 of 4,409, ranked by callers