Function report | 
Source Code:lib\test_hash.c | 
Create Date:2022-07-28 06:28:54 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:test_hash_init
Proto:static int __init test_hash_init(void)
Type:int
Parameter:Nothing
| 148 | tests = 0 | 
| 149 | h64 = 0 | 
| 152 | fill_buf(buf, Run time is cubic in SIZE , 1) | 
| 163 | If hashlen_len(hashlen) != j - i Then | 
| 164 | pr_err("hashlen_string(%d..%d) returned length %u, expected %d", i, j, hashlen_len(hashlen), j - i) | 
| 167 | Return -EINVAL | 
| 171 | pr_err("hashlen_string(%d..%d) = %08x != full_name_hash() = %08x", i, j, A hash_len is a u64 with the hash of a string in the low* half and the length in the high half.(hashlen), h0) | 
| 174 | Return -EINVAL | 
| 179 | If Not test_int_hash(h64, hash_or) Then Return -EINVAL | 
| 181 | tests++ | 
| 186 | If ~string_or Then | 
| 191 | If ~hash_or[0][0] Then | 
| 213 | Return -EINVAL | 
| 228 | pr_info("__hash_32() has no arch implementation to test.") | 
| 235 | pr_info("hash_32() has no arch implementation to test.") | 
| 242 | pr_info("hash_64() has no arch implementation to test.") | 
| 247 | Return 0 | 
| Source code conversion tool public plug-in interface  | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion  |