Searched refs:unit_box (Results 1 – 2 of 2) sorted by relevance
/external/llvm-project/polly/lib/External/isl/ |
D | isl_ilp.c | 38 struct isl_basic_set *unit_box = NULL; in unit_box_base_points() local 53 unit_box = isl_basic_set_alloc_space(isl_basic_set_get_space(bset), in unit_box_base_points() 57 k = isl_basic_set_alloc_inequality(unit_box); in unit_box_base_points() 60 isl_seq_cpy(unit_box->ineq[k], bset->ineq[i], 1 + total); in unit_box_base_points() 62 if (isl_int_is_nonneg(unit_box->ineq[k][1 + j])) in unit_box_base_points() 64 isl_int_add(unit_box->ineq[k][0], in unit_box_base_points() 65 unit_box->ineq[k][0], unit_box->ineq[k][1 + j]); in unit_box_base_points() 70 return unit_box; in unit_box_base_points() 73 isl_basic_set_free(unit_box); in unit_box_base_points() 89 struct isl_basic_set *unit_box; in initial_solution() local [all …]
|
/external/rust/crates/rand/src/distributions/ |
D | uniform.rs | 1170 let unit_box: Uniform<i32> = Uniform::new(-1, 1); in test_uniform_serialization() localVariable 1171 …let de_unit_box: Uniform<i32> = bincode::deserialize(&bincode::serialize(&unit_box).unwrap()).unwr… in test_uniform_serialization() 1173 assert_eq!(unit_box.0.low, de_unit_box.0.low); in test_uniform_serialization() 1174 assert_eq!(unit_box.0.range, de_unit_box.0.range); in test_uniform_serialization() 1175 assert_eq!(unit_box.0.z, de_unit_box.0.z); in test_uniform_serialization() 1177 let unit_box: Uniform<f32> = Uniform::new(-1., 1.); in test_uniform_serialization() localVariable 1178 …let de_unit_box: Uniform<f32> = bincode::deserialize(&bincode::serialize(&unit_box).unwrap()).unwr… in test_uniform_serialization() 1180 assert_eq!(unit_box.0.low, de_unit_box.0.low); in test_uniform_serialization() 1181 assert_eq!(unit_box.0.scale, de_unit_box.0.scale); in test_uniform_serialization()
|