I believe that in the NBA, if the ball doesn't cross half-court and the defending team fouls (instead of half-court trapping to force an 8 second violation or a turnover, for example) then the clock is reset to 24 seconds..
"Air is beautiful, yet you cannot see it. It's soft, yet you cannot touch it. Air is a little like my brain." - Jean-Claude Van Damme