similar to: crc32() clashes with zlib function of the same name

Displaying 20 results from an estimated 3000 matches similar to: "crc32() clashes with zlib function of the same name"

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?
2005 Mar 01
1
Can crc32() assume to be available at the C level?
Dear R-develers, Antoine Lucas suggested extending my small digest package (which provides md5 and sha-1 digests of R objects, which it are serialized if needed) with a crc32 function, and provided a fairly complete patch. We are now wondering if we should play it safe and bundle crc32.c (plus utils) in the digest sources (as I do with md5 and sha1), or if we can assume that crc32 is present on
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.
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.
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>
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
2019 Jun 09
0
Kernel Image CRC checking
H. Peter Anvin wrote: > 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. > >>> >
2019 Jun 08
0
Kernel Image CRC checking
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 indeed identical. I was pretty >> sure, because I wrote that code a long time
2005 Dec 08
2
[LLVMdev] Forwarded to llvm list ...
This was originally sent to Vikram Adve -- I have forwarded it to the list as per his suggestion ... Regards Mark O'Neill ---------- Forwarded message ---------- Date: Thu, 8 Dec 2005 11:51:40 +0000 (GMT) From: Mark ONeill <mao at raven.linux.ox.ac.uk> To: vadve at cs.uiuc.edu Cc: mflesner at cs.uiuc.edu Subject: LLVM help ... Dear Vikram I spoke to you quite a long time ago about
2001 Nov 29
4
openssh 2.9p2 release 8.7 security alert!!!
Hi, everyone: My system was compromised a few days ago. The cracker attacked the system through openssh 2.9p2 release 8.7. I attached part of the log file. Thanks. Pin Lu (pin at stredo.com) Nov 25 11:33:05 ns sshd[10627]: Disconnecting: Corrupted check bytes on input. Nov 25 11:33:36 ns named[10478]: Lame server on '55.254.58.211.in-addr.arpa' (in
2014 Aug 25
2
[LLVMdev] [cfe-dev] [3.5 Release] Release Candidate 3 Now Available
The ARM binaries seem to be corrupt. Although correctly signed, the xz file seems to be truncated arm7% unxz < clang+llvm-3.5.0-rc3-armv7a-linux-gnueabihf.tar.xz | wc -c unxz: (stdin): Unexpected end of input 133214381 M.E.O. On Aug 21, 2014, at 10:56 AM, Bill Wendling <isanbard at gmail.com> wrote: > Ahem. And now for the correct URL: > >
2019 Feb 19
0
[PATCH nbdkit 1/4] common: Move some GPT functionality to a common directory.
From: "Richard W.M. Jones" <rjones@redhat.com> Headers and code related to GUID Partition Tables are moved to a common directory to allow us to share that code across multiple plugins and filters in future. This change is pure refactoring. --- Makefile.am | 1 + common/gpt/Makefile.am | 42 +++++++++++ common/gpt/efi-crc32.c
2017 Jun 15
2
Function Inlining and undef / poison question
Nuno, One of your recent emails got me thinking about inlining. I say this function is always well defined, And it always executes statement S F(a) { If (a == a) S; } And that if this function is inlined it must still be well defined, And still always execute statement S But if I read your example correctly you feel that the result of inlining is undefined behavior because “if
2019 Jun 08
2
Kernel Image CRC checking
On 6/4/19 4:05 AM, Gene Cumm via Syslinux wrote: > On Sat, May 25, 2019 at 8:33 AM Johann Obermayr via Syslinux > <syslinux at syslinux.org> wrote: >> >> Hello, >> >> Is there a function to check a bzImage CRC ? >> >> If (ImageCRC("/bzImage") == -1) >> Load_kernel("/BACKUP/bzImage") or what else >>
2003 Feb 24
0
Compile errors on Solaris, early AIX and PAM platforms
Hi All. Damien merged a bunch of changes today which caused compile errors on a few platforms (which you can see live and in colour at [0]). a) Solaris, early AIX: ../crc32.c:100: `u_int32_t? undeclared (first use in this function) On these platforms u_int32_t is defined in defines.h which is not included by crc32.c. Fixed by attached patch. b) PAM platforms (Redhat, Solaris once a) is
2017 Oct 09
1
how to prevent files and directories from being deleted?
Mark Haney <mark.haney at neonova.net> writes: > On 10/04/2017 08:22 AM, Gary Stainburn wrote: >> On Wednesday 04 October 2017 12:54:44 Mark Haney wrote: >>> Sorry, but if you have to use packages that don't originate from CentOS >>> and they do that, then I wouldn't use them. Period.? I'd compile from >>> source before I used something
2008 Jan 30
2
[rfc] Package to access the internal zlib library.
To make R.matlab's readMat work for me[1] I needed access to zlib's uncompress function. R already links with zlib, and sometime last year I hobbled together a quick package to get at a few functions. It's my first package, so I would love feedback both on the package and its purpose. I've dropped a temporary copy at http://jriedy.users.sonic.net/internalzlib_0.1.tar.gz Could
2013 May 07
2
hiera not using non-root user custom fact
Hi, Before I begin, my environment consists of a standard master/client config with the exception that all my clients run under a non-root user. I have to use non-root so I can''t simply restart under root to fix the problem. Master -> 3.1.1 Client -> 2.7.17 using mostly the hiera() function in my classes. problem: I have run into an issue today where my custom fact is not
2017 Oct 04
0
how to prevent files and directories from being deleted?
On 10/04/2017 08:22 AM, Gary Stainburn wrote: > On Wednesday 04 October 2017 12:54:44 Mark Haney wrote: >> Sorry, but if you have to use packages that don't originate from CentOS >> and they do that, then I wouldn't use them. Period.? I'd compile from >> source before I used something configured that way. > This perspective to some extent employs cutting your