What does ball cock mean?

ball cock meaning in General Dictionary

floating basketball that manages amount in a water tank