Searched refs:shift_size (Results 1 – 5 of 5) sorted by relevance
/third_party/iowow/src/utils/ |
D | iwxstr.c | 100 void iwxstr_shift(IWXSTR *xstr, size_t shift_size) { in iwxstr_shift() argument 101 if (shift_size == 0) { in iwxstr_shift() 104 if (shift_size > xstr->size) { in iwxstr_shift() 105 shift_size = xstr->size; in iwxstr_shift() 107 if (xstr->size > shift_size) { in iwxstr_shift() 108 memmove(xstr->ptr, xstr->ptr + shift_size, xstr->size - shift_size); in iwxstr_shift() 110 xstr->size -= shift_size; in iwxstr_shift()
|
D | iwxstr.h | 51 IW_EXPORT void iwxstr_shift(IWXSTR *xstr, size_t shift_size);
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/ |
D | pad_and_shift_cpu_kernel.cc | 72 size_t shift_size = static_cast<size_t>(cum_sum_arr[shift_idx]); in LaunchKernel() local 73 size_t valid_size = static_cast<size_t>(cum_sum_arr[shift_idx + 1] - shift_size); in LaunchKernel() 78 ret = memcpy_s(output + shift_size, valid_size * type_size_, input_x, valid_size * type_size_); in LaunchKernel()
|
/third_party/boost/boost/random/ |
D | mersenne_twister.hpp | 78 BOOST_STATIC_CONSTANT(std::size_t, shift_size = m); 507 BOOST_RANDOM_MT_DEFINE_CONSTANT(std::size_t, shift_size);
|
/third_party/mindspore/mindspore/ccsrc/minddata/mindrecord/io/ |
D | shard_writer.cc | 823 auto shift_size = last_raw_page_size - last_row_group_id_offset; in ShiftRawPage() local 825 std::vector<uint8_t> buf(shift_size); in ShiftRawPage() 865 …to page = Page(++page_id, shard_id, kPageTypeRaw, ++page_type_id, 0, 0, row_group_ids, shift_size); in ShiftRawPage()
|