MCPcopy Create free account
hub / github.com/davisking/dlib / add1

Method add1

dlib/test/thread_pool.cpp:418–418  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

416 void increment (int& a) const { dlib::sleep(20); ++a; }
417 void add (int a, const int& b, int& res) { dlib::sleep(20); res = a + b; }
418 void add1(int& a, int& res) const { res += a; }
419 void add2 (int c, int a, const int& b, int& res) { res = a + b + c; }
420
421

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected