search for: input_name

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

2007 Sep 18
1
program to monitor USB keys
...main(int argc, char *argv[]) ** ************************************************************/ int main(int argc, char *argv[]) { int i; int fd; int bytes_read; int keycode; int done = FALSE; int any_keyboards; char *ptr; char *ptr_comma; #define MAX_KEY_WATCH (10) int fd[MAX_KEY_WATCH]; char input_name[200]; while(1) { done = FALSE; any_keyboards = FALSE; /* open all /dev/input/event devices */ for(i = 0; i < MAX_KEY_WATCH; i++) { sprintf(input_name, "/dev/input/event%d", i); fd[i] = open(input_name, O_RDONLY | O_NONBLOCK); if(fd[i] >= 0) {...
2014 Sep 15
2
[LLVMdev] How to translate library functions into LLVM IR bitcode?
Good tips. Although I have used llvm-link to merge .bc files together, I guess -flto could optimize the resultant .bc file further. As for the assembly, yes it is an issue. Anyway, I'll try to address those sources which are available for being translated into .bc first. Thanks for your advice, Tim. On Mon, Sep 15, 2014 at 2:55 PM, Tim Northover <t.p.northover at gmail.com> wrote:
2006 Feb 27
2
Bug in Kerberos support for openssh.
...ed it to crash, I suppose - that would have been a much clearer indication of what the trouble was. I did manage to hack the thing to work - I first hacked libgssapi.so to include a new function: OM_uint32 KRB5_CALLCONV gss_hack_ssh_to_fix_stupid_bug(minor_status, input_name, output_name) OM_uint32 * minor_status; gss_name_t input_name; gss_name_t * output_name; { gss_union_name_t union_name; union_name = (gss_union_name_t) input_name; *output_name = union_name->mech_name;...
2010 Mar 18
2
aumentar tamaño de memoria a mas de 4Gb‏
...lt;-read.table("output.txt", header=TRUE) # no_elements for 1 and 2 should be the same no_elements1<-as.integer(toString(input$para1[1])) no_elements2<-as.integer(toString(input$para2[1])) # increasing the memory limit to 4 MB memory.limit(size=4000) for (i in 1:no_elements1) { input_name<-toString(input$para1[i+1]) predict<-read.table(input_name, header=TRUE) predValues<-predict(calibrate.rf, predict) predValues<-as.numeric(predValues) output_name<-toString(output$para2[i+1]) write.table(predValues, output_name, row.names=FALSE, col.names=output_name) } Lo...
2007 May 02
0
Selected value in a combobox
I''m using ActiveScaffold. In the file house_helper.rb I have written the code: def house_form_column(record, input_name) ... list = House.find(:all, :include => ''city'') new_list=... ... list do |element| if record = element.name selec=element.id end end select_tag ''X'',options_for_select(new_list, selected=selec), {:multiple => false} ... to...
2008 May 02
0
Wine release 0.9.61
...expressions. widl: Require a constant expression for case statements. widl: Add support for comparison, exclusive or, logical not and positive operators in expressions. widl: Remove EXPR_MEMBERPTR and implement it using EXPR_PPTR and EXPR_MEMBER instead. widl: Don't free input_name in pop_import as we keep pointers to it in the var_t type now. widl: Pass the actual type into check_remoting_fields and check_field_common instead of the type name. widl: Check that expressions resolve so that expressions in generated code will compile. widl: Move expression func...