The description for stinky cheeses say they give 20 energy, but eating one gives 40.
The game also allows you to eat more than you need to fill up your energy, and then says you gained some small amount of energy.
For example, I had 46 energy, with a max of 130. I ate 4 stinky cheeses. It maxed out and said I gained 14 energy.