/external/python/portpicker/src/tests/ |
D | portpicker_test.py | 59 port = portpicker.pick_unused_port() 74 port = portpicker.pick_unused_port() 92 port = portpicker.pick_unused_port(portserver_address=addr) 185 self.assertEqual(portpicker.pick_unused_port(), 12345) 186 self.assertEqual(portpicker.pick_unused_port(), 23456) 188 self.assertEqual(portpicker.pick_unused_port(), 12345) 195 port = portpicker.pick_unused_port() 214 port = portpicker.pick_unused_port() 226 self.assertEqual(portpicker.pick_unused_port(), reserved_port) 227 self.assertNotEqual(portpicker.pick_unused_port(), reserved_port) [all …]
|
/external/tensorflow/tensorflow/python/distribute/experimental/rpc/ |
D | rpc_ops_test.py | 65 port = portpicker.pick_unused_port() 105 port = portpicker.pick_unused_port() 150 port = portpicker.pick_unused_port() 206 port = portpicker.pick_unused_port() 234 port = portpicker.pick_unused_port() 276 port = portpicker.pick_unused_port() 320 port = portpicker.pick_unused_port() 340 port = portpicker.pick_unused_port() 406 port = portpicker.pick_unused_port() 507 port = portpicker.pick_unused_port() [all …]
|
/external/tensorflow/tensorflow/python/data/experimental/service/ |
D | server_lib_test.py | 37 def pick_unused_port(): function 47 port = portpicker.pick_unused_port() 64 port = pick_unused_port() 101 port = pick_unused_port()
|
/external/tensorflow/tensorflow/python/distribute/ |
D | multi_worker_test_base.py | 53 pick_unused_port = test_util.pick_unused_port variable 69 worker_ports = [pick_unused_port() for _ in range(num_workers)] 70 ps_ports = [pick_unused_port() for _ in range(num_ps)] 78 cluster_dict['evaluator'] = ['localhost:%s' % pick_unused_port()] 80 cluster_dict[chief_name] = ['localhost:%s' % pick_unused_port()] 401 cluster_spec['chief'] = ['localhost:%s' % pick_unused_port()] 404 'localhost:%s' % pick_unused_port() for _ in range(num_workers) 408 'localhost:%s' % pick_unused_port() for _ in range(num_ps) 411 cluster_spec['evaluator'] = ['localhost:%s' % pick_unused_port()]
|
D | distribute_coordinator_test.py | 193 cluster_spec[CHIEF] = ["localhost:%s" % test_util.pick_unused_port()] 196 "localhost:%s" % test_util.pick_unused_port() 201 "localhost:%s" % test_util.pick_unused_port() for _ in range(num_ps) 204 cluster_spec[EVALUATOR] = ["localhost:%s" % test_util.pick_unused_port()]
|
D | parameter_server_strategy_v2_test.py | 657 "localhost:%d" % multi_worker_test_base.pick_unused_port() 675 chief_ports = [multi_worker_test_base.pick_unused_port() for _ in range(3)]
|
/external/tensorflow/tensorflow/python/profiler/ |
D | profiler_client_test.py | 29 test_port = portpicker.pick_unused_port() 40 test_port = portpicker.pick_unused_port()
|
/external/python/portpicker/ |
D | ChangeLog.md | 30 * Fix a race condition in `pick_unused_port()` involving the free ports set. 34 * Adds an optional `portserver_address` parameter to `pick_unused_port()` so 36 * `pick_unused_port()` now raises `NoFreePortFoundError` when no available
|
D | README.md | 10 This module provides a pure Python `pick_unused_port()` function. It can also be 21 Unless you are using a port server, subsequent calls to `pick_unused_port()` to 48 test_port = portpicker.pick_unused_port()
|
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/service/ |
D | multi_process_cluster.py | 86 port = test_util.pick_unused_port() 112 port=test_util.pick_unused_port(), 124 port=test_util.pick_unused_port(),
|
D | fault_tolerance_test.py | 177 dispatcher_port = portpicker.pick_unused_port()
|
/external/python/portpicker/src/ |
D | portpicker.py | 145 def pick_unused_port(pid=None, portserver_address=None): function 184 PickUnusedPort = pick_unused_port # legacy API. pylint: disable=invalid-name 328 port = pick_unused_port(pid=int(argv[1]) if len(argv) > 1 else None)
|
D | __init__.py | 145 def pick_unused_port(pid=None, portserver_address=None): function 184 PickUnusedPort = pick_unused_port # legacy API. pylint: disable=invalid-name 328 port = pick_unused_port(pid=int(argv[1]) if len(argv) > 1 else None)
|
/external/tensorflow/tensorflow/python/distribute/coordinator/ |
D | metric_utils_test.py | 40 'localhost:%d' % multi_worker_test_base.pick_unused_port()
|
D | fault_tolerance_test.py | 129 "localhost:%d" % multi_worker_test_base.pick_unused_port()
|
D | cluster_coordinator_test.py | 489 'localhost:%d' % test_util.pick_unused_port()
|
/external/python/mobly/mobly/ |
D | utils.py | 597 port = portpicker.pick_unused_port() 605 port = portpicker.pick_unused_port()
|
/external/tensorflow/tensorflow/python/profiler/integration_test/ |
D | profiler_api_test.py | 118 port = portpicker.pick_unused_port()
|
/external/tensorflow/tensorflow/compiler/xla/python/ |
D | xla_client_backend_independent_test.py | 136 port = portpicker.pick_unused_port()
|
/external/tensorflow/tensorflow/python/eager/ |
D | remote_test.py | 672 addr = 'localhost:%s' % portpicker.pick_unused_port() 680 addr = 'localhost:%s' % portpicker.pick_unused_port()
|
/external/python/apitools/apitools/base/protorpclite/ |
D | test_util.py | 619 def pick_unused_port(): function
|
/external/tensorflow/tensorflow/python/debug/lib/ |
D | grpc_debug_test_server.py | 394 server_port = portpicker.pick_unused_port()
|
/external/tensorflow/tensorflow/python/framework/ |
D | test_util.py | 3692 def pick_unused_port(): function 3700 port = portpicker.pick_unused_port() 3768 worker_ports = [pick_unused_port() for _ in range(num_workers)] 3769 ps_ports = [pick_unused_port() for _ in range(num_ps)]
|