/dports/lang/rust/rustc-1.58.1-src/src/test/ui/enum-discriminant/ |
H A D | repr128.rs | 26 fn discr<T, U>(v: T, value: U) in discr() function 34 discr(Signed::Zero, 0); in main() 35 discr(Signed::Staircase, 0x01_02_03_04_05_06_07_08_09_0a_0b_0c_0d_0e_0f); in main() 36 discr(Signed::U64Limit, u64::MAX as i128 + 1); in main() 37 discr(Signed::SmallNegative, -1); in main() 38 discr(Signed::BigNegative, i128::MIN); in main() 39 discr(Signed::Next, i128::MIN + 1); in main() 41 discr(Unsigned::Zero, 0); in main() 42 discr(Unsigned::Staircase, 0x01_02_03_04_05_06_07_08_09_0a_0b_0c_0d_0e_0f); in main() 43 discr(Unsigned::U64Limit, u64::MAX as u128 + 1); in main() [all …]
|
/dports/math/eclib/eclib-20210318/libsrc/ |
H A D | curvedata.cc | 36 discr = (c4*c4*c4 - c6*c6) / 1728; in Curvedata() 103 discr = (c4*c4*c4 - c6*c6) / 1728; in Curvedata() 124 discr = (c4*c4*c4 - c6*c6) / 1728; in Curvedata() 142 c6(c.c6), discr(c.discr), minimal_flag(c.minimal_flag), in Curvedata() 151 c6(c.c6), discr(c.discr), minimal_flag(c.minimal_flag), in Curvedata() 187 c4=0; c6=0; discr=0; in Curvedata() 195 c4 = c.c4, c6 = c.c6, discr = c.discr; in operator =() 220 discr = newdiscr; in minimalize() 238 the_bad_primes = pdivs(discr); in minimalize() 290 discr= (c4*c4*c4 - c6*c6) / 1728; in input() [all …]
|
/dports/devel/xtl/xtl-1.4.2/include/xtl/ |
H A D | macros.h | 103 inline obj_input& choices(Discr& discr, X_ci_param(i)) { \ 104 simple(discr); \ 105 switch(discr) { \ 115 inline obj_output& choices(const Discr& discr, X_co_param(i)) { \ 116 simple(discr); \ 117 switch(discr) { \ 128 int discr; \ 129 simple(discr); \ 130 switch(discr) { \
|
/dports/math/polymake/polymake-4.5/lib/core/include/internal/ |
H A D | type_union.h | 43 static fpointer get(int discr) { return table[discr+1]; } in get() argument 58 static int get(int discr) { return table[discr]; } in get() argument 240 template <int discr> 261 template <typename Source, int discr> 264 discriminant = discr; 349 discriminant = discr; 352 return &basics<discr>::get(this->area); 386 if (discriminant != discr) return nullptr; 387 return &basics<discr>::get(this->area); 394 if (discriminant != discr) return nullptr; [all …]
|
/dports/lang/gcc12-devel/gcc-12-20211205/gcc/testsuite/gnat.dg/ |
H A D | unchecked_union2.adb | 17 type myUnion (discr : Integer := 0) is record 18 case discr is 26 type UU_myUnion3 (discr : Integer := 0) is new myUnion (discr); -- Test
|
/dports/lang/gcc8/gcc-8.5.0/gcc/testsuite/gnat.dg/ |
H A D | unchecked_union2.adb | 17 type myUnion (discr : Integer := 0) is record 18 case discr is 26 type UU_myUnion3 (discr : Integer := 0) is new myUnion (discr); -- Test
|
/dports/lang/gcc10/gcc-10.3.0/gcc/testsuite/gnat.dg/ |
H A D | unchecked_union2.adb | 17 type myUnion (discr : Integer := 0) is record 18 case discr is 26 type UU_myUnion3 (discr : Integer := 0) is new myUnion (discr); -- Test
|
/dports/devel/riscv64-none-elf-gcc/gcc-8.4.0/gcc/testsuite/gnat.dg/ |
H A D | unchecked_union2.adb | 17 type myUnion (discr : Integer := 0) is record 18 case discr is 26 type UU_myUnion3 (discr : Integer := 0) is new myUnion (discr); -- Test
|
/dports/lang/gcc11-devel/gcc-11-20211009/gcc/testsuite/gnat.dg/ |
H A D | unchecked_union2.adb | 17 type myUnion (discr : Integer := 0) is record 18 case discr is 26 type UU_myUnion3 (discr : Integer := 0) is new myUnion (discr); -- Test
|
/dports/misc/cxx_atomics_pic/gcc-11.2.0/gcc/testsuite/gnat.dg/ |
H A D | unchecked_union2.adb | 17 type myUnion (discr : Integer := 0) is record 18 case discr is 26 type UU_myUnion3 (discr : Integer := 0) is new myUnion (discr); -- Test
|
/dports/devel/arm-none-eabi-gcc/gcc-8.4.0/gcc/testsuite/gnat.dg/ |
H A D | unchecked_union2.adb | 17 type myUnion (discr : Integer := 0) is record 18 case discr is 26 type UU_myUnion3 (discr : Integer := 0) is new myUnion (discr); -- Test
|
/dports/devel/riscv32-unknown-elf-gcc/gcc-8.4.0/gcc/testsuite/gnat.dg/ |
H A D | unchecked_union2.adb | 17 type myUnion (discr : Integer := 0) is record 18 case discr is 26 type UU_myUnion3 (discr : Integer := 0) is new myUnion (discr); -- Test
|
/dports/lang/gcc9-devel/gcc-9-20211007/gcc/testsuite/gnat.dg/ |
H A D | unchecked_union2.adb | 17 type myUnion (discr : Integer := 0) is record 18 case discr is 26 type UU_myUnion3 (discr : Integer := 0) is new myUnion (discr); -- Test
|
/dports/devel/aarch64-none-elf-gcc/gcc-8.4.0/gcc/testsuite/gnat.dg/ |
H A D | unchecked_union2.adb | 17 type myUnion (discr : Integer := 0) is record 18 case discr is 26 type UU_myUnion3 (discr : Integer := 0) is new myUnion (discr); -- Test
|
/dports/devel/riscv64-gcc/gcc-8.3.0/gcc/testsuite/gnat.dg/ |
H A D | unchecked_union2.adb | 17 type myUnion (discr : Integer := 0) is record 18 case discr is 26 type UU_myUnion3 (discr : Integer := 0) is new myUnion (discr); -- Test
|
/dports/devel/avr-gcc/gcc-10.2.0/gcc/testsuite/gnat.dg/ |
H A D | unchecked_union2.adb | 17 type myUnion (discr : Integer := 0) is record 18 case discr is 26 type UU_myUnion3 (discr : Integer := 0) is new myUnion (discr); -- Test
|
/dports/lang/gcc11/gcc-11.2.0/gcc/testsuite/gnat.dg/ |
H A D | unchecked_union2.adb | 17 type myUnion (discr : Integer := 0) is record 18 case discr is 26 type UU_myUnion3 (discr : Integer := 0) is new myUnion (discr); -- Test
|
/dports/lang/gcc10-devel/gcc-10-20211008/gcc/testsuite/gnat.dg/ |
H A D | unchecked_union2.adb | 17 type myUnion (discr : Integer := 0) is record 18 case discr is 26 type UU_myUnion3 (discr : Integer := 0) is new myUnion (discr); -- Test
|
/dports/lang/gcc9/gcc-9.4.0/gcc/testsuite/gnat.dg/ |
H A D | unchecked_union2.adb | 17 type myUnion (discr : Integer := 0) is record 18 case discr is 26 type UU_myUnion3 (discr : Integer := 0) is new myUnion (discr); -- Test
|
/dports/lang/gcc9-aux/gcc-9.1.0/gcc/testsuite/gnat.dg/ |
H A D | unchecked_union2.adb | 17 type myUnion (discr : Integer := 0) is record 18 case discr is 26 type UU_myUnion3 (discr : Integer := 0) is new myUnion (discr); -- Test
|
/dports/net/wireshark-lite/wireshark-3.6.1/epan/dissectors/ |
H A D | packet-gsm_cbsp.c | 427 switch (discr) { in dissect_cell_id_elem() 471 static gint cell_id_len(guint8 discr) in cell_id_len() argument 473 switch (discr) { in cell_id_len() 496 guint32 discr; in dissect_cell_id_list_ie() local 501 discr &= 0x0f; in dissect_cell_id_list_ie() 521 val_to_str_const(discr, cbsp_cell_id_disc_vals, ""), count); in dissect_cell_id_list_ie() 529 guint32 discr; in dissect_rr_load_list_ie() local 534 discr &= 0x0f; in dissect_rr_load_list_ie() 578 guint8 discr = tvb_get_guint8(tvb, offset) & 0x0f; in dissect_failure_list_ie() local 603 guint32 discr; in dissect_bc_compl_list_ie() local [all …]
|
/dports/net/wireshark/wireshark-3.6.1/epan/dissectors/ |
H A D | packet-gsm_cbsp.c | 427 switch (discr) { in dissect_cell_id_elem() 471 static gint cell_id_len(guint8 discr) in cell_id_len() argument 473 switch (discr) { in cell_id_len() 496 guint32 discr; in dissect_cell_id_list_ie() local 501 discr &= 0x0f; in dissect_cell_id_list_ie() 521 val_to_str_const(discr, cbsp_cell_id_disc_vals, ""), count); in dissect_cell_id_list_ie() 529 guint32 discr; in dissect_rr_load_list_ie() local 534 discr &= 0x0f; in dissect_rr_load_list_ie() 578 guint8 discr = tvb_get_guint8(tvb, offset) & 0x0f; in dissect_failure_list_ie() local 603 guint32 discr; in dissect_bc_compl_list_ie() local [all …]
|
/dports/net/tshark-lite/wireshark-3.6.1/epan/dissectors/ |
H A D | packet-gsm_cbsp.c | 427 switch (discr) { 471 static gint cell_id_len(guint8 discr) 473 switch (discr) { 496 guint32 discr; 501 discr &= 0x0f; 521 val_to_str_const(discr, cbsp_cell_id_disc_vals, ""), count); 529 guint32 discr; 534 discr &= 0x0f; 578 guint8 discr = tvb_get_guint8(tvb, offset) & 0x0f; 603 guint32 discr; [all …]
|
/dports/net/tshark/wireshark-3.6.1/epan/dissectors/ |
H A D | packet-gsm_cbsp.c | 427 switch (discr) { in dissect_cell_id_elem() 471 static gint cell_id_len(guint8 discr) in cell_id_len() argument 473 switch (discr) { in cell_id_len() 496 guint32 discr; in dissect_cell_id_list_ie() local 501 discr &= 0x0f; in dissect_cell_id_list_ie() 521 val_to_str_const(discr, cbsp_cell_id_disc_vals, ""), count); in dissect_cell_id_list_ie() 529 guint32 discr; in dissect_rr_load_list_ie() local 534 discr &= 0x0f; in dissect_rr_load_list_ie() 578 guint8 discr = tvb_get_guint8(tvb, offset) & 0x0f; in dissect_failure_list_ie() local 603 guint32 discr; in dissect_bc_compl_list_ie() local [all …]
|
/dports/math/maxima/maxima-5.43.2/share/simplification/ |
H A D | sqdnst.mac | 5 block([discr,max,min], 9 numberp(discr:sqrt(1-(min/max)^2))) 10 then (sqrt(max*(1+discr)/2)+signum(min)*sqrt(max*(1-discr)/2))^(2*b)
|