MCPcopy Create free account
hub / github.com/cactus-compute/cactus / print_vector_inline

Function print_vector_inline

tests/test_graph.cpp:13–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11namespace {
12template <typename T>
13void print_vector_inline(const std::vector<T>& values) {
14 std::cout << "[";
15 for (size_t i = 0; i < values.size(); ++i) {
16 if (i > 0) std::cout << ", ";
17 std::cout << values[i];
18 }
19 std::cout << "]";
20}
21
22size_t runtime_id_from_serialized_index(uint32_t serialized_index) {
23 // Graph deserialization rebuilds nodes in serialized order, and runtime node

Calls 1

sizeMethod · 0.80

Tested by

no test coverage detected