search for: msg_out

Displaying 14 results from an estimated 14 matches for "msg_out".

Did you mean: sg_out
2013 Jun 22
0
[LLVMdev] Outputting constant char array from llvm pass
Hi, all I want to know how a llvm pass output constant char array defined from the input source. Here's an example that I want to do. == test input source == char* msg = "hello, world\n"; void msg_out(char * in) { printf("msg: %s \n", in); } main () { ... msg_out(msg); ... } == llvm pass snippet == ... const CallInst* ci = dyn_cast<CallInst>(val); const Function* func = ci->getCalledFunction(); if (func->getName() == "msg_out") { errs() <&...
2006 Feb 14
25
Rails and background tasks/threads
I am just getting into web servers/web applications and rails as well so bear with me. I am trying to write a web app that, based on a users input from the browser, will perform some task, and update the browser (ala ajax style) as needed and/or provide a way for the user to control the background task. Now, I have more experience with java servlets, which makes this easy enough for a beginner.
2007 Apr 17
0
rflickr: invalid auth token when uploading
...b/flickr/upload.rb:179:in `upload_image'' Any insight into this error will be greatly appreciated. Here is the action that gets executed on an upload request: def upload incoming_file = params[''flickr_image''] content_type = incoming_file.content_type.chomp msg_out = nil responds_to_parent do render :update do |page| if content_type.rindex(/image\/[(jpe?g)||(gif)||(png)]/) cache_file = "#{RAILS_ROOT}/public/cache/flickr.cache" if File.exist? cache_file flickr = Flickr.new(cache_file) m...
2015 Feb 09
5
extlinux installer build failed
...p/src/core/raw.o lwip/src/core/dhcp.o lwip/src/core/tcp_in.o lwip/src/core/stats.o lwip/src/core/netif.o lwip/src/core/timers.o lwip/src/core/mem.o lwip/src/core/def.o lwip/src/core/memp.o lwip/src/core/udp.o lwip/src/core/dns.o lwip/src/core/tcp_out.o lwip/src/core/snmp/msg_in.o lwip/src/core/snmp/msg_out.o lwip/src/core/snmp/mib_structs.o lwip/src/core/snmp/mib2.o lwip/src/core/snmp/asn1_dec.o lwip/src/core/snmp/asn1_enc.o lwip/src/core/pbuf.o lwip/src/core/sys.o lwip/src/api/netdb.o lwip/src/api/tcpip.o lwip/src/api/sockets.o lwip/src/api/netbuf.o lwip/src/api/netifapi.o lwip/src/api/err.o lwip/sr...
2013 Mar 07
3
[PATCH 0/3] protocol: Abstract out socket operations.
I've been taking a long hard look at the protocol layer. It has evolved over a long time without any particular direction, and the result is, to say the least, not very organized. These patches take a first step at cleaning up the mess by abstracting out socket operations from the rest of the code. The purpose of this is to allow us to slot in a different connection layer under the
2015 Feb 09
0
extlinux installer build failed
...p/src/core/dhcp.o lwip/src/core/tcp_in.o > lwip/src/core/stats.o lwip/src/core/netif.o lwip/src/core/timers.o > lwip/src/core/mem.o lwip/src/core/def.o lwip/src/core/memp.o > lwip/src/core/udp.o lwip/src/core/dns.o lwip/src/core/tcp_out.o > lwip/src/core/snmp/msg_in.o lwip/src/core/snmp/msg_out.o > lwip/src/core/snmp/mib_structs.o lwip/src/core/snmp/mib2.o > lwip/src/core/snmp/asn1_dec.o lwip/src/core/snmp/asn1_enc.o > lwip/src/core/pbuf.o lwip/src/core/sys.o lwip/src/api/netdb.o > lwip/src/api/tcpip.o lwip/src/api/sockets.o lwip/src/api/netbuf.o > lwip/src/api/netifapi.o l...
2015 Feb 09
1
extlinux installer build failed
...ip/src/core/tcp_in.o > > lwip/src/core/stats.o lwip/src/core/netif.o lwip/src/core/timers.o > > lwip/src/core/mem.o lwip/src/core/def.o lwip/src/core/memp.o > > lwip/src/core/udp.o lwip/src/core/dns.o lwip/src/core/tcp_out.o > > lwip/src/core/snmp/msg_in.o lwip/src/core/snmp/msg_out.o > > lwip/src/core/snmp/mib_structs.o lwip/src/core/snmp/mib2.o > > lwip/src/core/snmp/asn1_dec.o lwip/src/core/snmp/asn1_enc.o > > lwip/src/core/pbuf.o lwip/src/core/sys.o lwip/src/api/netdb.o > > lwip/src/api/tcpip.o lwip/src/api/sockets.o lwip/src/api/netbuf.o > >...
2009 Sep 14
3
[PATCH REBASED] Remove main loop
...guestfs_launch_done_cb launch_done_cb; void * launch_done_cb_data; - /* Main loop used by this handle. */ - guestfs_main_loop *main_loop; - - /* Messages sent and received from the daemon. */ - char *msg_in; - unsigned int msg_in_size, msg_in_allocated; - char *msg_out; - unsigned int msg_out_size, msg_out_pos; - int msg_next_serial; }; @@ -229,8 +158,6 @@ guestfs_create (void) g->fd[0] = -1; g->fd[1] = -1; g->sock = -1; - g->stdout_watch = -1; - g->sock_watch = -1; g->abort_cb = abort; g->error_cb = default_error_cb...
2012 Apr 26
1
[PATCH 1/2] gobject: Use generator_built macro to ensure generated files are rebuilt properly.
From: "Richard W.M. Jones" <rjones at redhat.com> --- generator/generator_gobject.ml | 4 ++-- gobject/Makefile.am | 14 +++++++++----- gobject/Makefile.inc | 4 ++-- 3 files changed, 13 insertions(+), 9 deletions(-) diff --git a/generator/generator_gobject.ml b/generator/generator_gobject.ml index 17c6c36..3096501 100644 ---
2009 Aug 18
8
src/ is now warning-free, too
These patches first make src/ warning free, and then turn on the strict warning options. 75 0001-build-suppress-an-ignored-write-return-value-warning.patch 38 0002-build-suppress-an-ignored-dup-return-value-warning.patch 27 0003-generator.ml-suppress-signed-unsigned-compare-warnin.patch 48 0004-build-don-t-perform-arithmetic-on-void-pointers.patch 30
2013 Mar 28
1
Makefile race condition with parallel make
...ip/src/netif/ppp/ppp.o ./lwip/src/netif/ppp/pap.o ./lwip/src/netif/ppp/magic.o ./lwip/src/netif/ppp/ppp_oe.o ./lwip/src/netif/undiif.o ./lwip/src/core/init.o ./lwip/src/core/mem.o ./lwip/src/core/snmp/mib_structs.o ./lwip/src/core/snmp/asn1_dec.o ./lwip/src/core/snmp/asn1_enc.o ./lwip/src/core/snmp/msg_out.o ./lwip/src/core/snmp/mib2.o ./lwip/src/core/snmp/msg_in.o ./lwip/src/core/def.o ./lwip/src/core/dns.o ./lwip/src/core/sys.o ./lwip/src/core/dhcp.o ./lwip/src/core/ipv4/inet_chksum.o ./lwip/src/core/ipv4/icmp.o ./lwip/src/core/ipv4/autoip.o ./lwip/src/core/ipv4/ip_addr.o ./lwip/src/core/ipv4/inet....
2013 Aug 24
46
[PATCH 00/46] Proposed patches for libguestfs 1.20.11.
Tested with 'make check-release'. tests/parallel (in check-slow) failed, although it does regularly and that seems to be because of libvirt. Rich.
2013 Aug 24
67
[PATCH 00/67] Proposed patches for libguestfs 1.22.6.
In the kernel and qemu communities it is routine for patches that will be backported to stable branches to be posted for review. I'm proposing we do the same for libguestfs stable branches. All of the attached have been tested with 'make check-release'. Rich.
2009 Aug 03
1
[PATCH 1/2] Convert all TABs-as-indentation to spaces.
...error (g, _("sock_write_event: internal error: %d != %d"), g->sock, fd); @@ -1813,10 +1813,10 @@ sock_write_event (struct guestfs_main_loop *ml, guestfs_h *g, void *data, if (g->verbose) fprintf (stderr, "sock_write_event: writing %d bytes ...\n", - g->msg_out_size - g->msg_out_pos); + g->msg_out_size - g->msg_out_pos); n = write (g->sock, g->msg_out + g->msg_out_pos, - g->msg_out_size - g->msg_out_pos); + g->msg_out_size - g->msg_out_pos); if (n == -1) { err = errno; if (err !=...