Uncertainty Awareness of Large Language Models Under Code Distribution Shifts: A Benchmark Study