Rename CK classes to AS classes

This commit is contained in:
Levi McCallum
2015-11-07 09:02:36 -06:00
committed by Levi McCallum
parent de66819286
commit a0c05ebffc
41 changed files with 252 additions and 1626 deletions

View File

@@ -0,0 +1,26 @@
/*
* Copyright (c) 2014-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*/
#import "ASEqualityHashHelpers.h"
#import <functional>
#import <objc/runtime.h>
#import <stdio.h>
#import <string>
NSUInteger CKIntegerArrayHash(const NSUInteger *subhashes, NSUInteger count)
{
uint64_t result = subhashes[0];
for (int ii = 1; ii < count; ++ii) {
result = CKHashCombine(result, subhashes[ii]);
}
return CKHash64ToNative(result);
}