Total code served is always more then your regular impressions. Because it is the number of times the Google Ad Manager ad server, AdSense, Ad Exchange, and third-party Mediation networks responded to a request for an ad. A code serve is not counted if the ad server response is empty.
For delayed-impression requests, the code served count value is generally more than the impressions value because code served count reflects Ad Manager responses regardless of whether a creative was actually rendered. For traditional display requests, pre-rendering creatives can also cause a discrepancy between code served count and impressions.