Home
last modified time | relevance | path

Searched refs:cur_idx (Results 1 – 25 of 979) sorted by relevance

12345678910>>...40

/dports/biology/avida/avida-2.12.4-src/libs/apto/include/apto/core/
H A DMapStorage.h131 int cur_idx = 0; in Find() local
134 cur_idx = m_table[hash][cur_idx].left; in Find()
137 cur_idx = m_table[hash][cur_idx].right; in Find()
151 int cur_idx = 0; in Find() local
154 cur_idx = m_table[hash][cur_idx].left; in Find()
157 cur_idx = m_table[hash][cur_idx].right; in Find()
184 int cur_idx = 0; in Get() local
189 cur_idx = m_table[hash][cur_idx].left; in Get()
193 cur_idx = m_table[hash][cur_idx].right; in Get()
231 cur_idx = m_table[hash][cur_idx].left; in Remove()
[all …]
/dports/math/gravity/Gravity-da941e9/src/
H A Dmodel.cpp613 lambda_coef.set_val(cur_idx,1); in lift()
622 on_coef.set_val(cur_idx,1); in lift()
625 on_coef.set_val(cur_idx,1); in lift()
627 on_coef.set_val(cur_idx,1); in lift()
630 on_coef.set_val(cur_idx,1); in lift()
652 lambda_coef.set_val(cur_idx,1); in lift()
662 lambda_coef.set_val(cur_idx,1); in lift()
670 on_coef.set_val(cur_idx,1); in lift()
674 on_coef.set_val(cur_idx, 1); in lift()
680 on_coef.set_val(cur_idx,-1); in lift()
[all …]
/dports/security/nmap/nmap-7.91/nsock/src/
H A Dgh_heap.c94 while (cur_idx > 0) { in hnode_up()
106 cur_idx = parent_idx; in hnode_up()
110 hnode->index = cur_idx; in hnode_up()
124 cur_idx = hnode->index; in hnode_down()
128 while (cur_idx < count) { in hnode_down()
129 ch1_idx = (cur_idx << 1) + 1; in hnode_down()
153 ch1->index = cur_idx; in hnode_down()
156 cur_idx = ch1_idx; in hnode_down()
160 hnode->index = cur_idx; in hnode_down()
231 assert(cur_idx < count); in gh_heap_remove()
[all …]
/dports/security/ncrack/ncrack-0.7/nsock/src/
H A Dgh_heap.c95 while (cur_idx > 0) { in hnode_up()
107 cur_idx = parent_idx; in hnode_up()
111 hnode->index = cur_idx; in hnode_up()
125 cur_idx = hnode->index; in hnode_down()
129 while (cur_idx < count) { in hnode_down()
130 ch1_idx = (cur_idx << 1) + 1; in hnode_down()
154 ch1->index = cur_idx; in hnode_down()
157 cur_idx = ch1_idx; in hnode_down()
161 hnode->index = cur_idx; in hnode_down()
232 assert(cur_idx < count); in gh_heap_remove()
[all …]
/dports/graphics/opencv/opencv-4.5.3/contrib/modules/cudastereo/src/
H A Dstereocsbp.cpp238 int cur_idx = 0; in compute() local
254 int new_idx = (cur_idx + 1) & 1; in compute()
258 …u[cur_idx].ptr<float>(), d[cur_idx].ptr<float>(), l[cur_idx].ptr<float>(), r[cur_idx].ptr<float>(), in compute()
263 cur_idx = new_idx; in compute()
266 …l_iterations(temp_.ptr<uchar>(), u[cur_idx].ptr<float>(), d[cur_idx].ptr<float>(), l[cur_idx].ptr<… in compute()
285 int new_idx = (cur_idx + 1) & 1; in compute()
289 …u[cur_idx].ptr<short>(), d[cur_idx].ptr<short>(), l[cur_idx].ptr<short>(), r[cur_idx].ptr<short>(), in compute()
294 cur_idx = new_idx; in compute()
297 …l_iterations(temp_.ptr<uchar>(), u[cur_idx].ptr<short>(), d[cur_idx].ptr<short>(), l[cur_idx].ptr<… in compute()
318 …compute_disp(u[cur_idx].ptr<float>(), d[cur_idx].ptr<float>(), l[cur_idx].ptr<float>(), r[cur_idx]… in compute()
[all …]
/dports/games/spring/spring_98.0/rts/Sim/Path/QTPFS/
H A DNodeHeap.hpp32 nodes[cur_idx] = n; in push()
33 nodes[cur_idx]->SetHeapIndex(cur_idx); in push()
35 if (cur_idx == max_idx) in push()
38 cur_idx += 1; in push()
43 inc_heap(cur_idx - 1); in push()
62 cur_idx -= 1; in pop()
67 nodes[cur_idx] = NULL; in pop()
93 cur_idx = 0; in clear()
101 cur_idx = 0; in reserve()
271 assert(idx1 < cur_idx); in swap_nodes()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/lldb/source/Target/
H A DUnwindLLDB.cpp125 uint32_t cur_idx = m_frames.size(); in GetOneMoreFrame() local
129 m_thread, prev_frame->reg_ctx_lldb_sp, cursor_sp->sctx, cur_idx, *this)); in GetOneMoreFrame()
141 if (cur_idx >= max_stack_depth) { in GetOneMoreFrame()
145 cur_idx < 100 ? cur_idx : 100, "", cur_idx); in GetOneMoreFrame()
164 cur_idx < 100 ? cur_idx : 100, "", cur_idx); in GetOneMoreFrame()
185 cur_idx < 100 ? cur_idx : 100, "", cur_idx); in GetOneMoreFrame()
204 cur_idx < 100 ? cur_idx : 100, "", cur_idx); in GetOneMoreFrame()
233 cur_idx < 100 ? cur_idx : 100, "", cur_idx); in GetOneMoreFrame()
240 cur_idx < 100 ? cur_idx : 100, "", cur_idx); in GetOneMoreFrame()
260 cur_idx < 100 ? cur_idx : 100, "", cur_idx); in GetOneMoreFrame()
[all …]
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/lldb/source/Target/
H A DUnwindLLDB.cpp125 uint32_t cur_idx = m_frames.size();
129 m_thread, prev_frame->reg_ctx_lldb_sp, cursor_sp->sctx, cur_idx, *this));
141 if (cur_idx >= max_stack_depth) {
145 cur_idx < 100 ? cur_idx : 100, "", cur_idx);
164 cur_idx < 100 ? cur_idx : 100, "", cur_idx);
185 cur_idx < 100 ? cur_idx : 100, "", cur_idx);
204 cur_idx < 100 ? cur_idx : 100, "", cur_idx);
233 cur_idx < 100 ? cur_idx : 100, "", cur_idx);
240 cur_idx < 100 ? cur_idx : 100, "", cur_idx);
260 cur_idx < 100 ? cur_idx : 100, "", cur_idx);
[all …]
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/lldb/source/Target/
H A DUnwindLLDB.cpp125 uint32_t cur_idx = m_frames.size(); in GetOneMoreFrame() local
129 m_thread, prev_frame->reg_ctx_lldb_sp, cursor_sp->sctx, cur_idx, *this)); in GetOneMoreFrame()
141 if (cur_idx >= max_stack_depth) { in GetOneMoreFrame()
145 cur_idx < 100 ? cur_idx : 100, "", cur_idx); in GetOneMoreFrame()
164 cur_idx < 100 ? cur_idx : 100, "", cur_idx); in GetOneMoreFrame()
185 cur_idx < 100 ? cur_idx : 100, "", cur_idx); in GetOneMoreFrame()
204 cur_idx < 100 ? cur_idx : 100, "", cur_idx); in GetOneMoreFrame()
233 cur_idx < 100 ? cur_idx : 100, "", cur_idx); in GetOneMoreFrame()
240 cur_idx < 100 ? cur_idx : 100, "", cur_idx); in GetOneMoreFrame()
260 cur_idx < 100 ? cur_idx : 100, "", cur_idx); in GetOneMoreFrame()
[all …]
/dports/devel/llvm12/llvm-project-12.0.1.src/lldb/source/Target/
H A DUnwindLLDB.cpp125 uint32_t cur_idx = m_frames.size(); in GetOneMoreFrame() local
129 m_thread, prev_frame->reg_ctx_lldb_sp, cursor_sp->sctx, cur_idx, *this)); in GetOneMoreFrame()
141 if (cur_idx >= max_stack_depth) { in GetOneMoreFrame()
145 cur_idx < 100 ? cur_idx : 100, "", cur_idx); in GetOneMoreFrame()
164 cur_idx < 100 ? cur_idx : 100, "", cur_idx); in GetOneMoreFrame()
185 cur_idx < 100 ? cur_idx : 100, "", cur_idx); in GetOneMoreFrame()
204 cur_idx < 100 ? cur_idx : 100, "", cur_idx); in GetOneMoreFrame()
233 cur_idx < 100 ? cur_idx : 100, "", cur_idx); in GetOneMoreFrame()
240 cur_idx < 100 ? cur_idx : 100, "", cur_idx); in GetOneMoreFrame()
260 cur_idx < 100 ? cur_idx : 100, "", cur_idx); in GetOneMoreFrame()
[all …]
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/lldb/source/Target/
H A DUnwindLLDB.cpp125 uint32_t cur_idx = m_frames.size(); in GetOneMoreFrame() local
129 m_thread, prev_frame->reg_ctx_lldb_sp, cursor_sp->sctx, cur_idx, *this)); in GetOneMoreFrame()
141 if (cur_idx >= max_stack_depth) { in GetOneMoreFrame()
145 cur_idx < 100 ? cur_idx : 100, "", cur_idx); in GetOneMoreFrame()
164 cur_idx < 100 ? cur_idx : 100, "", cur_idx); in GetOneMoreFrame()
185 cur_idx < 100 ? cur_idx : 100, "", cur_idx); in GetOneMoreFrame()
204 cur_idx < 100 ? cur_idx : 100, "", cur_idx); in GetOneMoreFrame()
233 cur_idx < 100 ? cur_idx : 100, "", cur_idx); in GetOneMoreFrame()
240 cur_idx < 100 ? cur_idx : 100, "", cur_idx); in GetOneMoreFrame()
260 cur_idx < 100 ? cur_idx : 100, "", cur_idx); in GetOneMoreFrame()
[all …]
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/lldb/source/Target/
H A DUnwindLLDB.cpp125 uint32_t cur_idx = m_frames.size(); in GetOneMoreFrame() local
129 m_thread, prev_frame->reg_ctx_lldb_sp, cursor_sp->sctx, cur_idx, *this)); in GetOneMoreFrame()
141 if (cur_idx >= max_stack_depth) { in GetOneMoreFrame()
145 cur_idx < 100 ? cur_idx : 100, "", cur_idx); in GetOneMoreFrame()
164 cur_idx < 100 ? cur_idx : 100, "", cur_idx); in GetOneMoreFrame()
185 cur_idx < 100 ? cur_idx : 100, "", cur_idx); in GetOneMoreFrame()
204 cur_idx < 100 ? cur_idx : 100, "", cur_idx); in GetOneMoreFrame()
233 cur_idx < 100 ? cur_idx : 100, "", cur_idx); in GetOneMoreFrame()
240 cur_idx < 100 ? cur_idx : 100, "", cur_idx); in GetOneMoreFrame()
260 cur_idx < 100 ? cur_idx : 100, "", cur_idx); in GetOneMoreFrame()
[all …]
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/lldb/source/Target/
H A DUnwindLLDB.cpp125 uint32_t cur_idx = m_frames.size(); in GetOneMoreFrame() local
129 m_thread, prev_frame->reg_ctx_lldb_sp, cursor_sp->sctx, cur_idx, *this)); in GetOneMoreFrame()
141 if (cur_idx >= max_stack_depth) { in GetOneMoreFrame()
145 cur_idx < 100 ? cur_idx : 100, "", cur_idx); in GetOneMoreFrame()
164 cur_idx < 100 ? cur_idx : 100, "", cur_idx); in GetOneMoreFrame()
185 cur_idx < 100 ? cur_idx : 100, "", cur_idx); in GetOneMoreFrame()
204 cur_idx < 100 ? cur_idx : 100, "", cur_idx); in GetOneMoreFrame()
233 cur_idx < 100 ? cur_idx : 100, "", cur_idx); in GetOneMoreFrame()
240 cur_idx < 100 ? cur_idx : 100, "", cur_idx); in GetOneMoreFrame()
260 cur_idx < 100 ? cur_idx : 100, "", cur_idx); in GetOneMoreFrame()
[all …]
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/lldb/source/Target/
H A DUnwindLLDB.cpp125 uint32_t cur_idx = m_frames.size(); in GetOneMoreFrame() local
129 m_thread, prev_frame->reg_ctx_lldb_sp, cursor_sp->sctx, cur_idx, *this)); in GetOneMoreFrame()
141 if (cur_idx >= max_stack_depth) { in GetOneMoreFrame()
145 cur_idx < 100 ? cur_idx : 100, "", cur_idx); in GetOneMoreFrame()
164 cur_idx < 100 ? cur_idx : 100, "", cur_idx); in GetOneMoreFrame()
185 cur_idx < 100 ? cur_idx : 100, "", cur_idx); in GetOneMoreFrame()
204 cur_idx < 100 ? cur_idx : 100, "", cur_idx); in GetOneMoreFrame()
233 cur_idx < 100 ? cur_idx : 100, "", cur_idx); in GetOneMoreFrame()
240 cur_idx < 100 ? cur_idx : 100, "", cur_idx); in GetOneMoreFrame()
260 cur_idx < 100 ? cur_idx : 100, "", cur_idx); in GetOneMoreFrame()
[all …]
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/lldb/source/Plugins/Process/Utility/
H A DUnwindLLDB.cpp126 uint32_t cur_idx = m_frames.size(); in GetOneMoreFrame() local
130 m_thread, prev_frame->reg_ctx_lldb_sp, cursor_sp->sctx, cur_idx, *this)); in GetOneMoreFrame()
142 if (cur_idx >= max_stack_depth) { in GetOneMoreFrame()
146 cur_idx < 100 ? cur_idx : 100, "", cur_idx); in GetOneMoreFrame()
165 cur_idx < 100 ? cur_idx : 100, "", cur_idx); in GetOneMoreFrame()
186 cur_idx < 100 ? cur_idx : 100, "", cur_idx); in GetOneMoreFrame()
205 cur_idx < 100 ? cur_idx : 100, "", cur_idx); in GetOneMoreFrame()
234 cur_idx < 100 ? cur_idx : 100, "", cur_idx); in GetOneMoreFrame()
241 cur_idx < 100 ? cur_idx : 100, "", cur_idx); in GetOneMoreFrame()
261 cur_idx < 100 ? cur_idx : 100, "", cur_idx); in GetOneMoreFrame()
[all …]
/dports/devel/llvm13/llvm-project-13.0.1.src/lldb/source/Target/
H A DUnwindLLDB.cpp125 uint32_t cur_idx = m_frames.size(); in GetOneMoreFrame() local
129 m_thread, prev_frame->reg_ctx_lldb_sp, cursor_sp->sctx, cur_idx, *this)); in GetOneMoreFrame()
141 if (cur_idx >= max_stack_depth) { in GetOneMoreFrame()
145 cur_idx < 100 ? cur_idx : 100, "", cur_idx); in GetOneMoreFrame()
164 cur_idx < 100 ? cur_idx : 100, "", cur_idx); in GetOneMoreFrame()
185 cur_idx < 100 ? cur_idx : 100, "", cur_idx); in GetOneMoreFrame()
204 cur_idx < 100 ? cur_idx : 100, "", cur_idx); in GetOneMoreFrame()
233 cur_idx < 100 ? cur_idx : 100, "", cur_idx); in GetOneMoreFrame()
240 cur_idx < 100 ? cur_idx : 100, "", cur_idx); in GetOneMoreFrame()
260 cur_idx < 100 ? cur_idx : 100, "", cur_idx); in GetOneMoreFrame()
[all …]
/dports/math/tblis/tblis-1.2.0/test/
H A Dbatched_bench.cxx86 len_vector cur_idx(m); in init() local
91 cur_idx[i] = 0; in init()
93 else if (i == 1 || batch[i-1] != '=' || cur_idx[i-2] != cur_idx[i-1]) in init()
95 cur_idx[i] = cur_idx[i-1]; in init()
99 cur_idx[i] = cur_idx[i-1]+1; in init()
120 cur_idx[i+1] != cur_idx[i+2]) in init()
122 ? (cur_idx[i] >= cur_idx[i+1]) in init()
124 : (cur_idx[i] >= cur_idx[i+1]-1); in init()
140 else if (i == 1 || batch[i-1] != '=' || cur_idx[i-2] != cur_idx[i-1]) in init()
142 cur_idx[i] = cur_idx[i-1]; in init()
[all …]
/dports/net/mpich/mpich-3.4.3/src/mpi/datatype/typerep/dataloop/
H A Ddataloop_create_indexed.c221 MPI_Aint i, first, cur_idx = 0; in indexed_array_copy() local
237 } else if (out_disp_array[cur_idx] + in indexed_array_copy()
243 cur_idx++; in indexed_array_copy()
244 MPIR_Assert(cur_idx < contig_count); in indexed_array_copy()
246 out_blklen_array[cur_idx] = in_blklen_array[i]; in indexed_array_copy()
256 } else if (out_disp_array[cur_idx] + in indexed_array_copy()
260 out_blklen_array[cur_idx] += in_blklen_array[i]; in indexed_array_copy()
262 cur_idx++; in indexed_array_copy()
263 MPIR_Assert(cur_idx < contig_count); in indexed_array_copy()
265 out_blklen_array[cur_idx] = (MPI_Aint) in_blklen_array[i]; in indexed_array_copy()
[all …]
/dports/print/ttfautohint/ttfautohint-1.8.4/lib/
H A Dtasort.c56 FT_UInt cur_idx; in ta_sort_and_quantize_widths() local
79 cur_idx = 0; in ta_sort_and_quantize_widths()
80 cur_val = table[cur_idx].org; in ta_sort_and_quantize_widths()
98 for (j = cur_idx; j < i; j++) in ta_sort_and_quantize_widths()
103 table[cur_idx].org = sum / (FT_Pos)j; in ta_sort_and_quantize_widths()
107 cur_idx = i + 1; in ta_sort_and_quantize_widths()
108 cur_val = table[cur_idx].org; in ta_sort_and_quantize_widths()
113 cur_idx = 1; in ta_sort_and_quantize_widths()
119 table[cur_idx++] = table[i]; in ta_sort_and_quantize_widths()
122 *count = cur_idx; in ta_sort_and_quantize_widths()
/dports/net/mpich2/mpich2-1.5/src/mpe2/src/collchk/src/
H A Dget_fh.c9 int cur_idx = 0; in CollChk_get_fh() local
12 while( cur_idx < CollChk_fh_cnt && CollChk_fh_list[cur_idx].fh != fh ) in CollChk_get_fh()
13 cur_idx++; in CollChk_get_fh()
16 if ( cur_idx < CollChk_fh_cnt && CollChk_fh_list[cur_idx].fh == fh ) { in CollChk_get_fh()
18 *comm = CollChk_fh_list[cur_idx].comm; in CollChk_get_fh()
/dports/biology/ncbi-cxx-toolkit/ncbi_cxx--25_2_0/src/objmgr/
H A Dannot_type_index.cpp87 Uint1 cur_idx = kAnnotIndex_Ftable; in x_InitIndexTables() local
88 fill_n(sm_IndexSubtype, cur_idx, in x_InitIndexTables()
91 sm_FeatTypeIndexRange[type][0] = cur_idx; in x_InitIndexTables()
93 _ASSERT(cur_idx < kAnnotIndex_size); in x_InitIndexTables()
94 sm_FeatSubtypeIndex[*it] = cur_idx; in x_InitIndexTables()
95 sm_IndexSubtype[cur_idx] = *it; in x_InitIndexTables()
96 ++cur_idx; in x_InitIndexTables()
98 sm_FeatTypeIndexRange[type][1] = cur_idx; in x_InitIndexTables()
101 sm_FeatTypeIndexRange[CSeqFeatData::e_not_set][1] = cur_idx; in x_InitIndexTables()
104 _ASSERT(cur_idx <= kAnnotIndex_size); in x_InitIndexTables()
[all …]
/dports/biology/ncbi-blast+/ncbi-blast-2.12.0+-src/c++/src/objmgr/
H A Dannot_type_index.cpp87 Uint1 cur_idx = kAnnotIndex_Ftable; in x_InitIndexTables() local
88 fill_n(sm_IndexSubtype, cur_idx, in x_InitIndexTables()
91 sm_FeatTypeIndexRange[type][0] = cur_idx; in x_InitIndexTables()
93 _ASSERT(cur_idx < kAnnotIndex_size); in x_InitIndexTables()
94 sm_FeatSubtypeIndex[*it] = cur_idx; in x_InitIndexTables()
95 sm_IndexSubtype[cur_idx] = *it; in x_InitIndexTables()
96 ++cur_idx; in x_InitIndexTables()
98 sm_FeatTypeIndexRange[type][1] = cur_idx; in x_InitIndexTables()
101 sm_FeatTypeIndexRange[CSeqFeatData::e_not_set][1] = cur_idx; in x_InitIndexTables()
104 _ASSERT(cur_idx <= kAnnotIndex_size); in x_InitIndexTables()
[all …]
/dports/multimedia/aom/aom-3.2.0/av1/encoder/
H A Dthirdpass.c188 int cur_idx = 0; in get_current_gop_end() local
192 assert(cur_idx < MAX_THIRD_PASS_BUF); in get_current_gop_end()
194 if (cur_idx >= ctx->frame_info_count) { in get_current_gop_end()
202 *last_idx = cur_idx - 1; in get_current_gop_end()
213 ctx->frame_info[cur_idx].is_show_frame) { in get_current_gop_end()
214 if (cur_idx != 0) { in get_current_gop_end()
217 *last_idx = cur_idx - 1; in get_current_gop_end()
229 *last_idx = cur_idx - 1; in get_current_gop_end()
235 assert(ctx->frame_info[cur_idx].is_show_frame); in get_current_gop_end()
236 *last_idx = cur_idx; in get_current_gop_end()
[all …]
/dports/net/mpich2/mpich2-1.5/src/mpid/common/datatype/dataloop/
H A Ddataloop_create_indexed.c299 DLOOP_Count i, first, cur_idx = 0; in DLOOP_Type_indexed_array_copy() local
319 else if (out_disp_array[cur_idx] + in DLOOP_Type_indexed_array_copy()
328 cur_idx++; in DLOOP_Type_indexed_array_copy()
329 DLOOP_Assert(cur_idx < contig_count); in DLOOP_Type_indexed_array_copy()
330 out_disp_array[cur_idx] = in DLOOP_Type_indexed_array_copy()
332 out_blklen_array[cur_idx] = in_blklen_array[i]; in DLOOP_Type_indexed_array_copy()
346 else if (out_disp_array[cur_idx] + in DLOOP_Type_indexed_array_copy()
355 cur_idx++; in DLOOP_Type_indexed_array_copy()
356 DLOOP_Assert(cur_idx < contig_count); in DLOOP_Type_indexed_array_copy()
357 out_disp_array[cur_idx] = in DLOOP_Type_indexed_array_copy()
[all …]
/dports/devel/llvm12/llvm-project-12.0.1.src/libcxx/test/libcxx/memory/trivial_abi/
H A Dunique_ptr_destruction_order.pass.cpp27 int* cur_idx; member
31 : shared_buff(buf), cur_idx(idx), id(ch) {} in Base()
32 ~Base() { shared_buff[(*cur_idx)++] = id; } in ~Base()
54 int cur_idx = 0; in main() local
56 func(A(shared_buf, &cur_idx), std::unique_ptr<B>(new B(shared_buf, &cur_idx)), in main()
57 C(shared_buf, &cur_idx)); in main()

12345678910>>...40