MCPcopy Create free account
hub / github.com/NVIDIA/cuda-samples / readFile

Function readFile

cpp/5_Domain_Specific/simpleVulkanMMAP/VulkanBaseApp.cpp:1787–1794  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1785}
1786
1787void readFile(std::istream &s, std::vector<char> &data)
1788{
1789 s.seekg(0, std::ios_base::end);
1790 data.resize(s.tellg());
1791 s.clear();
1792 s.seekg(0, std::ios_base::beg);
1793 s.read(data.data(), data.size());
1794}

Callers 1

createShaderModuleFunction · 0.70

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected