Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/singa
/ functions
Functions
5,531 in github.com/apache/singa
⨍
Functions
5,531
◇
Types & classes
1,090
↳
Endpoints
3
↓ 1 callers
Method
DoExec
src/core/device/cpp_cpu.cc:38
↓ 1 callers
Method
EnableDestFile
Enabled by default.
include/singa/utils/channel.h:45
↓ 1 callers
Method
EnableLazyAlloc
include/singa/core/device.h:71
↓ 1 callers
Method
End
test/gtest/gtest.h:10192
↓ 1 callers
Method
Equals
test/gtest/gtest.h:10215
↓ 1 callers
Method
EvaluateOnBatch
src/model/feed_forward_net.cc:269
↓ 1 callers
Function
ExecDeathTestChildMain
The main function for a threadsafe-style death test child process. This function is called in a clone()-ed process and thus must avoid any potentially
test/gtest/gtest-all.cc:7438
↓ 1 callers
Function
ExecDeathTestSpawnChild
Spawns a child process with the same executable as the current process in a thread-safe manner and instructs it to run the death test. The implementa
test/gtest/gtest-all.cc:7496
↓ 1 callers
Function
ExitSummary
Generates a textual description of a given exit code, in the format specified by wait(2).
test/gtest/gtest-all.cc:6676
↓ 1 callers
Function
Exp
src/core/tensor/tensor_math.h:183
↓ 1 callers
Function
FClose
test/gtest/gtest.h:2888
↓ 1 callers
Function
FDOpen
test/gtest/gtest.h:2886
↓ 1 callers
Function
FailFromInternalError
This is called from a death test parent process to read a failure message from the death test child process and log it with the FATAL severity. On Win
test/gtest/gtest-all.cc:6806
↓ 1 callers
Function
Failed
Returns true iff the unit test failed (i.e. some test case failed or something outside of all tests failed).
test/gtest/gtest-all.cc:981
↓ 1 callers
Function
FileNo
test/gtest/gtest.h:2832
↓ 1 callers
Method
FileOrDirectoryExists
Returns true if pathname describes something findable in the file-system, either a file, directory, or whatever.
test/gtest/gtest-all.cc:8038
↓ 1 callers
Method
ForVar1
For inserting the first variable.
include/singa/utils/logging.h:167
↓ 1 callers
Method
ForVar2
src/utils/logging.cc:151
↓ 1 callers
Function
FormatCompilerIndependentFileLocation
Formats a file location for compiler-independent XML output. Although this function is not platform dependent, we put it next to FormatFileLocation in
test/gtest/gtest-all.cc:8684
↓ 1 callers
Function
FormatEpochTimeInMillisAsIso8601
Converts the given epoch time in milliseconds to a date string in the ISO 8601 format, without the timezone information.
test/gtest/gtest-all.cc:4705
↓ 1 callers
Function
FormatSehExceptionMessage
Adds an "exception thrown" fatal failure to the current test. This function returns its result via an output parameter pointer because VC++ prohibits
test/gtest/gtest-all.cc:3496
↓ 1 callers
Function
FormatWordList
test/gtest/gtest-all.cc:3288
↓ 1 callers
Method
FromProto
src/core/tensor/tensor.cc:307
↓ 1 callers
Function
GTestIsInitialized
test/gtest/gtest-all.cc:1800
↓ 1 callers
Function
GenConvConf
examples/cpp/cifar10/vgg-parallel.cc:41
↓ 1 callers
Function
GenDenseConf
examples/cpp/cifar10/cnn.cc:80
↓ 1 callers
Function
GenDenseConf
examples/cpp/cifar10/cnn-parallel.cc:82
↓ 1 callers
Function
GenFlattenConf
examples/cpp/imagenet/alexnet.cc:121
↓ 1 callers
Function
GenFlattenConf
examples/cpp/cifar10/vgg-parallel.cc:110
↓ 1 callers
Function
GenFlattenConf
examples/cpp/cifar10/cnn.cc:113
↓ 1 callers
Function
GenFlattenConf
examples/cpp/cifar10/cnn-parallel.cc:115
↓ 1 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.
test/gtest/gtest-all.cc:1775
↓ 1 callers
Function
GetAnsiColorCode
Returns the ANSI color code for the given color. COLOR_DEFAULT is an invalid input.
test/gtest/gtest-all.cc:4057
↓ 1 callers
Function
GetCapturedStderr
Stops capturing stderr and returns the captured string.
test/gtest/gtest-all.cc:8879
↓ 1 callers
Method
GetCapturedString
test/gtest/gtest-all.cc:8778
↓ 1 callers
Function
GetColorAttribute
Returns the character attribute for the given color.
test/gtest/gtest-all.cc:4044
↓ 1 callers
Function
GetCurrentExecutableName
Returns the current application's name, removing directory path if that is present.
test/gtest/gtest-all.cc:1861
↓ 1 callers
Function
GetDefaultFilter
test/gtest/gtest-all.cc:1669
↓ 1 callers
Method
GetDefaultOpenclDevice
src/core/device/platform.cc:168
↓ 1 callers
Method
GetGPUIDs
Return the total num of free GPUs
src/core/device/platform.cc:47
↓ 1 callers
Method
GetGPUMemSize
src/core/device/platform.cc:58
↓ 1 callers
Method
GetInstance
src/utils/channel.cc:46
↓ 1 callers
Method
GetMemUsage
src/core/memory/memory.cc:30
↓ 1 callers
Function
GetMutableTestCase
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/gtest/gtest-all.cc:994
↓ 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/gtest/gtest-all.cc:552
↓ 1 callers
Method
GetNumGPUs
src/core/device/platform.cc:32
↓ 1 callers
Method
GetNumOpenclDevices
src/core/device/platform.cc:158
↓ 1 callers
Method
GetNumOpenclPlatforms
src/core/device/platform.cc:153
↓ 1 callers
Method
GetOptimizer
include/singa/model/updater.h:49
↓ 1 callers
Function
GetPID
src/utils/logging.cc:81
↓ 1 callers
Method
GetParamNames
src/model/feed_forward_net.cc:49
↓ 1 callers
Method
GetParamValues
src/model/feed_forward_net.cc:55
↓ 1 callers
Function
GetRandomSeedFromFlag
Returns a random seed in range [1, kMaxRandomSeed] based on the given --gtest_random_seed flag value.
test/gtest/gtest-all.cc:536
↓ 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/gtest/gtest-all.cc:7723
↓ 1 callers
Function
GetTID
src/utils/logging.cc:82
↓ 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/gtest/gtest-all.cc:987
↓ 1 callers
Method
GetTestCaseTypeId
Test case id to verify identity.
test/gtest/gtest.h:10458
↓ 1 callers
Function
GetThreadCount
Returns the number of threads running in the process, or 0 to indicate that we cannot detect it.
test/gtest/gtest-all.cc:8299
↓ 1 callers
Function
GpuConvForward
src/model/operation/convolution.cc:585
↓ 1 callers
Function
GpuRNNBackwardW
src/model/operation/rnn.cc:395
↓ 1 callers
Function
GpuRNNBackwardWEx
src/model/operation/rnn.cc:773
↓ 1 callers
Function
GpuRNNBackwardx
src/model/operation/rnn.cc:316
↓ 1 callers
Function
GpuRNNBackwardxEx
src/model/operation/rnn.cc:699
↓ 1 callers
Function
GpuRNNForwardInference
src/model/operation/rnn.cc:174
↓ 1 callers
Function
GpuRNNForwardInferenceEx
src/model/operation/rnn.cc:568
↓ 1 callers
Function
GpuRNNForwardTraining
src/model/operation/rnn.cc:243
↓ 1 callers
Function
GpuRNNForwardTrainingEx
src/model/operation/rnn.cc:633
↓ 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/gtest/gtest-all.cc:6251
↓ 1 callers
Method
Init
src/utils/channel.cc:35
↓ 1 callers
Function
InitDeathTestSubprocessControlInfo
test/gtest/gtest-all.cc:1160
↓ 1 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
test/gtest/gtest-all.cc:6489
↓ 1 callers
Function
InitLogging
src/utils/logging.cc:37
↓ 1 callers
Function
IsATTY
test/gtest/gtest.h:2814
↓ 1 callers
Method
IsAbsolutePath
Returns true if pathname describes an absolute path.
test/gtest/gtest-all.cc:8094
↓ 1 callers
Function
IsDigit
test/gtest/gtest.h:2772
↓ 1 callers
Function
IsDir
test/gtest/gtest.h:2839
↓ 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/gtest/gtest-all.cc:9146
↓ 1 callers
Function
IsSubstringPred
test/gtest/gtest-all.cc:2718
↓ 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/gtest/gtest-all.cc:2955
↓ 1 callers
Function
IsValidEscape
Returns true iff "\\c" is a supported escape sequence.
test/gtest/gtest-all.cc:8432
↓ 1 callers
Function
IsXDigit
test/gtest/gtest.h:2784
↓ 1 callers
Function
LogToStderr
test/gtest/gtest.h:2150
↓ 1 callers
Function
LogToStderr
src/utils/logging.cc:45
↓ 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/gtest/gtest-all.cc:8530
↓ 1 callers
Method
NewString
src/utils/logging.cc:156
↓ 1 callers
Method
OnEnvironmentsSetUpEnd
test/gtest/gtest-all.cc:4187
↓ 1 callers
Method
OnEnvironmentsSetUpStart
test/gtest/gtest-all.cc:4238
↓ 1 callers
Method
OnEnvironmentsTearDownEnd
test/gtest/gtest-all.cc:4194
↓ 1 callers
Method
OnEnvironmentsTearDownStart
test/gtest/gtest-all.cc:4308
↓ 1 callers
Method
OnTestCaseEnd
test/gtest/gtest-all.cc:4296
↓ 1 callers
Method
OnTestCaseStart
test/gtest/gtest-all.cc:4245
↓ 1 callers
Method
OnTestEnd
test/gtest/gtest-all.cc:4277
↓ 1 callers
Method
OnTestIterationEnd
test/gtest/gtest-all.cc:4340
↓ 1 callers
Method
OnTestIterationStart
Fired before each iteration of tests starts.
test/gtest/gtest-all.cc:4203
↓ 1 callers
Method
OnTestPartResult
Called after an assertion failure.
test/gtest/gtest-all.cc:4266
↓ 1 callers
Method
OnTestProgramEnd
test/gtest/gtest-all.cc:1549
↓ 1 callers
Method
OnTestProgramStart
test/gtest/gtest-all.cc:1545
↓ 1 callers
Method
OnTestStart
test/gtest/gtest-all.cc:4258
↓ 1 callers
Method
Optimizer
include/singa/model/optimizer.h:43
↓ 1 callers
Function
ParseGoogleTestFlagsOnly
Parses the command line for Google Test flags, without initializing other parts of Google Test.
test/gtest/gtest-all.cc:6443
← previous
next →
1,301–1,400 of 5,531, ranked by callers