After a made shot, the clock doesn't start until the ball is touched in bounds. If the shot is in the air before the buzzer it counts.
So the other team could have thrown the ball the length of the court, and the other team caught the pass and shot immediately. If it was a home game for the other team, the one second could probably last 2 or 3 seconds, depending on the scorekeepers "reflexes" ;)