MCPcopy Create free account
hub / github.com/apache/singa / StackLowerThanAddress

Function StackLowerThanAddress

test/gtest/gtest-all.cc:7477–7480  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7475// correct answer.
7476void StackLowerThanAddress(const void* ptr, bool* result) GTEST_NO_INLINE_;
7477void StackLowerThanAddress(const void* ptr, bool* result) {
7478 int dummy;
7479 *result = (&dummy < ptr);
7480}
7481
7482bool StackGrowsDown() {
7483 int dummy;

Callers 1

StackGrowsDownFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected