What is the maximum notch that can be placed at the end of a ceiling joist?

What is the maximum notch that can be placed at the end of a ceiling joist?