similar to: About de Bruijn sequences in bitmath.h

Displaying 20 results from an estimated 200 matches similar to: "About de Bruijn sequences in bitmath.h"

2013 Sep 04
4
PATCH: bugfixes for bitmath.h
More or less detailed explanation of this patch. 1. The first parameter of _BitScanReverse() and _BitScanReverse64() is a pointer to unsigned long (4-byte int). However _BitScanReverse64() is called with a pointer to FLAC__uint64 (8-byte int). IMHO it's a bug and this patch changes the type of idx variable inside FLAC__bitmath_ilog2_wide() from FLAC__uint64 to unsigned long. The type of idx
2014 Feb 01
1
PATCH for bitmath.h
FLAC__bitmath_ilog2_wide() function is still problematic: 1) it cannot be compiled with MSVS 2) it returns correct results only when compiles with GNUC 3) it mentions LGPL which isn't good for a BSD-licensed library Here's the patch that should fix these issues. (about LGPL -> CC0 change: http://lists.xiph.org/pipermail/flac-dev/2013-September/004356.html ) -------------- next part
2013 Sep 08
0
PATCH: bugfixes for bitmath.h
lvqcl wrote: > More or less detailed explanation of this patch. I've applied part of that patch. > 1. The first parameter of _BitScanReverse() and _BitScanReverse64() is > a pointer to unsigned long (4-byte int). On windows, yes, unsigned long is 4 bytes for both 32 and 64 bit versions. This is not true for most Unices. > However _BitScanReverse64() is called with a pointer to
2012 Mar 24
1
Double And average a vector
Dear all, I am reading with R some measurements vectors from an external device. The length of each vector (containing numbers) is not constant. I would like by doubling the numbers of elements I select to shrink the vector to a new one Let's call the vector I read from the device as oldvector and the shrinked version of it as newVersion I want to have newVersion[1]<-
2012 Mar 29
4
[GIT PULL] Assorted bugfixes and improvements (from openSUSE)
The following changes since commit b78d8e4db10e57b8d82bb82e4e3662d5dedd7255: FLAC__bitmath_ilog2,FLAC__bitmath_ilog2_wide,COUNT_ZERO_MSBS: add gcc specific optimizations (2012-03-28 15:43:48 -0300) are available in the git repository at: git://github.com/crrodriguez/flac.git master for you to fetch changes up to 3a060556772c5d6a6464afddfda7c3ad2f93a306: Remove winamp2 plugin.
2002 Jul 20
3
Vorbis 1.0 spec notes, part 1
I have undertaken a small project of writing a Vorbis decoder completely from the spec, with the goal of catching any errors, both typographically and algorithmically, in the spec. My "reference" decoder is also being written in an extremely methodical style, with practically no algorithmic optimization, such that it will be clear that every step has been copied exactly from the spec.
2012 May 09
1
[PATCH 2/2] bitmath: Finish up optimizations
This patch adds support for other compilers and systems including MSVC, Intel C compiler etc.. --- src/libFLAC/bitmath.c | 48 ------------- src/libFLAC/bitreader.c | 54 ++------------- src/libFLAC/include/private/bitmath.h | 120 ++++++++++++++++++++++++++++++--- 3 files changed, 116 insertions(+), 106 deletions(-) diff --git a/src/libFLAC/bitmath.c
2013 Oct 29
2
creating an ubuntu package of version 4.1.0
Hi, to build an ubuntu-package of samba4.1.0, I'm using a slightly modified debian package-configuration from a previous version. I created a quilt-patch (attached to this email) that sets the DISABLE_NTDB var again, to solve dependency problems. It's compiling nicely now, but I still get this linker-error: default/source3/lib/util_58.o: In function `str_checksum':
2012 Mar 10
2
Window on a vector
Dear all, I have a large vector (lets call it myVector) and I want to plot its value with the logic below yaxis<-myVector[1] yaxis<-c(xaxis,mean(myvector[2:3]) yaxis<-c(xaxis,mean(myvector[4:8]) yaxis<c(xaxis,mean(myvector[9:16]) yaxis<c(xaxis,mean(myvector[17:32]) this has to stop when the new ..... yaxis<c(xaxis,mean(myvector[1024:2048]) will not find the correspondent number
2002 Nov 07
4
Preferable contrasts?
Dear all, I'm working with Cox-regression, because data could be censored. But in this particular case not. Now I have a simple example: PRO and PRE are (0,1) coded. The response is not normal distributed. We are interested in a model which could describe interaction. But my results are depending strongly in the choose of the contrast option. It is clear that there is some dependence in
2005 Aug 31
7
VoipBuster with astersisk?
Hi, all Here is a something I found on the web: http://www.voipbuster.com And it works OK too. Now, I want to use it via asterisk, so I ccan use my normal phones instead of PC application. Did anyone try to connect astersisk and VoipBuster? Thanks, Rudolf
2019 Nov 19
2
Samba building is broken when some libraries are specified to be built-in to binaries !
I try to build Samba 4.10.10 at Ubuntu 18.04 on x86_64 platform as at armv7l archtectures from sources. I need build replace,winbind-client,wbclientto binaries For that I specify *--builtin-libraries=replace,winbind-client,wbclien*t,ccan,samba-cluster-support at configure But in the case I get time to time, the following errors: *=error1 =* Compiling source4/dsdb/samdb/ldb_modules/objectguid.c
2013 Jun 24
2
qemu images
ccan i boot images created by kvm with memdisc?
2013 Jun 24
2
qemu images
ah i meen that so i can boot e.g windows xp? let's say i install a xp image with kvm and booting it with memdisk will it work? how about drivers? On 2013-06-24 20:40, H. Peter Anvin wrote: > On 06/24/2013 09:00 AM, mattias wrote: >> ccan i boot images created by kvm with memdisc? > Boot, yes. In the *general case* they will not run, however, as you > need a driver to detect and
2012 Feb 19
2
installing the package Rcplex
Dear All,   I have difficulty in installing the package of Rcplex. Its description web is at http://cran.r-project.org/web/packages/Rcplex/index.html   First, I tried -------------------------------------------------------------------------------------------------- url <- "http://cran.r-project.org/src/contrib/Rcplex_0.3-0.tar.gz"; download.file(url, basename(url),
2019 Nov 21
1
Samba building is broken when some libraries are specified to be built-in to binaries !
Ok. But to the time in a short term period is there is way to make building successfull ? May be some temporal solution ? One more, I need to build-in to binaries: libreplace,libwinbind-client,libwbclien, that is replace,winbind-client,wbclient "targets" while building all regarding configure options specified below: --prefix=/usr \ --enable-fhs \
2013 Jun 24
2
qemu images
On Jun 24, 2013 3:28 PM, "H. Peter Anvin" <hpa at zytor.com> wrote: > > Not unless you explicitly force the OS to include a driver. http://www.syslinux.org/wiki/index.php/MEMDISK#-_Drivers_that_detect_the_MEMDISK_mapped_floppy.2Fdisk.2FISO_image > mattias <mj at mjw.se> wrote: > > >ah i meen that > >so i can boot e.g windows xp? > >let's
2010 Jun 14
4
Live Stream Encoding
Hi There, i want to stream some pictures out of my application using the Theora codec. I can stream to a socket or a file. The current work based on the png2theora example. Something while enconding went wrong: I can see the whole video in VLC, but the complete duration of the file will not be displayed. If i play the video in Firefox, the first 2 seconds will not be played. I think the
2011 Apr 18
3
CELT grabbing 100KB of memory right off the top
Is there a particular reason why CELT grabs 100KB of stack immediately? Is that really required or can that be trimmed down some/a lot? -a
2016 Apr 15
2
Debian Wheezy member server from backports to self compile
Hello, I'm unable to update my Samba from 4.1.17 to 4.4.2. I'm looking to build from tar instead. From what I gather the following should be the steps taken. ./configure --without-ad-dc -- sbindir= /usr/sbin --sysconfdir=/etc/samba/ --/usr/share/man/ make make install Am I missing something else? Thanks. -- -James