MCPcopy Create free account
hub / github.com/ai-techsystems/deepC / setAttribute

Method setAttribute

include/operators/Mod.h:55–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53 return false;
54 }
55 bool setAttribute(OPATTR attrName, int obj) override {
56 if (attrName == attr_mode) {
57 fmod = obj;
58 return true;
59 }
60 return false;
61 }
62
63 static T mod_function(T x, T y) { return (T)((int)x % (int)y); }
64

Callers 3

mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected