Lines Matching defs:hash
7 1. Unused: key == NULL and hash == 0
8 2. Dummy: key == dummy and hash == -1
9 3. Active: key != NULL and key != dummy and hash != -1
11 The hash field of Unused slots is always zero.
13 The hash field of Dummy slots are set to -1
15 either entry->key==dummy or by entry->hash==-1.
22 Py_hash_t hash; /* Cached hash code of the key */
28 - hash is -1
32 - hash is the hash of the frozenset or -1 if not computed yet.
54 Py_hash_t hash; /* Only used by frozenset objects */
66 PyAPI_FUNC(int) _PySet_NextEntry(PyObject *set, Py_ssize_t *pos, PyObject **key, Py_hash_t *hash);