MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / drive

Function drive

__tests__/fixtures/kernel-parity/torture.cpp:135–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133Widget *make_widget() { return new Widget(); }
134
135float drive() {
136 Widget local;
137 app::Config cfg;
138 Vec2 a{1, 2};
139 Vec2 b(a);
140 Vec2 c2(1.5f, 2.5f);
141 float f = a.x + b.y + c2.x;
142 make_widget()->Tick(0.5f);
143 auto kernel = &compute_seed<float>;
144 if (f > 1) {
145 kernel = &drive_helper;
146 }
147 float r = kernel(f);
148 int flags = GlobalConfig.retries;
149 Mode m = Mode::Off;
150 int leg = LEGACY_A;
151 app::detail_probe();
152 compute_seed<int>(2);
153 auto mp = &app::Config::apply;
154 (void)mp;
155 (void)m;
156 return r + f + flags + leg;
157}
158// A function named past its noexcept/throw/requires clauses.
159namespace clauses {
160template <template <typename, typename> class Ser>

Callers

nothing calls this directly

Calls 3

make_widgetFunction · 0.85
detail_probeFunction · 0.85
TickMethod · 0.80

Tested by

no test coverage detected