From 6f9a9fb2faa61e7cbd3949ee4590967e0eb0dee8 Mon Sep 17 00:00:00 2001 From: Esun Kim Date: Fri, 9 Aug 2019 08:48:57 -0700 Subject: Rename MurmurHash2 to upb_murmur_hash2 --- tests/pb/test_decoder.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tests/pb') diff --git a/tests/pb/test_decoder.cc b/tests/pb/test_decoder.cc index fb69541..5cc59e4 100644 --- a/tests/pb/test_decoder.cc +++ b/tests/pb/test_decoder.cc @@ -447,12 +447,12 @@ upb::pb::DecoderPtr CreateDecoder(upb::Arena* arena, uint32_t Hash(const string& proto, const string* expected_output, size_t seam1, size_t seam2, bool may_skip) { - uint32_t hash = MurmurHash2(proto.c_str(), proto.size(), 0); + uint32_t hash = upb_murmur_hash2(proto.c_str(), proto.size(), 0); if (expected_output) - hash = MurmurHash2(expected_output->c_str(), expected_output->size(), hash); - hash = MurmurHash2(&seam1, sizeof(seam1), hash); - hash = MurmurHash2(&seam2, sizeof(seam2), hash); - hash = MurmurHash2(&may_skip, sizeof(may_skip), hash); + hash = upb_murmur_hash2(expected_output->c_str(), expected_output->size(), hash); + hash = upb_murmur_hash2(&seam1, sizeof(seam1), hash); + hash = upb_murmur_hash2(&seam2, sizeof(seam2), hash); + hash = upb_murmur_hash2(&may_skip, sizeof(may_skip), hash); return hash; } -- cgit v1.2.3