mycodesucks to Programmer [email protected] • 2 years agoIt's not greatmedia.kbin.socialimagemessage-square67fedilinkarrow-up11.47K
arrow-up11.47KimageIt's not greatmedia.kbin.socialmycodesucks to Programmer [email protected] • 2 years agomessage-square67fedilink
minus-square@[email protected]linkfedilinkEnglish11•2 years agoSteadily increasing unsigned integer on a long-running piece of infrastructure: bonjour
minus-square@[email protected]linkfedilink3•edit-22 years agoLaughs in struct LooooongCounter { long highPart; long lowPart; };
minus-square@[email protected]linkfedilink3•2 years agoLooooongCounter operator++(const LooooongCounter& c) { if(c.lowPart == ULONG_MAX) { c.highPart++; c.lowPart = 0; } else c.lowPart++; }
Steadily increasing unsigned integer on a long-running piece of infrastructure: bonjour
Laughs in