/dports/misc/vxl/vxl-3.3.2/contrib/brl/bseg/boxm2/cpp/algo/ |
H A D | boxm2_export_oriented_point_cloud_function.cxx | 43 for (unsigned currIdx=0; currIdx < (points->buffer_length()/pointTypeSize) ; currIdx++) { in exportPointCloudXYZ() local 45 …if (normals_data[currIdx][3] >= nmag_t && vis_data[currIdx] >= vis_t && points_data[currIdx][3] !=… in exportPointCloudXYZ() 55 …if (bb.is_empty() || bb.contains(points_data[currIdx][0] ,points_data[currIdx][1] ,points_data[cur… in exportPointCloudXYZ() 57 …file << points_data[currIdx][0] << ' ' << points_data[currIdx][1] << ' ' << points_data[currIdx][… in exportPointCloudXYZ() 92 for (unsigned currIdx=0; currIdx < (points->buffer_length()/pointTypeSize) ; currIdx++) { in exportPointCloudPLY() local 94 …if (normals_data[currIdx][3] >= nmag_t && vis_data[currIdx] >= vis_t && points_data[currIdx][3] !=… in exportPointCloudPLY() 106 …file << points_data[currIdx][0] << ' ' << points_data[currIdx][1] << ' ' << points_data[currIdx][… in exportPointCloudPLY() 110 …currIdx][0] << ' ' << normals_data[currIdx][1] << ' ' << normals_data[currIdx][2] << ' ' << prob … in exportPointCloudPLY() 137 for (unsigned currIdx=0; currIdx < (points->buffer_length()/pointTypeSize) ; currIdx++) { in exportPointCloudPLY() local 143 …if (bb.is_empty() || bb.contains(points_data[currIdx][0] ,points_data[currIdx][1] ,points_data[cur… in exportPointCloudPLY() [all …]
|
H A D | boxm2_compute_derivative_function.cxx | 62 normals_data[currIdx][0] = 0; in boxm2_compute_derivative_function() 63 normals_data[currIdx][1] = 0; in boxm2_compute_derivative_function() 64 normals_data[currIdx][2] = 0; in boxm2_compute_derivative_function() 65 points_data[currIdx][0] = 0; in boxm2_compute_derivative_function() 66 points_data[currIdx][1] = 0; in boxm2_compute_derivative_function() 67 points_data[currIdx][2] = 0; in boxm2_compute_derivative_function() 68 points_data[currIdx][3] = 0; in boxm2_compute_derivative_function() 100 normals_data[currIdx][0] = derivative_x; in boxm2_compute_derivative_function() 101 normals_data[currIdx][1] = derivative_y; in boxm2_compute_derivative_function() 103 normals_data[currIdx][3] = norm; in boxm2_compute_derivative_function() [all …]
|
H A D | boxm2_extract_point_cloud.cxx | 64 int currIdx = bit_tree.get_data_index(currBitIndex); //data index in extract_point_cloud() local 69 … float prob = 1.0f - (float)std::exp(-alpha_data[currIdx] * side_len * data.sub_block_dim_.x()); in extract_point_cloud() 72 points_data[currIdx][3] = -1.0f; in extract_point_cloud() 77 … points_data[currIdx][0] = float(cellCenter.x()*data.sub_block_dim_.x() + data.local_origin_.x()); in extract_point_cloud() 78 … points_data[currIdx][1] = float(cellCenter.y()*data.sub_block_dim_.y() + data.local_origin_.y()); in extract_point_cloud() 79 … points_data[currIdx][2] = float(cellCenter.z()*data.sub_block_dim_.z() + data.local_origin_.z()); in extract_point_cloud() 82 points_data[currIdx][3] = prob; in extract_point_cloud()
|
H A D | boxm2_apply_filter_function.hxx | 97 int currIdx = bit_tree.get_data_index(currBitIndex); in apply_filter() local 100 … float prob = 1.0f - (float)std::exp(-alpha_data[currIdx] * side_len * data.sub_block_dim_.x()); in apply_filter() 102 response_data[currIdx] = 0.0f; in apply_filter() 114 … points_data[currIdx][0] = (cellCenter.x() )*data.sub_block_dim_.x() + data.local_origin_.x(); in apply_filter() 115 … points_data[currIdx][1] = (cellCenter.y() )*data.sub_block_dim_.y() + data.local_origin_.y(); in apply_filter() 116 … points_data[currIdx][2] = (cellCenter.z() )*data.sub_block_dim_.z() + data.local_origin_.z(); in apply_filter() 117 points_data[currIdx][3] = prob; //use the unused field in points to store prob in apply_filter() 129 … response_data[currIdx] = eval_filter(neighborhood, data, bit_tree, trees, alpha_data, octree_lvl); in apply_filter()
|
/dports/cad/meshlab/meshlab-Meshlab-2020.05/src/plugins_experimental/edit_vase/ |
H A D | myheap.h | 179 void minHeapify(int currIdx){ in minHeapify() argument 191 smallerIdx = currIdx; in minHeapify() 198 if( smallerIdx != currIdx ){ in minHeapify() 200 swap( currIdx, smallerIdx ); in minHeapify() 228 if( key > heap[currIdx].first ) in heapDecreaseKey() 232 heap[currIdx].first = key; in heapDecreaseKey() 235 int parentIdx = PARENT(currIdx); in heapDecreaseKey() 236 while( currIdx > 0 ){ in heapDecreaseKey() 239 swap( currIdx, parentIdx ); in heapDecreaseKey() 241 currIdx = parentIdx; in heapDecreaseKey() [all …]
|
/dports/biology/canu/canu-2.2/src/bogart/ |
H A D | AS_BAT_ChunkGraph.C | 173 uint64 currIdx = lastIdx; in countFullWidth() local 176 endPathLen[currIdx] = cycleLen; in countFullWidth() 179 currIdx = getIndex(currEnd); in countFullWidth() 190 uint64 currIdx = firstIdx; in countFullWidth() local 193 endPathLen[currIdx] = length--; in countFullWidth() 195 assert(endPathLen[currIdx] > 0); in countFullWidth() 198 currIdx = getIndex(currEnd); in countFullWidth() 207 currIdx = firstIdx; in countFullWidth() 226 endPathLen[currIdx]); in countFullWidth() 229 currIdx = getIndex(currEnd); in countFullWidth() [all …]
|
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bseg/bstm/cpp/pro/processes/ |
H A D | bstm_cpp_export_point_cloud_process.cxx | 93 …for (unsigned currIdx=0; currIdx < (points->buffer_length()/bstm_data_traits<BSTM_POINT>::datasize… in bstm_cpp_export_point_cloud_process() local 94 if (points_data[currIdx][3] != -1) { in bstm_cpp_export_point_cloud_process() 95 …file << points_data[currIdx][0] << ' ' << points_data[currIdx][1] << ' ' << points_data[currIdx][… in bstm_cpp_export_point_cloud_process() 97 file << change_data[currIdx] << std::endl; in bstm_cpp_export_point_cloud_process()
|
H A D | bstm_cpp_extract_point_cloud_process.cxx | 111 int currIdx = bit_tree.get_data_index(currBitIndex); //data index in bstm_cpp_extract_point_cloud_process() local 114 …bstm_time_tree tt ( cache->get_time_block(id)->get_cell_tt(currIdx,local_time).data_block(), data.… in bstm_cpp_extract_point_cloud_process() 125 points_data[currIdx][3] = -1.0f; in bstm_cpp_extract_point_cloud_process() 130 … points_data[currIdx][0] = float(cellCenter.x()*data.sub_block_dim_.x() + data.local_origin_.x()); in bstm_cpp_extract_point_cloud_process() 131 … points_data[currIdx][1] = float(cellCenter.y()*data.sub_block_dim_.y() + data.local_origin_.y()); in bstm_cpp_extract_point_cloud_process() 132 … points_data[currIdx][2] = float(cellCenter.z()*data.sub_block_dim_.z() + data.local_origin_.z()); in bstm_cpp_extract_point_cloud_process() 133 points_data[currIdx][3] = prob; in bstm_cpp_extract_point_cloud_process()
|
/dports/multimedia/handbrake/HandBrake-1.4.2/macosx/ |
H A D | HBTreeNode.m | 139 NSUInteger currIdx = 0; 143 currIdx = [idx indexAtPosition:i]; 145 if (parentNode.children.count > currIdx) 147 parentNode = parentNode.children[currIdx]; 151 currIdx = [idx indexAtPosition:i]; 153 if (parentNode.children.count > currIdx) 155 id removedNode = parentNode.children[currIdx]; 171 NSUInteger currIdx = 0; 175 currIdx = [idx indexAtPosition:i]; 177 if (parentNode.children.count > currIdx) [all …]
|
/dports/www/grafana8/grafana-8.3.6/vendor/go.opentelemetry.io/collector/testbed/correctness/metrics/ |
H A D | metric_supplier.go | 23 currIdx int member 31 if p.currIdx == len(p.pdms) { 34 pdm = p.pdms[p.currIdx] 35 p.currIdx++
|
/dports/sysutils/lnav/lnav-0.10.1/src/ |
H A D | fts_fuzzy_match.cc | 132 uint8_t currIdx = matches[i]; in fuzzy_match_recursive() local 138 if (currIdx == (prevIdx + 1)) in fuzzy_match_recursive() 143 if (currIdx > 0) { in fuzzy_match_recursive() 145 char neighbor = strBegin[currIdx - 1]; in fuzzy_match_recursive() 146 char curr = strBegin[currIdx]; in fuzzy_match_recursive()
|
/dports/audio/pms-devel/pms-c94e3c6/vendor/github.com/blevesearch/bleve/index/scorch/segment/zap/ |
H A D | enumerator_test.go | 163 currK, currIdx, currV := enumerator.Current() 168 want, currK, currIdx, currV) 170 if want.idx != currIdx { 172 want, currK, currIdx, currV) 176 want, currK, currIdx, currV)
|
/dports/net/savvycan/SavvyCAN-1.0.245/re/ |
H A D | udsscanwindow.cpp | 327 currIdx = -1; in scanUDS() 362 if (currIdx >= numSending) return; in gotUDSReply() 363 sentFrame = sendingFrames[currIdx]; in gotUDSReply() 373 if (msg.service == (0x40 + sendingFrames[currIdx].service) ) in gotUDSReply() 390 else if ( msg.isErrorReply && (msg.service == sendingFrames[currIdx].service) ) in gotUDSReply() 421 nodeID->setText(0, Utility::formatHexNum(sendingFrames[currIdx].frameId())); in setupNodes() 465 nodeSubFunc->setText(0, Utility::formatHexNum(sendingFrames[currIdx].subFunc)); in setupNodes() 482 currIdx++; in sendNextMsg() 483 if (currIdx < sendingFrames.count()) in sendNextMsg() 485 udsHandler->sendUDSFrame(sendingFrames[currIdx]); in sendNextMsg() [all …]
|
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bseg/boxm2/ocl/cl/bit/ |
H A D | update_sky_kernels.cl | 232 … int currIdx = data_index_relative(local_tree, i, bit_lookup) + data_index_root(local_tree); 233 float cum_sky_prob = aux0_temp_array[currIdx]; 234 float cum_seg_len = aux1_temp_array[currIdx]; 237 … aux0_array[currIdx]= aux0_array[currIdx]+ (cum_sky_prob/cum_seg_len)*(cum_sky_prob/cum_seg_len); 238 aux1_array[currIdx]= aux1_array[currIdx]+1; 278 … int currIdx = data_index_relative(local_tree, i, bit_lookup) + data_index_root(local_tree); 279 float curr_alpha = alpha_array[currIdx]; 280 float cum = aux0_array[currIdx]; 281 float count = aux1_array[currIdx]; 290 alpha_array[currIdx] = 0.00000001;
|
H A D | filter_scene_data.cl | 73 int currIdx = data_index_relative(local_tree, i, lookup) + data_index_root(local_tree); 127 CONVERT_FUNC_FLOAT16(mixture_original,mog[currIdx])/NORM; 130 mog_out[currIdx] = convert_uchar16(appearance_output * NORM); 133 mog_out[currIdx] = as_int2(lhs); 135 data_out[currIdx] = response;//-log(1-response)/(side_len *linfo->block_len);
|
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bseg/boxm2/ocl/tests/ |
H A D | test_kernel_filter.cxx | 96 int currIdx = bit_tree.get_data_index(currBitIndex); in test_gauss_filter() local 98 …std::abs(response_data[currIdx]-val1) < 1e-5) ||(std::abs(response_data[currIdx]-val2) < 1e-5) || … in test_gauss_filter() 189 int currIdx = bit_tree.get_data_index(currBitIndex); in test_gauss_x_filter() local 191 result = result && ((std::abs(response_data[currIdx]-0.0f) < 1e-5)); in test_gauss_x_filter()
|
H A D | test_kernel_vector_filter.cxx | 93 int currIdx = bit_tree.get_data_index(currBitIndex); in test_gauss_gradients_filter() local 95 …std::abs(response_data[currIdx]-val1) < 1e-5) ||(std::abs(response_data[currIdx]-val2) < 1e-5) || … in test_gauss_gradients_filter()
|
/dports/news/inn-current/inn-2.7-20211226/innfeed/ |
H A D | endpoint.c | 832 unsigned int currIdx = endp->inBufferIdx; in doRead() local 837 for (i = currIdx; buffers && buffers[i] != NULL; i++) in doRead() 849 bbase = bufferBase(buffers[currIdx]); in doRead() 850 bds = bufferDataSize(buffers[currIdx]); in doRead() 851 bs = bufferSize(buffers[currIdx]); in doRead() 860 for (idx = currIdx + 1; idx < bCount; idx++) { in doRead() 892 bs = bufferSize(buffers[currIdx + idx]); in doRead() 893 bbase = bufferBase(buffers[currIdx + idx]); in doRead() 939 unsigned int currIdx = endp->outBufferIdx; in doWrite() local 943 for (i = currIdx; buffers && buffers[i] != NULL; i++) in doWrite() [all …]
|
/dports/devel/kf5-kcoreaddons/kcoreaddons-5.89.0/src/lib/text/ |
H A D | kfuzzymatcher.cpp | 135 const uint8_t currIdx = matches[i]; in match_recursive() local 141 if (currIdx == (prevIdx + 1)) { in match_recursive() 153 if (currIdx > 0) { in match_recursive() 155 const QChar neighbor = *(strBegin + currIdx - 1); in match_recursive() 156 const QChar curr = *(strBegin + currIdx); in match_recursive()
|
/dports/cad/PrusaSlicer/PrusaSlicer-version_2.3.3/src/slic3r/GUI/ |
H A D | fts_fuzzy_match.h | 206 pos_type currIdx = matches[i]; in fuzzy_match_recursive() local 209 if (currIdx > 0) { in fuzzy_match_recursive() 210 if (i > 0 && currIdx == matches[i - 1] + 1) { in fuzzy_match_recursive() 219 char_type prev = strBegin[currIdx - 1]; in fuzzy_match_recursive()
|
/dports/news/inn/inn-2.6.4/innfeed/ |
H A D | endpoint.c | 937 unsigned int currIdx = endp->inBufferIdx ; in doRead() local 942 for (i = currIdx ; buffers && buffers [i] != NULL ; i++) in doRead() 955 bbase = bufferBase (buffers[currIdx]) ; in doRead() 956 bds = bufferDataSize (buffers[currIdx]) ; in doRead() 957 bs = bufferSize (buffers [currIdx]) ; in doRead() 966 for (idx = currIdx + 1 ; idx < bCount ; idx++) in doRead() 1004 bs = bufferSize (buffers [currIdx + idx]) ; in doRead() 1005 bbase = bufferBase (buffers [currIdx + idx]) ; in doRead() 1060 unsigned int currIdx = endp->outBufferIdx ; in doWrite() local 1064 for (i = currIdx ; buffers && buffers [i] != NULL ; i++) in doWrite() [all …]
|
/dports/sysutils/shlock/inn-2.6.4/innfeed/ |
H A D | endpoint.c | 937 unsigned int currIdx = endp->inBufferIdx ; in doRead() local 942 for (i = currIdx ; buffers && buffers [i] != NULL ; i++) in doRead() 955 bbase = bufferBase (buffers[currIdx]) ; in doRead() 956 bds = bufferDataSize (buffers[currIdx]) ; in doRead() 957 bs = bufferSize (buffers [currIdx]) ; in doRead() 966 for (idx = currIdx + 1 ; idx < bCount ; idx++) in doRead() 1004 bs = bufferSize (buffers [currIdx + idx]) ; in doRead() 1005 bbase = bufferBase (buffers [currIdx + idx]) ; in doRead() 1060 unsigned int currIdx = endp->outBufferIdx ; in doWrite() local 1064 for (i = currIdx ; buffers && buffers [i] != NULL ; i++) in doWrite() [all …]
|
/dports/cad/sumo/sumo-1.2.0/src/microsim/lcmodels/ |
H A D | MSLCM_DK2008.cpp | 98 int currIdx = 0; in wantsChangeToRight() local 113 currIdx = p; in wantsChangeToRight() 198 double maxJam = MAX2(preb[currIdx - 1].occupation, preb[currIdx].occupation); in wantsChangeToRight() 219 …if (bestLaneOffset == 0 && preb[currIdx - 1].bestLaneOffset != 0 && myVehicle.getLane()->getSpeedL… in wantsChangeToRight() 305 int currIdx = 0; in wantsChangeToLeft() local 320 currIdx = p; in wantsChangeToLeft() 405 double maxJam = MAX2(preb[currIdx + 1].occupation, preb[currIdx].occupation); in wantsChangeToLeft()
|
/dports/multimedia/libva-intel-media-driver/media-driver-intel-media-22.1.1/media_driver/agnostic/common/hw/vdbox/ |
H A D | mhw_vdbox_mfx_interface.cpp | 181 uint32_t currIdx, in GetViewOrder() argument 194 uint32_t currRef = params->pAvcPicIdx[currIdx].ucPicIdx; in GetViewOrder() 196 if (params->pAvcPicIdx[currIdx].bValid && in GetViewOrder() 202 if (mvcExtPicParams->ViewIDList[currIdx] == mvcExtPicParams->InterViewRefList[list][i]) in GetViewOrder() 204 viewOrder = mvcExtPicParams->ViewIDList[currIdx]; in GetViewOrder()
|
/dports/multimedia/cmrtlib/media-driver-intel-media-20.1.1/media_driver/agnostic/common/hw/vdbox/ |
H A D | mhw_vdbox_mfx_interface.cpp | 292 uint32_t currIdx, in GetViewOrder() argument 305 uint32_t currRef = params->pAvcPicIdx[currIdx].ucPicIdx; in GetViewOrder() 307 if (params->pAvcPicIdx[currIdx].bValid && in GetViewOrder() 313 if (mvcExtPicParams->ViewIDList[currIdx] == mvcExtPicParams->InterViewRefList[list][i]) in GetViewOrder() 315 viewOrder = mvcExtPicParams->ViewIDList[currIdx]; in GetViewOrder()
|