Home | History | Annotate | Download | only in src

Lines Matching refs:Hash

1609   // in JSObjects. The hash code has a special value so that it will not match
1612 // hash code in place. The hash code for the hidden_symbol is zero to ensure
1701 int hash;
1704 hash = smi_get_hash(Smi::cast(number)) & mask;
1706 hash = double_get_hash(number->Number()) & mask;
1708 Object* key = number_string_cache()->get(hash * 2);
1710 return String::cast(number_string_cache()->get(hash * 2 + 1));
1714 return String::cast(number_string_cache()->get(hash * 2 + 1));
1721 int hash;
1724 hash = smi_get_hash(Smi::cast(number)) & mask;
1725 number_string_cache()->set(hash * 2, Smi::cast(number));
1727 hash = double_get_hash(number->Number()) & mask;
1728 number_string_cache()->set(hash * 2, number);
1730 number_string_cache()->set(hash * 2 + 1, string);
1885 // Numeric strings have a different hash algorithm not known by
2768 // Set length and hash fields of the allocated string.
4110 int KeyedLookupCache::Hash(Map* map, String* name) {
4114 return static_cast<uint32_t>((addr_hash ^ name->Hash()) & kCapacityMask);
4119 int index = Hash(map, name);
4131 int index = Hash(map, symbol);