/aosp_15_r20/external/python/setuptools/setuptools/tests/config/ |
D | test_setupcfg.py | 10 from setuptools.dist import Distribution, _Distribution 62 dist = Distribution(kwargs_initial) 63 dist.script_name = 'setup.py' 64 parse and dist.parse_config_files() 66 yield dist 137 with get_dist(tmpdir, meta_initial) as dist: 138 metadata = dist.metadata 164 with get_dist(tmpdir) as dist: 165 metadata = dist.metadata 181 with get_dist(tmpdir) as dist: [all …]
|
/aosp_15_r20/external/zopfli/src/zopfli/ |
H A D | symbols.h | 37 /* Gets the amount of extra bits for the given dist, cfr. the DEFLATE spec. */ 38 static int ZopfliGetDistExtraBits(int dist) { in ZopfliGetDistExtraBits() argument 40 if (dist < 5) return 0; in ZopfliGetDistExtraBits() 41 return (31 ^ __builtin_clz(dist - 1)) - 1; /* log2(dist - 1) - 1 */ in ZopfliGetDistExtraBits() 43 if (dist < 5) return 0; in ZopfliGetDistExtraBits() 44 else if (dist < 9) return 1; in ZopfliGetDistExtraBits() 45 else if (dist < 17) return 2; in ZopfliGetDistExtraBits() 46 else if (dist < 33) return 3; in ZopfliGetDistExtraBits() 47 else if (dist < 65) return 4; in ZopfliGetDistExtraBits() 48 else if (dist < 129) return 5; in ZopfliGetDistExtraBits() [all …]
|
/aosp_15_r20/external/pytorch/test/distributed/ |
H A D | test_c10d_common.py | 18 import torch.distributed as dist namespace 21 if not dist.is_available(): 82 dist.init_process_group( 94 dist.destroy_process_group() 141 barrier_store = dist.FileStore(f.name) 143 barrier_store = dist.TCPStore( 151 barrier_store = dist.HashStore() 389 return dist.FileStore(self.file_name, self.world_size) 872 self, state: object, bucket: dist.GradBucket 1049 result, per_bucket_size_limits = dist._compute_bucket_assignment_by_size( [all …]
|
H A D | test_multi_threaded_pg.py | 12 import torch.distributed as dist namespace 16 if not dist.is_available(): 34 val = 99 if dist.get_rank() == 0 else None 35 object_list = [val] * dist.get_world_size() 37 dist.broadcast_object_list(object_list=object_list) 43 input_tensor = torch.ones(3, 3) * dist.get_rank() # perform 1st all gather 45 torch.empty_like(input_tensor) for _ in range(dist.get_world_size()) 47 dist.all_gather(output_tensors, input_tensor) 49 if dist.get_rank() == 0: 52 dist.all_gather(output_tensors, input_tensor) # perform 2nd all gather [all …]
|
/aosp_15_r20/external/tensorflow/tensorflow/python/kernel_tests/distributions/ |
H A D | bernoulli_test.py | 60 dist = bernoulli.Bernoulli(probs=p) 61 self.assertAllClose(p, self.evaluate(dist.probs)) 66 dist = bernoulli.Bernoulli(logits=logits) 67 self.assertAllClose(logits, self.evaluate(dist.logits)) 72 self.assertAllClose(special.expit(logits), self.evaluate(dist.probs)) 75 dist = bernoulli.Bernoulli(probs=p) 76 self.assertAllClose(special.logit(p), self.evaluate(dist.logits)) 83 dist = bernoulli.Bernoulli(probs=p, validate_args=True) 84 self.evaluate(dist.probs) 89 dist = bernoulli.Bernoulli(probs=p, validate_args=True) [all …]
|
H A D | categorical_test.py | 47 dist = categorical.Categorical(probs=p) 49 self.assertAllClose(p, dist.probs) 50 self.assertAllEqual([2], dist.logits.get_shape()) 56 dist = categorical.Categorical(logits=logits) 58 self.assertAllEqual([2], dist.probs.get_shape()) 59 self.assertAllEqual([2], dist.logits.get_shape()) 60 self.assertAllClose(dist.probs, p) 61 self.assertAllClose(dist.logits, logits) 67 dist = make_categorical(batch_shape, 10) 68 self.assertAllEqual(batch_shape, dist.batch_shape) [all …]
|
H A D | dirichlet_multinomial_test.py | 40 dist = ds.DirichletMultinomial(1., alpha) 41 self.assertEqual(3, dist.event_shape_tensor().eval()) 42 self.assertAllEqual([], dist.batch_shape_tensor()) 43 self.assertEqual(tensor_shape.TensorShape([3]), dist.event_shape) 44 self.assertEqual(tensor_shape.TensorShape([]), dist.batch_shape) 51 dist = ds.DirichletMultinomial(n, alpha) 52 self.assertEqual(2, dist.event_shape_tensor().eval()) 53 self.assertAllEqual([3, 2], dist.batch_shape_tensor()) 54 self.assertEqual(tensor_shape.TensorShape([2]), dist.event_shape) 55 self.assertEqual(tensor_shape.TensorShape([3, 2]), dist.batch_shape) [all …]
|
/aosp_15_r20/external/tensorflow/tensorflow/python/distribute/ |
H A D | distribute_lib_test.py | 134 dist = _TestStrategy() 137 unbound_test_method(test_case, dist) 139 with dist.scope(): 140 unbound_test_method(test_case, dist) 147 unbound_test_method(test_case, dist) 155 dist = _TestStrategy() 163 self.assertIs(dist, ds_context.get_strategy()) 171 dist.extended.call_for_each_replica(run_fn) 172 with dist.scope(): 173 dist.extended.call_for_each_replica(run_fn) [all …]
|
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/algorithm/test/ |
D | find_backward_test.cpp | 68 const dist_t<std::vector<int> > dist(v1); in test_find_backward() local 73 dist(ba::find_backward(v1.begin(), v1.end(), 0)), v1.size()); in test_find_backward() 75 dist(ba::find_backward(v1.begin(), v1.end(), 100)), v1.size()); in test_find_backward() 77 dist(ba::find_backward(v1.begin(), v1.end(), v1.back())), in test_find_backward() 80 dist(ba::find_backward(v1.begin(), v1.end(), v1.front())), 0); in test_find_backward() 82 BOOST_CHECK_EQUAL(dist(ba::find_backward(v1, 0)), v1.size()); in test_find_backward() 83 BOOST_CHECK_EQUAL(dist(ba::find_backward(v1, 100)), v1.size()); in test_find_backward() 85 dist(ba::find_backward(v1, v1.back())), v1.size() - 1); in test_find_backward() 86 BOOST_CHECK_EQUAL(dist(ba::find_backward(v1, v1.front())), 0); in test_find_backward() 92 const dist_t<std::list<int> > dist(l1); in test_find_backward() local [all …]
|
/aosp_15_r20/external/bazelbuild-rules_python/examples/wheel/ |
H A D | wheel_test.py | 80 "example_minimal_library-0.0.1.dist-info/WHEEL", 81 "example_minimal_library-0.0.1.dist-info/METADATA", 82 "example_minimal_library-0.0.1.dist-info/RECORD", 102 "example_minimal_package-0.0.1.dist-info/WHEEL", 103 "example_minimal_package-0.0.1.dist-info/METADATA", 104 "example_minimal_package-0.0.1.dist-info/RECORD", 124 "example_customized-0.0.1.dist-info/WHEEL", 125 "example_customized-0.0.1.dist-info/METADATA", 126 "example_customized-0.0.1.dist-info/entry_points.txt", 127 "example_customized-0.0.1.dist-info/NOTICE", [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/lib/python3.11/site-packages/setuptools/config/ |
D | pyprojecttoml.py | 20 from setuptools.dist import Distribution # noqa 55 dist: "Distribution", 62 config = read_configuration(filepath, True, ignore_option_errors, dist) 63 return _apply(dist, config, filepath) 70 dist: Optional["Distribution"] = None, 115 if dist and getattr(dist, "include_package_data") is not None: 116 setuptools_table.setdefault("include-package-data", dist.include_package_data) 129 if _skip_bad_config(project_table, orig_setuptools_table, dist): 140 return expand_configuration(asdict, root_dir, ignore_option_errors, dist) 146 project_cfg: dict, setuptools_cfg: dict, dist: Optional["Distribution"] [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/lib/python3.11/site-packages/setuptools/config/ |
D | pyprojecttoml.py | 20 from setuptools.dist import Distribution # noqa 55 dist: "Distribution", 62 config = read_configuration(filepath, True, ignore_option_errors, dist) 63 return _apply(dist, config, filepath) 70 dist: Optional["Distribution"] = None, 115 if dist and getattr(dist, "include_package_data") is not None: 116 setuptools_table.setdefault("include-package-data", dist.include_package_data) 129 if _skip_bad_config(project_table, orig_setuptools_table, dist): 140 return expand_configuration(asdict, root_dir, ignore_option_errors, dist) 146 project_cfg: dict, setuptools_cfg: dict, dist: Optional["Distribution"] [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/lib/python3.11/site-packages/setuptools/config/ |
D | pyprojecttoml.py | 20 from setuptools.dist import Distribution # noqa 55 dist: "Distribution", 62 config = read_configuration(filepath, True, ignore_option_errors, dist) 63 return _apply(dist, config, filepath) 70 dist: Optional["Distribution"] = None, 115 if dist and getattr(dist, "include_package_data") is not None: 116 setuptools_table.setdefault("include-package-data", dist.include_package_data) 129 if _skip_bad_config(project_table, orig_setuptools_table, dist): 140 return expand_configuration(asdict, root_dir, ignore_option_errors, dist) 146 project_cfg: dict, setuptools_cfg: dict, dist: Optional["Distribution"] [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/lib/python3.11/site-packages/setuptools/config/ |
D | pyprojecttoml.py | 20 from setuptools.dist import Distribution # noqa 55 dist: "Distribution", 62 config = read_configuration(filepath, True, ignore_option_errors, dist) 63 return _apply(dist, config, filepath) 70 dist: Optional["Distribution"] = None, 115 if dist and getattr(dist, "include_package_data") is not None: 116 setuptools_table.setdefault("include-package-data", dist.include_package_data) 129 if _skip_bad_config(project_table, orig_setuptools_table, dist): 140 return expand_configuration(asdict, root_dir, ignore_option_errors, dist) 146 project_cfg: dict, setuptools_cfg: dict, dist: Optional["Distribution"] [all …]
|
/aosp_15_r20/external/pytorch/torch/testing/_internal/distributed/ |
H A D | distributed_test.py | 22 import torch.distributed as dist namespace 155 dist.Backend.NCCL, 156 dist.Backend.GLOO, 157 dist.Backend.MPI, 158 dist.Backend.UCC, 163 dist.Backend.GLOO, 164 dist.Backend.MPI, 165 dist.Backend.NCCL, 166 dist.Backend.UCC, 171 dist.Backend.MPI, [all …]
|
/aosp_15_r20/external/python/cpython2/Lib/distutils/tests/ |
D | test_dist.py | 3 """Tests for distutils.dist.""" 11 from distutils.dist import Distribution, fix_help_options 13 import distutils.dist 77 distutils.dist.DEBUG = True 84 distutils.dist.DEBUG = False 138 dist = klass(attrs={'author': u'Mister Café', 147 dist.metadata.write_pkg_file(open(my_file, 'w')) 150 dist = klass(attrs={'author': 'Mister Cafe', 157 dist.metadata.write_pkg_file(open(my_file2, 'w')) 171 dist = Distribution(attrs={'author': 'xxx', 'name': 'xxx', [all …]
|
/aosp_15_r20/external/python/cpython3/Lib/distutils/tests/ |
D | test_dist.py | 1 """Tests for distutils.dist.""" 11 from distutils.dist import Distribution, fix_help_options 183 dist = Distribution(attrs={'author': 'xxx', 'name': 'xxx', 188 self.assertNotIn('options', dir(dist)) 194 dist = Distribution(attrs=attrs) 195 dist.finalize_options() 198 self.assertEqual(dist.metadata.platforms, ['one', 'two']) 199 self.assertEqual(dist.metadata.keywords, ['one', 'two']) 203 dist = Distribution(attrs=attrs) 204 dist.finalize_options() [all …]
|
/aosp_15_r20/prebuilts/build-tools/common/py3-stdlib/distutils/tests/ |
H A D | test_dist.py | 1 """Tests for distutils.dist.""" 11 from distutils.dist import Distribution, fix_help_options 183 dist = Distribution(attrs={'author': 'xxx', 'name': 'xxx', 188 self.assertNotIn('options', dir(dist)) 194 dist = Distribution(attrs=attrs) 195 dist.finalize_options() 198 self.assertEqual(dist.metadata.platforms, ['one', 'two']) 199 self.assertEqual(dist.metadata.keywords, ['one', 'two']) 203 dist = Distribution(attrs=attrs) 204 dist.finalize_options() [all …]
|
/aosp_15_r20/external/python/cpython2/Doc/library/ |
D | tix.rst | 37 `Tix Man Pages <http://tix.sourceforge.net/dist/current/man/>`_ 40 `Tix Programming Guide <http://tix.sourceforge.net/dist/current/docs/tix-book/tix.book.html>`_ 91 `Tix <http://tix.sourceforge.net/dist/current/man/html/TixCmd/TixIntro.htm>`_ 106 <http://tix.sourceforge.net/dist/current/man/html/TixCmd/tixBalloon.htm>`_ that 112 .. \ulink{Balloon}{http://tix.sourceforge.net/dist/current/demos/samples/Balloon.tcl} 118 <http://tix.sourceforge.net/dist/current/man/html/TixCmd/tixButtonBox.htm>`_ 122 .. \ulink{ButtonBox}{http://tix.sourceforge.net/dist/current/demos/samples/BtnBox.tcl} 128 <http://tix.sourceforge.net/dist/current/man/html/TixCmd/tixComboBox.htm>`_ 134 .. \ulink{ComboBox}{http://tix.sourceforge.net/dist/current/demos/samples/ComboBox.tcl} 140 <http://tix.sourceforge.net/dist/current/man/html/TixCmd/tixControl.htm>`_ [all …]
|
/aosp_15_r20/external/python/cpython3/Doc/library/ |
D | tkinter.tix.rst | 40 `Tix Man Pages <https://tix.sourceforge.net/dist/current/man/>`_ 43 `Tix Programming Guide <https://tix.sourceforge.net/dist/current/docs/tix-book/tix.book.html>`_ 83 `Tix <https://tix.sourceforge.net/dist/current/man/html/TixCmd/TixIntro.htm>`_ 94 <https://tix.sourceforge.net/dist/current/man/html/TixCmd/tixBalloon.htm>`_ that 100 .. \ulink{Balloon}{https://tix.sourceforge.net/dist/current/demos/samples/Balloon.tcl} 106 <https://tix.sourceforge.net/dist/current/man/html/TixCmd/tixButtonBox.htm>`_ 110 .. \ulink{ButtonBox}{https://tix.sourceforge.net/dist/current/demos/samples/BtnBox.tcl} 116 <https://tix.sourceforge.net/dist/current/man/html/TixCmd/tixComboBox.htm>`_ 122 .. \ulink{ComboBox}{https://tix.sourceforge.net/dist/current/demos/samples/ComboBox.tcl} 128 <https://tix.sourceforge.net/dist/current/man/html/TixCmd/tixControl.htm>`_ [all …]
|
/aosp_15_r20/external/python/setuptools/setuptools/_distutils/tests/ |
D | test_dist.py | 1 """Tests for distutils.dist.""" 11 from distutils.dist import Distribution, fix_help_options 187 dist = Distribution(attrs={'author': 'xxx', 'name': 'xxx', 192 self.assertNotIn('options', dir(dist)) 198 dist = Distribution(attrs=attrs) 199 dist.finalize_options() 202 self.assertEqual(dist.metadata.platforms, ['one', 'two']) 203 self.assertEqual(dist.metadata.keywords, ['one', 'two']) 207 dist = Distribution(attrs=attrs) 208 dist.finalize_options() [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/lib/python3.11/site-packages/setuptools-65.5.0.dist-info/ |
D | METADATA | 24 Requires-Dist: sphinx (>=3.5) ; extra == 'docs' 25 Requires-Dist: jaraco.packaging (>=9) ; extra == 'docs' 26 Requires-Dist: rst.linker (>=1.9) ; extra == 'docs' 27 Requires-Dist: furo ; extra == 'docs' 28 Requires-Dist: jaraco.tidelift (>=1.4) ; extra == 'docs' 29 Requires-Dist: pygments-github-lexers (==0.0.5) ; extra == 'docs' 30 Requires-Dist: sphinx-favicon ; extra == 'docs' 31 Requires-Dist: sphinx-inline-tabs ; extra == 'docs' 32 Requires-Dist: sphinx-reredirects ; extra == 'docs' 33 Requires-Dist: sphinxcontrib-towncrier ; extra == 'docs' [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/lib/python3.11/site-packages/setuptools-65.5.0.dist-info/ |
D | METADATA | 24 Requires-Dist: sphinx (>=3.5) ; extra == 'docs' 25 Requires-Dist: jaraco.packaging (>=9) ; extra == 'docs' 26 Requires-Dist: rst.linker (>=1.9) ; extra == 'docs' 27 Requires-Dist: furo ; extra == 'docs' 28 Requires-Dist: jaraco.tidelift (>=1.4) ; extra == 'docs' 29 Requires-Dist: pygments-github-lexers (==0.0.5) ; extra == 'docs' 30 Requires-Dist: sphinx-favicon ; extra == 'docs' 31 Requires-Dist: sphinx-inline-tabs ; extra == 'docs' 32 Requires-Dist: sphinx-reredirects ; extra == 'docs' 33 Requires-Dist: sphinxcontrib-towncrier ; extra == 'docs' [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/lib/python3.11/site-packages/setuptools-65.5.0.dist-info/ |
D | METADATA | 24 Requires-Dist: sphinx (>=3.5) ; extra == 'docs' 25 Requires-Dist: jaraco.packaging (>=9) ; extra == 'docs' 26 Requires-Dist: rst.linker (>=1.9) ; extra == 'docs' 27 Requires-Dist: furo ; extra == 'docs' 28 Requires-Dist: jaraco.tidelift (>=1.4) ; extra == 'docs' 29 Requires-Dist: pygments-github-lexers (==0.0.5) ; extra == 'docs' 30 Requires-Dist: sphinx-favicon ; extra == 'docs' 31 Requires-Dist: sphinx-inline-tabs ; extra == 'docs' 32 Requires-Dist: sphinx-reredirects ; extra == 'docs' 33 Requires-Dist: sphinxcontrib-towncrier ; extra == 'docs' [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/lib/python3.11/site-packages/setuptools-65.5.0.dist-info/ |
D | METADATA | 24 Requires-Dist: sphinx (>=3.5) ; extra == 'docs' 25 Requires-Dist: jaraco.packaging (>=9) ; extra == 'docs' 26 Requires-Dist: rst.linker (>=1.9) ; extra == 'docs' 27 Requires-Dist: furo ; extra == 'docs' 28 Requires-Dist: jaraco.tidelift (>=1.4) ; extra == 'docs' 29 Requires-Dist: pygments-github-lexers (==0.0.5) ; extra == 'docs' 30 Requires-Dist: sphinx-favicon ; extra == 'docs' 31 Requires-Dist: sphinx-inline-tabs ; extra == 'docs' 32 Requires-Dist: sphinx-reredirects ; extra == 'docs' 33 Requires-Dist: sphinxcontrib-towncrier ; extra == 'docs' [all …]
|