Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/arrow
/ AssertIsCPUBuffer
Function
AssertIsCPUBuffer
cpp/src/arrow/buffer_test.cc:213–216 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
211
}
212
213
void AssertIsCPUBuffer(const Buffer& buf) {
214
ASSERT_TRUE(buf.is_cpu());
215
ASSERT_EQ(*buf.device(), *CPUDevice::Instance());
216
}
217
218
class TestDevice : public ::testing::Test {
219
public:
Callers
3
TEST
Function · 0.85
TestZeroSizeAllocateBuffer
Function · 0.85
TYPED_TEST
Function · 0.85
Calls
1
device
Method · 0.45
Tested by
no test coverage detected