RdGen.xs.inc

filter: Statementstmt 90.0% 9 / 10 Branchbran 50.0% 2 / 4 Conditioncond n/a MC/DCmcdc n/a Subroutinesub n/a Podpod n/a totaltotal 78.5% 11 / 14 CC 0 SCAR 0
CC
0
Cov
0%
CRAP 0
« blib/lib/Statistics/CaseResampling.pm ↑ Summary CaseResampling.xs »
1  
2 MODULE = Statistics::CaseResampling PACKAGE = Statistics::CaseResampling::RdGen PREFIX=mt_
3 PROTOTYPES: DISABLE
4  
5 int
6 mt_CLONE_SKIP(...)
7 CODE:
8 0 ▶ RETVAL = 1;
Branch: 1 branch
BranchTrueFalseTotal
RETVAL = 1; 0 0 0
9 OUTPUT:
10 RETVAL
11  
12 Statistics::CaseResampling::RdGen
13 mt_setup(seed)
14 U32 seed
15 CODE:
16 3 RETVAL = mt_setup(seed);
17 OUTPUT:
18 RETVAL
19  
20 Statistics::CaseResampling::RdGen
21 mt_setup_array( array, ... )
22 CODE:
23 1 U32 * array = U32ArrayPtr(aTHX_ items);
24 1 U32 ix_array = 0;
25 6 ▶ while (items--) {
Branch: 1 branch
BranchTrueFalseTotal
while (items--) { 5 1 6
26 5 array[ix_array] = (U32)SvIV(ST(ix_array));
27 5 ix_array++;
28 }
29 1 RETVAL = mt_setup_array( (uint32_t*)array, ix_array );
30 OUTPUT:
31 RETVAL
32  
33 void
34 mt_DESTROY(self)
35 Statistics::CaseResampling::RdGen self
36 CODE:
37 4 mt_free(self);
38  
39 double
40 mt_genrand(self)
41 Statistics::CaseResampling::RdGen self
42 CODE:
43 1 RETVAL = mt_genrand(self);
44 OUTPUT:
45 RETVAL
46  
« blib/lib/Statistics/CaseResampling.pm ↑ Summary CaseResampling.xs »