Where Online Learning is simpler!
The C and C++ Include Header Files
/usr/include/python3.12/internal/pycore_pyhash.h
$ cat -n /usr/include/python3.12/internal/pycore_pyhash.h 1 #ifndef Py_INTERNAL_HASH_H 2 #define Py_INTERNAL_HASH_H 3 4 #ifndef Py_BUILD_CORE 5 # error "this header requires Py_BUILD_CORE define" 6 #endif 7 8 9 struct pyhash_runtime_state { 10 struct { 11 #ifndef MS_WINDOWS 12 int fd; 13 dev_t st_dev; 14 ino_t st_ino; 15 #else 16 // This is a placeholder so the struct isn't empty on Windows. 17 int _not_used; 18 #endif 19 } urandom_cache; 20 }; 21 22 #ifndef MS_WINDOWS 23 # define _py_urandom_cache_INIT \ 24 { \ 25 .fd = -1, \ 26 } 27 #else 28 # define _py_urandom_cache_INIT {0} 29 #endif 30 31 #define pyhash_state_INIT \ 32 { \ 33 .urandom_cache = _py_urandom_cache_INIT, \ 34 } 35 36 37 uint64_t _Py_KeyedHash(uint64_t, const char *, Py_ssize_t); 38 39 40 #endif // Py_INTERNAL_HASH_H
Contact us
|
About us
|
Term of use
|
Copyright © 2000-2025 MyWebUniversity.com ™