Kinetic Energy Evaluation Integral Evaluation Program
The equation for the Kinetic Energy matrix element that you quote is for two unnormalised 1s Gaussians. The d factors contain the normalisation factors and the contraction coefficients - look more carefully at the code, you have got it slightly wrong what the d's represent.

Talking of the code please, Please don't use that as a model for your own Fortran - that style is getting on for 50 years out of date!