Statistical Inference For Change Points In High-Dimensional Offline And Online Data