To cock is to place the gun in position for firing.
Cocking is one of the steps in the cycle of operation.
Footnotes / Sources:
“Glossary ⇒.” Sporting Arms and Ammunition Manufacturers’ Institute. Ed. SAAMI’s Technical Committee. Web. 15-18 Jan. 2011.