search for: bsearches

Displaying 20 results from an estimated 85 matches for "bsearches".

Did you mean: searches
2007 Mar 15
5
[PATCH 0/5] fix gcc warnings in CVS HEAD
Hi, I have rewritten the patches I submitted earlier today for the CVS HEAD. Some of the changes were already committed months ago. On 2007/03/15 12:30, Timo Sirainen <tss at iki.fi> wrote: > That's ok, but I'm not sure about bsearch_insert_pos(). It's the way it > is mostly because I wanted to keep bsearch() API. If it can't return > void * then maybe it could be
2016 Jan 11
2
RFC: Extend UBSan with qsort checks
...: * using comparison function that violates ordering axioms (reflexivity, symmetry, transitivity) * returning unstable results from comparison function * passing unsorted array to bsearch * etc. Errors like this will usually result in slightly invalid output (not fully sorted arrays, rare failed bsearches, etc.) but may as well cause aborts on some systems (https://bugzilla.samba.org/show_bug.cgi?id=3959). I've recently developed a simple proof-of-concept tool SortChecker (https://github.com/yugr/sortcheck) which intercepts calls to qsort and friends (via LD_PRELOAD) and performs various san...
2016 Jan 12
4
RFC: Extend UBSan with qsort checks
...(reflexivity, >> symmetry, transitivity) >> * returning unstable results from comparison function >> * passing unsorted array to bsearch >> * etc. >> >> Errors like this will usually result in slightly invalid output (not >> fully sorted arrays, rare failed bsearches, etc.) but may as well cause >> aborts on some systems (https://bugzilla.samba.org/show_bug.cgi?id=3959). >> >> I've recently developed a simple proof-of-concept tool SortChecker ( >> https://github.com/yugr/sortcheck) which intercepts calls to qsort and >> friends...
2009 Dec 10
1
Compile problem on AIX with dovecot 1.2 rev 10449:a164075ea33a
+ exec /usr/vac/bin/xlc -g -qarch=pwr5x -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/lib -I../../src/lib-test -I../../src/lib-mail -q64 -c -M mail-index-transaction.c -DPIC "../../src/lib/bsearch-insert-pos.h", line 39.9: 1506-236 (W) Macro name array_bsearch has been redefined. "../../src/lib/bsearch-insert-pos.h", line 39.9: 1506-358 (I) "array_bsearch" is defined on
2016 Jan 13
2
RFC: Extend UBSan with qsort checks
...gt;>>> * returning unstable results from comparison function >>>> * passing unsorted array to bsearch >>>> * etc. >>>> >>>> Errors like this will usually result in slightly invalid output (not >>>> fully sorted arrays, rare failed bsearches, etc.) but may as well cause >>>> aborts on some systems (https://bugzilla.samba.org/show_bug.cgi?id=3959 >>>> ). >>>> >>>> I've recently developed a simple proof-of-concept tool SortChecker ( >>>> https://github.com/yugr/sortcheck) wh...
2019 Aug 12
2
Re: [PATCH libnbd 1/7] api: Add semi-private function for freeing persistent data.
On 8/12/19 11:08 AM, Richard W.M. Jones wrote: > This adds a C-only semi-private function for freeing various types of > persistent data passed to libnbd. > > There are some similarities with nbd_add_close_callback which we > removed in commit 7f191b150b52ed50098976309a6af883d245fc56. > --- > +=head1 FREE CALLBACKS > + > +B<Note:> The API described in this
2016 Jan 13
2
RFC: Extend UBSan with qsort checks
...ults from comparison function >>>>>> * passing unsorted array to bsearch >>>>>> * etc. >>>>>> >>>>>> Errors like this will usually result in slightly invalid output (not >>>>>> fully sorted arrays, rare failed bsearches, etc.) but may as well cause >>>>>> aborts on some systems ( >>>>>> https://bugzilla.samba.org/show_bug.cgi?id=3959 >>>>>> ). >>>>>> >>>>>> I've recently developed a simple proof-of-concept tool SortChecke...
2016 Jan 14
2
RFC: Extend UBSan with qsort checks
...t;>>>>> * passing unsorted array to bsearch >>>>>>>> * etc. >>>>>>>> >>>>>>>> Errors like this will usually result in slightly invalid output (not >>>>>>>> fully sorted arrays, rare failed bsearches, etc.) but may as well >>>>>>>> cause >>>>>>>> aborts on some systems ( >>>>>>>> https://bugzilla.samba.org/show_bug.cgi?id=3959 >>>>>>>> ). >>>>>>>> >>>>>>>&...
2019 Aug 12
0
Re: [PATCH libnbd 1/7] api: Add semi-private function for freeing persistent data.
On Mon, Aug 12, 2019 at 11:29:10AM -0500, Eric Blake wrote: > On 8/12/19 11:08 AM, Richard W.M. Jones wrote: > > + typedef void (*nbd_free_callback) (void *ptr, void *user_data); > > + int nbd_add_free_callback (struct nbd_handle *h, > > + void *ptr, > > + nbd_free_callback cb, > > +
2001 Jul 01
1
Compile error in x86 Solaris
Hello, I got these errors during compile wine-20010629 in x86 Solaris make[2]: Leaving directory `/d1/wine-20010629/miscemu' gcc -o wine miscemu/miscemu.o -L./dlls -lntdll -L./library -lwine -L./unicode -lwine_unicode -lsocket -lnsl -lm make[1]: Entering directory `/d1/wine-20010629/debugger' gcc -c -I. -I. -I../include -I../include -g -O2 -Wall -mpreferred-stack-boundary=2 -fPIC
2020 Apr 19
0
[PATCH nbdkit 2/2] Add insert function and use the new vector library in several places.
This extends the vector library with an insert function. It is more expensive than appending, but this does not affect existing code using vector and can be used in new places without making those uses more expensive. We use this function in nbdkit-extentlist-filter, nbdkit-eval-plugin and the sparse library. This is refactoring, so should not affect functionality at all. However during the
2019 Aug 12
2
Re: [PATCH libnbd 1/7] api: Add semi-private function for freeing persistent data.
On 8/12/19 1:13 PM, Richard W.M. Jones wrote: > On Mon, Aug 12, 2019 at 11:29:10AM -0500, Eric Blake wrote: >> On 8/12/19 11:08 AM, Richard W.M. Jones wrote: >>> + typedef void (*nbd_free_callback) (void *ptr, void *user_data); >>> + int nbd_add_free_callback (struct nbd_handle *h, >>> + void *ptr, >>> +
2007 Sep 13
1
chartr better
For example, the following changes are necessary when i convert a Japanese hiragana into katakana in chattr. R code: > chartr("\u3041-\u3093","\u30a1-\u30f3","\u3084\u3063\u305f\u30fc") --- R-alpha.orig/src/main/character.c 2007-09-05 07:13:27.000000000 +0900 +++ R-alpha/src/main/character.c 2007-09-13 16:10:21.000000000 +0900 @@ -2041,6 +2041,16 @@
2016 Jan 14
2
RFC: Extend UBSan with qsort checks
...t;>>>>>> * etc. >>>>>>>>>> >>>>>>>>>> Errors like this will usually result in slightly invalid output >>>>>>>>>> (not >>>>>>>>>> fully sorted arrays, rare failed bsearches, etc.) but may as well >>>>>>>>>> cause >>>>>>>>>> aborts on some systems ( >>>>>>>>>> https://bugzilla.samba.org/show_bug.cgi?id=3959 >>>>>>>>>> ). >>>>>>>&g...
2008 Sep 10
1
Xen-3.3 Etch amd64 compil error
Hello user-list, Here is my pb : I have a brand new debian Etch with all updates installed on a DELL PE SC430 with a Pentium D 930 (3Ghz, Intel-VT, EMT64) I''ve downloaded xen-3.3 and tried to install with /*"The Perfect Xen 3.1.0 Setup For Debian Etch" */howto. But when i run the the "make world" I have an error with the studbom compilation : /Dans le fichier
2012 Nov 13
0
older gcc don't know --as-needed
Hi, I have to build dovecot-2.1.10 for SuSE SLES9. /bin/sh ../../libtool --tag=CC --mode=link gcc -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -no-undefined -Wl,--as-needed -o test-lib test_lib-test-lib.o test_lib-test-array.o test_lib-test-aqueue.o test_lib-test-base64.o
2020 Apr 19
2
[PATCH nbdkit 1/2] vddk: Use new vector library to allocate the argv list.
--- plugins/vddk/vddk.c | 41 +++++++++++++++++++++++++---------------- TODO | 1 - 2 files changed, 25 insertions(+), 17 deletions(-) diff --git a/plugins/vddk/vddk.c b/plugins/vddk/vddk.c index 87c0d146..d1a3015f 100644 --- a/plugins/vddk/vddk.c +++ b/plugins/vddk/vddk.c @@ -51,6 +51,7 @@ #include "isaligned.h" #include "minmax.h" #include
2007 Mar 15
1
[PATCH] fix gcc warnings in 1.0rc26
Hi, I have made a small patchset to fix some of the GCC warnings. With these patches, I was able to compile dovecot r_1_0_rc26 with the following options: -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast Wstrict-prototypes -Wredundant-decls -Wcast-align -Wwrite-strings Wpacked -Winline -Wdisabled-optimization
2015 Feb 04
1
[PATCH v3 18/18] vhost: vhost_scsi_handle_vq() should just use copy_from_user()
From: Al Viro <viro at zeniv.linux.org.uk> it has just verified that it asks no more than the length of the first segment of iovec. And with that the last user of stuff in lib/iovec.c is gone. RIP. Cc: Michael S. Tsirkin <mst at redhat.com> Cc: Nicholas A. Bellinger <nab at linux-iscsi.org> Cc: kvm at vger.kernel.org Cc: virtualization at lists.linux-foundation.org
2015 Feb 04
1
[PATCH v3 18/18] vhost: vhost_scsi_handle_vq() should just use copy_from_user()
From: Al Viro <viro at zeniv.linux.org.uk> it has just verified that it asks no more than the length of the first segment of iovec. And with that the last user of stuff in lib/iovec.c is gone. RIP. Cc: Michael S. Tsirkin <mst at redhat.com> Cc: Nicholas A. Bellinger <nab at linux-iscsi.org> Cc: kvm at vger.kernel.org Cc: virtualization at lists.linux-foundation.org