search for: lstate

Displaying 6 results from an estimated 6 matches for "lstate".

Did you mean: state
2013 Oct 15
23
[PATCH 00/21] Upgrade to Lua 5.2.2, add filesystem module and get_key binding
...ject.h | 460 +- com32/lua/src/lopcodes.c | 31 +- com32/lua/src/lopcodes.h | 106 +- com32/lua/src/loslib.c | 166 +- com32/lua/src/lparser.c | 1015 +++-- com32/lua/src/lparser.h | 75 +- com32/lua/src/lstate.c | 271 +- com32/lua/src/lstate.h | 149 +- com32/lua/src/lstring.c | 174 +- com32/lua/src/lstring.h | 21 +- com32/lua/src/lstrlib.c | 576 ++- com32/lua/src/ltable.c | 203 +- com32/lua/src/ltabl...
2008 Jul 10
2
[PATCH] tripplite driver updates
...alue) < 1) + sleep(1); dstate_setinfo("ups.mfr", "%s", "Tripp Lite"); @@ -365,57 +352,111 @@ void upsdrv_shutdown(void) void upsdrv_updateinfo(void) { char buf[256]; - int bp; - float bv; + int bp, volt, temp, load, vmax, vmin, stest, len; + int bcond, lstate, tstate, mode; + float bv, freq; + + len = send_cmd(":D\r", buf, sizeof buf); + if (len != 21) { + ser_comm_fail("Data command failed: [%d] bytes != 21 bytes.", len); + dstate_datastale(); + return; + } + + volt = hex2d(buf + 2, 2); + temp = (int)(hex2d(buf + 6, 2)*0.3636 -...
2013 Oct 15
0
Upgrade to Lua 5.2.2, add filesystem module and get_key binding
...- > com32/lua/src/lopcodes.c | 31 +- > com32/lua/src/lopcodes.h | 106 +- > com32/lua/src/loslib.c | 166 +- > com32/lua/src/lparser.c | 1015 +++-- > com32/lua/src/lparser.h | 75 +- > com32/lua/src/lstate.c | 271 +- > com32/lua/src/lstate.h | 149 +- > com32/lua/src/lstring.c | 174 +- > com32/lua/src/lstring.h | 21 +- > com32/lua/src/lstrlib.c | 576 ++- > com32/lua/src/ltable.c | 20...
2014 Mar 02
3
pull request: upgrade to Lua 5.2.3, automatic Linux boot menu and cmenu binding
...h | 460 +++- com32/lua/src/lopcodes.c | 31 +- com32/lua/src/lopcodes.h | 106 +- com32/lua/src/loslib.c | 166 +- com32/lua/src/lparser.c | 1015 +++++--- com32/lua/src/lparser.h | 75 +- com32/lua/src/lstate.c | 278 ++- com32/lua/src/lstate.h | 149 +- com32/lua/src/lstring.c | 174 +- com32/lua/src/lstring.h | 21 +- com32/lua/src/lstrlib.c | 576 +++-- com32/lua/src/ltable.c | 203 +- com32/lua/src/lt...
2014 Jan 28
3
[LLVMdev] MergeFunctions: reduce complexity to O(log(N))
Hi Stepan, Sorry for the delay. It's great that you are working on MergeFunctions as well and I agree, we should definitely try to combine our efforts to improve MergeFunctions. Just to give you some context, the pass (with the similar function merging patch) is already being used in a production setting. From my point of view, it would be better if we focus on improving its capability
2014 Jan 30
3
[LLVMdev] MergeFunctions: reduce complexity to O(log(N))
...46260 0 0.01 46245 0 0.02 46245 lowercase.ll 4 10513 0 0.01 10498 0 0.01 10498 lparser.ll 69 259824 0 0.03 259809 0 0.03 259809 lpbench.ll 8 51184 0 0.02 51162 0 0.02 51162 lpc.ll 5 97839 0 0.02 97809 0 0.02 97809 LR0.ll 13 75095 0 0.01 75069 0 0.02 75069 lr.ll 28 171193 0 0.02 171180 0 0.02 171180 lstate.ll 10 51152 0 0.01 51137 0 0.02 51137 lstring.ll 4 34379 0 0.01 34364 0 0.01 34364 lstrlib.ll 45 196047 0 0.02 196032 0 0.02 193453 ltable.ll 26 120256 0 0.02 120241 0 0.02 120241 ltablib.ll 14 43214 0 0.01 43199 0 0.01 43199 ltm.ll 3 18146 0 0.01 18131 0 0.01 18131 lua.ll 23 81489 0 0.01 81474 0 0...