Searched refs:rand_1 (Results 1 – 1 of 1) sorted by relevance
47 uintptr_t rand_1 = min_start + RandomUintptr() % (max_end - min_start + 1); in RandomMemRange() local50 if (rand_1 < rand_2) { in RandomMemRange()51 return panda::mem::MemRange(rand_1, rand_2); in RandomMemRange()52 } else if (rand_1 > rand_2) { in RandomMemRange()53 return panda::mem::MemRange(rand_2, rand_1); in RandomMemRange()55 if (rand_1 > 0) { in RandomMemRange()56 return panda::mem::MemRange(rand_1 - 1, rand_1); in RandomMemRange()58 return panda::mem::MemRange(rand_1, rand_1 + 1); in RandomMemRange()