name string | code string | asm string | file string |
|---|---|---|---|
bool const* boost::any_cast<bool const>(boost::any*) | ValueType * any_cast(any * operand) BOOST_NOEXCEPT
{
return operand &&
#ifdef BOOST_AUX_ANY_TYPE_ID_NAME
std::strcmp(operand->type().name(), typeid(ValueType).name()) == 0
#else
operand->type() == typeid(ValueType)
#endif
? &static_cast<any::holder<ValueType> *>(operand-... | subq $0x18, %rsp
movq %rdi, 0x10(%rsp)
cmpq $0x0, 0x10(%rsp)
je 0xa51e88
movq 0x10(%rsp), %rdi
callq 0x715870
movq %rax, %rdi
callq 0x71be30
movq %rax, 0x8(%rsp)
movq 0x1fe021(%rip), %rdi # 0xc4fe80
callq 0x71be30
movq 0x8(%rsp), %rdi
movq %rax, %rsi
callq 0x713f60
cmpl $0x0, %eax
jne 0xa51e88
movq 0x10(%rsp), %rax
... | /laurimi[P]npgi/build_O0/third-party/ExternalProject/madp/src/project_madp/src/libDAI/../../src/boost/boost/any.hpp |
libDAI::IJGP::belief(libDAI::VarSet const&) const | Factor IJGP::belief( const VarSet &ns ) const {
vector<Factor>::const_iterator beta;
for( beta = _Qb.begin(); beta != _Qb.end(); beta++ )
if( beta->vars() >> ns )
break;
if( beta != _Qb.end() )
return( beta->marginal(ns) );
else {
vecto... | subq $0x78, %rsp
movq %rdi, (%rsp)
movq %rdi, %rax
movq %rax, 0x8(%rsp)
movq %rdi, 0x70(%rsp)
movq %rsi, 0x68(%rsp)
movq %rdx, 0x60(%rsp)
movq 0x68(%rsp), %rax
movq %rax, 0x10(%rsp)
leaq 0x58(%rsp), %rdi
callq 0x6fe530
movq 0x10(%rsp), %rdi
addq $0x240, %rdi # imm = 0x240
callq 0x6d6b50
movq %rax, 0x50(%rsp)... | /laurimi[P]npgi/build_O0/third-party/ExternalProject/madp/src/project_madp/src/libDAI/ijgp.cpp |
libDAI::IJGP::logZ() const | Complex IJGP::logZ() const {
Complex sum = 0.0;
for( size_t beta = 0; beta < grm().nr_IRs(); beta++ )
sum += Complex(grm().IR(beta).c()) * _Qb[beta].entropy();
for( size_t alpha = 0; alpha < grm().nr_ORs(); alpha++ ) {
sum += Complex(grm().OR(alpha).c()) * _Qa[alpha].entr... | subq $0x148, %rsp # imm = 0x148
movq %rdi, 0x130(%rsp)
movq 0x130(%rsp), %rax
movq %rax, 0x38(%rsp)
leaq 0x138(%rsp), %rdi
vpxor %xmm1, %xmm1, %xmm1
vmovaps %xmm1, %xmm0
callq 0x718410
movq $0x0, 0x128(%rsp)
movq 0x38(%rsp), %rdi
movq 0x128(%rsp), %rax
movq %rax, 0x30(%rsp)
movq (%rdi), %rax
callq *0x20(%rax... | /laurimi[P]npgi/build_O0/third-party/ExternalProject/madp/src/project_madp/src/libDAI/ijgp.cpp |
libDAI::operator<<(std::ostream&, libDAI::IJGP::Bucket const&) | std::ostream & operator << ( std::ostream & os, const Bucket & b ) {
os << "Bucket[var = " << b.var << "; factors = {";
size_t count = 0;
for( size_t bE = 0; bE < b.size(); bE++ )
if( b[bE].isFactor )
... | subq $0x48, %rsp
movq %rdi, 0x40(%rsp)
movq %rsi, 0x38(%rsp)
movq 0x40(%rsp), %rdi
leaq 0x874d1(%rip), %rsi # 0xae1acb
callq 0x6fb6a0
movq %rax, %rdi
movq 0x38(%rsp), %rax
movq 0x18(%rax), %rsi
callq 0x727ef0
movq %rax, %rdi
leaq 0x874bf(%rip), %rsi # 0xae1ad9
callq 0x6fb6a0
movq $0x0, 0x30(%rsp)
movq $0x0, 0x2... | /laurimi[P]npgi/build_O0/third-party/ExternalProject/madp/src/project_madp/src/libDAI/./ijgp.h |
libDAI::IJGP::IJGP(libDAI::IJGP const&) | IJGP & operator=( const IJGP & x ) {
if( this != &x ) {
DAIAlgRG::operator=( x );
Props = x.Props;
_maxdiff = x._maxdiff;
_iterations = x._iterations;
_Qa = x._Qa;
_Qb... | subq $0x38, %rsp
movq %rdi, 0x30(%rsp)
movq %rsi, 0x28(%rsp)
movq 0x30(%rsp), %rdi
movq %rdi, 0x8(%rsp)
movq 0x28(%rsp), %rsi
callq 0x6f9750
movq 0x8(%rsp), %rdi
movq 0x1f34b2(%rip), %rax # 0xc4f910
addq $0x10, %rax
movq %rax, (%rdi)
movq 0x28(%rsp), %rax
vmovdqu 0x1e8(%rax), %ymm0
vmovdqu 0x1f8(%rax), %ymm1
vmovdqu... | /laurimi[P]npgi/build_O0/third-party/ExternalProject/madp/src/project_madp/src/libDAI/./ijgp.h |
libDAI::IJGP::UpdateType const& boost::any_cast<libDAI::IJGP::UpdateType const&>(boost::any&) | ValueType any_cast(any & operand)
{
typedef BOOST_DEDUCED_TYPENAME remove_reference<ValueType>::type nonref;
#ifdef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
// If 'nonref' is still reference type, it means the user has not
// specialized 'remove_reference'.
// Please use BOOST_BROK... | subq $0x38, %rsp
movq %rdi, 0x30(%rsp)
movq 0x30(%rsp), %rdi
callq 0x6fdb10
movq %rax, 0x28(%rsp)
cmpq $0x0, 0x28(%rsp)
jne 0xa5cc4e
movq $0x0, 0x20(%rsp)
leaq 0x20(%rsp), %rdi
movq %rdi, 0x8(%rsp)
callq 0x7010d0
movq 0x8(%rsp), %rdi
callq 0x6f1460
jmp 0xa5cc34
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x18(%rsp)
movl... | /laurimi[P]npgi/build_O0/third-party/ExternalProject/madp/src/project_madp/src/libDAI/../../src/boost/boost/any.hpp |
libDAI::JTree::initProps() | bool JTree::initProps() {
if( !HasProperty("updates") )
return false;
if( !HasProperty("verbose") )
return false;
Props.updates = FromStringTo<UpdateType>("updates");
Props.verbose = FromStringTo<size_t>("verbose");
return true;
} | subq $0x108, %rsp # imm = 0x108
movq %rdi, 0xf8(%rsp)
movq 0xf8(%rsp), %rax
movq %rax, 0x38(%rsp)
leaq 0xd7(%rsp), %rdi
movq %rdi, 0x40(%rsp)
callq 0x720440
movq 0x40(%rsp), %rdx
leaq 0x5c3b5(%rip), %rsi # 0xabde2f
leaq 0xd8(%rsp), %rdi
callq 0x72ccc0
jmp 0xa61a89
movq 0x38(%rsp), %rdi
leaq 0xd8(%rsp), %... | /laurimi[P]npgi/build_O0/third-party/ExternalProject/madp/src/project_madp/src/libDAI/jtree.cpp |
libDAI::JTree::GenerateJT(std::vector<libDAI::VarSet, std::allocator<libDAI::VarSet>> const&) | void JTree::GenerateJT( const std::vector<VarSet> &Cliques ) {
// Construct a weighted graph (each edge is weighted with the cardinality
// of the intersection of the nodes, where the nodes are the elements of
// Cliques).
size_t N = grm().nrVars();
WeightedGraph<int> JuncGraph;... | subq $0x4f8, %rsp # imm = 0x4F8
movq %rdi, 0x4f0(%rsp)
movq %rsi, 0x4e8(%rsp)
movq 0x4f0(%rsp), %rdi
movq %rdi, 0x2a0(%rsp)
movq (%rdi), %rax
callq *0x28(%rax)
movq %rax, %rdi
movq (%rdi), %rax
callq *0x28(%rax)
movq %rax, 0x4e0(%rsp)
leaq 0x4b0(%rsp), %rdi
callq 0x71fca0
movq $0x0, 0x4a8(%rsp)
movq 0x4a8(%r... | /laurimi[P]npgi/build_O0/third-party/ExternalProject/madp/src/project_madp/src/libDAI/jtree.cpp |
libDAI::JTree::beliefs() const | vector<Factor> JTree::beliefs() const {
vector<Factor> result;
for( size_t beta = 0; beta < grm().nr_IRs(); beta++ )
result.push_back( _Qb[beta] );
for( size_t alpha = 0; alpha < grm().nr_ORs(); alpha++ )
result.push_back( _Qa[alpha] );
return result;
} | subq $0x88, %rsp
movq %rdi, 0x38(%rsp)
movq %rdi, %rax
movq %rax, 0x40(%rsp)
movq %rdi, 0x80(%rsp)
movq %rsi, 0x78(%rsp)
movq 0x78(%rsp), %rax
movq %rax, 0x48(%rsp)
movb $0x0, 0x77(%rsp)
callq 0x6ef810
movq $0x0, 0x68(%rsp)
movq 0x48(%rsp), %rdi
movq 0x68(%rsp), %rax
movq %rax, 0x28(%rsp)
movq (%rdi), %rax
movq 0x20(%r... | /laurimi[P]npgi/build_O0/third-party/ExternalProject/madp/src/project_madp/src/libDAI/jtree.cpp |
libDAI::JTree::runHUGIN() | void JTree::runHUGIN() {
for( size_t alpha = 0; alpha < grm().nr_ORs(); alpha++ )
_Qa[alpha] = grm().OR(alpha);
for( size_t beta = 0; beta < grm().nr_IRs(); beta++ )
_Qb[beta].fill( 1.0 );
// CollectEvidence
_logZ = 0.0;
for( size_t i = _RTree.size(); (i... | subq $0x1a8, %rsp # imm = 0x1A8
movq %rdi, 0x1a0(%rsp)
movq 0x1a0(%rsp), %rax
movq %rax, 0x80(%rsp)
movq $0x0, 0x198(%rsp)
movq 0x80(%rsp), %rdi
movq 0x198(%rsp), %rax
movq %rax, 0x78(%rsp)
movq (%rdi), %rax
callq *0x28(%rax)
movq %rax, %rdi
callq 0x6d81c0
movq %rax, %rcx
movq 0x78(%rsp), %rax
cmpq %rcx, %ra... | /laurimi[P]npgi/build_O0/third-party/ExternalProject/madp/src/project_madp/src/libDAI/jtree.cpp |
libDAI::JTree::runShaferShenoy() | void JTree::runShaferShenoy() {
// First pass
_logZ = 0.0;
for( size_t e = _RTree.size(); (e--) != 0; ) {
// send a message from _RTree[e].n2 to _RTree[e].n1
// or, actually, from the seperator IR(e) to _RTree[e].n1
size_t i = _RTree[e].n2;
size_t... | subq $0x378, %rsp # imm = 0x378
movq %rdi, 0x370(%rsp)
movq 0x370(%rsp), %rdi
movq %rdi, 0x130(%rsp)
vpxor %xmm0, %xmm0, %xmm0
vmovsd %xmm0, 0x258(%rdi)
addq $0x1f8, %rdi # imm = 0x1F8
callq 0x6efb30
movq %rax, 0x368(%rsp)
movq 0x368(%rsp), %rax
movq %rax, %rcx
addq $-0x1, %rcx
movq %rcx, 0x368(%r... | /laurimi[P]npgi/build_O0/third-party/ExternalProject/madp/src/project_madp/src/libDAI/jtree.cpp |
libDAI::JTree::findEfficientTree(libDAI::VarSet const&, std::vector<libDAI::DEdge, std::allocator<libDAI::DEdge>>&, unsigned long) const | size_t JTree::findEfficientTree( const VarSet& ns, DEdgeVec &Tree, size_t PreviousRoot ) const {
// find new root clique (the one with maximal statespace overlap with ns)
size_t maxval = 0, maxalpha = 0;
for( size_t alpha = 0; alpha < grm().nr_ORs(); alpha++ ) {
size_t val = (ns & gr... | subq $0x338, %rsp # imm = 0x338
movq %rdi, 0x330(%rsp)
movq %rsi, 0x328(%rsp)
movq %rdx, 0x320(%rsp)
movq %rcx, 0x318(%rsp)
movq 0x330(%rsp), %rax
movq %rax, 0x108(%rsp)
movq $0x0, 0x310(%rsp)
movq $0x0, 0x308(%rsp)
movq $0x0, 0x300(%rsp)
movq 0x108(%rsp), %rdi
movq 0x300(%rsp), %rax
movq %rax, 0x100(%rsp)
m... | /laurimi[P]npgi/build_O0/third-party/ExternalProject/madp/src/project_madp/src/libDAI/jtree.cpp |
libDAI::operator<<(std::ostream&, libDAI::ClusterGraph const&) | std::ostream & operator << ( std::ostream & os, const ClusterGraph & cl ) {
//os << "<" << cl.nr1() << " vars, " << cl.nr2() << " clusters, " << cl.nr_edges() << " edges>: {";
os << "{";
size_t I = 0;
if( I != cl.nr2() )
os << cl.V2(I);... | subq $0x38, %rsp
movq %rdi, 0x30(%rsp)
movq %rsi, 0x28(%rsp)
movq 0x30(%rsp), %rdi
leaq 0x79cbc(%rip), %rsi # 0xae0cb6
callq 0x6fb6a0
movq $0x0, 0x20(%rsp)
movq 0x20(%rsp), %rax
movq %rax, 0x18(%rsp)
movq 0x28(%rsp), %rdi
callq 0x728390
movq %rax, %rcx
movq 0x18(%rsp), %rax
cmpq %rcx, %rax
je 0xa6704f
movq 0x30(%rs... | /laurimi[P]npgi/build_O0/third-party/ExternalProject/madp/src/project_madp/src/libDAI/./clustergraph.h |
libDAI::JTree::UpdateType libDAI::Properties::FromStringTo<libDAI::JTree::UpdateType>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) const | ValueType FromStringTo(const PropertyKey &key) const {
PropertyValue val = Get(key);
if( val.type() != typeid(ValueType) ) {
assert( val.type() == typeid(std::string) );
std::stringstream ss;
ss << GetAs<std::string>(key);
... | subq $0x1f8, %rsp # imm = 0x1F8
movq %rdi, 0x1e8(%rsp)
movq %rsi, 0x1e0(%rsp)
movq 0x1e8(%rsp), %rdi
movq %rdi, 0x10(%rsp)
movq 0x1e0(%rsp), %rsi
callq 0x6e1330
movq %rax, %rsi
leaq 0x1d8(%rsp), %rdi
callq 0x71e310
leaq 0x1d8(%rsp), %rdi
callq 0x715870
movq %rax, %rdi
movq 0x1e5f88(%rip), %rsi # 0xc4f6a0
... | /laurimi[P]npgi/build_O0/third-party/ExternalProject/madp/src/project_madp/src/libDAI/./properties.h |
libDAI::JTree::UpdateType boost::any_cast<libDAI::JTree::UpdateType>(boost::any const&) | inline ValueType any_cast(const any & operand)
{
typedef BOOST_DEDUCED_TYPENAME remove_reference<ValueType>::type nonref;
#ifdef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
// The comment in the above version of 'any_cast' explains when this
// assert is fired and what to do.
BOOST_STA... | subq $0x18, %rsp
movq %rdi, 0x8(%rsp)
movq 0x8(%rsp), %rdi
callq 0x6eae80
movl (%rax), %eax
movl %eax, 0x14(%rsp)
movl 0x14(%rsp), %eax
addq $0x18, %rsp
retq
nopw %cs:(%rax,%rax)
nopl (%rax)
| /laurimi[P]npgi/build_O0/third-party/ExternalProject/madp/src/project_madp/src/libDAI/../../src/boost/boost/any.hpp |
libDAI::TreeEP::TreeEPSubTree::operator=(libDAI::TreeEP::TreeEPSubTree const&) | TreeEPSubTree & operator=( const TreeEPSubTree& x ) {
if( this != &x ) {
_Qa = x._Qa;
_Qb = x._Qb;
_RTree = x._RTree;
_a = x._a;
... | subq $0x18, %rsp
movq %rdi, 0x10(%rsp)
movq %rsi, 0x8(%rsp)
movq 0x10(%rsp), %rax
movq %rax, (%rsp)
cmpq 0x8(%rsp), %rax
je 0xa9d816
movq (%rsp), %rdi
movq 0x8(%rsp), %rsi
callq 0x72d630
movq (%rsp), %rdi
movq 0x8(%rsp), %rsi
addq $0x18, %rsi
addq $0x18, %rdi
callq 0x72d630
movq (%rsp), %rdi
movq 0x8(%rsp), %rsi
addq $... | /laurimi[P]npgi/build_O0/third-party/ExternalProject/madp/src/project_madp/src/libDAI/./treeep.h |
libDAI::TRW::calc_rho_descent() | double TRW::calc_rho_descent() {
WeightedGraph<double> wg;
// construct weighted graph with as weights the mutual information
// according to the beliefs and take the maximum spanning tree to
// find the descent direction
double maxWeight = 0.0;
for( size_t i = 0; i < grm... | subq $0x2e8, %rsp # imm = 0x2E8
movq %rdi, 0x2e0(%rsp)
movq 0x2e0(%rsp), %rax
movq %rax, 0x110(%rsp)
leaq 0x2b0(%rsp), %rdi
callq 0x7092c0
vpxor %xmm0, %xmm0, %xmm0
vmovsd %xmm0, 0x2a8(%rsp)
movq $0x0, 0x2a0(%rsp)
movq 0x110(%rsp), %rdi
movq 0x2a0(%rsp), %rax
movq %rax, 0x100(%rsp)
movq (%rdi), %rax
movq 0x2... | /laurimi[P]npgi/build_O0/third-party/ExternalProject/madp/src/project_madp/src/libDAI/trw.cpp |
libDAI::TRW::init() | void TRW::init() {
if( !initProps() )
DAI_THROW(NOT_ALL_PROPERTIES_SPECIFIED);
init_messages();
init_rho_e();
} | subq $0x58, %rsp
movq %rdi, 0x50(%rsp)
movq 0x50(%rsp), %rdi
movq %rdi, 0x10(%rsp)
movq (%rdi), %rax
callq *0x88(%rax)
testb $0x1, %al
jne 0xaa2c97
movb $0x1, 0x1b(%rsp)
movl $0x10, %edi
callq 0x6eef80
movq %rax, (%rsp)
leaq 0x2f(%rsp), %rdi
movq %rdi, 0x8(%rsp)
callq 0x720440
movq 0x8(%rsp), %rdx
leaq 0x3fc11(%rip), %... | /laurimi[P]npgi/build_O0/third-party/ExternalProject/madp/src/project_madp/src/libDAI/trw.cpp |
libDAI::TRW::runTRW() | double TRW::runTRW() {
if( Props.verbose >= 1 )
cout << "Starting " << identify() << ":inner_loop ...";
if( Props.verbose >= 3)
cout << endl;
init_messages();
clock_t tic = toc();
Diffs diffs(grm().nrVars(), 1.0);
vector<size_t> edge_s... | subq $0x378, %rsp # imm = 0x378
movq %rdi, 0x370(%rsp)
movq 0x370(%rsp), %rax
movq %rax, 0x1d8(%rsp)
cmpq $0x1, 0x140(%rax)
jb 0xaa3b33
movq 0x1ab734(%rip), %rdi # 0xc4f1c8
leaq 0x3d7b2(%rip), %rsi # 0xae124d
callq 0x6fb6a0
movq 0x1d8(%rsp), %rsi
movq %rax, 0x1c0(%rsp)
movq (%rsi), %rax
movq 0x48(%rax... | /laurimi[P]npgi/build_O0/third-party/ExternalProject/madp/src/project_madp/src/libDAI/trw.cpp |
libDAI::TRW::beliefF(unsigned long) const | Factor TRW::beliefF (size_t I) const {
VarSet v_I = grm().factor(I).vars();
Factor prod;
if( v_I.size() == 1 )
;
else if( v_I.size() == 2 ) {
Var v_i = *(v_I.begin());
Var v_j = *((v_I / v_i).begin());
size_t i = grm().findVar(v_i)... | subq $0x478, %rsp # imm = 0x478
movq %rdi, 0x158(%rsp)
movq %rdi, %rax
movq %rax, 0x160(%rsp)
movq %rdi, 0x470(%rsp)
movq %rsi, 0x468(%rsp)
movq %rdx, 0x460(%rsp)
movq 0x468(%rsp), %rdi
movq %rdi, 0x168(%rsp)
movq (%rdi), %rax
movq 0x20(%rax), %rax
callq *%rax
movq %rax, %rdi
movq 0x460(%rsp), %rsi
movq (%rd... | /laurimi[P]npgi/build_O0/third-party/ExternalProject/madp/src/project_madp/src/libDAI/trw.cpp |
libDAI::TRW::logZ() const | Complex TRW::logZ() const {
/* Complex sum = 0.0;
for(size_t i = 0; i < grm().nrVars(); i++ )
sum += Complex(1.0 - grm().nbV(i).size()) * beliefV(i).entropy();
for( size_t I = 0; I < grm().nrFactors(); I++ )
sum -= KL_dist( beliefF(I), grm().factor(I) );
return sum... | subq $0x258, %rsp # imm = 0x258
movq %rdi, 0x240(%rsp)
movq 0x240(%rsp), %rax
movq %rax, 0x80(%rsp)
vpxor %xmm0, %xmm0, %xmm0
vmovsd %xmm0, 0x238(%rsp)
movq $0x0, 0x230(%rsp)
movq 0x80(%rsp), %rdi
movq 0x230(%rsp), %rax
movq %rax, 0x78(%rsp)
movq (%rdi), %rax
callq *0x20(%rax)
movq %rax, %rdi
movq (%rdi), %r... | /laurimi[P]npgi/build_O0/third-party/ExternalProject/madp/src/project_madp/src/libDAI/trw.cpp |
libDAI::TRW::updateMessage(unsigned long) | void updateMessage(size_t iI) {
if( Props.damping == 0.0 )
_messages[iI] = _newmessages[iI];
else
_messages[iI] = (_messages[iI] ^ Props.damping) * (_newmessages[iI] ^ (1.0 - Props.damping));
} | subq $0x78, %rsp
movq %rdi, 0x70(%rsp)
movq %rsi, 0x68(%rsp)
movq 0x70(%rsp), %rax
movq %rax, 0x8(%rsp)
vmovsd 0x148(%rax), %xmm0
vpxor %xmm1, %xmm1, %xmm1
vucomisd %xmm1, %xmm0
jne 0xaa829d
jp 0xaa829d
movq 0x8(%rsp), %rdi
addq $0x178, %rdi # imm = 0x178
movq 0x68(%rsp), %rsi
callq 0x71c380
movq 0x8(%rsp), ... | /laurimi[P]npgi/build_O0/third-party/ExternalProject/madp/src/project_madp/src/libDAI/./trw.h |
libDAI::TFactor<double>::log() const | TFactor<T> log() const {
TFactor<T> l;
l._vs = _vs;
l._p = _p.log();
return l;
} | subq $0x58, %rsp
movq %rdi, 0x8(%rsp)
movq %rdi, %rax
movq %rax, (%rsp)
movq %rdi, 0x50(%rsp)
movq %rsi, 0x48(%rsp)
movq 0x48(%rsp), %rax
movq %rax, 0x10(%rsp)
movb $0x0, 0x47(%rsp)
callq 0x6dfde0
movq 0x8(%rsp), %rdi
movq 0x10(%rsp), %rsi
callq 0x6fbbe0
jmp 0xaa872f
movq 0x10(%rsp), %rsi
addq $0x20, %rsi
leaq 0x18(%rs... | /laurimi[P]npgi/build_O0/third-party/ExternalProject/madp/src/project_madp/src/libDAI/./factor.h |
libDAI::TRW::TRW(libDAI::TRW const&) | TRW & operator=( const TRW & x ) {
if( this != &x ) {
DAIAlgFG::operator=( x );
Props = x.Props;
_maxdiff = x._maxdiff;
_iterations = x._iterations;
_messages = x._messages;
... | subq $0x48, %rsp
movq %rdi, 0x40(%rsp)
movq %rsi, 0x38(%rsp)
movq 0x40(%rsp), %rdi
movq %rdi, 0x18(%rsp)
movq 0x38(%rsp), %rsi
callq 0x706030
movq 0x18(%rsp), %rdi
movq 0x1a5c2a(%rip), %rax # 0xc4f848
addq $0x10, %rax
movq %rax, (%rdi)
movq 0x38(%rsp), %rax
vmovdqu 0x118(%rax), %ymm0
vmovdqu 0x130(%rax), %ymm1
vmovd... | /laurimi[P]npgi/build_O0/third-party/ExternalProject/madp/src/project_madp/src/libDAI/./trw.h |
libDAI::TRW::UpdateType libDAI::Properties::FromStringTo<libDAI::TRW::UpdateType>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) const | ValueType FromStringTo(const PropertyKey &key) const {
PropertyValue val = Get(key);
if( val.type() != typeid(ValueType) ) {
assert( val.type() == typeid(std::string) );
std::stringstream ss;
ss << GetAs<std::string>(key);
... | subq $0x1f8, %rsp # imm = 0x1F8
movq %rdi, 0x1e8(%rsp)
movq %rsi, 0x1e0(%rsp)
movq 0x1e8(%rsp), %rdi
movq %rdi, 0x10(%rsp)
movq 0x1e0(%rsp), %rsi
callq 0x6e1330
movq %rax, %rsi
leaq 0x1d8(%rsp), %rdi
callq 0x71e310
leaq 0x1d8(%rsp), %rdi
callq 0x715870
movq %rax, %rdi
movq 0x1a5388(%rip), %rsi # 0xc4f280
... | /laurimi[P]npgi/build_O0/third-party/ExternalProject/madp/src/project_madp/src/libDAI/./properties.h |
libDAI::TRW::UpdateType libDAI::Properties::GetAs<libDAI::TRW::UpdateType>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) const | ValueType GetAs(const PropertyKey &key) const {
try {
return boost::any_cast<ValueType>(Get(key));
} catch( const boost::bad_any_cast & ) {
std::cerr << "Cannot cast property " << key << " to ";
std::cerr << typeid(ValueType).na... | subq $0x78, %rsp
movq %rdi, 0x68(%rsp)
movq %rsi, 0x60(%rsp)
movq 0x68(%rsp), %rdi
movq %rdi, 0x38(%rsp)
movq 0x60(%rsp), %rsi
callq 0x6e1330
movq %rax, 0x40(%rsp)
jmp 0xaaa0f9
movq 0x40(%rsp), %rdi
callq 0x705a30
movl %eax, 0x34(%rsp)
jmp 0xaaa109
movl 0x34(%rsp), %eax
movl %eax, 0x74(%rsp)
jmp 0xaaa208
movq %rax, %rc... | /laurimi[P]npgi/build_O0/third-party/ExternalProject/madp/src/project_madp/src/libDAI/./properties.h |
libDAI::TRW::UpdateType boost::any_cast<libDAI::TRW::UpdateType>(boost::any const&) | inline ValueType any_cast(const any & operand)
{
typedef BOOST_DEDUCED_TYPENAME remove_reference<ValueType>::type nonref;
#ifdef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
// The comment in the above version of 'any_cast' explains when this
// assert is fired and what to do.
BOOST_STA... | subq $0x18, %rsp
movq %rdi, 0x8(%rsp)
movq 0x8(%rsp), %rdi
callq 0x709fe0
movl (%rax), %eax
movl %eax, 0x14(%rsp)
movl 0x14(%rsp), %eax
addq $0x18, %rsp
retq
nopw %cs:(%rax,%rax)
nopl (%rax)
| /laurimi[P]npgi/build_O0/third-party/ExternalProject/madp/src/project_madp/src/libDAI/../../src/boost/boost/any.hpp |
libDAI::TRW::UpdateType const& boost::any_cast<libDAI::TRW::UpdateType const&>(boost::any&) | ValueType any_cast(any & operand)
{
typedef BOOST_DEDUCED_TYPENAME remove_reference<ValueType>::type nonref;
#ifdef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
// If 'nonref' is still reference type, it means the user has not
// specialized 'remove_reference'.
// Please use BOOST_BROK... | subq $0x38, %rsp
movq %rdi, 0x30(%rsp)
movq 0x30(%rsp), %rdi
callq 0x72a2b0
movq %rax, 0x28(%rsp)
cmpq $0x0, 0x28(%rsp)
jne 0xaaa46e
movq $0x0, 0x20(%rsp)
leaq 0x20(%rsp), %rdi
movq %rdi, 0x8(%rsp)
callq 0x7010d0
movq 0x8(%rsp), %rdi
callq 0x6f1460
jmp 0xaaa454
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x18(%rsp)
movl... | /laurimi[P]npgi/build_O0/third-party/ExternalProject/madp/src/project_madp/src/libDAI/../../src/boost/boost/any.hpp |
libDAI::TProb<double>::log() const | TProb<T> log() const {
TProb<T> l;
l._p.reserve( size() );
for( size_t i = 0; i < size(); i++ )
l._p.push_back( std::log( _p[i] ) );
return l;
} | subq $0x58, %rsp
movq %rdi, 0x18(%rsp)
movq %rdi, %rax
movq %rax, 0x8(%rsp)
movq %rdi, 0x50(%rsp)
movq %rsi, 0x48(%rsp)
movq 0x48(%rsp), %rax
movq %rax, 0x10(%rsp)
movb $0x0, 0x47(%rsp)
callq 0x7132c0
movq 0x10(%rsp), %rdi
callq 0x6ecef0
movq 0x18(%rsp), %rdi
movq %rax, %rsi
callq 0x6d47a0
jmp 0xaab8d8
movq $0x0, 0x28(... | /laurimi[P]npgi/build_O0/third-party/ExternalProject/madp/src/project_madp/src/libDAI/./prob.h |
boost::random::linear_congruential_engine<unsigned int, 48271u, 0u, 2147483647u>::seed(unsigned int const&) | BOOST_RANDOM_DETAIL_ARITHMETIC_SEED(linear_congruential_engine, IntType, x0)
{
// wrap _x if it doesn't fit in the destination
if(modulus == 0) {
_x = x0;
} else {
_x = x0 % modulus;
}
// handle negative seeds
if(_x <= 0 && _x != 0) {
... | movq %rdi, -0x8(%rsp)
movq %rsi, -0x10(%rsp)
movq -0x8(%rsp), %rax
movq %rax, -0x18(%rsp)
movq -0x10(%rsp), %rax
movl (%rax), %eax
movl $0x7fffffff, %ecx # imm = 0x7FFFFFFF
xorl %edx, %edx
divl %ecx
movq -0x18(%rsp), %rax
movl %edx, (%rax)
cmpl $0x0, (%rax)
ja 0xaabbb9
movq -0x18(%rsp), %rax
cmpl $0x0, (%rax)
je ... | /laurimi[P]npgi/build_O0/third-party/ExternalProject/madp/src/project_madp/src/libDAI/../../src/boost/boost/random/linear_congruential.hpp |
double boost::random::detail::generate_uniform_real<boost::random::linear_congruential_engine<unsigned int, 48271u, 0u, 2147483647u>, double>(boost::random::linear_congruential_engine<unsigned int, 48271u, 0u, 2147483647u>&, double, double, mpl_::bool_<true>) | T generate_uniform_real(
Engine& eng, T min_value, T max_value,
boost::mpl::true_ /** is_integral<Engine::result_type> */)
{
for(;;) {
typedef T result_type;
typedef typename Engine::result_type base_result;
result_type numerator = static_cast<T>(subtract<base_result>()(eng(), (eng.... | subq $0x58, %rsp
movq %rdi, 0x48(%rsp)
vmovsd %xmm0, 0x40(%rsp)
vmovsd %xmm1, 0x38(%rsp)
movq 0x48(%rsp), %rdi
callq 0x72fea0
movl %eax, 0x8(%rsp)
callq 0x7110e0
movl 0x8(%rsp), %esi
movl %eax, %edx
leaq 0x2f(%rsp), %rdi
callq 0x72e240
vcvtusi2sd %eax, %xmm0, %xmm0
vmovsd %xmm0, 0x30(%rsp)
callq 0x70f6b0
movl %eax, 0xc... | /laurimi[P]npgi/build_O0/third-party/ExternalProject/madp/src/project_madp/src/libDAI/../../src/boost/boost/random/uniform_real_distribution.hpp |
boost::random::const_mod<unsigned int, 2147483647u>::mult_add(unsigned int, unsigned int, unsigned int) | static IntType mult_add(IntType a, IntType x, IntType c)
{
if(((unsigned_m() - 1) & unsigned_m()) == 0)
return (unsigned_type(a) * unsigned_type(x) + unsigned_type(c)) & (unsigned_m() - 1);
else if(a == 0)
return c;
else if(m <= (traits::const_max-c)/a) { // i.e. a*m+c <= max
IntType su... | subq $0x28, %rsp
movl %edi, 0x20(%rsp)
movl %esi, 0x1c(%rsp)
movl %edx, 0x18(%rsp)
callq 0x70df10
subl $0x1, %eax
movl %eax, 0x10(%rsp)
callq 0x70df10
movl %eax, %ecx
movl 0x10(%rsp), %eax
andl %ecx, %eax
cmpl $0x0, %eax
jne 0xaabea5
movl 0x20(%rsp), %eax
imull 0x1c(%rsp), %eax
addl 0x18(%rsp), %eax
movl %eax, 0xc(%rsp... | /laurimi[P]npgi/build_O0/third-party/ExternalProject/madp/src/project_madp/src/libDAI/../../src/boost/boost/random/detail/const_mod.hpp |
boost::random::const_mod<unsigned int, 2147483647u>::add(unsigned int, unsigned int) | static IntType add(IntType x, IntType c)
{
if(((unsigned_m() - 1) & unsigned_m()) == 0)
return (unsigned_type(x) + unsigned_type(c)) & (unsigned_m() - 1);
else if(c == 0)
return x;
else if(x < m - c)
return x + c;
else
return x - (m - c);
} | subq $0x18, %rsp
movl %edi, 0x10(%rsp)
movl %esi, 0xc(%rsp)
callq 0x70df10
subl $0x1, %eax
movl %eax, 0x8(%rsp)
callq 0x70df10
movl %eax, %ecx
movl 0x8(%rsp), %eax
andl %ecx, %eax
cmpl $0x0, %eax
jne 0xaabf7c
movl 0x10(%rsp), %eax
addl 0xc(%rsp), %eax
movl %eax, 0x4(%rsp)
callq 0x70df10
movl %eax, %ecx
movl 0x4(%rsp), ... | /laurimi[P]npgi/build_O0/third-party/ExternalProject/madp/src/project_madp/src/libDAI/../../src/boost/boost/random/detail/const_mod.hpp |
boost::random::const_mod<unsigned int, 2147483647u>::mult(unsigned int, unsigned int) | static IntType mult(IntType a, IntType x)
{
if(((unsigned_m() - 1) & unsigned_m()) == 0)
return unsigned_type(a) * unsigned_type(x) & (unsigned_m() - 1);
else if(a == 0)
return 0;
else if(a == 1)
return x;
else if(m <= traits::const_max/a) // i.e. a*m <= max
return mult_sm... | subq $0x18, %rsp
movl %edi, 0x10(%rsp)
movl %esi, 0xc(%rsp)
callq 0x70df10
subl $0x1, %eax
movl %eax, 0x8(%rsp)
callq 0x70df10
movl %eax, %ecx
movl 0x8(%rsp), %eax
andl %ecx, %eax
cmpl $0x0, %eax
jne 0xaac01d
movl 0x10(%rsp), %eax
imull 0xc(%rsp), %eax
movl %eax, 0x4(%rsp)
callq 0x70df10
movl %eax, %ecx
movl 0x4(%rsp),... | /laurimi[P]npgi/build_O0/third-party/ExternalProject/madp/src/project_madp/src/libDAI/../../src/boost/boost/random/detail/const_mod.hpp |
boost::random::const_mod<unsigned int, 2147483647u>::mult_general(unsigned int, unsigned int) | static IntType mult_general(IntType a, IntType b)
{
IntType suppress_warnings = (m == 0);
BOOST_ASSERT(suppress_warnings == 0);
IntType modulus = m + suppress_warnings;
BOOST_ASSERT(modulus == m);
if(::boost::uintmax_t(modulus) <=
(::std::numeric_limits< ::boost::uintmax_t>::max)() / modul... | subq $0x28, %rsp
movl %edi, 0x20(%rsp)
movl %esi, 0x1c(%rsp)
movl $0x0, 0x18(%rsp)
movl 0x18(%rsp), %eax
addl $0x7fffffff, %eax # imm = 0x7FFFFFFF
movl %eax, 0x14(%rsp)
movl 0x14(%rsp), %eax
movq %rax, 0x8(%rsp)
callq 0x6dab30
movl 0x14(%rsp), %ecx
xorl %edx, %edx
divq %rcx
movq %rax, %rcx
movq 0x8(%rsp), %rax
cm... | /laurimi[P]npgi/build_O0/third-party/ExternalProject/madp/src/project_madp/src/libDAI/../../src/boost/boost/random/detail/const_mod.hpp |
boost::random::detail::muldivmod(unsigned long, unsigned long, unsigned long) | inline div_t muldivmod(boost::uintmax_t a, boost::uintmax_t b, boost::uintmax_t m)
{
static const int bits =
::std::numeric_limits< ::boost::uintmax_t>::digits / 2;
static const ::boost::uintmax_t mask = (::boost::uintmax_t(1) << bits) - 1;
typedef ::boost::uint_t<bits>::fast digit_t;
int shift... | subq $0xb8, %rsp
movq %rdi, 0xa0(%rsp)
movq %rsi, 0x98(%rsp)
movq %rdx, 0x90(%rsp)
movq 0x90(%rsp), %rdi
callq 0x6e1530
movl %eax, %ecx
movl $0x3f, %eax
subl %ecx, %eax
movl %eax, 0x8c(%rsp)
movl 0x8c(%rsp), %ecx
movq 0xa0(%rsp), %rax
movl %ecx, %ecx
shlq %cl, %rax
movq %rax, 0xa0(%rsp)
movl 0x8c(%rsp), %ecx
movq 0x90(... | /laurimi[P]npgi/build_O0/third-party/ExternalProject/madp/src/project_madp/src/libDAI/../../src/boost/boost/random/detail/large_arithmetic.hpp |
double boost::random::normal_distribution<double>::operator()<boost::random::linear_congruential_engine<unsigned int, 48271u, 0u, 2147483647u>>(boost::random::linear_congruential_engine<unsigned int, 48271u, 0u, 2147483647u>&) | result_type operator()(Engine& eng)
{
using std::sqrt;
using std::log;
using std::sin;
using std::cos;
if(!_valid) {
_r1 = boost::uniform_01<RealType>()(eng);
_r2 = boost::uniform_01<RealType>()(eng);
_cached_rho = sqrt(-result_type(2) * l... | subq $0x38, %rsp
movq %rdi, 0x30(%rsp)
movq %rsi, 0x28(%rsp)
movq 0x30(%rsp), %rax
movq %rax, 0x10(%rsp)
testb $0x1, 0x28(%rax)
jne 0xaac8fb
leaq 0x27(%rsp), %rdi
callq 0x6eae20
movq 0x28(%rsp), %rsi
leaq 0x27(%rsp), %rdi
callq 0x726d00
movq 0x10(%rsp), %rax
vmovsd %xmm0, 0x10(%rax)
leaq 0x26(%rsp), %rdi
callq 0x6eae20... | /laurimi[P]npgi/build_O0/third-party/ExternalProject/madp/src/project_madp/src/libDAI/../../src/boost/boost/random/normal_distribution.hpp |
libDAI::operator<<(std::ostream&, std::vector<libDAI::DEdge, std::allocator<libDAI::DEdge>> const&) | std::ostream & operator << (std::ostream & os, const DEdgeVec & rt) {
os << "[";
for( size_t n = 0; n < rt.size(); n++ )
os << rt[n] << ", ";
os << "]";
return os;
} | subq $0x28, %rsp
movq %rdi, 0x20(%rsp)
movq %rsi, 0x18(%rsp)
movq 0x20(%rsp), %rdi
leaq 0x36458(%rip), %rsi # 0xae2ed2
callq 0x6fb6a0
movq $0x0, 0x10(%rsp)
movq 0x10(%rsp), %rax
movq %rax, 0x8(%rsp)
movq 0x18(%rsp), %rdi
callq 0x6efb30
movq %rax, %rcx
movq 0x8(%rsp), %rax
cmpq %rcx, %rax
jae 0xaacaec
movq 0x20(%rsp... | /laurimi[P]npgi/build_O0/third-party/ExternalProject/madp/src/project_madp/src/libDAI/weightedgraph.cpp |
libDAI::RandomDRegularGraph(unsigned long, unsigned long) | UEdgeVec RandomDRegularGraph( size_t N, size_t d ) {
// Algorithm 1 in "Generating random regular graphs quickly"
// by A. Steger and N.C. Wormald
//
// Draws a random graph with size N and uniform degree d
// from an almost uniform probability distribution over these graphs
... | subq $0x1a8, %rsp # imm = 0x1A8
movq %rdi, 0x78(%rsp)
movq %rdi, %rax
movq %rax, 0x80(%rsp)
movq %rdi, 0x1a0(%rsp)
movq %rsi, 0x198(%rsp)
movq %rdx, 0x190(%rsp)
movb $0x0, 0x18f(%rsp)
movb $0x0, 0x18e(%rsp)
callq 0x705120
movq $0x0, 0x180(%rsp)
movb 0x18f(%rsp), %al
xorb $-0x1, %al
testb $0x1, %al
jne 0xaacf... | /laurimi[P]npgi/build_O0/third-party/ExternalProject/madp/src/project_madp/src/libDAI/weightedgraph.cpp |
libDAI::MaxPlus::MaxPlus(libDAI::FactorGraph const&, libDAI::Properties const&, unsigned long) | MaxPlus::MaxPlus(const FactorGraph & fg, const Properties &opts, size_t k )
:
DAIAlgFG(fg, opts), Props(), _maxdiff(0.0), _iterations(0UL),
_indices(), _messages(), _newmessages(),
_g(&fg) , bestConfiguration( fg.nrVars() ),
_k(k),
_k_th_Val(-DBL_M... | subq $0x278, %rsp # imm = 0x278
movq %rdi, 0x270(%rsp)
movq %rsi, 0x268(%rsp)
movq %rdx, 0x260(%rsp)
movq %rcx, 0x258(%rsp)
movq 0x270(%rsp), %rdi
movq %rdi, 0x148(%rsp)
movq 0x268(%rsp), %rsi
movq 0x260(%rsp), %rdx
callq 0x72de40
movq 0x148(%rsp), %rax
movq 0x19f9d5(%rip), %rcx # 0xc4f020
addq $0x10, %rc... | /laurimi[P]npgi/build_O0/third-party/ExternalProject/madp/src/project_madp/src/libDAI/maxplus.cpp |
libDAI::MaxPlus::calcNewMessage(unsigned long) | void MaxPlus::calcNewMessage (size_t iI)
{
const FactorGraph& g = grm();
//FRANS: iI is the index of the edge in the factorgraph...
//this function calculates the updated message I->i
size_t i = g.edge(iI).first; //FRANS: here we get the index of the variable (? 'first' type) co... | subq $0x2d8, %rsp # imm = 0x2D8
movq %rdi, 0x2d0(%rsp)
movq %rsi, 0x2c8(%rsp)
movq 0x2d0(%rsp), %rdi
movq %rdi, 0x178(%rsp)
movq (%rdi), %rax
callq *0x20(%rax)
movq %rax, 0x2c0(%rsp)
movq 0x2c0(%rsp), %rdi
movq 0x2c8(%rsp), %rsi
callq 0x6fdbf0
movq (%rax), %rax
movq %rax, 0x2b8(%rsp)
movq 0x2c0(%rsp), %rdi
m... | /laurimi[P]npgi/build_O0/third-party/ExternalProject/madp/src/project_madp/src/libDAI/maxplus.cpp |
libDAI::MaxPlus::updateMessage(unsigned long) | void MaxPlus::updateMessage(size_t iI) {
if( Props.damping <= 0.00001 )
{
#if DEBUG_DAMP
cout << " MaxPlus::updateMessage - No damping" << endl;
#endif
_messages[iI] = _newmessages[iI];
}
else
{
//this does not work correctly for ar... | subq $0x68, %rsp
movq %rdi, 0x60(%rsp)
movq %rsi, 0x58(%rsp)
movq 0x60(%rsp), %rax
movq %rax, 0x28(%rsp)
vmovsd 0x30930(%rip), %xmm0 # 0xae14c0
vucomisd 0x138(%rax), %xmm0
jb 0xab0bdd
movq 0x28(%rsp), %rdi
addq $0x180, %rdi # imm = 0x180
movq 0x58(%rsp), %rsi
callq 0x71c380
movq 0x28(%rsp), %rdi
movq %rax... | /laurimi[P]npgi/build_O0/third-party/ExternalProject/madp/src/project_madp/src/libDAI/maxplus.cpp |
libDAI::MaxPlus::run() | double MaxPlus::run() {
const FactorGraph& g = grm();
bestValue = -INFINITY;
if( Props.verbose >= 2 )
cout << "Starting " << identify() << "..."<<endl;
if( Props.verbose >= 3)
cout << endl;
struct timeval start_time, cur_time;
if(gettimeofday(&sta... | subq $0x8a8, %rsp # imm = 0x8A8
movq %rdi, 0x8a0(%rsp)
movq 0x8a0(%rsp), %rdi
movq %rdi, 0x4f0(%rsp)
movq (%rdi), %rax
callq *0x20(%rax)
movq %rax, %rcx
movq 0x4f0(%rsp), %rax
movq %rcx, 0x898(%rsp)
vmovsd 0x30480(%rip), %xmm0 # 0xae11c0
vmovsd %xmm0, 0x1b8(%rax)
cmpq $0x2, 0x130(%rax)
jb 0xab0e1a
movq 0x... | /laurimi[P]npgi/build_O0/third-party/ExternalProject/madp/src/project_madp/src/libDAI/maxplus.cpp |
libDAI::MaxPlus::beliefV(unsigned long) const | Factor MaxPlus::beliefV( size_t i ) const {
Prob prod( grm().var(i).states() );
for( FactorGraph::nb_cit I = grm().nbV(i).begin(); I != grm().nbV(i).end(); I++ )
prod *= newMessage(i,*I);
prod.normalize();
return( Factor( grm().var(i), prod ) );
} | subq $0xd8, %rsp
movq %rdi, 0x40(%rsp)
movq %rdi, %rax
movq %rax, 0x48(%rsp)
movq %rdi, 0xd0(%rsp)
movq %rsi, 0xc8(%rsp)
movq %rdx, 0xc0(%rsp)
movq 0xc8(%rsp), %rdi
movq %rdi, 0x50(%rsp)
movq (%rdi), %rax
movq 0x20(%rax), %rax
callq *%rax
movq %rax, %rdi
movq 0xc0(%rsp), %rsi
movq (%rdi), %rax
movq 0x30(%rax), %rax
cal... | /laurimi[P]npgi/build_O0/third-party/ExternalProject/madp/src/project_madp/src/libDAI/maxplus.cpp |
libDAI::MaxPlus::beliefs() const | vector<Factor> MaxPlus::beliefs() const {
vector<Factor> result;
for( size_t i = 0; i < grm().nrVars(); i++ )
result.push_back( beliefV(i) );
for( size_t I = 0; I < grm().nrFactors(); I++ )
result.push_back( beliefF(I) );
return result;
} | subq $0xf8, %rsp
movq %rdi, 0x38(%rsp)
movq %rdi, %rax
movq %rax, 0x40(%rsp)
movq %rdi, 0xf0(%rsp)
movq %rsi, 0xe8(%rsp)
movq 0xe8(%rsp), %rax
movq %rax, 0x48(%rsp)
movb $0x0, 0xe7(%rsp)
callq 0x6ef810
movq $0x0, 0xd8(%rsp)
movq 0x48(%rsp), %rdi
movq 0xd8(%rsp), %rax
movq %rax, 0x28(%rsp)
movq (%rdi), %rax
movq 0x20(%r... | /laurimi[P]npgi/build_O0/third-party/ExternalProject/madp/src/project_madp/src/libDAI/maxplus.cpp |
libDAI::MaxPlus::beliefF(unsigned long) const | Factor MaxPlus::beliefF (size_t I) const {
Prob prod( grm().factor(I).p() );
for( FactorGraph::nb_cit j = grm().nbF(I).begin(); j != grm().nbF(I).end(); j++ ) {
// ind is the precalculated Index(j,I) i.e. to x_I == k corresponds x_j == ind[k]
const _ind_t *ind = &(index(*j, I));... | subq $0x168, %rsp # imm = 0x168
movq %rdi, 0xa8(%rsp)
movq %rdi, %rax
movq %rax, 0xb0(%rsp)
movq %rdi, 0x160(%rsp)
movq %rsi, 0x158(%rsp)
movq %rdx, 0x150(%rsp)
movq 0x158(%rsp), %rdi
movq %rdi, 0xb8(%rsp)
movq (%rdi), %rax
movq 0x20(%rax), %rax
callq *%rax
movq %rax, %rdi
movq 0x150(%rsp), %rsi
movq (%rdi),... | /laurimi[P]npgi/build_O0/third-party/ExternalProject/madp/src/project_madp/src/libDAI/maxplus.cpp |
libDAI::MaxPlus::logZ() const | Complex MaxPlus::logZ() const {
Complex sum = 0.0;
for(size_t i = 0; i < grm().nrVars(); i++ )
sum += Complex(1.0 - grm().nbV(i).size()) * beliefV(i).entropy();
for( size_t I = 0; I < grm().nrFactors(); I++ )
sum -= KL_dist( beliefF(I), grm().factor(I) );
return s... | subq $0x148, %rsp # imm = 0x148
movq %rdi, 0x130(%rsp)
movq 0x130(%rsp), %rax
movq %rax, 0x58(%rsp)
leaq 0x138(%rsp), %rdi
vpxor %xmm1, %xmm1, %xmm1
vmovaps %xmm1, %xmm0
callq 0x718410
movq $0x0, 0x128(%rsp)
movq 0x58(%rsp), %rdi
movq 0x128(%rsp), %rax
movq %rax, 0x50(%rsp)
movq (%rdi), %rax
callq *0x20(%rax... | /laurimi[P]npgi/build_O0/third-party/ExternalProject/madp/src/project_madp/src/libDAI/maxplus.cpp |
libDAI::MaxPlus::init(libDAI::VarSet const&) | void MaxPlus::init( const VarSet &ns ) {
for( VarSet::const_iterator n = ns.begin(); n != ns.end(); n++ ) {
size_t ni = grm().findVar( *n );
for( FactorGraph::nb_cit I = grm().nbV(ni).begin(); I != grm().nbV(ni).end(); I++ )
message(ni,*I).fill( 1.0 );
}
} | subq $0x68, %rsp
movq %rdi, 0x60(%rsp)
movq %rsi, 0x58(%rsp)
movq 0x60(%rsp), %rax
movq %rax, 0x18(%rsp)
movq 0x58(%rsp), %rdi
callq 0x7336b0
movq %rax, 0x50(%rsp)
movq 0x58(%rsp), %rdi
callq 0x7157e0
movq %rax, 0x48(%rsp)
leaq 0x50(%rsp), %rdi
leaq 0x48(%rsp), %rsi
callq 0x722fd0
testb $0x1, %al
jne 0xab43ce
jmp 0xab4... | /laurimi[P]npgi/build_O0/third-party/ExternalProject/madp/src/project_madp/src/libDAI/maxplus.cpp |
libDAI::MaxPlus::SetAnyTimeResults(bool, std::basic_ofstream<char, std::char_traits<char>>*, std::basic_ofstream<char, std::char_traits<char>>*) | void MaxPlus::SetAnyTimeResults(bool turn_on,
ofstream* results, ofstream* timings)
{
writeAnyTimeResults = turn_on;
if(turn_on)
{
results_f = results;
timings_f = timings;
}
else
{
results_f = NULL;
... | movb %sil, %al
movq %rdi, -0x8(%rsp)
andb $0x1, %al
movb %al, -0x9(%rsp)
movq %rdx, -0x18(%rsp)
movq %rcx, -0x20(%rsp)
movq -0x8(%rsp), %rax
movq %rax, -0x28(%rsp)
movb -0x9(%rsp), %cl
andb $0x1, %cl
movb %cl, 0x1e8(%rax)
testb $0x1, -0x9(%rsp)
je 0xab4525
movq -0x28(%rsp), %rax
movq -0x18(%rsp), %rcx
movq %rcx, 0x1f0(... | /laurimi[P]npgi/build_O0/third-party/ExternalProject/madp/src/project_madp/src/libDAI/maxplus.cpp |
libDAI::MaxPlus::MaxPlus(libDAI::MaxPlus const&) | MaxPlus & operator=( const MaxPlus & x ) {
if( this != &x ) {
DAIAlgFG::operator=( x );
Props = x.Props;
_maxdiff = x._maxdiff;
_iterations = x._iterations;
_indices = x._indices;
... | subq $0x38, %rsp
movq %rdi, 0x30(%rsp)
movq %rsi, 0x28(%rsp)
movq 0x30(%rsp), %rdi
movq %rdi, 0x8(%rsp)
movq 0x28(%rsp), %rsi
callq 0x706030
movq 0x8(%rsp), %rdi
movq 0x19a532(%rip), %rax # 0xc4f020
addq $0x10, %rax
movq %rax, (%rdi)
movq 0x28(%rsp), %rax
movq 0x138(%rax), %rcx
movq %rcx, 0x138(%rdi)
vmovdqu 0x118(%... | /laurimi[P]npgi/build_O0/third-party/ExternalProject/madp/src/project_madp/src/libDAI/./maxplus.h |
libDAI::MaxPlus::MaxPlus() | MaxPlus() :
DAIAlgFG(), Props(), _maxdiff(0.0), _iterations(0UL), _indices(),
_messages(), _newmessages(), _g(NULL),_k(1),
_k_th_Val(-DBL_MAX), writeAnyTimeResults(false),
results_f(NULL), timings_f(NULL){} | subq $0x38, %rsp
movq %rdi, 0x30(%rsp)
movq 0x30(%rsp), %rdi
movq %rdi, 0x18(%rsp)
callq 0x710f40
movq 0x18(%rsp), %rax
movq 0x19a3bc(%rip), %rcx # 0xc4f020
addq $0x10, %rcx
movq %rcx, (%rax)
movq %rax, %rdi
addq $0x118, %rdi # imm = 0x118
vpxor %xmm0, %xmm0, %xmm0
vmovdqu %ymm0, 0x118(%rax)
movq $0x0, 0x... | /laurimi[P]npgi/build_O0/third-party/ExternalProject/madp/src/project_madp/src/libDAI/./maxplus.h |
libDAI::MaxPlus::UpdateType libDAI::Properties::FromStringTo<libDAI::MaxPlus::UpdateType>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) const | ValueType FromStringTo(const PropertyKey &key) const {
PropertyValue val = Get(key);
if( val.type() != typeid(ValueType) ) {
assert( val.type() == typeid(std::string) );
std::stringstream ss;
ss << GetAs<std::string>(key);
... | subq $0x1f8, %rsp # imm = 0x1F8
movq %rdi, 0x1e8(%rsp)
movq %rsi, 0x1e0(%rsp)
movq 0x1e8(%rsp), %rdi
movq %rdi, 0x10(%rsp)
movq 0x1e0(%rsp), %rsi
callq 0x6e1330
movq %rax, %rsi
leaq 0x1d8(%rsp), %rdi
callq 0x71e310
leaq 0x1d8(%rsp), %rdi
callq 0x715870
movq %rax, %rdi
movq 0x19a950(%rip), %rsi # 0xc4f768
... | /laurimi[P]npgi/build_O0/third-party/ExternalProject/madp/src/project_madp/src/libDAI/./properties.h |
libDAI::MaxPlus::UpdateType libDAI::Properties::GetAs<libDAI::MaxPlus::UpdateType>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) const | ValueType GetAs(const PropertyKey &key) const {
try {
return boost::any_cast<ValueType>(Get(key));
} catch( const boost::bad_any_cast & ) {
std::cerr << "Cannot cast property " << key << " to ";
std::cerr << typeid(ValueType).na... | subq $0x78, %rsp
movq %rdi, 0x68(%rsp)
movq %rsi, 0x60(%rsp)
movq 0x68(%rsp), %rdi
movq %rdi, 0x38(%rsp)
movq 0x60(%rsp), %rsi
callq 0x6e1330
movq %rax, 0x40(%rsp)
jmp 0xab5019
movq 0x40(%rsp), %rdi
callq 0x721180
movl %eax, 0x34(%rsp)
jmp 0xab5029
movl 0x34(%rsp), %eax
movl %eax, 0x74(%rsp)
jmp 0xab5128
movq %rax, %rc... | /laurimi[P]npgi/build_O0/third-party/ExternalProject/madp/src/project_madp/src/libDAI/./properties.h |
libDAI::MaxPlus::UpdateType const& boost::any_cast<libDAI::MaxPlus::UpdateType const&>(boost::any&) | ValueType any_cast(any & operand)
{
typedef BOOST_DEDUCED_TYPENAME remove_reference<ValueType>::type nonref;
#ifdef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
// If 'nonref' is still reference type, it means the user has not
// specialized 'remove_reference'.
// Please use BOOST_BROK... | subq $0x38, %rsp
movq %rdi, 0x30(%rsp)
movq 0x30(%rsp), %rdi
callq 0x711800
movq %rax, 0x28(%rsp)
cmpq $0x0, 0x28(%rsp)
jne 0xab538e
movq $0x0, 0x20(%rsp)
leaq 0x20(%rsp), %rdi
movq %rdi, 0x8(%rsp)
callq 0x7010d0
movq 0x8(%rsp), %rdi
callq 0x6f1460
jmp 0xab5374
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x18(%rsp)
movl... | /laurimi[P]npgi/build_O0/third-party/ExternalProject/madp/src/project_madp/src/libDAI/../../src/boost/boost/any.hpp |
libDAI::MaxPlus::UpdateType const* boost::any_cast<libDAI::MaxPlus::UpdateType const>(boost::any*) | ValueType * any_cast(any * operand) BOOST_NOEXCEPT
{
return operand &&
#ifdef BOOST_AUX_ANY_TYPE_ID_NAME
std::strcmp(operand->type().name(), typeid(ValueType).name()) == 0
#else
operand->type() == typeid(ValueType)
#endif
? &static_cast<any::holder<ValueType> *>(operand-... | subq $0x18, %rsp
movq %rdi, 0x10(%rsp)
cmpq $0x0, 0x10(%rsp)
je 0xab5408
movq 0x10(%rsp), %rdi
callq 0x715870
movq %rax, %rdi
callq 0x71be30
movq %rax, 0x8(%rsp)
movq 0x19a389(%rip), %rdi # 0xc4f768
callq 0x71be30
movq 0x8(%rsp), %rdi
movq %rax, %rsi
callq 0x713f60
cmpl $0x0, %eax
jne 0xab5408
movq 0x10(%rsp), %rax
... | /laurimi[P]npgi/build_O0/third-party/ExternalProject/madp/src/project_madp/src/libDAI/../../src/boost/boost/any.hpp |
libDAI::NDP::initProps() | bool NDP::initProps() {
//if( !HasProperty("updates") )
//return false;
//if( !HasProperty("tol") )
//return false;
//if( !HasProperty("maxiter") )
//return false;
if( !HasProperty("verbose") )
return false;
//Props.updates... | subq $0x98, %rsp
movq %rdi, 0x88(%rsp)
movq 0x88(%rsp), %rax
movq %rax, 0x18(%rsp)
leaq 0x67(%rsp), %rdi
movq %rdi, 0x20(%rsp)
callq 0x720440
movq 0x20(%rsp), %rdx
leaq 0xe8b7(%rip), %rsi # 0xac3d4e
leaq 0x68(%rsp), %rdi
callq 0x72ccc0
jmp 0xab54a3
movq 0x18(%rsp), %rdi
leaq 0x68(%rsp), %rsi
callq 0x6e4120
movb %a... | /laurimi[P]npgi/build_O0/third-party/ExternalProject/madp/src/project_madp/src/libDAI/ndp.cpp |
libDAI::NDP::NDP(libDAI::FactorGraph const&, libDAI::Properties const&, unsigned long) | NDP::NDP(const FactorGraph & fg, const Properties &opts, size_t k )
:
DAIAlgFG(fg, opts),
Props(),
//_maxdiff(0.0),
//_iterations(0UL),
//_indices(),
//_messages(),
//_newmessages(),
_m_induced_width(0),
... | subq $0x178, %rsp # imm = 0x178
movq %rdi, 0x170(%rsp)
movq %rsi, 0x168(%rsp)
movq %rdx, 0x160(%rsp)
movq %rcx, 0x158(%rsp)
movq 0x170(%rsp), %rdi
movq %rdi, 0xf0(%rsp)
movq 0x168(%rsp), %rsi
movq 0x160(%rsp), %rdx
callq 0x72de40
movq 0xf0(%rsp), %rax
movq 0x19a715(%rip), %rcx # 0xc4fd50
addq $0x10, %rcx
... | /laurimi[P]npgi/build_O0/third-party/ExternalProject/madp/src/project_madp/src/libDAI/ndp.cpp |
libDAI::NDP::init() | void NDP::init() { //messages (one for each edge?) are initialized with uniform probabilities
if( !initProps() )
DAI_THROW(NOT_ALL_PROPERTIES_SPECIFIED);
/*
for( vector<Prob>::iterator mij = _messages.begin(); mij != _messages.end(); mij++ )
//mij->fill(1.0 / mij->size())... | subq $0x58, %rsp
movq %rdi, 0x50(%rsp)
movq 0x50(%rsp), %rdi
movq %rdi, 0x10(%rsp)
movq (%rdi), %rax
callq *0x88(%rax)
testb $0x1, %al
jne 0xab5eba
movb $0x1, 0x1b(%rsp)
movl $0x10, %edi
callq 0x6eef80
movq %rax, (%rsp)
leaq 0x2f(%rsp), %rdi
movq %rdi, 0x8(%rsp)
callq 0x720440
movq 0x8(%rsp), %rdx
leaq 0x2d027(%rip), %... | /laurimi[P]npgi/build_O0/third-party/ExternalProject/madp/src/project_madp/src/libDAI/ndp.cpp |
libDAI::NDP::ComputeHeuristicVariableOrdering() | void NDP::ComputeHeuristicVariableOrdering()
{
//NDPMemFn vhld = &NDP::VariableHasLowerDegree;
std::vector< Var > v = grm().vars();
//variable with lower degrees first:
VariableHasLowerDegree vhld(grm());
std::sort(v.begin(), v.end(), vhld);
_m_varOrder.resize( v.siz... | subq $0xd8, %rsp
movq %rdi, 0xd0(%rsp)
movq 0xd0(%rsp), %rdi
movq %rdi, 0x60(%rsp)
movq (%rdi), %rax
movq 0x20(%rax), %rax
callq *%rax
movq %rax, %rdi
movq (%rdi), %rax
movq 0x38(%rax), %rax
callq *%rax
movq %rax, %rsi
leaq 0xb8(%rsp), %rdi
callq 0x720c00
movq 0x60(%rsp), %rdi
movq (%rdi), %rax
movq 0x20(%rax), %rax
ca... | /laurimi[P]npgi/build_O0/third-party/ExternalProject/madp/src/project_madp/src/libDAI/ndp.cpp |
libDAI::NDP::EliminateVariable(unsigned long) | void NDP::EliminateVariable(size_t i_th_var)
{
if(Props.verbose >= 1)
cout << "Starting elimination of "<<i_th_var<<"-th var..."<<endl;
size_t varIndex = _m_varOrder.at(i_th_var);
const FactorGraph& g = grm();
//this has been replaced by the GetFactor function that
... | subq $0x778, %rsp # imm = 0x778
movq %rdi, 0x770(%rsp)
movq %rsi, 0x768(%rsp)
movq 0x770(%rsp), %rax
movq %rax, 0x258(%rsp)
cmpq $0x1, 0x118(%rax)
jb 0xab65f2
movq 0x198c10(%rip), %rdi # 0xc4f1c8
leaq 0x2c915(%rip), %rsi # 0xae2ed4
callq 0x6fb6a0
movq %rax, %rdi
movq 0x768(%rsp), %rsi
callq 0x727ef0
m... | /laurimi[P]npgi/build_O0/third-party/ExternalProject/madp/src/project_madp/src/libDAI/ndp.cpp |
libDAI::NDP::ConstructOptimalAssignments() | double NDP::ConstructOptimalAssignments()
{
size_t lastVarI = _g->nrVars()-1;
//the optimal value is directly given by the factor introduced for
//the very last variable! - which has 1 local state (the empty one)
double value = _m_newFacs.at(lastVarI)[0];
if(Props... | subq $0x78, %rsp
movq %rdi, 0x70(%rsp)
movq 0x70(%rsp), %rax
movq %rax, 0x18(%rsp)
movq 0x1a8(%rax), %rdi
movq (%rdi), %rax
callq *0x28(%rax)
movq 0x18(%rsp), %rdi
subq $0x1, %rax
movq %rax, 0x68(%rsp)
addq $0x148, %rdi # imm = 0x148
movq 0x68(%rsp), %rsi
callq 0x706bc0
movq %rax, %rdi
xorl %eax, %eax
movl %... | /laurimi[P]npgi/build_O0/third-party/ExternalProject/madp/src/project_madp/src/libDAI/ndp.cpp |
libDAI::NDP::SelectStateForVar(unsigned long) | void NDP::SelectStateForVar(size_t varOrderI)
{
//get the factor that was introduced when eliminating varOrderI
Factor& fI = _m_newFacs.at(varOrderI);
//get the variables involved
const VarSet & vs = fI.vars();
nb_type vsI = NBFromVarSet(vs);
//see w... | subq $0x158, %rsp # imm = 0x158
movq %rdi, 0x150(%rsp)
movq %rsi, 0x148(%rsp)
movq 0x150(%rsp), %rdi
movq %rdi, 0x60(%rsp)
addq $0x148, %rdi # imm = 0x148
movq 0x148(%rsp), %rsi
callq 0x706bc0
movq %rax, 0x140(%rsp)
movq 0x140(%rsp), %rdi
callq 0x6e4b40
movq 0x60(%rsp), %rsi
movq %rax, 0x138(%rsp)... | /laurimi[P]npgi/build_O0/third-party/ExternalProject/madp/src/project_madp/src/libDAI/ndp.cpp |
libDAI::NDP::logZ() const | Complex NDP::logZ() const {
throw("NDP::logZ makes no sense?");
Complex sum = 0.0;
/*
for(size_t i = 0; i < grm().nrVars(); i++ )
sum += Complex(1.0 - grm().nbV(i).size()) * beliefV(i).entropy();
for( size_t I = 0; I < grm().nrFactors(); I++ )
sum -= KL_di... | pushq %rax
movq %rdi, (%rsp)
movl $0x8, %edi
callq 0x6eef80
movq %rax, %rdi
leaq 0x2b08f(%rip), %rax # 0xae3048
movq %rax, (%rdi)
movq 0x197bc5(%rip), %rsi # 0xc4fb88
xorl %eax, %eax
movl %eax, %edx
callq 0x6fff40
nopl (%rax)
| /laurimi[P]npgi/build_O0/third-party/ExternalProject/madp/src/project_madp/src/libDAI/ndp.cpp |
libDAI::NDP::GetFactor(unsigned long) const | const Factor & GetFactor(size_t i) const
{
//nr of Original Factors:
size_t nrOFs = _g->nrFactors();
if(i < nrOFs)
return (_g->factor(i));
else
return ( _m_newFacs.at(i - nrOFs) );
} | subq $0x28, %rsp
movq %rdi, 0x18(%rsp)
movq %rsi, 0x10(%rsp)
movq 0x18(%rsp), %rax
movq %rax, (%rsp)
movq 0x1a8(%rax), %rdi
movq (%rdi), %rax
callq *0x48(%rax)
movq %rax, 0x8(%rsp)
movq 0x10(%rsp), %rax
cmpq 0x8(%rsp), %rax
jae 0xab8a72
movq (%rsp), %rax
movq 0x1a8(%rax), %rdi
movq 0x10(%rsp), %rsi
movq (%rdi), %rax
ca... | /laurimi[P]npgi/build_O0/third-party/ExternalProject/madp/src/project_madp/src/libDAI/./ndp.h |
libDAI::Index::operator=(libDAI::Index const&) | Index & operator=(const Index & ind) {
if(this!=&ind) {
_index = ind._index;
_count = ind._count;
_max = ind._max;
_sum = ind._sum;
}
return *this;
} | subq $0x18, %rsp
movq %rdi, 0x10(%rsp)
movq %rsi, 0x8(%rsp)
movq 0x10(%rsp), %rax
movq %rax, (%rsp)
cmpq 0x8(%rsp), %rax
je 0xab8b8b
movq (%rsp), %rdi
movq 0x8(%rsp), %rax
movq (%rax), %rax
movq %rax, (%rdi)
movq 0x8(%rsp), %rsi
addq $0x8, %rsi
addq $0x8, %rdi
callq 0x6ffd20
movq (%rsp), %rdi
movq 0x8(%rsp), %rsi
addq ... | /laurimi[P]npgi/build_O0/third-party/ExternalProject/madp/src/project_madp/src/libDAI/./index.h |
libDAI::NDP::NBFromVarSet(libDAI::VarSet const&) const | nb_type NBFromVarSet(const VarSet & vs) const
{
nb_type n(vs.size());
VarSet::const_iterator it = vs.begin();
for(size_t i=0; it != vs.end(); it++, i++)
{
const Var & v = *it;
size_t vI = _g->findVar(v);
... | subq $0xa8, %rsp
movq %rdi, 0x30(%rsp)
movq %rdi, %rax
movq %rax, 0x20(%rsp)
movq %rdi, 0xa0(%rsp)
movq %rsi, 0x98(%rsp)
movq %rdx, 0x90(%rsp)
movq 0x98(%rsp), %rax
movq %rax, 0x28(%rsp)
movb $0x0, 0x8f(%rsp)
movq 0x90(%rsp), %rdi
callq 0x6f8f20
movq %rax, 0x38(%rsp)
leaq 0x8e(%rsp), %rdi
movq %rdi, 0x40(%rsp)
callq 0x... | /laurimi[P]npgi/build_O0/third-party/ExternalProject/madp/src/project_madp/src/libDAI/./ndp.h |
libDAI::NDP::NDP(libDAI::NDP const&) | NDP( const NDP & x ) :
DAIAlgFG(x),
Props(x.Props),
//_maxdiff(x._maxdiff),
//_iterations(x._iterations),
//_indices(x._indices),
//_messages(x._messages),
//_newmessages(x._newmessages),
_g... | subq $0x18, %rsp
movq %rdi, 0x10(%rsp)
movq %rsi, 0x8(%rsp)
movq 0x10(%rsp), %rdi
movq %rdi, (%rsp)
movq 0x8(%rsp), %rsi
callq 0x706030
movq (%rsp), %rdi
movq 0x195974(%rip), %rax # 0xc4fd50
addq $0x10, %rax
movq %rax, (%rdi)
movq 0x8(%rsp), %rax
movq 0x118(%rax), %rax
movq %rax, 0x118(%rdi)
addq $0x128, %rdi ... | /laurimi[P]npgi/build_O0/third-party/ExternalProject/madp/src/project_madp/src/libDAI/./ndp.h |
libDAI::NDP::NDP() | NDP() :
DAIAlgFG(),
Props(),
//_maxdiff(0.0),
//_iterations(0UL),
//_indices(),
//_messages(),
//_newmessages(),
_g(NULL),
_k(1),
_k_th_Val(-DBL_MAX) //,... | subq $0x18, %rsp
movq %rdi, 0x10(%rsp)
movq 0x10(%rsp), %rdi
movq %rdi, 0x8(%rsp)
callq 0x710f40
movq 0x8(%rsp), %rdi
movq 0x1958ac(%rip), %rax # 0xc4fd50
addq $0x10, %rax
movq %rax, (%rdi)
addq $0x118, %rdi # imm = 0x118
xorl %esi, %esi
movl $0x8, %edx
callq 0x6e9940
movq 0x8(%rsp), %rdi
addq $0x128, %rd... | /laurimi[P]npgi/build_O0/third-party/ExternalProject/madp/src/project_madp/src/libDAI/./ndp.h |
libDAI::NDP::VariableHasLowerDegree::operator()(libDAI::Var, libDAI::Var) const | bool operator() (Var i, Var j) const
{
const FactorGraph& g = _m_grm;
size_t ind_i = g.findVar(i);
size_t ind_j = g.findVar(j);
size_t di = g.nbV(ind_i).size();
size_t dj = g.nbV(ind_j).size();
... | subq $0x58, %rsp
movq %rsi, 0x48(%rsp)
movq %rdx, 0x50(%rsp)
movq %rcx, 0x38(%rsp)
movq %r8, 0x40(%rsp)
movq %rdi, 0x30(%rsp)
movq 0x30(%rsp), %rax
movq (%rax), %rax
movq %rax, 0x28(%rsp)
movq 0x28(%rsp), %rdi
movq (%rdi), %rax
leaq 0x48(%rsp), %rsi
callq *0x40(%rax)
movq %rax, 0x20(%rsp)
movq 0x28(%rsp), %rdi
movq (%r... | /laurimi[P]npgi/build_O0/third-party/ExternalProject/madp/src/project_madp/src/libDAI/./ndp.h |
pystring::os::path::join_posix(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>> const&) | std::string join_posix(const std::vector< std::string > & paths)
{
if(paths.empty()) return empty_string;
if(paths.size() == 1) return paths[0];
std::string path = paths[0];
for(unsigned int i=1; i<paths.size(); ++i)
{
std::string b = paths[i];
... | pushq %rbp
movq %rsp, %rbp
subq $0x90, %rsp
movq %rdi, -0x78(%rbp)
movq %rdi, %rax
movq %rax, -0x70(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x10(%rbp), %rdi
callq 0x9b90
testb $0x1, %al
jne 0xeacd
jmp 0xeae2
movq -0x78(%rbp), %rdi
leaq 0x7c78(%rip), %rsi # 0x16750
callq 0x92a0
jmp 0xeca4
movq -0x1... | /imageworks[P]pystring/pystring.cpp |
ev3dev::sensor::set_mode(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>) | sensor& set_mode(std::string v) {
set_attr_string("mode", v);
return *this;
} | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x18(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x878a(%rip), %rsi # 0x160c6
leaq 0x8787(%rip), %rdx # 0x160ca
leaq 0x8(%rsp), %r15
movq %r15, %rdi
callq 0xda12
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq ... | /ddemidov[P]ev3dev-lang-cpp/ev3dev.h |
ev3dev::motor::set_command(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>) | motor& set_command(std::string v) {
set_attr_string("command", v);
return *this;
} | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x18(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x8724(%rip), %rsi # 0x160dc
leaq 0x8724(%rip), %rdx # 0x160e3
leaq 0x8(%rsp), %r15
movq %r15, %rdi
callq 0xda12
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq ... | /ddemidov[P]ev3dev-lang-cpp/ev3dev.h |
std::function<void (bool)> roll<ev3dev::large_motor, std::vector<ev3dev::led*, std::allocator<ev3dev::led*>>>(ev3dev::large_motor&, std::vector<ev3dev::led*, std::allocator<ev3dev::led*>>&, int)::'lambda'(bool)::operator()(bool) const | std::function<void(bool)> roll(Motor &motor, Leds &leds, int dir) {
return [&motor, &leds, dir](bool state) {
if (state) {
motor.set_speed_sp(900 * dir).run_forever();
ev3::led::set_color(leds, dir > 0 ? ev3::led::green : ev3::led::red);
} else {
motor.set_stop_ac... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
movq (%rdi), %r14
testl %esi, %esi
je 0xdba5
imull $0x384, 0x10(%rbx), %esi # imm = 0x384
movq %r14, %rdi
callq 0xd806
movq %rax, %rdi
callq 0xdc48
movq 0x8(%rbx), %rdi
cmpl $0x0, 0x10(%rbx)
jle 0xdc16
leaq 0xecdd(%rip), %rsi # 0x1c880
jm... | /ddemidov[P]ev3dev-lang-cpp/demos/remote-control.cpp |
ev3dev::power_supply::power_supply(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>) | power_supply::power_supply(std::string name) {
static const std::string _strClassDir { SYS_ROOT "/power_supply/" };
if (name.empty())
name = "lego-ev3-battery";
connect(_strClassDir, name, std::map<std::string, std::set<std::string>>());
} | pushq %r15
pushq %r14
pushq %rbx
subq $0x30, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x10(%rdi), %r15
movq %r15, (%rdi)
movq $0x0, 0x8(%rdi)
movb $0x0, 0x10(%rdi)
movl $0xffffffff, 0x20(%rdi) # imm = 0xFFFFFFFF
movb 0xb09b(%rip), %al # 0x1c928
testb %al, %al
je 0x118ff
movq 0x8(%r14), %rdx
testq %rdx, %rdx
jne ... | /ddemidov[P]ev3dev-lang-cpp/ev3dev.cpp |
ev3dev::button::button(int) | button::button(int bit)
: _bit(bit),
_buf((KEY_CNT + bits_per_long - 1) / bits_per_long),
_fd( new file_descriptor("/dev/input/by-path/platform-gpio_keys-event", O_RDONLY) )
{ } | pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rdi)
movups %xmm0, (%rdi)
movl %esi, 0x20(%rdi)
movb $0x0, 0x24(%rdi)
movups %xmm0, 0x28(%rdi)
movq $0x0, 0x38(%rdi)
movl $0x60, %edi
callq 0xc2e0
movq %rax, 0x28(%rbx)
movq %rax, 0x30(%rbx)
movq %rax, %rcx
addq $0x60, %rcx
movq %rc... | /ddemidov[P]ev3dev-lang-cpp/ev3dev.cpp |
ev3dev::button::pressed() const | bool button::pressed() const {
#ifndef NO_LINUX_HEADERS
if (ioctl(*_fd, EVIOCGKEY(_buf.size()), _buf.data()) < 0) {
// handle error
}
#endif
return (_buf[_bit / bits_per_long] & 1 << (_bit % bits_per_long));
} | pushq %rbx
movq %rdi, %rbx
movq 0x40(%rdi), %rax
movl (%rax), %edi
movq 0x28(%rbx), %rdx
movq 0x30(%rbx), %rax
subq %rdx, %rax
shlq $0xd, %rax
movl $0x80004518, %esi # imm = 0x80004518
orq %rax, %rsi
xorl %eax, %eax
callq 0xc3d0
movl 0x20(%rbx), %ecx
leal 0x3f(%rcx), %eax
testl %ecx, %ecx
cmovnsl %ecx, %eax
sarl ... | /ddemidov[P]ev3dev-lang-cpp/ev3dev.cpp |
ev3dev::button::process_all() | bool button::process_all() {
std::array<bool, 6> changed{{
back. process(),
left. process(),
right.process(),
up. process(),
down. process(),
enter.process()
}};
return std::any_of(changed.begin(), changed.end(), [](bool c){ return c; });... | pushq %rbx
subq $0x10, %rsp
leaq 0xadf6(%rip), %rdi # 0x1c930
callq 0x11aea
leaq 0x10(%rsp), %rbx
movb %al, -0x6(%rbx)
leaq 0xae32(%rip), %rdi # 0x1c980
callq 0x11aea
movb %al, -0x5(%rbx)
leaq 0xae73(%rip), %rdi # 0x1c9d0
callq 0x11aea
movb %al, -0x4(%rbx)
leaq 0xaeb4(%rip), %rdi # 0x1ca20
callq 0x1... | /ddemidov[P]ev3dev-lang-cpp/ev3dev.cpp |
ev3dev::sound::beep(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, bool) | void sound::beep(const std::string &args, bool bSynchronous) {
std::ostringstream cmd;
cmd << "/usr/bin/beep " << args;
if (!bSynchronous) cmd << " &";
std::system(cmd.str().c_str());
} | pushq %r15
pushq %r14
pushq %rbx
subq $0x1a0, %rsp # imm = 0x1A0
movl %esi, %ebx
movq %rdi, %r14
leaq 0x28(%rsp), %r15
movq %r15, %rdi
callq 0xc3b0
leaq 0x47e1(%rip), %rsi # 0x163f6
movl $0xe, %edx
movq %r15, %rdi
callq 0xc340
movq (%r14), %rsi
movq 0x8(%r14), %rdx
leaq 0x28(%rsp), %rdi
callq 0xc340
tes... | /ddemidov[P]ev3dev-lang-cpp/ev3dev.cpp |
testing::Message::Message(testing::Message const&) | Message(const Message& msg) : ss_(new ::std::stringstream) { // NOLINT
*ss_ << msg.GetString();
} | pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rdi, %rbx
movl $0x188, %edi # imm = 0x188
movq %rsi, %r14
callq 0x1e4a0
movq %rax, %r15
movq %rax, %rdi
callq 0x1e330
movq %r15, (%rbx)
movq (%r14), %rsi
movq %rsp, %rdi
callq 0x2f617
movq 0x8(%rsp), %rdx
movq (%rsp), %rsi
addq $0x10, %r15
movq %r15, %r... | /etveritas[P]xlearn/gtest/include/gtest/gtest-message.h |
void testing::internal::ShuffleRange<int>(testing::internal::Random*, int, int, std::vector<int, std::allocator<int>>*) | void ShuffleRange(internal::Random* random, int begin, int end,
std::vector<E>* v) {
const int size = static_cast<int>(v->size());
GTEST_CHECK_(0 <= begin && begin <= size)
<< "Invalid shuffle range start " << begin << ": must be in range [0, "
<< size << "].";
GTEST_CHECK_(begin <= ... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq 0x8(%rcx), %r15
movq %rcx, %rbx
movl %edx, %r12d
movl %esi, %ebp
movq %rdi, %r14
subq (%rcx), %r15
shrq $0x2, %r15
testl %esi, %esi
js 0x44ac7
cmpl %ebp, %r15d
jge 0x44b60
leaq 0xa380(%rip), %rdx # 0x4ee4e
leaq 0x4(%rsp), %rdi
movl $... | /etveritas[P]xlearn/gtest/src/gtest-internal-inl.h |
void testing::internal::ParseGoogleTestFlagsOnlyImpl<char>(int*, char**) | void ParseGoogleTestFlagsOnlyImpl(int* argc, CharType** argv) {
for (int i = 1; i < *argc; i++) {
const std::string arg_string = StreamableToString(argv[i]);
const char* const arg = arg_string.c_str();
using internal::ParseBoolFlag;
using internal::ParseInt32Flag;
using internal::ParseStringFlag;... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
cmpl $0x2, (%rdi)
jl 0x44fbf
leaq 0x8(%rsi), %r15
movl $0x1, %r12d
movq %rsi, %rbx
movq %rdi, %r14
movslq %r12d, %r13
leaq 0x8(%rsp), %rdi
leaq (%rbx,%r13,8), %rsi
vzeroupper
callq 0x49fc5
movq 0x8(%rsp), %rbp
leaq 0x7c80(%rip), %rsi ... | /etveritas[P]xlearn/gtest/src/gtest.cc |
void testing::internal::ParseGoogleTestFlagsOnlyImpl<wchar_t>(int*, wchar_t**) | void ParseGoogleTestFlagsOnlyImpl(int* argc, CharType** argv) {
for (int i = 1; i < *argc; i++) {
const std::string arg_string = StreamableToString(argv[i]);
const char* const arg = arg_string.c_str();
using internal::ParseBoolFlag;
using internal::ParseInt32Flag;
using internal::ParseStringFlag;... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
cmpl $0x2, (%rdi)
jl 0x45327
leaq 0x8(%rsi), %r15
movl $0x1, %r12d
movq %rsi, %rbx
movq %rdi, %r14
movslq %r12d, %r13
leaq 0x8(%rsp), %rdi
leaq (%rbx,%r13,8), %rsi
vzeroupper
callq 0x4a053
movq 0x8(%rsp), %rbp
leaq 0x7918(%rip), %rsi ... | /etveritas[P]xlearn/gtest/src/gtest.cc |
void testing::internal::InitGoogleTestImpl<char>(int*, char**) | void InitGoogleTestImpl(int* argc, CharType** argv) {
g_init_gtest_count++;
// We don't want to run the initialization code twice.
if (g_init_gtest_count != 1) return;
if (*argc <= 0) return;
internal::g_executable_path = internal::StreamableToString(argv[0]);
#if GTEST_HAS_DEATH_TEST
g_argvs.clear();
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movl 0xa1bb3f(%rip), %eax # 0xa60ebc
leal 0x1(%rax), %ecx
movl %ecx, 0xa1bb36(%rip) # 0xa60ebc
testl %eax, %eax
jne 0x45441
cmpl $0x0, (%rdi)
movq %rdi, %r14
jle 0x45441
leaq 0x8(%rsp), %r15
movq %rsi, (%rsp)
movq %r15, %rdi
callq ... | /etveritas[P]xlearn/gtest/src/gtest.cc |
void testing::internal::InitGoogleTestImpl<wchar_t>(int*, wchar_t**) | void InitGoogleTestImpl(int* argc, CharType** argv) {
g_init_gtest_count++;
// We don't want to run the initialization code twice.
if (g_init_gtest_count != 1) return;
if (*argc <= 0) return;
internal::g_executable_path = internal::StreamableToString(argv[0]);
#if GTEST_HAS_DEATH_TEST
g_argvs.clear();
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movl 0xa1ba3e(%rip), %eax # 0xa60ebc
leal 0x1(%rax), %ecx
movl %ecx, 0xa1ba35(%rip) # 0xa60ebc
testl %eax, %eax
jne 0x45542
cmpl $0x0, (%rdi)
movq %rdi, %r14
jle 0x45542
leaq 0x8(%rsp), %r15
movq %rsi, (%rsp)
movq %r15, %rdi
callq ... | /etveritas[P]xlearn/gtest/src/gtest.cc |
testing::internal::Arguments::Arguments() | Arguments() {
args_.push_back(NULL);
} | pushq %r14
pushq %rbx
pushq %rax
vxorps %xmm0, %xmm0, %xmm0
xorl %eax, %eax
movq %rdi, %rbx
movq %rsp, %rdx
movq %rax, 0x10(%rdi)
vmovups %xmm0, (%rdi)
movq %rax, (%rdx)
xorl %esi, %esi
callq 0x47f7e
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq (%rbx), %rdi
movq %rax, %r14
testq %rdi, %rdi
je 0x455aa
callq 0x1e450
mov... | /etveritas[P]xlearn/gtest/src/gtest-death-test.cc |
testing::internal::CapturedStream::CapturedStream(int) | explicit CapturedStream(int fd) : fd_(fd), uncaptured_fd_(dup(fd)) {
# if GTEST_OS_WINDOWS
char temp_dir_path[MAX_PATH + 1] = { '\0' }; // NOLINT
char temp_file_path[MAX_PATH + 1] = { '\0' }; // NOLINT
::GetTempPathA(sizeof(temp_dir_path), temp_dir_path);
const UINT success = ::GetTempFileNameA(temp_... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %r14
movl %esi, (%rdi)
movl %esi, %edi
callq 0x1e860
vmovups 0xa20e(%rip), %xmm0 # 0x4f97c
vmovaps 0xa1fa(%rip), %xmm1 # 0x4f970
leaq 0x8(%r14), %rbx
leaq 0x18(%r14), %r13
movl %eax, 0x4(%r14)
movq %rsp, %rdi
movq %r13... | /etveritas[P]xlearn/gtest/src/gtest-port.cc |
testing::internal::CapturedStream::GetCapturedString[abi:cxx11]() | std::string GetCapturedString() {
if (uncaptured_fd_ != -1) {
// Restores the original stream.
fflush(NULL);
dup2(uncaptured_fd_, fd_);
close(uncaptured_fd_);
uncaptured_fd_ = -1;
}
FILE* const file = posix::FOpen(filename_.c_str(), "r");
const std::string content = ReadEn... | pushq %r14
pushq %rbx
pushq %rax
cmpl $-0x1, 0x4(%rsi)
movq %rsi, %r14
movq %rdi, %rbx
je 0x4583c
xorl %edi, %edi
callq 0x1e5f0
movl (%r14), %esi
movl 0x4(%r14), %edi
callq 0x1e440
movl 0x4(%r14), %edi
callq 0x1eb30
movl $0xffffffff, 0x4(%r14) # imm = 0xFFFFFFFF
movq 0x8(%r14), %rdi
leaq 0x9e1a(%rip), %rsi # 0x4f... | /etveritas[P]xlearn/gtest/src/gtest-port.cc |
testing::internal::CapturedStream::~CapturedStream() | ~CapturedStream() {
remove(filename_.c_str());
} | pushq %rbx
movq %rdi, %rbx
movq 0x8(%rdi), %rdi
callq 0x1ea70
movq 0x8(%rbx), %rdi
addq $0x18, %rbx
cmpq %rbx, %rdi
je 0x4588e
popq %rbx
jmp 0x1e450
popq %rbx
retq
| /etveritas[P]xlearn/gtest/src/gtest-port.cc |
void testing::internal::PrintCharAndCodeTo<unsigned char, unsigned char>(unsigned char, std::ostream*) | void PrintCharAndCodeTo(Char c, ostream* os) {
// First, print c as a literal in the most readable form we can find.
*os << ((sizeof(c) > 1) ? "L'" : "'");
const CharFormat format = PrintAsCharLiteralTo<UnsignedChar>(c, os);
*os << "'";
// To aid user debugging, we also print c's code in decimal, unless
//... | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x48, %rsp
leaq 0x9dcc(%rip), %r14 # 0x4f66d
movl $0x1, %edx
movl %edi, %ebp
movq %rsi, %rbx
movq %rsi, %rdi
movq %r14, %rsi
callq 0x1e5a0
cmpl $0xd, %ebp
ja 0x458e6
leaq 0x7f6e(%rip), %rcx # 0x4d830
movl %ebp, %eax
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
j... | /etveritas[P]xlearn/gtest/src/gtest-printers.cc |
void testing::internal::PrintCharAndCodeTo<unsigned char, signed char>(signed char, std::ostream*) | void PrintCharAndCodeTo(Char c, ostream* os) {
// First, print c as a literal in the most readable form we can find.
*os << ((sizeof(c) > 1) ? "L'" : "'");
const CharFormat format = PrintAsCharLiteralTo<UnsignedChar>(c, os);
*os << "'";
// To aid user debugging, we also print c's code in decimal, unless
//... | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x48, %rsp
leaq 0x9b36(%rip), %r14 # 0x4f66d
movl $0x1, %edx
movl %edi, %ebp
movq %rsi, %rbx
movq %rsi, %rdi
movq %r14, %rsi
callq 0x1e5a0
cmpl $0xd, %ebp
ja 0x45b7c
leaq 0x7d10(%rip), %rcx # 0x4d868
movl %ebp, %eax
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
j... | /etveritas[P]xlearn/gtest/src/gtest-printers.cc |
void testing::internal::PrintCharAndCodeTo<wchar_t, wchar_t>(wchar_t, std::ostream*) | void PrintCharAndCodeTo(Char c, ostream* os) {
// First, print c as a literal in the most readable form we can find.
*os << ((sizeof(c) > 1) ? "L'" : "'");
const CharFormat format = PrintAsCharLiteralTo<UnsignedChar>(c, os);
*os << "'";
// To aid user debugging, we also print c's code in decimal, unless
//... | pushq %rbp
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rsi, %rbx
leaq 0x9893(%rip), %rsi # 0x4f66c
movl $0x2, %edx
movl %edi, %ebp
movq %rbx, %rdi
callq 0x1e5a0
movl %ebp, %edi
movq %rbx, %rsi
callq 0x42386
leaq 0x9874(%rip), %rsi # 0x4f66d
movl $0x1, %edx
movq %rbx, %rdi
movl %eax, %r14d
callq 0x1e5a0
testl... | /etveritas[P]xlearn/gtest/src/gtest-printers.cc |
testing::internal::DeathTestImpl::~DeathTestImpl() | ~DeathTestImpl() { GTEST_DEATH_TEST_CHECK_(read_fd_ == -1); } | pushq %rbx
subq $0xf0, %rsp
leaq 0x19995(%rip), %rax # 0x5f928
movq %rax, (%rdi)
cmpl $-0x1, 0x24(%rdi)
jne 0x45fa5
addq $0xf0, %rsp
popq %rbx
retq
leaq 0xe0(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x87d1(%rip), %rsi # 0x4e789
leaq 0x87dd(%rip), %rdx # 0x4e79c
leaq 0xd0(%rsp), %rdi
callq 0x24344
leaq 0x86... | /etveritas[P]xlearn/gtest/src/gtest-death-test.cc |
testing::internal::MutexBase::Lock() | void Lock() {
GTEST_CHECK_POSIX_SUCCESS_(pthread_mutex_lock(&mutex_));
owner_ = pthread_self();
has_owner_ = true;
} | pushq %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
callq 0x1e7f0
testl %eax, %eax
je 0x462b4
leaq 0x8a88(%rip), %rdx # 0x4ecde
leaq 0x4(%rsp), %rdi
movl $0x3, %esi
movl $0x53c, %ecx # imm = 0x53C
movl %eax, %ebp
callq 0x40888
movq 0x19d7d(%rip), %rdi # 0x5fff0
leaq 0x8ad8(%rip), %rsi # 0x4ed52
mo... | /etveritas[P]xlearn/gtest/include/gtest/internal/gtest-port.h |
testing::internal::ThreadLocal<std::vector<testing::internal::TraceInfo, std::allocator<testing::internal::TraceInfo>>>::GetOrCreateValue() const | T* GetOrCreateValue() const {
ThreadLocalValueHolderBase* const holder =
static_cast<ThreadLocalValueHolderBase*>(pthread_getspecific(key_));
if (holder != NULL) {
return CheckedDowncastToActualType<ValueHolder>(holder)->pointer();
}
ValueHolder* const new_holder = new ValueHolder(default... | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %r14
movl (%rdi), %edi
callq 0x1e830
testq %rax, %rax
je 0x464e2
movq %rax, %rdi
callq 0x465b0
movq %rax, %rbx
addq $0x8, %rbx
jmp 0x46580
movl $0x20, %edi
callq 0x1e4a0
movq %rax, %r15
movq %r15, %rbx
leaq 0x1972f(%rip), %rcx # 0x5fc28
addq $0x8, %r... | /etveritas[P]xlearn/gtest/include/gtest/internal/gtest-port.h |
testing::internal::ThreadLocal<std::vector<testing::internal::TraceInfo, std::allocator<testing::internal::TraceInfo>>>::ValueHolder* testing::internal::CheckedDowncastToActualType<testing::internal::ThreadLocal<std::vector<testing::internal::TraceInfo, std::allocator<testing::internal::TraceInfo>>>::ValueHolder, testi... | Derived* CheckedDowncastToActualType(Base* base) {
#if GTEST_HAS_RTTI
GTEST_CHECK_(typeid(*base) == typeid(Derived));
return dynamic_cast<Derived*>(base); // NOLINT
#else
return static_cast<Derived*>(base); // Poor man's downcast.
#endif
} | pushq %rbx
subq $0x10, %rsp
testq %rdi, %rdi
je 0x46647
movq (%rdi), %rax
movq %rdi, %rbx
movq -0x8(%rax), %rax
movq 0x8(%rax), %rdi
leaq 0x9276(%rip), %rax # 0x4f849
cmpq %rax, %rdi
je 0x4662a
cmpb $0x2a, (%rdi)
je 0x465ed
leaq 0x9265(%rip), %rsi # 0x4f849
callq 0x1e790
testl %eax, %eax
je 0x4662a
leaq 0x86e... | /etveritas[P]xlearn/gtest/include/gtest/internal/gtest-port.h |
testing::internal::StreamingListener::Start() | void Start() { SendLn("gtest_streaming_protocol_version=1.0"); } | pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
leaq 0x10(%rsp), %r15
leaq 0x8747(%rip), %rsi # 0x4f064
leaq 0x8764(%rip), %rdx # 0x4f088
movq %rdi, %rbx
movq %rsp, %r14
movq %r14, %rdi
movq %r15, -0x10(%r15)
callq 0x24344
movq 0x8(%rbx), %rdi
movq %r14, %rsi
callq 0x47ea4
movq (%rsp), %rdi
cmpq %r15, %rdi
... | /etveritas[P]xlearn/gtest/src/gtest-internal-inl.h |
main | int main(int argc, char** argv) {
if (argc != 3) {
std::cerr << "Usage: ./compile_test /path_to_source_code -use_mode" << endl;
return -1;
} else {
for (int i=2; i<3; ++i) {
if (argv[i][0] == '-') {
switch(argv[i][1]) {
case '1': TestLexica... | pushq %r14
pushq %rbx
pushq %rax
cmpl $0x3, %edi
jne 0x24d33
movq %rsi, %rbx
movq 0x10(%rsi), %rax
cmpb $0x2d, (%rax)
jne 0x24d48
movzbl 0x1(%rax), %eax
addl $-0x31, %eax
cmpl $0x5, %eax
ja 0x24de4
leaq 0x3b304(%rip), %rcx # 0x60020
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq 0x8(%rbx), %rdi
callq 0x... | /PaParaZz1[P]c0_compile/src/main.cpp |
SymbolTableTree::~SymbolTableTree() | SymbolTableTree::~SymbolTableTree() {
} | pushq %rbx
movq %rdi, %rbx
movq 0x38(%rdi), %rdi
leaq 0x48(%rbx), %rax
cmpq %rax, %rdi
je 0x2660e
callq 0x212a0
leaq 0x20(%rbx), %rdi
callq 0x2570e
movq (%rbx), %rdi
addq $0x10, %rbx
cmpq %rbx, %rdi
je 0x26629
popq %rbx
jmp 0x212a0
popq %rbx
retq
nop
| /PaParaZz1[P]c0_compile/src/c0_compile_symbol.cpp |
SymbolTableTree::GetCurrentPreviousTableName[abi:cxx11]() const | string SymbolTableTree::GetCurrentPreviousTableName() const {
auto iter = m_table_tree.begin();
for (; iter != m_table_tree.end(); ++iter) {
if (iter->first == current_table_name)
break;
}
return iter->second.GetPreviousTableName();
} | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdi, %rbx
movq 0x20(%rsi), %r15
movq 0x28(%rsi), %r12
cmpq %r12, %r15
je 0x26a9a
movq 0x38(%rsi), %r14
movq 0x40(%rsi), %r13
movq 0x8(%r15), %rdx
cmpq %r13, %rdx
jne 0x26a8e
testq %rdx, %rdx
je 0x26a9a
movq (%r15), %rdi
movq %r14, %rsi
callq 0x212f0
testl %ea... | /PaParaZz1[P]c0_compile/src/c0_compile_symbol.cpp |
SymbolTableTree::GetTermKind(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, _SymbolKind&) | compile_errcode SymbolTableTree::GetTermKind(const string& begin_func_name, const string& name, SymbolKind& kind) {
int ret = COMPILE_OK;
string cur_func_name = begin_func_name;
do {
auto iter = m_table_tree.begin();
for (; iter != m_table_tree.end(); ++iter) {
if (iter->first =... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rcx, 0x30(%rsp)
movq %rdx, (%rsp)
movq %rsi, %rcx
movq %rdi, %r12
leaq 0x18(%rsp), %rax
movq %rax, -0x10(%rax)
movq (%rsi), %rsi
movq %rcx, 0x28(%rsp)
movq 0x8(%rcx), %rdx
addq %rsi, %rdx
leaq 0x8(%rsp), %rdi
callq 0x253b8
leaq 0x4... | /PaParaZz1[P]c0_compile/src/c0_compile_symbol.cpp |
Subsets and Splits
SQL Console for LLM4Binary/decompile-bench
Filters out entries with file names ending in .cpp, providing a basic subset of the dataset that excludes C++ files.