MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / TimeLabelSame

Function TimeLabelSame

Source/3rdParty/implot/implot.cpp:1201–1206  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1199}
1200
1201inline bool TimeLabelSame(const char* l1, const char* l2) {
1202 size_t len1 = strlen(l1);
1203 size_t len2 = strlen(l2);
1204 size_t n = len1 < len2 ? len1 : len2;
1205 return strcmp(l1 + len1 - n, l2 + len2 - n) == 0;
1206}
1207
1208static const ImPlotDateTimeSpec TimeFormatLevel0[ImPlotTimeUnit_COUNT] = {
1209 ImPlotDateTimeSpec(ImPlotDateFmt_None, ImPlotTimeFmt_Us),

Callers 1

Locator_TimeFunction · 0.85

Calls 2

strlenFunction · 0.85
strcmpFunction · 0.85

Tested by

no test coverage detected