MCPcopy Create free account
hub / github.com/CalcProgrammer1/OpenRGB / count

Method count

dependencies/json/json.hpp:16584–16594  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16582 }
16583
16584 size_type count(const Key& key) const
16585 {
16586 for (auto it = this->begin(); it != this->end(); ++it)
16587 {
16588 if (it->first == key)
16589 {
16590 return 1;
16591 }
16592 }
16593 return 0;
16594 }
16595
16596 iterator find(const Key& key)
16597 {

Callers 15

_flushMethod · 0.45
KeyboardLayoutManagerMethod · 0.45
Init_ControllerMethod · 0.45
GetCalibrationMethod · 0.45
DeviceUpdateLEDsMethod · 0.45
DeviceUpdateLEDsMethod · 0.45
AlienwareControllerMethod · 0.45
RGBController_E131Method · 0.45
RGBController_DMXMethod · 0.45
GetLEDInfoMethod · 0.45
GetLEDInfoMethod · 0.45
GetLEDInfoMethod · 0.45

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected