Skip to content

Commit d69ac49

Browse files
committed
odb: format codeGenerator/helper.py
Signed-off-by: osamahammad21 <[email protected]>
1 parent 911f181 commit d69ac49

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/odb/src/codeGenerator/helper.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,11 +178,12 @@ def get_ref_type(type_name):
178178

179179
return type_name[6:-1] + "*"
180180

181+
181182
def fnv1a_32(string):
182183
FNV_prime = 0x01000193
183-
hash_value = 0x811c9dc5
184+
hash_value = 0x811C9DC5
184185
for c in string:
185186
hash_value ^= ord(c)
186187
hash_value = (hash_value * FNV_prime) % (1 << 32)
187188

188-
return hash_value
189+
return hash_value

0 commit comments

Comments
 (0)