line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# This file was automatically generated by SWIG (http://www.swig.org). |
2
|
|
|
|
|
|
|
# Version 1.3.35 |
3
|
|
|
|
|
|
|
# |
4
|
|
|
|
|
|
|
# Don't modify this file, modify the SWIG interface instead. |
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
package GO::TermFinder::Native; |
7
|
|
|
|
|
|
|
require Exporter; |
8
|
|
|
|
|
|
|
require DynaLoader; |
9
|
|
|
|
|
|
|
@ISA = qw(Exporter DynaLoader); |
10
|
|
|
|
|
|
|
package GO::TermFinder::Nativec; |
11
|
|
|
|
|
|
|
bootstrap GO::TermFinder::Native; |
12
|
|
|
|
|
|
|
package GO::TermFinder::Native; |
13
|
|
|
|
|
|
|
@EXPORT = qw( ); |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
# ---------- BASE METHODS ------------- |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
package GO::TermFinder::Native; |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
sub TIEHASH { |
20
|
0
|
|
|
0
|
|
0
|
my ($classname,$obj) = @_; |
21
|
0
|
|
|
|
|
0
|
return bless $obj, $classname; |
22
|
|
|
|
|
|
|
} |
23
|
|
|
|
|
|
|
|
24
|
0
|
|
|
0
|
|
0
|
sub CLEAR { } |
25
|
|
|
|
|
|
|
|
26
|
0
|
|
|
0
|
|
0
|
sub FIRSTKEY { } |
27
|
|
|
|
|
|
|
|
28
|
0
|
|
|
0
|
|
0
|
sub NEXTKEY { } |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
sub FETCH { |
31
|
0
|
|
|
0
|
|
0
|
my ($self,$field) = @_; |
32
|
0
|
|
|
|
|
0
|
my $member_func = "swig_${field}_get"; |
33
|
0
|
|
|
|
|
0
|
$self->$member_func(); |
34
|
|
|
|
|
|
|
} |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
sub STORE { |
37
|
0
|
|
|
0
|
|
0
|
my ($self,$field,$newval) = @_; |
38
|
0
|
|
|
|
|
0
|
my $member_func = "swig_${field}_set"; |
39
|
0
|
|
|
|
|
0
|
$self->$member_func($newval); |
40
|
|
|
|
|
|
|
} |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
sub this { |
43
|
0
|
|
|
0
|
0
|
0
|
my $ptr = shift; |
44
|
0
|
|
|
|
|
0
|
return tied(%$ptr); |
45
|
|
|
|
|
|
|
} |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
# ------- FUNCTION WRAPPERS -------- |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
package GO::TermFinder::Native; |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
############# Class : GO::TermFinder::Native::Distributions ############## |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
package GO::TermFinder::Native::Distributions; |
56
|
2
|
|
|
2
|
|
219266
|
use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS); |
|
2
|
|
|
|
|
6
|
|
|
2
|
|
|
|
|
851
|
|
57
|
|
|
|
|
|
|
@ISA = qw( GO::TermFinder::Native ); |
58
|
|
|
|
|
|
|
%OWNER = (); |
59
|
|
|
|
|
|
|
%ITERATORS = (); |
60
|
|
|
|
|
|
|
sub new { |
61
|
5
|
|
|
5
|
|
31
|
my $pkg = shift; |
62
|
5
|
|
|
|
|
2690
|
my $self = GO::TermFinder::Nativec::new_Distributions(@_); |
63
|
5
|
50
|
|
|
|
3035
|
bless $self, $pkg if defined($self); |
64
|
|
|
|
|
|
|
} |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
sub DESTROY { |
67
|
10
|
100
|
|
10
|
|
182009
|
return unless $_[0]->isa('HASH'); |
68
|
5
|
|
|
|
|
13
|
my $self = tied(%{$_[0]}); |
|
5
|
|
|
|
|
25
|
|
69
|
5
|
50
|
|
|
|
47
|
return unless defined $self; |
70
|
5
|
|
|
|
|
23
|
delete $ITERATORS{$self}; |
71
|
5
|
50
|
|
|
|
29
|
if (exists $OWNER{$self}) { |
72
|
5
|
|
|
|
|
2508
|
GO::TermFinder::Nativec::delete_Distributions($self); |
73
|
5
|
|
|
|
|
37
|
delete $OWNER{$self}; |
74
|
|
|
|
|
|
|
} |
75
|
|
|
|
|
|
|
} |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
*pValueByHypergeometric = *GO::TermFinder::Nativec::Distributions_pValueByHypergeometric; |
78
|
|
|
|
|
|
|
*hypergeometric = *GO::TermFinder::Nativec::Distributions_hypergeometric; |
79
|
|
|
|
|
|
|
*logNCr = *GO::TermFinder::Nativec::Distributions_logNCr; |
80
|
|
|
|
|
|
|
*logFactorial = *GO::TermFinder::Nativec::Distributions_logFactorial; |
81
|
|
|
|
|
|
|
sub DISOWN { |
82
|
0
|
|
|
0
|
|
|
my $self = shift; |
83
|
0
|
|
|
|
|
|
my $ptr = tied(%$self); |
84
|
0
|
|
|
|
|
|
delete $OWNER{$ptr}; |
85
|
|
|
|
|
|
|
} |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
sub ACQUIRE { |
88
|
0
|
|
|
0
|
|
|
my $self = shift; |
89
|
0
|
|
|
|
|
|
my $ptr = tied(%$self); |
90
|
0
|
|
|
|
|
|
$OWNER{$ptr} = 1; |
91
|
|
|
|
|
|
|
} |
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
# ------- VARIABLE STUBS -------- |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
package GO::TermFinder::Native; |
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
1; |