Noting craving for food : Ven. Mahasi Saydaw tradition
It is not Mahasi noting, but the core of the Buddha's teaching: Dependent origination(D0) and others.

Depending on contact feeling arises, depending on feeling craving arises, depending on craving, clinging arises, depending on clinging becoming (this is when intention arises and action(kamma) begins.

The first point is contact, don't go near food when it is not meal time!
For your mindfulness is not strong enough yet!

When feeling, craving arises you still have the choice of breaking away from contact with the food (move physically or mentally away)for clinging to arise. All this comes from the very basic practice which the Buddha taught guarding the senses or sense door.

If you have strong attachment for food there is a practice recommended by the Buddha contemplation of the foulness of food, that the end product of eaten food is faeces. See food as also only the four great elements..and other insight practices to actually deal with the craving.