search for: getkey

Displaying 20 results from an estimated 35 matches for "getkey".

Did you mean: get_key
2006 Dec 12
4
How to sum one column in a data frame keyed on other columns
...url time total_vists www.foo.com 1:00 150 www.foo.com 2:00 525 www.bar.com 1:00 400 In other words, I need to calculate the sum of visits for each unique tuple of (url,time). I can do it with this code, but it's very slow, and doesn't seem like the right approach: keys = list() getkey = function(m,cols,index) { paste(m[index,cols],collapse=",") } for (i in 1:nrow(data)) { keys[[getkey(data,1:2,i)]] = 0 } for (i in 1:nrow(data)) { keys[[getkey(data,1:2,i)]] = keys[[getkey(data,1:2,i)]] + data[i,4] } I'm sure there's a more functional-programming approach to th...
2020 Apr 20
2
ORC JIT Weekly #12
...support for removable code in OrcV2, which is one of the big missing features from OrcV1. I expect the API to end up looking something like this: using ResourceKey = const class ResourceTracker*; class ResourceTracker { public: // Return the key for this tracker (just its address) ResourceKey getKey() { return this; } // Emit all not-yet-emitted symbols covered by this tracker. Expected<SymbolMap> emit(); // Remove all symbols covered by this tracker and // release resources. Error remove(); // Transfer tracking of all symbols / resources to the // containing JITDylib...
2008 Oct 30
3
[OT] List of all email users
This is not CentOS-specific, hence OT. I need a list of all email users on my system (there are hundreds of them). The list could be extracted from /etc/aliases and the virtusertable. Does anyone know of a script that would do this automatically? It would have to - exclude commented-out lines (of course) - exclude duplicates - produce a list of usernames (or maybe unresolved email addresses for
2011 Feb 17
5
[PATCH 0/4] Reduce core size
...c | 42 ---- core/elflink/abort_new.c | 10 + core/elflink/cli.c | 410 ------------------------------------ core/elflink/cli.h | 23 -- core/elflink/execute.c | 4 +- core/elflink/get_key.c | 175 ---------------- core/elflink/getkey.h | 80 ------- core/elflink/load_env32.c | 50 +----- elf_gen_dep.sh | 22 ++- 16 files changed, 584 insertions(+), 786 deletions(-) create mode 100644 com32/elflink/modules/cli.c create mode 100644 com32/elflink/modules/cmdline.c create mode 100644 com32/...
2004 May 03
2
Build problems on Linux SuSE 9.1
...;char" /usr/X11R6/include/X11/Xlib.h:1542: error: parse error before "_Xconst" /usr/X11R6/include/X11/Xlib.h:1577: error: parse error before '*' token /usr/X11R6/include/X11/Xlib.h:1586: error: parse error before "_Xconst" ... lots more ... dataentry.c: In function `GetKey': dataentry.c:1272: warning: passing arg 4 of `XLookupString' from incompatible po inter type dataentry.c: In function `GetCharP': dataentry.c:1281: warning: passing arg 4 of `XLookupString' from incompatible po inter type dataentry.c: In function `doControl': dataentry.c:1302...
2005 Jan 18
1
Build problem with R-1.4.1 on AM64/Linux
...are: In file included from dataentry.c:34: /usr/X11R6/include/X11/Xlib.h:1400: error: parse error before "_Xconst" /usr/X11R6/include/X11/Xlib.h:1488: error: parse error before "char" This happens a lot of times in various places in file dataentry.c dataentry.c: In function `GetKey': dataentry.c:1249: warning: passing arg 1 of `XLookupString' from incompatible pointer type dataentry.c:1249: warning: passing arg 4 of `XLookupString' from incompatible pointer type dataentry.c: In function `GetCharP': dataentry.c:1258: warning: passing arg 1 of `XLookupString'...
2011 Apr 01
0
[GIT PULL] elflink cmdline
...com32/elflink/modules/menu.h | 2 + 5 files changed, 110 insertions(+), 1 deletions(-) diff --git a/com32/elflink/ldlinux/cli.c b/com32/elflink/ldlinux/cli.c index 172a9f6..0884525 100644 --- a/com32/elflink/ldlinux/cli.c +++ b/com32/elflink/ldlinux/cli.c @@ -18,6 +18,7 @@ #include "getkey.h" #include "menu.h" #include "cli.h" +#include "config.h" static jmp_buf timeout_jump; @@ -394,6 +395,26 @@ const char *edit_cmdline(const char *input, int top /*, int width */ , redraw = 1; } break; + case KEY_TAB: + { + const c...
2014 Sep 06
0
keystrokes
...As with other keystroke combinations that are not listed or > mentioned, I would had expected for [Ctrl-M] to do "nothing". > > So, where in the Syslinux source code the effect of [Ctrl-M] is > defined as to be "CR" (or [Enter], or whatever)? com32/libutil/include/getkey.h:#define KEY_ENTER 0x000d that is, CR. While in some cases (eg. with directly connected keyboard) it would be possible to tell apart the Enter key from Ctrl-M, sometimes (eg. over a serial line) this would be impossible. To ensure uniformity, it's not worth making this distinction....
2014 Sep 06
2
keystrokes
> Ady <ady-sf at hotmail.com> writes: > > >> On Sat, Sep 6, 2014 at 8:18 AM, Ady <ady-sf at hotmail.com> wrote: > >> > >>> What actions are _supposed_ to be triggered by each of: > >>> > >>> [Ctrl-J] > >>> [Ctrl-M] > >>> > >>> in the Syslinux command line in version 6.03-pre20? >
2011 Mar 09
14
[PATCH 00/12] elflink shrinkage
...| 29 --- core/elflink/cli.h | 23 -- core/elflink/core-elf.h | 21 ++- core/elflink/execute.c | 30 +++- core/elflink/get_key.c | 175 --------------- core/elflink/getkey.h | 80 ------- core/elflink/kernel.c | 8 +- core/elflink/load_env32.c | 52 +----- core/elflink/menu.h | 229 -------------------- core/extern.inc...
2004 Mar 26
2
With which version of XFree86 can R compile?
...t;char" /usr/X11R6/include/X11/Xresource.h:279: error: syntax error before "char" /usr/X11R6/include/X11/Xresource.h:284: error: syntax error before "_Xconst" /usr/X11R6/include/X11/Xresource.h:352: error: syntax error before "_Xconst" dataentry_mb.c: In function `GetKey': dataentry_mb.c:1276: warning: passing arg 1 of `XLookupString' from incompatible pointer type dataentry_mb.c:1276: warning: passing arg 4 of `XLookupString' from incompatible pointer type dataentry_mb.c: In function `GetCharP': dataentry_mb.c:1285: warning: passing arg 1 of `XLook...
1998 Oct 07
2
R-beta: compiling R on RedHat 5.1
...en I compile R-0.62.3 on RedHat 5.1, the following messages appear: ... f77 -export-dynamic -o R.binary ... ../lib/libunix.a(dataentry.o): In function `NextEvent': /home/ming/R-0.62.3/src/unix/dataentry.c:1286: undefined reference to `XNextEvent' ../lib/libunix.a(dataentry.o): In function `GetKey': /home/ming/R-0.62.3/src/unix/dataentry.c:1286: undefined reference to `XLookupString' ... there are tens of such undefined references. I guess it is due to some uninstalled RPMs, but do not have any idea what they are. ** I also tried to get binary-R in rpm files, but the message says...
2004 Jun 20
1
linux: compilation problems with gcc 3.3.3 and xorg (PR#6992)
...before "_Xconst" /usr/X11R6/include/X11/Xutil.h:666: error: parse error before "_Xconst" /usr/X11R6/include/X11/Xutil.h:678: error: parse error before "_Xconst" /usr/X11R6/include/X11/Xutil.h:801: error: parse error before "_Xconst" dataentry.c: In function `GetKey': dataentry.c:1272: warning: passing arg 4 of `XLookupString' from incompatible po inter type dataentry.c: In function `GetCharP': dataentry.c:1281: warning: passing arg 4 of `XLookupString' from incompatible po inter type dataentry.c: In function `doControl': dataentr...
2009 Mar 07
3
rosh patch V2
Here is a second version of my patch from last night. It uses the provided ctype function isspace and does the same readdir(). I remove the rosh_issp() function. I admit to being a bit liberal with my use of braces and spaces. We all of the habit of knowing we can invent a more perfect wheel. Let me know if you have any questions. Keith -------------- next part -------------- A non-text
2004 May 19
2
R 1.90 make problem with /usr/X11R6/include/X11/Xutil.h on suse linux 9.1?
...before "_Xconst" /usr/X11R6/include/X11/Xutil.h:666: error: parse error before "_Xconst" /usr/X11R6/include/X11/Xutil.h:678: error: parse error before "_Xconst" /usr/X11R6/include/X11/Xutil.h:801: error: parse error before "_Xconst" dataentry.c: In function `GetKey': dataentry.c:1272: warning: passing arg 4 of `XLookupString' from incompatible pointer type dataentry.c: In function `GetCharP': dataentry.c:1281: warning: passing arg 4 of `XLookupString' from incompatible pointer type dataentry.c: In function `doControl': dataentry.c:1302:...
2010 Oct 02
4
[PATCH 0/4] some fixes on elflink branch
This is a small set of patches for elflink branch based on feng's elflink branch. hpa, It seems that I can't log on terminus by ssh at home. So I can't push these patches on my git tree. Liu Aleaxander (4): elflink: Cleanup some warnings elflink: Fix the wrong malloc size in enter_cmdline elflink: Do clear screen even if we have no pDraw_Menu method elflink: Add Ctrl-p +
2012 Nov 02
10
[PATCH 0/9] elflink fixes
From: Matt Fleming <matt.fleming at intel.com> Here are the patches that I've got queued up based on the very helpful feedback I received from people testing Syslinux 5.00-pre9. Unless anyone has any concerns these will make it into Syslinux 5.00-pre10. Matt Fleming (9): pxe: Don't call open_config() from the pxe core ldlinux: Print a warning if no config file is found
2010 Sep 16
1
[RFC] function to parse string to argc/argv pair
...---------------------------- */ /* * argtst.c * * testing of argument parser */ #include <stdio.h> #include <stdlib.h> #include <string.h> /* strcpy() strlen() memcpy() strchr() */ #include <errno.h> /* errno; error macros */ #include <consoles.h> #include <getkey.h> #include <ctype.h> #define INS 256 void print_argv(int argc, char *argv[]) { int i; for (i = 0; i < argc; i++) { printf("%4d '%s'\n", i, argv[i]); } } /* * parse_args1: Try 1 at parsing a string to an argc/argv pair. use free_args1 to free memory...
2004 May 22
0
R-release.diff + R-1.9 -> success on Fedora Core 2, R RPM available; ess-emacs-5.1.20 also available
...fore "_Xconst" /usr/X11R6/include/X11/Xutil.h:666: error: syntax error before "_Xconst" /usr/X11R6/include/X11/Xutil.h:678: error: syntax error before "_Xconst" /usr/X11R6/include/X11/Xutil.h:801: error: syntax error before "_Xconst" dataentry.c: In function `GetKey': dataentry.c:1272: warning: passing arg 4 of `XLookupString' from incompatible pointer type dataentry.c: In function `GetCharP': dataentry.c:1281: warning: passing arg 4 of `XLookupString' from incompatible pointer type dataentry.c: In function `doControl': dataentry.c:1302:...
2004 May 04
1
Compilation errors (PR#6855)
...before "_Xconst" /usr/X11R6/include/X11/Xutil.h:666: error: parse error before "_Xconst" /usr/X11R6/include/X11/Xutil.h:678: error: parse error before "_Xconst" /usr/X11R6/include/X11/Xutil.h:801: error: parse error before "_Xconst" dataentry.c: In function `GetKey': dataentry.c:1272: warning: passing arg 4 of `XLookupString' from incompatible pointer type dataentry.c: In function `GetCharP': dataentry.c:1281: warning: passing arg 4 of `XLookupString' from incompatible pointer type dataentry.c: In function `doControl': dataentry.c:1302: wa...