Home
last modified time | relevance | path

Searched refs:cache_offset (Results 1 – 14 of 14) sorted by relevance

/third_party/boost/boost/sort/spreadsort/detail/
Dstring_sort.hpp164 unsigned cache_offset, size_t *bin_sizes) in string_sort_rec() argument
189 RandomAccessIter * bins = size_bins(bin_sizes, bin_cache, cache_offset, in string_sort_rec()
202 bin_cache[cache_offset] = first; in string_sort_rec()
204 bin_cache[cache_offset + u + 1] = in string_sort_rec()
205 bin_cache[cache_offset + u] + bin_sizes[u]; in string_sort_rec()
210 RandomAccessIter * local_bin = &(bin_cache[cache_offset]); in string_sort_rec()
245 RandomAccessIter lastPos = bin_cache[cache_offset]; in string_sort_rec()
247 for (unsigned u = cache_offset + 1; u < cache_offset + last_bin + 2; in string_sort_rec()
269 unsigned cache_offset, in reverse_string_sort_rec() argument
297 RandomAccessIter * bins = size_bins(bin_sizes, bin_cache, cache_offset, in reverse_string_sort_rec()
[all …]
Dfloat_sort.hpp167 std::vector<RandomAccessIter> &bin_cache, unsigned cache_offset in positive_float_sort_rec() argument
180 RandomAccessIter * bins = size_bins(bin_sizes, bin_cache, cache_offset, in positive_float_sort_rec()
208 for (unsigned u = cache_offset; u < cache_end; lastPos = bin_cache[u], in positive_float_sort_rec()
227 unsigned cache_offset, size_t *bin_sizes) in negative_float_sort_rec() argument
240 RandomAccessIter * bins = size_bins(bin_sizes, bin_cache, cache_offset, in negative_float_sort_rec()
258 bin_cache[cache_offset] = last; in negative_float_sort_rec()
269 for (int ii = cache_end - 1; ii >= static_cast<int>(cache_offset); in negative_float_sort_rec()
288 std::vector<RandomAccessIter> &bin_cache, unsigned cache_offset in negative_float_sort_rec() argument
300 RandomAccessIter * bins = size_bins(bin_sizes, bin_cache, cache_offset, in negative_float_sort_rec()
317 bin_cache[cache_offset] = last; in negative_float_sort_rec()
[all …]
Dspreadsort_common.hpp108 &bin_cache, unsigned cache_offset, unsigned &cache_end, unsigned bin_count) in size_bins() argument
114 cache_end = cache_offset + bin_count; in size_bins()
117 return &(bin_cache[cache_offset]); in size_bins()
Dinteger_sort.hpp109 std::vector<RandomAccessIter> &bin_cache, unsigned cache_offset in spreadsort_rec() argument
127 size_bins(bin_sizes, bin_cache, cache_offset, cache_end, bin_count); in spreadsort_rec()
182 for (unsigned u = cache_offset; u < cache_end; lastPos = bin_cache[u], in spreadsort_rec()
253 std::vector<RandomAccessIter> &bin_cache, unsigned cache_offset in spreadsort_rec() argument
265 RandomAccessIter * bins = size_bins(bin_sizes, bin_cache, cache_offset, in spreadsort_rec()
290 for (unsigned u = cache_offset; u < cache_end; lastPos = bin_cache[u], in spreadsort_rec()
310 std::vector<RandomAccessIter> &bin_cache, unsigned cache_offset in spreadsort_rec() argument
322 RandomAccessIter * bins = size_bins(bin_sizes, bin_cache, cache_offset, in spreadsort_rec()
347 for (unsigned u = cache_offset; u < cache_end; lastPos = bin_cache[u], in spreadsort_rec()
/third_party/boost/boost/math/special_functions/detail/
Dhypergeometric_1F1_bessel.hpp102 cache_offset = -cache_size; in hypergeometric_1F1_AS_13_3_7_tricomi_series()
112 if(n - 2 - cache_offset >= cache_size) in operator ()()
114 T result = A_minus_2 * term * bessel_cache[n - 2 - cache_offset]; in operator ()()
125 if (n - 2 - cache_offset >= cache_size) in operator ()()
127 result += A_minus_2 * term * bessel_cache[n - 2 - cache_offset]; in operator ()()
149 int n, log_scale, cache_offset; member
162 cache_offset += cache_size; in refill_cache()
480 …_2(b_minus_a - a), b_poch(b), term(1), last_result(1), sign(1), n(0), cache_offset(-cache_size), s… in hypergeometric_1F1_AS_13_3_6_series()
489 if(n - cache_offset >= cache_size) in operator ()()
492 T result = term * (b_minus_a - 0.5f + n) * sign * bessel_i_cache[n - cache_offset]; in operator ()()
[all …]
Dhypergeometric_1F1_large_abz.hpp33 : delta_poch(-delta), alpha_poch(alpha), x(x), k(0), cache_offset(0), pol(pol) in hypergeometric_1F1_igamma_series()
43 if (k - cache_offset >= cache_size) in operator ()()
45 cache_offset += cache_size; in operator ()()
48 T result = term * gamma_cache[k - cache_offset]; in operator ()()
68 int cache_offset; member
/third_party/mesa3d/src/util/
Dfossilize_db.c151 uint64_t cache_offset; in update_foz_index() local
152 if (fread(&cache_offset, 1, sizeof(cache_offset), db_idx) != in update_foz_index()
153 sizeof(cache_offset)) in update_foz_index()
171 entry->offset = cache_offset; in update_foz_index()
/third_party/boost/libs/sort/test/
Dsort_detail_test.cpp210 unsigned cache_offset = 1; in size_bins_test() local
214 size_bins(bin_sizes, bin_cache, cache_offset, cache_end, bin_count); in size_bins_test()
215 BOOST_CHECK((new_cache_start - &bin_cache[0]) == cache_offset); in size_bins_test()
/third_party/mindspore/mindspore/ccsrc/pybind_api/ir/
Dtensor_py.cc314 size_t cache_offset = single_col_bytes * LongToSize(hashmap_data[i].value_); in MemCopyFromCacheToHost() local
315 if (cache_offset + single_col_bytes <= cache_max) { in MemCopyFromCacheToHost()
317 …memcpy_s(host_data + host_offset, host_max - host_offset, cache_data + cache_offset, single_col_by… in MemCopyFromCacheToHost()
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/cache_embedding/
Dcache_embedding.cc153 size_t cache_offset = single_col_bytes * static_cast<size_t>(hashmap_data[i].value_); in MemCopyFromHostToCache() local
156 …memcpy_s(cache_data + cache_offset, cache_max - cache_offset, host_data + host_offset, single_col_… in MemCopyFromHostToCache()
/third_party/gstreamer/gstreamer/libs/gst/base/
Dgstbaseparse.c3330 gint64 cache_offset = GST_BUFFER_OFFSET (parse->priv->cache); in gst_base_parse_get_cached_available() local
3333 if (parse->priv->offset >= cache_offset in gst_base_parse_get_cached_available()
3334 && parse->priv->offset < cache_offset + cache_size) in gst_base_parse_get_cached_available()
3335 … return cache_size - (parse->priv->offset - cache_offset); /* Size of the cache minus consumed */ in gst_base_parse_get_cached_available()
3354 gint64 cache_offset = GST_BUFFER_OFFSET (parse->priv->cache); in gst_base_parse_pull_range() local
3357 if (cache_offset <= parse->priv->offset && in gst_base_parse_pull_range()
3358 (parse->priv->offset + size) <= (cache_offset + cache_size)) { in gst_base_parse_pull_range()
3360 parse->priv->offset - cache_offset, size); in gst_base_parse_pull_range()
3364 G_GINT64_FORMAT, size, cache_offset); in gst_base_parse_pull_range()
/third_party/mesa3d/docs/relnotes/
D21.1.7.rst54 - util/fossilize_db: Reset file position to parsed_offset on cache_offset read failure.
D21.3.0.rst507 - util/fossilize_db: Reset file position to parsed_offset on cache_offset read failure.
/third_party/gstreamer/gstplugins_good/gst/matroska/
Dmatroska-read-common.c2857 guint64 cache_offset = GST_BUFFER_OFFSET (common->cached_buffer); in gst_matroska_read_common_peek_bytes() local
2860 if (cache_offset <= common->offset && in gst_matroska_read_common_peek_bytes()
2861 (common->offset + size) <= (cache_offset + cache_size)) { in gst_matroska_read_common_peek_bytes()
2864 GST_BUFFER_COPY_ALL, common->offset - cache_offset, size); in gst_matroska_read_common_peek_bytes()
2871 *bytes = common->cached_data + common->offset - cache_offset; in gst_matroska_read_common_peek_bytes()