search for: retvalue

Displaying 20 results from an estimated 44 matches for "retvalue".

Did you mean: getvalue
2017 Jul 12
2
A strange problem about type i64 for LLVM
Hello, everyone, I encounter a strange problem about llvm type i64 and C++ type int64_t. I instrumented a program to call the function 'myFunction' in the C++ shared library. 'myFunction' is something like this: int64_t myFunction() { int64_t retValue; ... std::cout << "retValue: " << retValue << "\n"; return retValue; } The call instruction in llvm bytecode is something like this: %0 = call i64 myFunction(); However, I found retValue in 'myFunction' have a different value with %0....
2017 Jul 12
2
A strange problem about type i64 for LLVM
Hi Tim Northover, I just use Mac OS X, Intel Core i5. 'retValue' is initialized, computed, and then returned from 'myFunction', so I think this problem is not introduced by uninitialized value. In addition, '306205760' is not a meaningless value, but the result of truncating '140583176769504' to 32 bits. Actually, I instrumented som...
2016 Feb 15
1
[PATCH] Start adding return values tests for bindings
Introduce a new kind of bindings tests, 090-retvalues, to check all the possible return values in bindings; start implementing them for scripting languages such as GObject introspection, Perl, PHP, Python, and Ruby, reusing existing implementations where existing. --- docs/guestfs-hacking.pod | 1 + gobject/Makefile.am...
2006 Mar 03
0
binary_to_string/string_to_binary confusion
...assigned data differs from original'' assert @data == bin.data, ''Data differs from original after save'' but the generated SQL is invalid because it attempts to insert raw binary into the database. If I implement them as follows: def self.hex_encode(value) retvalue = "" value.each_byte do |b| retvalue << sprintf("%02X", b) end retvalue end def self.hex_decode(value) retvalue = "" value.scan(/../) do |h| c = h.hex retvalue << c.chr...
2006 Nov 01
1
Integrating speex with VideoNet application: Constant background noise
...#39;s initialization function, I've initialized the speex_decoder. speex_bits_init(&bits); dec_state = speex_decoder_init(&speex_nb_mode); In the receiver's socket function, it reads from socket and store the data in cbits (char array). { speex_bits_read_from(&bits, cbits, retvalue); //retvalue is 38 speex_decode(dec_state, &bits, output); //where output is float array for(int k=0;k<FRAME_SIZE;k++) out[k] = output[k]; //out is a char array PostThreadMessage( WM_PLAYSOUND_PLAYBLOCK, FRAME_SIZE, (LPARAM)out ); } What is the internet t...
2017 Jul 07
3
[PATCH v3 0/3] gobject: Remove gtk-doc.
Another test, the same as before.
2017 Jul 07
3
[PATCH v4 0/3] gobject: Remove gtk-doc (RHBZ#1465665).
Best of .. 4?
2017 Jul 07
3
[PATCH v5 0/3] gobject: Remove gtk-doc (RHBZ#1465665).
After enabling procmail debugging ...
2017 Jul 07
3
[PATCH v2 0/3] Remove gtk-doc.
This is a repost so I can test my procmail script / automatic testing framework. The patch series is identical to v1. Rich.
2017 Jun 29
3
[PATCH 0/3] gobject: Remove gtk-doc and replace with guestfs-gobject(3) manual page.
Patch 1 cleans up the gobject tests. Patches 2 and 3 remote gtk-doc, which is slow and useless, and replace it with a simple manual page. https://bugzilla.redhat.com/show_bug.cgi?id=1465665 Rich.
2006 Nov 02
1
Integrating speex with VideoNet application: Constantbackground noise
...zation function, I've initialized the speex_decoder. speex_bits_init(&bits); dec_state = speex_decoder_init(&speex_nb_mode); In the receiver's socket function, it reads from socket and store the data in cbits (char array). { speex_bits_read_from(&bits, cbits, retvalue); //retvalue is 38 speex_decode(dec_state, &bits, output); //where output is float array for(int k=0;k<FRAME_SIZE;k++) out[k] = output[k]; //out is a char array PostThreadMessage( WM_PLAYSOUND_PLAYBLOCK, FRAME_SIZE, (LPARAM)out ); } What is...
2006 Oct 30
0
Integrating speex with VideoNet application: Constant background noise
...#39;s initialization function, I've initialized the speex_decoder. speex_bits_init(&bits); dec_state = speex_decoder_init(&speex_nb_mode); In the receiver's socket function, it reads from socket and store the data in cbits (char array). { speex_bits_read_from(&bits, cbits, retvalue); //retvalue is 38 speex_decode(dec_state, &bits, output); //where output is float array for(int k=0;k<FRAME_SIZE;k++) out[k] = output[k]; //out is a char array PostThreadMessage( WM_PLAYSOUND_PLAYBLOCK, FRAME_SIZE, (LPARAM)out ); } _______________________...
2009 Feb 13
1
Add columns to data frame automatically
Hello fellows: I've een trying to set up a function that performs 100 loops producing the coresponding 100 series. I want to save all those datasets in a dataframe, so I wrote this... prep <- function() # Clase[1]/Categoria[2]/Phi[3]/Rf[4] peso <- c(.0,.03,.3,.6) # Extension del calculo for (i in 1:100) { # Calculos de todas las curvas # Variables (Valor Base) abase
2017 Jul 07
0
[PATCH v6 3/3] gobject: Add outline guestfs-gobject(3) manual page.
...t;, L<guestfs-golang(3)>, L<guestfs-java(3)>, L<guestfs-lua(3)>, diff --git a/gobject/Makefile.am b/gobject/Makefile.am index 677d7a3d2..ddedd5b51 100644 --- a/gobject/Makefile.am +++ b/gobject/Makefile.am @@ -31,6 +31,7 @@ EXTRA_DIST = \ TODO.txt \ .gitignore \ bindtests-retvalues.js \ + guestfs-gobject.pod \ tests-misc.js \ run-tests \ run-tests-retvalues \ @@ -88,6 +89,8 @@ gir_DATA = $(INTROSPECTION_GIRS) typelibdir = $(libdir)/girepository-1.0 typelib_DATA = $(INTROSPECTION_GIRS:.gir=.typelib) +# Tests. + TESTS = \ run-tests \ run-tests-retvalues @@ -103,...
2005 Feb 03
0
Kernel panic when using wrr qd
...he queue because the algorithm should handle it pretty well. If an packet does not fit the queue it gets dropped and also the whole communication afterwards till the queue gets freed. And as we know the queue is controlled by the Qdisc structure and it''s mechanisms and not the WRR if ((retvalue=qdisc->enqueue(skb, qdisc)) == ENQUEUE_SUCCESS) { // Successfull sch->stats.packets++; ... if(retvalue!=ENQUEUE_SUCCESS) { // Packet not enqued: sch->stats.drops++; It does not look that the queue could "fill up". Can somebody help (the problem is interrestin...
2006 Nov 05
1
Integrating speex with VideoNet application: Constantbackground noise
...ction, I've initialized the speex_decoder. speex_bits_init(&bits); dec_state = speex_decoder_init(&speex_nb_mode); In the receiver's socket function, it reads from socket and store the data in cbits (char array). { speex_bits_read_from(&bits, cbits, retvalue); //retvalue is 38 speex_decode(dec_state, &bits, output); //where output is float array for(int k=0;k<FRAME_SIZE;k++) out[k] = output[k]; //out is a char array PostThreadMessage( WM_PLAYSOUND_PLAYBLOCK, FRAME_SIZE, (LPARAM)out ); }...
2006 Dec 24
1
Integrating speex with VideoNet application: Constantbackground noise
...ction, I've initialized the speex_decoder. speex_bits_init(&bits); dec_state = speex_decoder_init(&speex_nb_mode); In the receiver's socket function, it reads from socket and store the data in cbits (char array). { speex_bits_read_from(&bits, cbits, retvalue); //retvalue is 38 speex_decode(dec_state, &bits, output); //where output is float array for(int k=0;k<FRAME_SIZE;k++) out[k] = output[k]; //out is a char array PostThreadMessage( WM_PLAYSOUND_PLAYBLOCK, FRAME_SIZE, (LPARAM)out ); }...
2017 Jul 31
3
[PATCH] build: require ocaml-hivex for the daemon
Since commit d5b6f1df5ff2d387a5dfc89b8316c0dff67ce2c9, the daemon requires ocaml-hivex; OTOH, nothing checks it is actually available, so the build of the daemon will fail with a semi-cryptic error about the lack of a directory in the OCaml install prefix. As fix, check for the presence of the hivex module at build time, failing earlier if not present. The check is performed only when the daemon
2017 Jul 31
0
check-release FAILED (was: Re: [PATCH 1/1] New partition API: part_resize)
...| 2 +- daemon/ntfs.c | 4 +- daemon/parted.c | 31 + docs/guestfs-building.pod | 6 +- generator/actions_core.ml | 22 + generator/proc_nr.ml | 1 + gobject/run-live-tests | 2 +- gobject/run-tests | 2 +- gobject/run-tests-retvalues | 2 +- lib/MAX_PROC_NR | 2 +- m4/guestfs_ocaml.m4 | 8 + po-docs/cs.po | 2570 ++++++++++++++++++++-------------------- po-docs/de.po | 2570 ++++++++++++++++++++-------------------- po-docs/en_GB.po | 2707 +++++++++++++++++++++...
2017 Jul 29
5
[PATCH 1/1] New partition API: part_resize
This can be used to enlarge or shrink an existing partition. --- daemon/parted.c | 31 +++++++++++++++++++++++++++++++ generator/actions_core.ml | 22 ++++++++++++++++++++++ generator/proc_nr.ml | 1 + lib/MAX_PROC_NR | 2 +- 4 files changed, 55 insertions(+), 1 deletion(-) diff --git a/daemon/parted.c b/daemon/parted.c index 72e1b8420..f1205cadf 100644 ---