cocaine is a stimulant and you would have to ingest a large quantity of that drug to overdose to the point of unconsciousness. What is more likely to happen if you take to much cocaine is a drug induced heart attack, a stroke, and those to medical conditions can cause one to become unconscious.
10 grams in 10 min