similar to: Can crc32() assume to be available at the C level?

Displaying 20 results from an estimated 10000 matches similar to: "Can crc32() assume to be available at the C level?"

2003 May 27
1
[RESEND] crc32 optimization
Hi Samba I noticed that the crc32 function in lib/crc32.c is somewhat inefficient. This little patch will reduce the inner loop from 10 instructions to 8 instructions on x86 with gcc. gcc can't figure out this simple optimization by itself on x86. Further optimization is possible by using the impl. in the linux 2.5 kernel, but I don't know if it is worth it. Is crc32 common in samba?
2008 Jan 06
1
Is crc32 adequate to detect real-life data corruption in filesystem's blocks?
What about multiple errors detection with crc32? Is it work? Thanks.
2011 May 26
0
[LLVMdev] x86 SSE4.2 CRC32 intrinsics renamed
FYI, The CRC64 intrinsics were renamed to CRC32 since there is no such thing. See below for details. Chad On May 26, 2011, at 4:13 PM, Chad Rosier wrote: > Author: mcrosier > Date: Thu May 26 18:13:19 2011 > New Revision: 132163 > > URL: http://llvm.org/viewvc/llvm-project?rev=132163&view=rev > Log: > Renamed llvm.x86.sse42.crc32 intrinsics; crc64 doesn't exist.
2000 Aug 15
0
crc32() clashes with zlib function of the same name
OpenSSH defines a function crc32(), and so does the zlib library. This is at best confusing (since they are different functions with different prototypes), and at worst a source of crashes. I found this problem getting OpenSSH up and running on Darwin, which turned out to be calling the wrong function. My bandaid was to include ``-Dcrc32=crcsum32'' in CFLAGS. The proper fix would be
2003 Jul 22
2
read.table with option dec=',' (PR#3532)
Full_Name: Antoine Lucas Version: 1.7.0 (2003-04-16) OS: Linux Submission from: (NULL) (193.51.197.253) I have a problem using read.table: If in a dataframe, we have a string containing a dot, write.table will not write any file while using option "dec=','". Example > m <- "1.5" > write.table(m,dec=',') Error in if (n%%nrowv == 0) value <-
2019 Feb 06
2
[PATCH] Remove unused since ssh1 protocol removal crc32.[ch]
A non-text attachment was scrubbed... Name: 0001-Remove-unused-since-ssh1-protocol-removal-crc32.-ch.patch Type: text/x-patch Size: 20097 bytes Desc: not available URL: <http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20190206/ca9d8d10/attachment-0001.bin>
2017 Sep 07
2
Strange SASL issue
2017-09-07 15:04 GMT+02:00 Sami Ketola <sami.ketola at dovecot.fi>: > > > On 7 Sep 2017, at 16.03, Antoine Nguyen <ngu.antoine at gmail.com> wrote: > > > > 2017-09-07 14:29 GMT+02:00 Aki Tuomi <aki.tuomi at dovecot.fi>: > > > >> > >> > >> On 07.09.2017 15:26, Antoine Nguyen wrote: > >>> Hi all, > >>>
2020 Aug 28
2
utils::isS3stdGeneric chokes on primitives and identity
Trace adds something to the body of the function, so it does make sense that it doesn't. Whether traced functions still technically meet the definition of standard s3 generic or not is, I suppose, up for debate, but I would say that they should, I think. As before, if desired I can work on a patch for this if desired, or someone on R-core can just take care of it if that is easier. Best, ~G
2020 Aug 26
2
trace creates object in base namespace if called on function argument
Please note that this is documented in ?trace. "fun" is matched to what, it is a _name_ of the function to be traced, which is traced in the top-level environment. I don't know why it was designed this way, but it is documented in detail, and hence the expected behavior. Debugging is often, and also in R, implemented in the core. Tracing is implemented on top without specific
2019 Jun 08
2
Kernel Image CRC checking
On 6/7/19 10:25 PM, H. Peter Anvin via Syslinux wrote: >> >> However, the CRC polynomial for zlib and the Linux kernel should both be the >> same: 0x04c11db7. > > I just double-checked, and the CRC tables are indeed identical. I was pretty > sure, because I wrote that code a long time ago... > Ah, it seems that zlib's CRC32 returns the binary inverse of the
2019 Jun 08
2
Kernel Image CRC checking
On 6/7/19 10:48 PM, H. Peter Anvin via Syslinux wrote: > On 6/7/19 10:34 PM, H. Peter Anvin via Syslinux wrote: >> On 6/7/19 10:25 PM, H. Peter Anvin via Syslinux wrote: >>>> >>>> However, the CRC polynomial for zlib and the Linux kernel should both be the >>>> same: 0x04c11db7. >>> >>> I just double-checked, and the CRC tables are
2015 Apr 27
2
upcoming libshout beta/snapshot
On 2015-04-26 18:15, Philipp Schafft wrote: > I tested with both Mozilla's 'Modern' and 'Intermediate' list. Both > work well with all versions of Icecast (official) as well as current -kh. > In that case my suggestion is for libshout to only focus on using the Modern list then as it explicitly excludes DES and RC4 and MD5. While HMAC-MD5 (for some password uses)
2004 Aug 18
6
Report of collision-generation with MD5
Just got a pointer to this via ACM "TechNews Alert" for today: http://www.acm.org/technews/articles/2004-6/0818w.html#item2 Seems that "... French computer scientist Antoine Joux reported on Aug. 12 his discovery of a flaw in the MD5 algorithm, which is often used with digital signatures...." There's more in the article cited above. Peace, david -- David H. Wolfskill
2015 Jul 04
4
[LLVMdev] LLVM parsers for popular languages? - Python, Rust, Go
Thanks, happy to of confirmed. With that in mind, will use the AST modules provided by the languages (with the exception of libclang for C++). Antoine: Am aware of Numba, nice job there BTW. So is there a [decoupled] LLVM parser which I can use to read Python files and analyse objects (including computing their attributes in OO and setattr scenarios)? On Wed, Jul 1, 2015 at 10:23 PM, Antoine
2017 Sep 07
2
Strange SASL issue
2017-09-07 14:29 GMT+02:00 Aki Tuomi <aki.tuomi at dovecot.fi>: > > > On 07.09.2017 15:26, Antoine Nguyen wrote: > > Hi all, > > > > I've just upgraded my server from debian 8 to debian 9 and I now > encounter > > a strange issue. I'm using prosody (XMPP server), configured to > > authenticate against dovecot using SASL and a unix socket.
2005 Nov 04
2
R-2.2.0 Compile problem on Slackware 10.2
Hello, I am trying to compile R-2.2.0 on Slackware 10.2. I did ./configure --prefix=/usr --build=i486-slackware-linux. It went off without any problem and gave this configure status: R is now configured for i486-slackware-linux-gnu Source directory: . Installation directory: /usr C compiler: gcc -g -O2 C++ compiler: g++ -g -O2 Fortran
2020 Aug 20
2
utils::isS3stdGeneric chokes on primitives and identity
>>>>> Gabriel Becker writes: > I added that so I can look at the proposed fix and put it or something > similar in bugzilla for review final review. > Apologies for the oversight. Fixed now with - while(as.character(bdexpr[[1L]]) == "{") + while(is.call(bdexpr) && (as.character(bdexpr[[1L]]) == "{")) (the suggested fix does not work on
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--;) {
2008 Sep 19
3
Giving a domU direct access to a NIC
Hello, I am experimenting with Snort and other IDS and I would like to use Xen for these tests. This would require me to use port mirroring to sent a bunch of packets to a NIC located on my Xen machine. I don''t really know how Xen networking works, but is it possible to give a domU direct access to a NIC ? Or at least give it enough access so that it can see packets that are not for the
2002 Oct 24
3
Function scale (PR#2209)
I found a problem with scale function, while using center=FALSE and scale=TRUE: all column are not divided by standard error, but divided by sqrt (1/(n-1) sum Xi^2 ) Example: > l<- c(1,2,3) > scale(l,F,T) [,1] [1,] 0.3779645 [2,] 0.7559289 [3,] 1.1338934 attr(,"scaled:scale") [1] 2.645751 2.645751 = sqrt( 1/2 * (1+4+9) ) Antoine Lucas & Aymeric Labourdette