Nuclear pairing gaps of normally deformed and superdeformed nuclei are investigated using the particle-number-conserving (PNC) formalism for the cranked shell model, in which the blocking effects are treated exactly. Both rotational frequency $\ensuremath{\omega}$ dependence and seniority (number of unpaired particles) $\ensuremath{\nu}$ dependence of the pairing gap $\mathrm{\ensuremath{\Delta}\ifmmode \tilde{}\else \~{}\fi{}}$ are investigated. For the ground-state bands of even-even nuclei, PNC calculations show that, in general, $\mathrm{\ensuremath{\Delta}\ifmmode \tilde{}\else \~{}\fi{}}$ decreases with increasing $\ensuremath{\omega}$, but the $\ensuremath{\omega}$ dependence is much weaker than that calculated by the number-projected Hartree-Fock-Bogolyubov approach. For the multiquasiparticle bands (seniority $\ensuremath{\nu}>2$), the pairing gaps stay almost $\ensuremath{\omega}$ independent. As a function of the seniority $\ensuremath{\nu}$, the bandhead pairing gaps $\mathrm{\ensuremath{\Delta}\ifmmode \tilde{}\else \~{}\fi{}}(\ensuremath{\nu},\ensuremath{\omega}=0)$ decrease slowly with increasing $\ensuremath{\nu}$. Even for the highest seniority $\ensuremath{\nu}$ bands identified so far, $\mathrm{\ensuremath{\Delta}\ifmmode \tilde{}\else \~{}\fi{}}(\ensuremath{\nu},\ensuremath{\omega}=0)$ remains greater than $70%$ of $\mathrm{\ensuremath{\Delta}\ifmmode \tilde{}\else \~{}\fi{}}(\ensuremath{\nu}=0,\ensuremath{\omega}=0)$.