MCPcopy Create free account
hub / github.com/OpenImageDebugger/OpenImageDebugger / iota_bytes

Function iota_bytes

tests/test_buffer_assembler.cpp:51–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49}
50
51std::vector<std::byte> iota_bytes(const std::size_t n) {
52 std::vector<std::byte> v(n);
53 for (std::size_t i = 0; i < n; ++i) {
54 v[i] = static_cast<std::byte>(i & 0xff);
55 }
56 return v;
57}
58
59} // namespace
60

Callers 1

TESTFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected