Home
last modified time | relevance | path

Searched refs:_components (Results 1 – 5 of 5) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_fractions.py110 def _components(r): function
132 self.assertEqual((0, 1), _components(F()))
133 self.assertEqual((7, 1), _components(F(7)))
134 self.assertEqual((7, 3), _components(F(F(7, 3))))
136 self.assertEqual((-1, 1), _components(F(-1, 1)))
137 self.assertEqual((-1, 1), _components(F(1, -1)))
138 self.assertEqual((1, 1), _components(F(-2, -2)))
139 self.assertEqual((1, 2), _components(F(5, 10)))
140 self.assertEqual((7, 15), _components(F(7, 15)))
141 self.assertEqual((10**23, 1), _components(F(10**23)))
[all …]
/external/python/cpython3/Lib/test/
Dtest_fractions.py109 def _components(r): function
131 self.assertEqual((0, 1), _components(F()))
132 self.assertEqual((7, 1), _components(F(7)))
133 self.assertEqual((7, 3), _components(F(F(7, 3))))
135 self.assertEqual((-1, 1), _components(F(-1, 1)))
136 self.assertEqual((-1, 1), _components(F(1, -1)))
137 self.assertEqual((1, 1), _components(F(-2, -2)))
138 self.assertEqual((1, 2), _components(F(5, 10)))
139 self.assertEqual((7, 15), _components(F(7, 15)))
140 self.assertEqual((10**23, 1), _components(F(10**23)))
[all …]
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawCreateInfoUtil.cpp62 const vk::VkComponentMapping& _components, in ImageViewCreateInfo() argument
71 components.r = _components.r; in ImageViewCreateInfo()
72 components.g = _components.g; in ImageViewCreateInfo()
73 components.b = _components.b; in ImageViewCreateInfo()
74 components.a = _components.a; in ImageViewCreateInfo()
82 const vk::VkComponentMapping& _components, in ImageViewCreateInfo() argument
91 components.r = _components.r; in ImageViewCreateInfo()
92 components.g = _components.g; in ImageViewCreateInfo()
93 components.b = _components.b; in ImageViewCreateInfo()
94 components.a = _components.a; in ImageViewCreateInfo()
/external/tensorflow/tensorflow/python/framework/
Dcomposite_tensor_test.py31 self._components = components
34 return self._components
/external/tensorflow/tensorflow/contrib/distributions/python/ops/
Dmixture.py193 self._components = list(components)
205 for c in self._components:
223 return self._components
236 return self._components[0].event_shape_tensor()