Home
last modified time | relevance | path

Searched refs:nearest_index (Results 1 – 17 of 17) sorted by relevance

/dports/math/py-Pyomo/Pyomo-6.1.2/pyomo/dae/
H A Dcontset.py277 nearest_index = i + 1
278 delta = self.at(nearest_index) - target
281 nearest_index = i
282 delta = target - self.at(nearest_index)
289 delta, nearest_index = min(
296 return nearest_index
/dports/games/xosmulti/xosmulti/
H A Dimage.c347 int nearest_index; local
363 nearest_index = -1;
377 nearest_index = i;
381 if( nearest_index < 0 )
385 color_return->pixel = color_tbl[ nearest_index ].pixel;
386 color_return->red = color_tbl[ nearest_index ].red;
387 color_return->green = color_tbl[ nearest_index ].green;
388 color_return->blue = color_tbl[ nearest_index ].blue;
/dports/ftp/net2ftp/net2ftp_v1.3/files_to_upload/plugins/luminous/src/core/
H A Dscanner.class.php587 $nearest_index = -1;
607 if ($nearest_index === -1 || $index < $nearest_index) {
608 $nearest_index = $index;
615 if ($nearest_index !== -1) {
617 $this->__log_match($nearest_index, $nearest_index, $nearest_match_data);
618 $this->__consume($nearest_index, true, $nearest_match_data);
620 return array($nearest_name, $nearest_index);
/dports/sysutils/ansible/ansible-4.7.0/ansible_collections/fortinet/fortios/plugins/module_utils/fortios/
H A Dfortios.py139 nearest_index = -1
142 nearest_index = i
143 if nearest_index == -1:
148 if revisions[resolved_versions[nearest_index]] is False:
150 for i in range(nearest_index + 1, len(resolved_versions)):
154 earliest_index = nearest_index
/dports/sysutils/ansible/ansible-4.7.0/ansible_collections/fortinet/fortimanager/plugins/module_utils/
H A Dnapi.py106 nearest_index = -1
110 nearest_index = i
111 if nearest_index == -1:
113 if revisions[versions[nearest_index]] is True:
116 for i in range(nearest_index + 1, len(versions)):
120 earliest_index = nearest_index
/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/registration/include/pcl/registration/impl/
H A Dppf_registration.hpp150 for (const auto& nearest_index : nearest_indices) { in computeTransformation() local
151 std::size_t model_reference_index = nearest_index.first; in computeTransformation()
152 std::size_t model_point_index = nearest_index.second; in computeTransformation()
/dports/games/avp/avp-20170505/src/win95/
H A Dio.c398 int nearest_index; in NearestColour() local
407 nearest_index = 0; in NearestColour()
421 nearest_index = i; in NearestColour()
429 return nearest_index; in NearestColour()
/dports/graphics/blender/blender-2.91.0/source/blender/blenlib/intern/
H A Dkdtree_impl.h619 uint nearest_index, in nearest_add_in_range() argument
627 if (UNLIKELY(nearest_index >= *nearest_len_capacity)) { in nearest_add_in_range()
632 to = (*r_nearest) + nearest_index; in nearest_add_in_range()
/dports/sysutils/mate-control-center/mate-control-center-1.26.0/capplets/display/
H A Dxrandr-capplet.c2229 int nearest_index; in get_nearest_output() local
2233 nearest_index = -1; in get_nearest_output()
2263 nearest_index = i; in get_nearest_output()
2267 if (nearest_index != -1) in get_nearest_output()
2268 return outputs[nearest_index]; in get_nearest_output()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/ui/accessibility/platform/
H A Dax_platform_node_base.cc1867 int nearest_index = 0; in NearestTextIndexToPoint() local
1885 nearest_index = i; in NearestTextIndexToPoint()
1888 return nearest_index; in NearestTextIndexToPoint()
/dports/sysutils/cinnamon-control-center/cinnamon-control-center-4.8.2/panels/display/
H A Dcc-display-panel.c3458 int nearest_index; in get_nearest_output() local
3462 nearest_index = -1; in get_nearest_output()
3493 nearest_index = i; in get_nearest_output()
3497 if (nearest_index != -1) in get_nearest_output()
3498 return outputs[nearest_index]; in get_nearest_output()
/dports/www/chromium-legacy/chromium-88.0.4324.182/ui/accessibility/platform/
H A Dax_platform_node_base.cc1921 int nearest_index = 0; in NearestTextIndexToPoint() local
1939 nearest_index = i; in NearestTextIndexToPoint()
1942 return nearest_index; in NearestTextIndexToPoint()
/dports/sysutils/xfce4-settings/xfce4-settings-4.16.2/dialogs/display-settings/
H A Dmain.c3748 int nearest_index; in get_nearest_output() local
3752 nearest_index = -1; in get_nearest_output()
3783 nearest_index = m; in get_nearest_output()
3787 if (nearest_index != -1) in get_nearest_output()
3788 return convert_xfce_output_info (nearest_index); in get_nearest_output()
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/ai/
H A Daicode.cpp13443 int nearest_index = -1; in ai_find_shockwave_weapon() local
13465 nearest_index = mo->objnum; in ai_find_shockwave_weapon()
13470 return nearest_index; in ai_find_shockwave_weapon()
13509 int nearest_index = -1; in ai_find_shockwave_ship() local
13531 nearest_index = so->objnum; in ai_find_shockwave_ship()
13537 return nearest_index; in ai_find_shockwave_ship()
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/ai/
H A Daicode.cpp13886 int nearest_index = -1; in ai_find_shockwave_weapon() local
13908 nearest_index = mo->objnum; in ai_find_shockwave_weapon()
13913 return nearest_index; in ai_find_shockwave_weapon()
13952 int nearest_index = -1; in ai_find_shockwave_ship() local
13974 nearest_index = so->objnum; in ai_find_shockwave_ship()
13980 return nearest_index; in ai_find_shockwave_ship()
/dports/astro/gnuastro/gnuastro-0.16/doc/
H A Dgnuastro.info-7701 size_t root, nkeys=1, nearest_index;
723 nearest_index=gal_kdtree_nearest_neighbour(input, kdtree, root,
730 point[0], point[1], in_x[nearest_index],
731 in_y[nearest_index], least_dist);
H A Dgnuastro.texi29088 size_t root, nkeys=1, nearest_index;
29110 nearest_index=gal_kdtree_nearest_neighbour(input, kdtree, root,
29117 point[0], point[1], in_x[nearest_index],
29118 in_y[nearest_index], least_dist);