Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/brotli/c/enc/
Dcluster.c31 static BROTLI_INLINE double ClusterCostDiff(size_t size_a, size_t size_b) { in ClusterCostDiff() argument
32 size_t size_c = size_a + size_b; in ClusterCostDiff()
33 return (double)size_a * FastLog2(size_a) + in ClusterCostDiff()
/third_party/node/deps/brotli/c/enc/
Dcluster.c31 static BROTLI_INLINE double ClusterCostDiff(size_t size_a, size_t size_b) { in ClusterCostDiff() argument
32 size_t size_c = size_a + size_b; in ClusterCostDiff()
33 return (double)size_a * FastLog2(size_a) + in ClusterCostDiff()
/third_party/python/Objects/
Dlongobject.c1593 Py_ssize_t size, strlen, size_a, i, j; in long_to_decimal_string_internal() local
1604 size_a = Py_ABS(Py_SIZE(a)); in long_to_decimal_string_internal()
1623 assert(size_a < PY_SSIZE_T_MAX/2); in long_to_decimal_string_internal()
1624 size = 1 + size_a + size_a / d; in long_to_decimal_string_internal()
1635 for (i = size_a; --i >= 0; ) { in long_to_decimal_string_internal()
1797 Py_ssize_t size_a; in long_format_binary() local
1807 size_a = Py_ABS(Py_SIZE(a)); in long_format_binary()
1826 if (size_a == 0) { in long_format_binary()
1832 if (size_a > (PY_SSIZE_T_MAX - 3) / PyLong_SHIFT) { in long_format_binary()
1837 size_a_in_bits = (size_a - 1) * PyLong_SHIFT + in long_format_binary()
[all …]
/third_party/python/Python/
Dsuggestions.c275 Py_ssize_t size_a, size_b; in _Py_UTF8_Edit_Cost() local
276 const char *utf8_a = PyUnicode_AsUTF8AndSize(a, &size_a); in _Py_UTF8_Edit_Cost()
285 max_cost = MOVE_COST * Py_MAX(size_a, size_b); in _Py_UTF8_Edit_Cost()
287 return levenshtein_distance(utf8_a, size_a, utf8_b, size_b, max_cost); in _Py_UTF8_Edit_Cost()
/third_party/python/Lib/test/
Dtest_dict.py1002 size_a = sys.getsizeof(a)
1008 self.assertGreater(size_b, size_a)