search for: crctabl

Displaying 17 results from an estimated 17 matches for "crctabl".

Did you mean: crctable
2018 Nov 23
1
How to concatenate Ogg in the browser JS?
I found how to build CRC32 table for Ogg in JS, if anyone interested: function _makeCRC32Table() { // From https://stackoverflow.com/questions/53438815/hot-to-build-crc32-table-for-ogg const polynomial = 79764919; const mask = 2147483648; const CRCTable = new Uint32Array(256); for (let i = 256; i--;) { let char = i << 24; for (let j = 8; j--;) { char = char & mask ? polynomial ^ char << 1 : char << 1; } CRCTable[i] = char; } return CRCTable; } 22.11.2018, 17:43, &quot...
2008 May 14
3
[LLVMdev] Help needed after hiatus
...e "Create". Now, a test case that previously succeeded fails. I run the following script: #!/bin/sh if [ 1 -ne 0 ] ; then echo -n "ellsif:" /usr/bin/time -f "real %e user %U sys %S" ../elsa/ellsif/ellsif -v -O0 -g -o ellbzip2 -D_FILE_OFFSET_BITS=64 $* bzip2.c crctable.c randtable.c compress.c blocksort.c huffman.c decompress.c bzlib.c if [ $? -ne 0 ] ; then exit $?; fi echo -n "1:"; /usr/bin/time -f "real %e user %U sys %S" ./ellbzip2 -1 < sample1.ref > sample1.rb2 echo -n "2:"; /usr/bin/time -f "real %e use...
2018 Nov 16
4
How to concatenate Ogg in the browser JS?
Please see the documentation: https://xiph.org/ogg/doc/framing.html I would encourage you to use random serial numbers, as intended, also, as any downstream consumers of your files will face limitations similar to the ones you are facing if they want to do anything more with them. But before you go too far down the route of changing the serial numbers, can you tell us what software is
2003 May 27
1
[RESEND] crc32 optimization
...samba? What would the typical buffer len be? Jocke Patch against 2_2_8 CVS: --- lib/crc32.c Sat Oct 20 23:23:35 2001 +++ lib/crc32.c.new Tue May 13 14:45:31 2003 @@ -60,7 +60,7 @@ uint32 crc=0xffffffff; int i; for(i=0;i<count;i++) - crc = (crc>>8) ^ CRCTable[(buffer[i] ^ crc) & 0xff]; + crc = CRCTable[(buffer[i] ^ crc) & 0xff] ^ (crc>>8); crc^=0xffffffff; DEBUG(10,("crc32_calc_buffer: %x\n", crc)); dump_data(100, buffer, count);
2005 Dec 26
1
Problem in installatin under Unix
...ed: R profiling Recommended packages: yes configure: WARNING: you cannot build info or html versions of the R manuals " Then I launched make but I get this error " making blocksort.d from blocksort.c making bzlib.d from bzlib.c making compress.d from compress.c making crctable.d from crctable.c making decompress.d from decompress.c making huffman.d from huffman.c making randtable.d from randtable.c make[4]: Leaving directory `/sw/master/R/R-2.1.0/src/extra/bzip2' make[4]: Entering directory `/sw/master/R/R-2.1.0/src/extra/bzip2' make[4]: *** No rule to make targ...
2011 Nov 01
1
[LLVMdev] llvm configuration error
...ee http://www.advogato.org/person/redi/diary/228.html. So now I have no problem of using clang to compile a trivial C program of 20 lines. When I tried to compile programs of spec2006, such as bzip2 or mcf, the following erros showed up. clang spec.o blocksort.o bzip2.o bzlib.o compress.o crctable.o decompress.o huffman.o randtable.o -o bzip2 blocksort.o: In function `gnu_dev_major': /usr/include/sys/sysmacros.h:44: multiple definition of `gnu_dev_major' spec.o:/usr/include/sys/sysmacros.h:44: first defined here blocksort.o: In function `gnu_dev_makedev': /usr/include/sys/sysm...
2018 Nov 22
0
How to concatenate Ogg in the browser JS?
...lding the table produces the same result. I think that generating the table is better than having hardcoded one - for security against the case when somebody accidentally change one character and this table will continue to work in 99% of cases. My current JS code for building table: function _makeCRCTable() { const CRCTable = new Uint32Array(256); for (let i = 256; i--;) { let char = i; for (let j = 8; j--;) { char = char & 1 ? 3988292384 ^ char >>> 1 : char >>> 1; } CRCTable[i] = char; } return CRCTable; } I need to...
2011 Oct 31
0
[LLVMdev] llvm configuration error
Are you saying this is this the first time you've tried to compile it on the cluster? It's easy to determine if g++ is installed and in the PATH - just get a console on the cluster and type "g++". However, AFAIK cluster nodes are not usually configured for software development, are they? Typically you build your code locally and then job it out to the cluster? Greg
2011 Oct 31
3
[LLVMdev] llvm configuration error
I've compiled llvm several times, but this is the first time I saw this error when I was trying to compile it in a cluster. checking tool compatibility... configure: error: g++|clang++|icc required but not found I am pretty sure g++ is installed and in the path. I then downloaded clang++ binary and set path. The error was still there. OS: opensuse 10.1 gcc, g++ version: 4.2.3 Any idea? Bo
2006 Nov 08
1
Building Problem
...' gmake[4]: Entering directory `/usr/local/R_HOME/R-2.4.0/src/extra/bzip2' gmake[4]: Leaving directory `/usr/local/R_HOME/R-2.4.0/src/extra/bzip2' gmake[4]: Entering directory `/usr/local/R_HOME/R-2.4.0/src/extra/bzip2' rm -f libbz2.a false cr libbz2.a blocksort.o bzlib.o compress.o crctable.o decompress.o huffman.o randtable.o gmake[4]: *** [libbz2.a] Error 1 gmake[4]: Leaving directory `/usr/local/R_HOME/R-2.4.0/src/extra/bzip2' gmake[3]: *** [R] Error 2 gmake[3]: Leaving directory `/usr/local/R_HOME/R-2.4.0/src/extra/bzip2' gmake[2]: *** [R] Error 1 gmake[2]: Leaving direct...
2014 Apr 09
1
[LLVMdev] LLVM 3.4 performance regressed?
...arnings generated. clang -g -std=c89 -D_GNU_SOURCE -c -emit-llvm -c -o bzlib.o -DSPEC_CPU -DNDEBUG bzlib.c clang -g -std=c89 -D_GNU_SOURCE -c -emit-llvm -c -o compress.o -DSPEC_CPU -DNDEBUG compress.c clang -g -std=c89 -D_GNU_SOURCE -c -emit-llvm -c -o crctable.o -DSPEC_CPU -DNDEBUG crctable.c clang -g -std=c89 -D_GNU_SOURCE -c -emit-llvm -c -o decompress.o -DSPEC_CPU -DNDEBUG decompress.c clang -g -std=c89 -D_GNU_SOURCE -c -emit-llvm -c -o huffman.o -DSPEC_CPU -DNDEBUG huffman.c clang -g -...
2014 Apr 07
4
[LLVMdev] LLVM 3.4 performance regressed?
Hi, It was suggested that I post my question regarding a LLVM 3.4 performance regression to this mailing list, rather than stackoverflow. So here is the link: https://stackoverflow.com/questions/22902034/llvm-3-4-performance-regressed Thanks :) Jens -- Jens Tröger http://savage.light-speed.de/
2007 Jan 31
1
Problems installing R-2.4.1 on Solaris 11 x-86 from source: error in "gmake" after successful "configure"
...2.4.1/src/extra/bzip2' gmake[4]: Entering directory `/usr/local/R-2.4.1/src/extra/bzip2' gmake[4]: Leaving directory `/usr/local/R-2.4.1/src/extra/bzip2' gmake[4]: Entering directory `/usr/local/R-2.4.1/src/extra/bzip2' rm -f libbz2.a false cr libbz2.a blocksort.o bzlib.o compress.o crctable.o decompress.o huffman.o randtable.o gmake[4]: *** [libbz2.a] Error 1 gmake[4]: Leaving directory `/usr/local/R-2.4.1/src/extra/bzip2' gmake[3]: *** [R] Error 2 gmake[3]: Leaving directory `/usr/local/R-2.4.1/src/extra/bzip2' gmake[2]: *** [R] Error 1 gmake[2]: Leaving directory `/usr/loc...
2006 May 18
0
R-devel and PGI 6.0 compile error
...me/mfa/gilp/toolchain/R/clusterPGI/R-devel/src/extra/bzip2' making blocksort.d from .../../../../../src/R-devel/src/extra/bzip2/blocksort.c making bzlib.d from ../../../../../src/R-devel/src/extra/bzip2/bzlib.c making compress.d from ../../../../../src/R-devel/src/extra/bzip2/compress.c making crctable.d from ../../../../../src/R-devel/src/extra/bzip2/crctable.c making decompress.d from .../../../../../src/R-devel/src/extra/bzip2/decompress.cmaking huffman.d from ../../../../../src/R-devel/src/extra/bzip2/huffman.c making randtable.d from .../../../../../src/R-devel/src/extra/bzip2/randtable....
2007 May 01
10
Problem with the installation of "install R" on Sun Solaris
An embedded and charset-unspecified text was scrubbed... Name: config.txt Url: https://stat.ethz.ch/pipermail/r-help/attachments/20070501/bdf55878/attachment.txt
2008 Dec 22
1
Error compiling R.2.8.1 with gcc 4.4 on Mac OS 10.5.6
...done for `R'. make[1]: Nothing to be done for `R'. make[2]: Nothing to be done for `R'. creating src/scripts/R.fe mkdir ../../bin mkdir ../../include mkdir ../../../include/R_ext making bzlib.d from bzlib.c making bzcompress.d from bzcompress.c making blocksort.d from blocksort.c making crctable.d from crctable.c making decompress.d from decompress.c making huffman.d from huffman.c making randtable.d from randtable.c gcc -std=gnu99 -I. -I. -I../../../src/include -I../../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fPIC -g -O2 -c blocksort.c -o blocksort.o gcc -std=gnu99 -I. -I...
2008 Dec 29
0
Serial Correlation Test for Short Time Series
...done for `R'. make[1]: Nothing to be done for `R'. make[2]: Nothing to be done for `R'. creating src/scripts/R.fe mkdir ../../bin mkdir ../../include mkdir ../../../include/R_ext making bzlib.d from bzlib.c making bzcompress.d from bzcompress.c making blocksort.d from blocksort.c making crctable.d from crctable.c making decompress.d from decompress.c making huffman.d from huffman.c making randtable.d from randtable.c gcc -std=gnu99 -I. -I. -I../../../src/include -I../../../src/include -I/usr/local/include -DHAVE_CONFIG_H -fPIC -g -O2 -c blocksort.c -o blocksort.o gcc -std=gnu99 -I. -I...