Lines Matching refs:Hash
1 //===- Hash.cpp - PDB Hash Functions --------------------------------------===//
9 #include "llvm/DebugInfo/PDB/Native/Hash.h"
33 // Maximum of 3 bytes left. Hash a 2 byte word if possible, then hash the
57 uint32_t Hash = 0xb170a1bf;
65 Hash += Item;
66 Hash += (Hash << 10);
67 Hash ^= (Hash >> 6);
71 Hash += Item;
72 Hash += (Hash << 10);
73 Hash ^= (Hash >> 6);
76 return Hash * 1664525U + 1013904223U;