What is to set on one side in a pert or jaunty manner. They cocked their hats in each other's faces. Macaulay called?

cock — To set on one side in a pert or jaunty manner. They cocked their hats in each other's faces. Macaulay. (Webster's 1913.)

Sources