MCPcopy Create free account
hub / github.com/KhronosGroup/SPIRV-Tools / RepeatedFieldToVector

Function RepeatedFieldToVector

source/fuzz/fuzzer_util.cpp:362–369  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

360}
361
362std::vector<uint32_t> RepeatedFieldToVector(
363 const google::protobuf::RepeatedField<uint32_t>& repeated_field) {
364 std::vector<uint32_t> result;
365 for (auto i : repeated_field) {
366 result.push_back(i);
367 }
368 return result;
369}
370
371uint32_t WalkOneCompositeTypeIndex(opt::IRContext* context,
372 uint32_t base_object_type_id,

Callers 4

ApplyMethod · 0.85
ApplyMethod · 0.85
AddDataSynonymFactsMethod · 0.85

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected