It means you have to drink your whole glass (usually filled with beer or something like that) very fast without pauses.
sometimes used in kings (drinking game)
"It's an ace of spades"
"Aaah shit that means ad fundum"
"okey here we go"