INNER CODE UNIT · Python

endpoint_index

cvet/fonline · BuildTools/android_device.py:180

		endpoint_index = -1
		for index in range(len(tokens) - 1, -1, -1):
			token = tokens[index].rstrip(',;')
			if ':' not in token:
				continue
			host_part, _, port_part = token.rpartition(':')
			if host_part and port_part.isdigit():
				endpoint = token
				endpoint_index = index
				break

		if not endpoint:
			continue

		endpoint = normalize_endpoint(endpoint)
		if endpoint in seen:
			continue
		seen.add(endpoint)

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…