Keysight Technologies posts stellar gains ahead of Q2 earnings.