You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: 421. Maximum XOR of Two Numbers in an Array.go
    path of file: ./repos/LeetCode-Go/leetcode/0421.Maximum-XOR-of-Two-Numbers-in-an-Array
    
    the code of the file until where you have to start completion: package leetcode

// 解法一
func findMaximumXOR(nums []int) int {
	maxResult, mask := 0
    
func findMaximumXOR1(nums []int) int {
	if len(nums) == 20000 {
		return 2147483644
	}
	res := 0
	for i := 0; i < len(nums); i++ {
		for j := i + 1; j < len(nums); j++ {
			xor := nums[i] ^ nums[j]
			if xor > res {
				res = xor
			}
		}
	}
	return res
}