search for: retvalues

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

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; }
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 some call instructions for value
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
I am attempting to write a FrontBase activerecord adaptor. I''m down to only two unit tests failing, and one of them is binary_test.rb. I can''t figure out the logic of binary to string conversion. Internally, I want the ''data'' attribute to be a String object identical to the contents of BINARY_FIXTURE_PATH = File.dirname(__FILE__) +
2006 Nov 01
1
Integrating speex with VideoNet application: Constant background noise
Hi, Can someone please help me with my problem below. Any suggestions is appreciated. thanks, Carine ----- Original Message ---- From: Carine Liang <carineliang@yahoo.com.sg> To: speex-dev@xiph.org; speex-dev@xiph.org Sent: Tuesday, 31 October 2006 1:05:49 PM Subject: [Speex-dev] Integrating speex with VideoNet application: Constant background noise Hi, I am developing a peer-to-peer
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
Hi John, Thanks for your reply. Yes, my output device is in 8-bit mode, same as my input mode. I'm actually working in char (8 bit) arrays. Is it necessary to work in signed short integers only? I changed all the short arrays in the example to char. Carine ----- Original Message ---- From: John Miles <jmiles@pop.net> To: carineliang@yahoo.com.sg; speex-dev@xiph.org Sent: Thursday,
2006 Oct 30
0
Integrating speex with VideoNet application: Constant background noise
Hi, I am developing a peer-to-peer video conference application which uses speex as a codec for the voice. I am new to speex, so please bear with me if I asked the obvious. After I added the encode and decode function to my MFC app, I heard a constant background noise, even when no one is speaking into the microphone. #define FRAME_SIZE 160 The application is coded in MFC C++. The record
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,3...
2005 Feb 03
0
Kernel panic when using wrr qd
For some time now im trying to get to know what causes such configuration of QOS (kernel 2.4.25-2.4.28 + IMQ patch and ofcourse wrr): -- WRR_MAX_CLASSES=200 DEV_IN=imq0 ifconfig $DEV_IN down ifconfig $DEV_IN up tc qdisc add dev ${DEV_IN} handle 1:0 root htb default 10 tc class add dev ${DEV_IN} parent 1:0 classid 1:10 htb rate 1000kbit burst 1kbit prio 1 tc qdisc add dev ${DEV_IN} parent 1:10
2006 Nov 05
1
Integrating speex with VideoNet application: Constantbackground noise
Hi, I've changed the m_waveFormatEx.wBitsPerSample for both record buffer and playSound buffer, changed my array from char to short and I'm still getting the same constant background noise. I notice that when I talk into the mike, I will get a slightly louder noise, can't hear any clear speech... Any idea what's wrong? Regards, Carine ----- Original Message ---- From: John Miles
2006 Dec 24
1
Integrating speex with VideoNet application: Constantbackground noise
Hi, I'm still unable to get rid of the background noise though I've changed the PCM samples to 16 bit. I'm began to wonder if I can just take the PCM samples and encode them. What my application tries to do is to record the voice from a microphone, encode it, send it via the socket to a peer, decode at the peer's side and play the voice. My application works fine without the
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 ---