Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/andybarry/flight
/ functions
Functions
5,664 in github.com/andybarry/flight
⨍
Functions
5,664
◇
Types & classes
1,275
↓ 13 callers
Method
IsRootDirectory
Returns true if pathname describes a root directory. (Windows has one root directory per disk drive.)
externals/gtest/src/gtest-filepath.cc:253
↓ 13 callers
Method
NearestNeighbor
* Find the distance to the nearest neighbor of a point * * @param point the xyz point to search * * @retval distance to the nearest neighbor or -1
estimators/StereoOctomap/StereoOctomap.cpp:121
↓ 13 callers
Method
total_test_count
Gets the number of all tests.
externals/gtest/src/gtest.cc:761
↓ 12 callers
Method
Failed
Returns true iff the test failed.
externals/gtest/src/gtest.cc:2133
↓ 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.
externals/gtest/src/gtest-port.cc:840
↓ 12 callers
Function
GetEnv
externals/gtest/include/gtest/internal/gtest-port.h:2329
↓ 12 callers
Method
GetStatus
ui/GoForFlight/StatusHandler.h:53
↓ 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
externals/gtest/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.
externals/gtest/src/gtest-port.cc:594
↓ 12 callers
Method
IsPrime
externals/gtest/samples/sample8_unittest.cc:62
↓ 12 callers
Function
RandomSeedFlag
(n)
externals/gtest/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
externals/gtest/src/gtest-filepath.cc:166
↓ 12 callers
Function
ShuffleFlag
()
externals/gtest/test/gtest_shuffle_test.py:70
↓ 12 callers
Method
Update
ui/GoForFlight/DebugHandler.h:31
↓ 12 callers
Method
UsingLiveCameras
sensors/stereo/RecordingManager.hpp:43
↓ 12 callers
Function
_MAV_RETURN_char_array
mavlink-rlg/protocol.h:275
↓ 12 callers
Function
_MAV_RETURN_uint8_t_array
mavlink-generated2/protocol.h:282
↓ 12 callers
Function
_MAV_RETURN_uint8_t_array
mavlink-rlg/protocol.h:282
↓ 12 callers
Method
reset
externals/gtest/include/gtest/internal/gtest-port.h:1164
↓ 11 callers
Method
AddLabel
ui/GoForFlight/MultiStatusHandler.h:53
↓ 11 callers
Function
AlwaysTrue
externals/gtest/src/gtest.cc:4937
↓ 11 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
externals/gtest/src/gtest.cc:1275
↓ 11 callers
Function
MatchBrightnessSettings
* We need to make sure the brightness settings * are identical on both cameras. to do this, we * read the settings off the left camera, and force *
sensors/stereo/opencv-stereo-util.cpp:1017
↓ 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,
externals/gtest/src/gtest.cc:5019
↓ 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
externals/gtest/src/gtest-filepath.cc:155
↓ 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
externals/gtest/src/gtest-filepath.cc:346
↓ 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
externals/gtest/test/gtest_break_on_failure_unittest.py:99
↓ 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
externals/gtest/test/gtest_filter_unittest.py:287
↓ 11 callers
Function
TestFlag
Verifies that the given flag is affected by the corresponding env var.
externals/gtest/test/gtest_env_var_test.py:73
↓ 11 callers
Function
ThrowNothing
externals/gtest/test/gtest_unittest.cc:3745
↓ 11 callers
Function
_MAV_RETURN_char_array
mavlink-generated2/protocol.h:275
↓ 11 callers
Method
count
Returns the number of live test objects that uses this fixture.
externals/gtest/test/gtest_unittest.cc:5025
↓ 11 callers
Method
getName
externals/smc/lib/C++/statemap.h:444
↓ 11 callers
Method
pointer
externals/gtest/include/gtest/internal/gtest-port.h:1858
↓ 10 callers
Function
AssertDebugDeathHelper
externals/gtest/test/gtest-death-test_test.cc:695
↓ 10 callers
Function
CaptureStderr
Starts capturing stderr.
externals/gtest/src/gtest-port.cc:1038
↓ 10 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
externals/gtest/src/gtest-death-test.cc:251
↓ 10 callers
Function
DieInside
externals/gtest/test/gtest-death-test_test.cc:125
↓ 10 callers
Function
ForEach
externals/gtest/src/gtest-internal-inl.h:295
↓ 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.
externals/gtest/src/gtest.cc:4713
↓ 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
externals/gtest/src/gtest-port.cc:1155
↓ 10 callers
Function
IsNotSubstring
externals/gtest/src/gtest.cc:1581
↓ 10 callers
Function
IsRepeat
externals/gtest/src/gtest-port.cc:598
↓ 10 callers
Method
OnTestProgramStart
externals/gtest/test/gtest_unittest.cc:6815
↓ 10 callers
Method
Passed
externals/gtest/test/gtest-death-test_test.cc:947
↓ 10 callers
Method
Passed
Returns true iff the unit test passed (i.e. all test cases passed).
externals/gtest/src/gtest.cc:4018
↓ 10 callers
Function
SetEnvVar
Sets the env variable to 'value'; unsets it when 'value' is None.
externals/gtest/test/gtest_color_test.py:47
↓ 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
externals/gtest/src/gtest.cc:4950
↓ 10 callers
Method
Use
externals/gtest/test/gtest-linked_ptr_test.cc:51
↓ 10 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.
externals/gtest/src/gtest.cc:4881
↓ 10 callers
Method
failed_test_count
Gets the number of failed tests.
externals/gtest/src/gtest.cc:740
↓ 10 callers
Method
set
externals/gtest/include/gtest/internal/gtest-port.h:1861
↓ 9 callers
Function
Abort
externals/gtest/src/gtest-port.cc:1078
↓ 9 callers
Method
AddValue
* Adds a value and computes statistics for that value, since this allows us to compute * stats based on the incoming and outgoing value, instead of r
utils/RollingStatistics/RollingStatistics.cpp:18
↓ 9 callers
Method
AtEnd
externals/gtest/include/gtest/internal/gtest-param-util-generated.h:3242
↓ 9 callers
Method
BaseGenerator
externals/gtest/include/gtest/internal/gtest-param-util-generated.h:3191
↓ 9 callers
Method
CheckDestroyed
externals/gtest/test/gtest-port_test.cc:1171
↓ 9 callers
Method
Clone
(self)
externals/gtest/scripts/pump.py:589
↓ 9 callers
Method
Draw
controllers/TrajectoryLibrary/Trajectory.cpp:327
↓ 9 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.
externals/gtest/src/gtest.cc:297
↓ 9 callers
Function
GetElementOr
externals/gtest/src/gtest-internal-inl.h:302
↓ 9 callers
Function
GetTimeInMillis
Returns the current time in milliseconds.
externals/gtest/src/gtest.cc:786
↓ 9 callers
Method
Join
externals/gtest/src/gtest-port.cc:345
↓ 9 callers
Function
PrintArrayHelper
externals/gtest/test/gtest-printers_test.cc:591
↓ 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
externals/gtest/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
externals/gtest/test/gtest_filter_unittest.py:325
↓ 9 callers
Function
ServoToVoltage
drivers/radio_labjack/src/radio_labjack.c:331
↓ 9 callers
Function
copyString
When static memory is used, a string has only one copy.
externals/smc/lib/C++/statemap.h:89
↓ 9 callers
Function
ehConfigIO
drivers/radio_labjack/src/u3.c:1221
↓ 9 callers
Function
ehConfigIO
drivers/radio_labjack_ch2/src/u3.c:1221
↓ 9 callers
Method
elapsed_time
Gets the elapsed time, in milliseconds.
externals/gtest/src/gtest.cc:4013
↓ 9 callers
Function
remove
Windows CE doesn't have the remove C function.
externals/gtest/test/gtest-filepath_test.cc:68
↓ 9 callers
Method
total_test_case_count
Gets the number of all test cases.
externals/gtest/src/gtest.cc:724
↓ 8 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
externals/gtest/include/gtest/gtest.h:1342
↓ 8 callers
Function
CheckForProc
drivers/process_control/process-control.cpp:131
↓ 8 callers
Function
ClearCurrentTestPartResults
externals/gtest/test/gtest_unittest.cc:355
↓ 8 callers
Function
Combine
externals/gtest/include/gtest/gtest-param-test.h:1274
↓ 8 callers
Function
ExpectNonFatalFailureRecordingPropertyWithReservedKeyOutsideOfTestCase
externals/gtest/test/gtest_unittest.cc:1952
↓ 8 callers
Function
FPuint8ArrayToFPDouble
drivers/radio_labjack/src/u3.c:371
↓ 8 callers
Function
FPuint8ArrayToFPDouble
drivers/radio_labjack_ch2/src/u3.c:371
↓ 8 callers
Function
GetCapturedStderr
Stops capturing stderr and returns the captured string.
externals/gtest/src/gtest-port.cc:1048
↓ 8 callers
Method
GetFrameNumber
sensors/stereo/RecordingManager.cpp:559
↓ 8 callers
Method
GetIndexAtTime
* Assuming a constant dt, we can compute the index of a point * based on its time. * * @param t time to find index of * @param (optional) use_roll
controllers/TrajectoryLibrary/Trajectory.cpp:181
↓ 8 callers
Function
GetRandomSeedFromFlag
Returns a random seed in range [1, kMaxRandomSeed] based on the given --gtest_random_seed flag value.
externals/gtest/src/gtest-internal-inl.h:135
↓ 8 callers
Function
HandleExceptionsInMethodIfSupported
externals/gtest/src/gtest.cc:2372
↓ 8 callers
Function
HasPrefix
externals/gtest/test/gtest-printers_test.cc:538
↓ 8 callers
Method
IsAlive
drivers/process_control/ProcessControlProc.cpp:74
↓ 8 callers
Function
IsEven
Returns true iff the argument is an even number.
externals/gtest/test/gtest_unittest.cc:2097
↓ 8 callers
Function
IsSubstringImpl
externals/gtest/src/gtest.cc:1546
↓ 8 callers
Function
MakeToken
Creates a new instance of Token.
externals/gtest/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
externals/gtest/src/gtest.cc:5002
↓ 8 callers
Function
PrintCharsAsStringTo
externals/gtest/src/gtest-printers.cc:262
↓ 8 callers
Function
ResultIsEven
A predicate function that returns AssertionResult for use in EXPECT/ASSERT_TRUE/FALSE.
externals/gtest/test/gtest_unittest.cc:2120
↓ 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
externals/gtest/test/gtest_unittest.cc:2130
↓ 8 callers
Function
RunShellWithReturnCode
Executes a command and returns the output from stdout and the return code. Args: command: Command to execute. print_output: If True, the ou
externals/gtest/scripts/upload.py:541
↓ 8 callers
Function
SetVoltage
drivers/radio_labjack/src/radio_labjack.c:348
↓ 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
externals/gtest/src/gtest.cc:4731
↓ 8 callers
Method
Size
Gets the number of elements.
externals/gtest/samples/sample3-inl.h:102
↓ 8 callers
Function
Skip
(lines, pos, regex)
externals/gtest/scripts/pump.py:261
↓ 8 callers
Method
StartProcess
drivers/process_control/ProcessControlProc.cpp:12
← previous
next →
101–200 of 5,664, ranked by callers