search for: hash_combine_range

Displaying 6 results from an estimated 6 matches for "hash_combine_range".

2012 Feb 29
1
[LLVMdev] Proposed implementation of N3333 hashing interfaces for LLVM (and possible libc++)
...each > // user-defined type which wishes to be used within a hashing context. It > // should be overloaded within the user-defined type's namespace and found via > // ADL. Overloads for primitive types are provided by this library. > // > // -- 'hash_combine' and 'hash_combine_range' are functions designed to aid > // programmers in easily and intuitively combining a set of data into a single > // hash_code for their object. They should only logically be used within the > // implementation of a 'hash_value' routine or similar context. > // > // N...
2013 Apr 03
1
[LLVMdev] Compiler crashed while building LLVM
...no-missing-field-initializers -fmessage-length 191 -fno-rtti -fgnu-runtime -fdiagnostics-show-option -fcolor-diagnostics -o /tmp/cc-Odd6XP.s -x c++ APInt.cpp 1. <eof> parser at end of file 2. /home/llvm/include/llvm/ADT/Hashing.h:487:11: instantiating function definition 'llvm::hash_combine_range' 3. /home/llvm/include/llvm/ADT/Hashing.h:455:1: instantiating function definition 'llvm::hashing::detail::hash_combine_range_impl' clang: error: compiler command failed due to signal 11 (use -v to see invocation) make[1]: *** [/home/llvm/lib/Support/Release/APInt.o] Error 1 make[1...
2014 Jun 04
2
[LLVMdev] Lots of regtest failures on PPC64/Linux
...t; [ 1314s] [----------] 1 test from HashingTest > [ 1314s] [ RUN ] HashingTest.HashCombineBasicTest > [ 1314s] ../unittests/ADT/HashingTest.cpp:413: Failure > [ 1314s] Value of: hash_combine(bigarr[0], bigarr[1], l3) > [ 1314s] Actual: 5088237075164901046 > [ 1314s] Expected: hash_combine_range(bigarr, bigarr + 10) > [ 1314s] Which is: 16538947639308476466 > [ 1314s] [ FAILED ] HashingTest.HashCombineBasicTest (0 ms) > [ 1314s] [----------] 1 test from HashingTest (0 ms total) > [ 1314s] > [ 1314s] [----------] Global test environment tear-down > [ 1314s] [==========]...
2014 May 12
2
[LLVMdev] Lots of regtest failures on PPC64/Linux
----- Original Message ----- > From: "İsmail Dönmez" <ismail at donmez.ws> > To: "Hal Finkel" <hfinkel at anl.gov> > Cc: "LLVM Developers Mailing List" <llvmdev at cs.uiuc.edu> > Sent: Monday, May 12, 2014 7:18:48 AM > Subject: Re: Lots of regtest failures on PPC64/Linux > > > Hi Hal, > > > > > > On
2012 Feb 29
0
[LLVMdev] Proposed implementation of N3333 hashing interfaces for LLVM (and possible libc++)
Thanks for the feedback thus far! I've updated the header file, and enclosed a complete patch against LLVM. This passes all the regtests, and I'll be doing more thorough testing of LLVM itself with the patch. I've included some basic unit tests, but could probably do more here... Not sure it's worth delaying the initial submission though, as the best testing is to use a hash
2012 Feb 28
9
[LLVMdev] Proposed implementation of N3333 hashing interfaces for LLVM (and possible libc++)
Hello folks, TL;DR: This is my proposed hashing interface based on a proposed standard hashing interface. It also is implemented with a much faster and higher quality algorithm than the current one. This is an *early draft* of the code, looking for initial feedback. There has been recent interest in improving the quality and consistency of LLVM's approach to hashing. In particular, getting