s_lookupLocale
global · storm
- Address
0x866520· 2 bytes, up to0x866521- Type
uint16_t- Meaning
- Holds the locale a name lookup asks for, 0; only unreached code writes it
- Confidence
- verified, proof two
- Finding
- storm/format#hash-lookup
Finding: Hash lookup in storm: the archive format
The probe starts at slot hash0 & (count − 1) and walks forward with wrap, to the first free slot or back to its
start. A slot matches when its two name hashes equal A and B and its block index is not 0xfffffffe. A slot whose
locale and platform equal the requested ones (both 0 here) ends the probe at once. Otherwise a slot with locale 0 or
the requested locale, and platform 0 or the requested one, becomes the candidate, and a later such slot replaces
it. The result is the exact match, else the last candidate, else a miss.
The derivation is in the doc.