Home | History | Annotate | Download | only in src

Lines Matching defs:Hash

2094   // in JSObjects. The hash code has a special value so that it will not match
2097 // hash code in place. The hash code for the hidden_symbol is zero to ensure
2211 int hash;
2214 hash = smi_get_hash(Smi::cast(number)) & mask;
2216 hash = double_get_hash(number->Number()) & mask;
2218 Object* key = number_string_cache()->get(hash * 2);
2220 return String::cast(number_string_cache()->get(hash * 2 + 1));
2224 return String::cast(number_string_cache()->get(hash * 2 + 1));
2231 int hash;
2234 hash = smi_get_hash(Smi::cast(number)) & mask;
2235 number_string_cache()->set(hash * 2, Smi::cast(number));
2237 hash = double_get_hash(number->Number()) & mask;
2238 number_string_cache()->set(hash * 2, number);
2240 number_string_cache()->set(hash * 2 + 1, string);
2415 // Numeric strings have a different hash algorithm not known by
3518 // Set length and hash fields of the allocated string.
5760 int KeyedLookupCache::Hash(Map* map, String* name) {
5764 return static_cast<uint32_t>((addr_hash ^ name->Hash()) & kCapacityMask);
5769 int index = Hash(map, name);
5781 int index = Hash(map, symbol);