Home | History | Annotate | Download | only in cctest

Lines Matching full:hash

1411   // Ensure that the test starts with an fresh heap to test whether the hash
1415 int hash = obj->GetIdentityHash();
1417 CHECK_EQ(hash, hash1);
1419 // Since the identity hash is essentially a random number two consecutive
1420 // objects should not be assigned the same hash code. If the test below fails
1422 CHECK_NE(hash, hash2);
1425 // Make sure that the identity hash is not based on the initial address of
1428 CHECK_NE(hash, hash3);
1430 CHECK_EQ(hash, hash4);