stage2 ai重构
This commit is contained in:
1 parent
4c0317fcb5
commit
2c531f23de
26 files changed
+1251
-1578
No files matched your search
+2
-1
@@ -13,8 +13,9 @@ static inline usize spl_hash_mix(usize h, usize x) {
|
||||
}
|
||||
|
||||
static inline usize spl_hash_mix_str(usize h, const char *s) {
|
||||
if (!s)
|
||||
if (!s) {
|
||||
return spl_hash_mix(h, 0);
|
||||
}
|
||||
while (*s) {
|
||||
h = spl_hash_mix(h, (usize)(unsigned char)*s);
|
||||
s++;
|
||||
|
||||
File renamed without changes.
Reference in new issue
Block a user