MCPcopy Create free account
hub / github.com/bytedance/bolt / makeTask

Method makeTask

bolt/exec/tests/ExchangeFuzzer.cpp:493–512  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

491 for (const auto& taskId : remoteTaskIds) {
492 auto split =
493 exec::Split(std::make_shared<RemoteConnectorSplit>(taskId), -1);
494 task->addSplit("0", std::move(split));
495 }
496 task->noMoreSplits("0");
497 }
498
499 struct VectorFuzzer::Options options_;
500 VectorFuzzer fuzzer_;
501 FuzzerGenerator rng_;
502 size_t currentSeed_{0};
503
504 std::unordered_map<std::string, std::string> configSettings_;
505 // Serial number to differentiate consecutive benchmark repeats.
506 static int32_t iteration_;
507};
508
509int32_t ExchangeFuzzer::iteration_;
510
511int main(int argc, char** argv) {
512 // todo: use folly::Init init after upgrade folly lib
513 ::testing::InitGoogleTest(&argc, argv);
514 folly::init(&argc, &argv);
515 memory::MemoryManager::Options options;

Callers

nothing calls this directly

Calls 7

memoryManagerFunction · 0.85
addRootPoolMethod · 0.80
createFunction · 0.50
QueryConfigClass · 0.50
getMethod · 0.45
queryIdMethod · 0.45

Tested by

no test coverage detected