• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2012 Google Inc.
3  *
4  * Use of this source code is governed by a BSD-style license that can be
5  * found in the LICENSE file.
6  */
7 
8 /**
9  * Pass any calls through to the CityHash library.
10  * This is the only source file that accesses the CityHash code directly.
11  */
12 
13 #include "SkCityHash.h"
14 #include "SkTypes.h"
15 #include "city.h"
16 
Compute32(const char * data,size_t size)17 uint32_t SkCityHash::Compute32(const char *data, size_t size) {
18     return CityHash32(data, size);
19 }
20 
Compute64(const char * data,size_t size)21 uint64_t SkCityHash::Compute64(const char *data, size_t size) {
22     return CityHash64(data, size);
23 }
24