/dports/games/dose-response/dose-response-179c326/src/ |
H A D | point.rs | 466 assert_eq!(within_bounds(Point::new(0, 0)), true); in test_point_bound_checking() 467 assert_eq!(within_bounds(Point::new(1, 0)), true); in test_point_bound_checking() 468 assert_eq!(within_bounds(Point::new(0, 1)), true); in test_point_bound_checking() 469 assert_eq!(within_bounds(Point::new(1, 1)), true); in test_point_bound_checking() 470 assert_eq!(within_bounds(Point::new(3, 4)), true); in test_point_bound_checking() 471 assert_eq!(within_bounds(Point::new(9, 9)), true); in test_point_bound_checking() 472 assert_eq!(within_bounds(Point::new(2, 9)), true); in test_point_bound_checking() 473 assert_eq!(within_bounds(Point::new(9, 2)), true); in test_point_bound_checking() 475 assert_eq!(within_bounds(Point::new(-1, 0)), false); in test_point_bound_checking() 476 assert_eq!(within_bounds(Point::new(0, -1)), false); in test_point_bound_checking() [all …]
|
H A D | world.rs | 409 pub fn within_bounds(&self, pos: Point) -> bool { in within_bounds() method 433 self.within_bounds(pos) && level_cell_walkable in walkable() 439 if self.within_bounds(pos) { in pickup_item() 450 if self.within_bounds(world_pos) { in monster_on_pos() 572 if self.within_bounds(pos) { in explore() 583 if self.within_bounds(pos) { in always_visible()
|
H A D | pathfinding.rs | 36 assert!(world.within_bounds(current)); in find() 51 world.within_bounds(point) && world.walkable(point, blockers, player_position) in find()
|
/dports/multimedia/gstreamer1-plugins-rust/gst-plugins-rs-d0466b3eee114207f851b37cae0015c0e718f021/cargo-crates/hyphenation-0.8.4/src/ |
H A D | hyphenator.rs | 176 let within_bounds = i >= l && i <= r; in opportunities_within() localVariable 178 valid && within_bounds && legal_index in opportunities_within() 240 let within_bounds = i >= l && i <= r; in opportunities_within() localVariable 242 valid && within_bounds && legal_index in opportunities_within()
|
/dports/lang/opencoarrays/OpenCoarrays-2.9.0/src/tests/performance/BurgersMPI/ |
H A D | periodic_2nd_order.F90 | 128 pure function this_image_contains(location) result(within_bounds) 131 logical within_bounds local 132 …within_bounds = merge(.true.,.false., (location>=minval(local_grid) .and. location<=maxval(local_g…
|
/dports/multimedia/gstreamer1-plugins-rust/gst-plugins-rs-d0466b3eee114207f851b37cae0015c0e718f021/cargo-crates/hyphenation-0.8.4/tests/ |
H A D | lib.rs | 58 let within_bounds = |&i| i >= l && i <= r; in opportunities_within_bounds() localVariable 60 TestResult::from_bool(os.iter().all(within_bounds)) in opportunities_within_bounds()
|
/dports/math/py-or-tools/or-tools-9.2/ortools/constraint_solver/ |
H A D | routing_lp_scheduling.h | 231 const int within_bounds = AddVariable(0, 1); in AddReifiedLinearConstraint() local 232 SetCoefficient(reification_ct, within_bounds, 1); in AddReifiedLinearConstraint() 235 SetEnforcementLiteral(within_bounds_ct, within_bounds); in AddReifiedLinearConstraint() 236 return within_bounds; in AddReifiedLinearConstraint()
|
/dports/science/py-MDAnalysis/MDAnalysis-0.19.2/MDAnalysis/analysis/hbonds/ |
H A D | hbond_autocorrel.py | 471 def within_bounds(p): function 496 if within_bounds(p):
|
/dports/databases/xtrabackup8/percona-xtrabackup-8.0.14/sql/ |
H A D | json_path.cc | 130 return first_array_index(1).within_bounds(); in is_autowrap() 156 size_t end = last.within_bounds() ? last.position() + 1 : last.position(); in get_array_range()
|
H A D | json_diff.cc | 383 if (!idx.within_bounds()) return nullptr; in seek_exact_path() 532 if (!idx.within_bounds() || !array->remove(idx.position())) in apply_json_diffs()
|
H A D | json_path.h | 123 bool within_bounds() const { return m_within_bounds; } in within_bounds() function
|
H A D | json_dom.cc | 248 return idx.within_bounds() && in find_child_doms() 2126 return idx.within_bounds() && in seek_array_cell() 3633 if (!idx.within_bounds()) { in attempt_binary_update() 3732 if (!idx.within_bounds()) return false; // no match, nothing to remove in binary_remove()
|
H A D | item_json_func.cc | 3158 if (!idx.within_bounds() || !array->remove(idx.position())) continue; in val_json()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/ash/system/network/ |
H A D | network_list_view.cc | 235 bool within_bounds = in UpdateNetworkListInternal() local 237 if (within_bounds && iter.second->IsMouseHovered()) { in UpdateNetworkListInternal()
|
/dports/science/py-scikit-learn/scikit-learn-1.0.2/sklearn/preprocessing/tests/ |
H A D | test_data.py | 302 within_bounds = scales ** 2 <= bounds 306 assert np.any(within_bounds) 309 assert all(scaler.var_[within_bounds] <= bounds[within_bounds]) 310 assert_allclose(scaler.scale_[within_bounds], 1.0)
|