MCPcopy Create free account
hub / github.com/baidu/tera / operator()

Method operator()

src/sdk/sdk_task.h:106–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104
105struct SdkTaskDueTimeComp {
106 bool operator()(SdkTask* lhs, SdkTask* rhs) {
107 if (lhs->DueTime() != rhs->DueTime()) {
108 return lhs->DueTime() < rhs->DueTime();
109 }
110 return lhs->GetId() < rhs->GetId();
111 }
112};
113
114class SdkTimeoutManager {

Callers

nothing calls this directly

Calls 2

DueTimeMethod · 0.80
GetIdMethod · 0.45

Tested by

no test coverage detected