Hilbert–Kunz functions and multiplicities for full flag varieties and elliptic curves