Beyond Function-Level Search: Repository-Aware Dual-Encoder Code Retrieval with Adversarial Verification