name
stringlengths
1
473k
code
stringlengths
7
647k
asm
stringlengths
4
3.39M
file
stringlengths
8
196
OpenMD::InversePowerSeries::~InversePowerSeries()
void setForceField(ForceField* ff) { forceField_ = ff; }
pushq %rbx movq %rdi, %rbx leaq 0xaf1d7(%rip), %rax # 0x1fe5f0 movq %rax, (%rdi) movq 0xa8(%rdi), %rdi leaq 0xb8(%rbx), %rax cmpq %rax, %rdi je 0x14f43a movq (%rax), %rsi incq %rsi callq 0x1b540 leaq 0x78(%rbx), %rdi callq 0x3172e leaq 0x58(%rbx), %rdi callq 0x14f278 movq 0x40(%rbx), %rdi testq %rdi, %rdi je 0x14f4...
/OpenMD[P]OpenMD/src/nonbonded/InversePowerSeries.hpp
OpenMD::LJ::LJ()
LJ::LJ() : initialized_(false), forceField_(NULL), name_("LJ") {}
pushq %r15 pushq %r14 pushq %rbx movq %rdi, %rbx leaq 0xaecd5(%rip), %rax # 0x1fe678 movq %rax, (%rdi) movb $0x0, 0x8(%rdi) leaq 0x18(%rdi), %rax xorl %ecx, %ecx movl %ecx, 0x18(%rdi) movq %rcx, 0x20(%rdi) movq %rax, 0x28(%rdi) movq %rax, 0x30(%rdi) movq %rcx, 0x78(%rdi) leaq 0x88(%rdi), %rax movl %ecx, 0x88(%rdi) ...
/OpenMD[P]OpenMD/src/nonbonded/LJ.cpp
OpenMD::LJ::initialize()
void LJ::initialize() { LJtypes.clear(); LJtids.clear(); MixingMap.clear(); nLJ_ = 0; LJtids.resize(forceField_->getNAtomType(), -1); AtomTypeSet::iterator at; for (at = simTypes_.begin(); at != simTypes_.end(); ++at) { if ((*at)->isLennardJones()) nLJ_++; } MixingMap.resize...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x68, %rsp movq %rdi, %rbx addq $0x10, %rdi callq 0x14f528 leaq 0x40(%rbx), %r15 movq 0x40(%rbx), %rax cmpq %rax, 0x48(%rbx) je 0x14fc10 movq %rax, 0x48(%rbx) leaq 0x58(%rbx), %r14 movq 0x58(%rbx), %rsi movq %r14, %rdi callq 0x1508e0 movl $0x0, 0x7...
/OpenMD[P]OpenMD/src/nonbonded/LJ.cpp
OpenMD::LJ::addExplicitInteraction(OpenMD::AtomType*, OpenMD::AtomType*, double, double)
void LJ::addExplicitInteraction(AtomType* atype1, AtomType* atype2, RealType sigma, RealType epsilon) { LJInteractionData mixer; mixer.sigma = sigma; mixer.epsilon = epsilon; mixer.sigmai = 1.0 / mixer.sigma; mixer.explicitlySet = true; int...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x28, %rsp movsd %xmm1, 0x20(%rsp) movsd %xmm0, 0x18(%rsp) movq %rdx, %r14 movq %rdi, %rbx movsd 0x3ddb1(%rip), %xmm0 # 0x18e018 movsd %xmm0, 0x10(%rsp) movq %rsi, %rdi callq 0xceedc leaq 0xc(%rsp), %r15 movl %eax, (%r15) movq %r14, %rdi callq 0xceedc movl %eax, 0x8(...
/OpenMD[P]OpenMD/src/nonbonded/LJ.cpp
OpenMD::LJ::calcForce(OpenMD::InteractionData&)
void LJ::calcForce(InteractionData& idat) { if (!initialized_) initialize(); LJInteractionData& mixer = MixingMap[LJtids[idat.atid1]][LJtids[idat.atid2]]; RealType sigmai = mixer.sigmai; RealType epsilon = mixer.epsilon; RealType ros; RealType rcos; RealType myPot = 0.0; R...
pushq %r14 pushq %rbx subq $0x38, %rsp movq %rsi, %rbx movq %rdi, %r14 cmpb $0x0, 0x8(%rdi) jne 0x1503f3 movq %r14, %rdi callq 0x14fbe4 movslq (%rbx), %rax movq 0x40(%r14), %rcx movq 0x58(%r14), %rdx movslq (%rcx,%rax,4), %rax leaq (%rax,%rax,2), %rax movslq 0x4(%rbx), %rsi movslq (%rcx,%rsi,4), %rcx movq (%rdx,%rax,8)...
/OpenMD[P]OpenMD/src/nonbonded/LJ.cpp
OpenMD::LJ::getSuggestedCutoffRadius(std::pair<OpenMD::AtomType*, OpenMD::AtomType*>)
RealType LJ::getSuggestedCutoffRadius(pair<AtomType*, AtomType*> atypes) { if (!initialized_) initialize(); int atid1 = atypes.first->getIdent(); int atid2 = atypes.second->getIdent(); int ljtid1 = LJtids[atid1]; int ljtid2 = LJtids[atid2]; if (ljtid1 == -1 || ljtid2 == -1) return 0.0;...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %rbx cmpb $0x0, 0x8(%rdi) jne 0x1506b6 movq %rbx, %rdi callq 0x14fbe4 movq %r15, %rdi callq 0xceedc movl %eax, %ebp movq %r14, %rdi callq 0xceedc movslq %ebp, %rcx movq 0x40(%rbx), %rdx movslq (%rdx,%rcx,4), %rcx cmpq $-0x...
/OpenMD[P]OpenMD/src/nonbonded/LJ.cpp
OpenMD::LJ::~LJ()
void setForceField(ForceField* ff) { forceField_ = ff; }
pushq %rbx movq %rdi, %rbx leaq 0xade2b(%rip), %rax # 0x1fe678 movq %rax, (%rdi) movq 0xb0(%rdi), %rdi leaq 0xc0(%rbx), %rax cmpq %rax, %rdi je 0x15086e movq (%rax), %rsi incq %rsi callq 0x1b540 leaq 0x80(%rbx), %rdi callq 0x3172e leaq 0x58(%rbx), %rdi callq 0x15071a movq 0x40(%rbx), %rdi testq %rdi, %rdi je 0x1508...
/OpenMD[P]OpenMD/src/nonbonded/LJ.hpp
OpenMD::MAW::calcForce(OpenMD::InteractionData&)
void MAW::calcForce(InteractionData& idat) { if (!initialized_) initialize(); MAWInteractionData& mixer = MixingMap[MAWtids[idat.atid1]][MAWtids[idat.atid2]]; RealType myPot = 0.0; RealType myPotC = 0.0; RealType myDeriv = 0.0; RealType myDerivC = 0.0; RealType D_e = mixer....
pushq %r15 pushq %r14 pushq %rbx subq $0x220, %rsp # imm = 0x220 movq %rsi, %rbx movq %rdi, %r14 cmpb $0x0, 0x8(%rdi) jne 0x1512b4 movq %r14, %rdi callq 0x150d66 movslq (%rbx), %rax movq 0x40(%r14), %rcx movq 0x58(%r14), %rdx movslq (%rcx,%rax,4), %rax leaq (%rax,%rax,2), %rax movslq 0x4(%rbx), %rsi movslq (...
/OpenMD[P]OpenMD/src/nonbonded/MAW.cpp
OpenMD::MAW::~MAW()
void setForceField(ForceField* ff) { forceField_ = ff; }
pushq %rbx movq %rdi, %rbx leaq 0xac7b5(%rip), %rax # 0x1fe6d8 movq %rax, (%rdi) movq 0xa8(%rdi), %rdi leaq 0xb8(%rbx), %rax cmpq %rax, %rdi je 0x151f44 movq (%rax), %rsi incq %rsi callq 0x1b540 leaq 0x78(%rbx), %rdi callq 0x3172e leaq 0x58(%rbx), %rdi callq 0x151e42 movq 0x40(%rbx), %rdi testq %rdi, %rdi je 0x151f...
/OpenMD[P]OpenMD/src/nonbonded/MAW.hpp
OpenMD::MAW::~MAW()
void setForceField(ForceField* ff) { forceField_ = ff; }
pushq %rbx movq %rdi, %rbx leaq 0xac755(%rip), %rax # 0x1fe6d8 movq %rax, (%rdi) movq 0xa8(%rdi), %rdi leaq 0xb8(%rbx), %rax cmpq %rax, %rdi je 0x151fa4 movq (%rax), %rsi incq %rsi callq 0x1b540 leaq 0x78(%rbx), %rdi callq 0x3172e leaq 0x58(%rbx), %rdi callq 0x151e42 movq 0x40(%rbx), %rdi testq %rdi, %rdi je 0x151f...
/OpenMD[P]OpenMD/src/nonbonded/MAW.hpp
OpenMD::Morse::addExplicitInteraction(OpenMD::AtomType*, OpenMD::AtomType*, double, double, double, OpenMD::MorseType)
void Morse::addExplicitInteraction(AtomType* atype1, AtomType* atype2, RealType De, RealType Re, RealType beta, MorseType mt) { MorseInteractionData mixer; mixer.De = De; mixer.Re = Re; mixer.beta = beta; mixer.va...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x20, %rsp movl %ecx, %ebx movsd %xmm2, 0x18(%rsp) movsd %xmm1, 0x10(%rsp) movsd %xmm0, 0x8(%rsp) movq %rdx, %r15 movq %rdi, %r14 movq %rsi, %rdi callq 0xceedc leaq 0x4(%rsp), %r12 movl %eax, (%r12) movq %r15, %rdi callq 0xceedc movl %eax, (%rsp) leaq 0x10(%r...
/OpenMD[P]OpenMD/src/nonbonded/Morse.cpp
OpenMD::Morse::~Morse()
void setForceField(ForceField* ff) { forceField_ = ff; }
pushq %rbx movq %rdi, %rbx leaq 0xab933(%rip), %rax # 0x1fe738 movq %rax, (%rdi) movq 0xb0(%rdi), %rdi leaq 0xc0(%rbx), %rax cmpq %rax, %rdi je 0x152e26 movq (%rax), %rsi incq %rsi callq 0x1b540 leaq 0x80(%rbx), %rdi callq 0x3172e leaq 0x58(%rbx), %rdi callq 0x152cd2 movq 0x40(%rbx), %rdi testq %rdi, %rdi je 0x152e...
/OpenMD[P]OpenMD/src/nonbonded/Morse.hpp
OpenMD::RepulsivePower::RepulsivePower()
RepulsivePower::RepulsivePower() : initialized_(false), forceField_(NULL), name_("RepulsivePower") {}
pushq %r15 pushq %r14 pushq %rbx movq %rdi, %rbx leaq 0xab541(%rip), %rax # 0x1fe798 movq %rax, (%rdi) movb $0x0, 0x8(%rdi) leaq 0x18(%rdi), %rax xorl %ecx, %ecx movl %ecx, 0x18(%rdi) movq %rcx, 0x20(%rdi) movq %rax, 0x28(%rdi) movq %rax, 0x30(%rdi) leaq 0x80(%rdi), %rax movl %ecx, 0x80(%rdi) movq %rcx, 0x88(%rdi) ...
/OpenMD[P]OpenMD/src/nonbonded/RepulsivePower.cpp
OpenMD::RepulsivePower::addExplicitInteraction(OpenMD::AtomType*, OpenMD::AtomType*, double, double, int)
void RepulsivePower::addExplicitInteraction(AtomType* atype1, AtomType* atype2, RealType sigma, RealType epsilon, int nRep) { RPInteractionData mixer; mixer.sigma = sigma; mixer.epsilon = epsilon; mixer.sigmai ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp movl %ecx, 0x10(%rsp) movsd %xmm1, 0x18(%rsp) movsd %xmm0, 0x8(%rsp) movq %rdx, %r12 movq %rdi, %r14 movsd 0x3a926(%rip), %xmm0 # 0x18e018 movsd %xmm0, (%rsp) leaq 0x10(%rdi), %r15 movl 0x38(%rdi), %ebp movq %rsi, %rdi callq 0xceedc l...
/OpenMD[P]OpenMD/src/nonbonded/RepulsivePower.cpp
OpenMD::RepulsivePower::getNRepulsionFunc(double const&, int&, double&, double&)
void RepulsivePower::getNRepulsionFunc(const RealType& r, int& n, RealType& pot, RealType& deriv) { RealType ri = 1.0 / r; RealType rin = pow(ri, n); RealType rin1 = rin * ri; pot = rin; deriv = -n * rin1; return; }
pushq %r15 pushq %r14 pushq %rbx subq $0x10, %rsp movq %r8, %rbx movq %rcx, %r14 movq %rdx, %r15 movsd 0x3a520(%rip), %xmm0 # 0x18e018 divsd (%rsi), %xmm0 movsd %xmm0, 0x8(%rsp) cvtsi2sdl (%rdx), %xmm1 callq 0x1ba10 movsd 0x8(%rsp), %xmm1 mulsd %xmm0, %xmm1 movsd %xmm0, (%r14) xorl %eax, %eax subl (%r15), %eax xorps...
/OpenMD[P]OpenMD/src/nonbonded/RepulsivePower.cpp
OpenMD::RepulsivePower::~RepulsivePower()
void setForceField(ForceField* ff) { forceField_ = ff; }
pushq %rbx movq %rdi, %rbx leaq 0xaab0f(%rip), %rax # 0x1fe798 movq %rax, (%rdi) movq 0xa8(%rdi), %rdi leaq 0xb8(%rbx), %rax cmpq %rax, %rdi je 0x153caa movq (%rax), %rsi incq %rsi callq 0x1b540 leaq 0x78(%rbx), %rdi callq 0x3172e leaq 0x58(%rbx), %rdi callq 0x153bba movq 0x40(%rbx), %rdi testq %rdi, %rdi je 0x153c...
/OpenMD[P]OpenMD/src/nonbonded/RepulsivePower.hpp
OpenMD::Mie::initialize()
void Mie::initialize() { MieTypes.clear(); MieTids.clear(); MixingMap.clear(); MieTids.resize(forceField_->getNAtomType(), -1); ForceField::NonBondedInteractionTypeContainer* nbiTypes = forceField_->getNonBondedInteractionTypes(); ForceField::NonBondedInteractionTypeContainer::MapTypeIt...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x88, %rsp movq %rdi, %rbx addq $0x10, %rdi movq %rdi, 0x58(%rsp) callq 0x14f528 leaq 0x40(%rbx), %rax movq %rax, (%rsp) movq 0x40(%rbx), %rax cmpq %rax, 0x48(%rbx) je 0x154236 movq %rax, 0x48(%rbx) leaq 0x58(%rbx), %rdi movq 0x58(%rbx), %rsi callq...
/OpenMD[P]OpenMD/src/nonbonded/Mie.cpp
OpenMD::Mie::calcForce(OpenMD::InteractionData&)
void Mie::calcForce(InteractionData& idat) { if (!initialized_) initialize(); MieInteractionData& mixer = MixingMap[MieTids[idat.atid1]][MieTids[idat.atid2]]; RealType sigmai = mixer.sigmai; RealType epsilon = mixer.epsilon; int nRep = mixer.nRep; int mAtt = mixer.mAtt;...
pushq %rbp pushq %r14 pushq %rbx subq $0x90, %rsp movq %rsi, %rbx movq %rdi, %r14 cmpb $0x0, 0x8(%rdi) jne 0x1547c3 movq %r14, %rdi callq 0x1541fe movslq (%rbx), %rax movq 0x40(%r14), %rcx movq 0x58(%r14), %rdx movslq (%rcx,%rax,4), %rax leaq (%rax,%rax,2), %rax movslq 0x4(%rbx), %rsi movslq (%rcx,%rsi,4), %rcx movq (%...
/OpenMD[P]OpenMD/src/nonbonded/Mie.cpp
OpenMD::Mie::getSuggestedCutoffRadius(std::pair<OpenMD::AtomType*, OpenMD::AtomType*>)
RealType Mie::getSuggestedCutoffRadius(pair<AtomType*, AtomType*> atypes) { if (!initialized_) initialize(); int atid1 = atypes.first->getIdent(); int atid2 = atypes.second->getIdent(); int mietid1 = MieTids[atid1]; int mietid2 = MieTids[atid2]; if (mietid1 == -1 || mietid2 == -1) re...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %rbx cmpb $0x0, 0x8(%rdi) jne 0x154baa movq %rbx, %rdi callq 0x1541fe movq %r15, %rdi callq 0xceedc movl %eax, %ebp movq %r14, %rdi callq 0xceedc movslq %ebp, %rcx movq 0x40(%rbx), %rdx movslq (%rdx,%rcx,4), %rcx cmpq $-0x...
/OpenMD[P]OpenMD/src/nonbonded/Mie.cpp
OpenMD::SC::getAlpha(OpenMD::AtomType*, OpenMD::AtomType*)
RealType SC::getAlpha(AtomType* atomType1, AtomType* atomType2) { SuttonChenAdapter sca1 = SuttonChenAdapter(atomType1); SuttonChenAdapter sca2 = SuttonChenAdapter(atomType2); RealType alpha1 = sca1.getAlpha(); RealType alpha2 = sca2.getAlpha(); ForceFieldOptions& fopts = forceField_-...
pushq %r15 pushq %r14 pushq %rbx subq $0x50, %rsp movq %rdi, %rbx leaq 0x48(%rsp), %rdi movq %rsi, (%rdi) leaq 0x40(%rsp), %r14 movq %rdx, (%r14) callq 0xed428 movsd %xmm0, 0x8(%rsp) movq %r14, %rdi callq 0xed428 movsd %xmm0, 0x10(%rsp) movq 0xb0(%rbx), %rax leaq 0x30(%rsp), %r15 movq %r15, -0x10(%r15) movq 0x290(%rax)...
/OpenMD[P]OpenMD/src/nonbonded/SC.cpp
OpenMD::SC::addType(OpenMD::AtomType*)
void SC::addType(AtomType* atomType) { SuttonChenAdapter sca = SuttonChenAdapter(atomType); SCAtomData scAtomData; scAtomData.c = sca.getC(); scAtomData.m = sca.getM(); scAtomData.n = sca.getN(); scAtomData.alpha = sca.getAlpha(); scAtomData.epsilon = sca.getEpsilon(); ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xf8, %rsp movq %rsi, %r12 movq %rdi, %r14 leaq 0xf0(%rsp), %rbx movq %rsi, (%rbx) movq %rbx, %rdi callq 0xed3c8 movsd %xmm0, 0x60(%rsp) movq %rbx, %rdi callq 0xed3e8 movsd %xmm0, 0x90(%rsp) movq %rbx, %rdi callq 0xed408 movsd %xmm0, 0x30(%rsp) mov...
/OpenMD[P]OpenMD/src/nonbonded/SC.cpp
OpenMD::SC::calcDensity(OpenMD::InteractionData&)
void SC::calcDensity(InteractionData& idat) { if (!initialized_) initialize(); int sctid1 = SCtids[idat.atid1]; int sctid2 = SCtids[idat.atid2]; SCInteractionData& mixer = MixingMap[sctid1][sctid2]; RealType rcij = mixer.rCut; if (idat.rij < rcij) { RealType rho = mixer.phi->getValueAt(...
pushq %r14 pushq %rbx pushq %rax movq %rsi, %rbx movq %rdi, %r14 cmpb $0x0, 0x28(%rdi) jne 0x1561e6 movq %r14, %rdi callq 0x155556 movslq (%rbx), %rax movq 0x60(%r14), %rcx movq 0x90(%r14), %rdx movslq (%rcx,%rax,4), %rax movslq 0x4(%rbx), %rsi movslq (%rcx,%rsi,4), %rcx leaq (%rax,%rax,2), %rax movq (%rdx,%rax,8), %ra...
/OpenMD[P]OpenMD/src/nonbonded/SC.cpp
OpenMD::SC::calcForce(OpenMD::InteractionData&)
void SC::calcForce(InteractionData& idat) { if (!initialized_) initialize(); int& sctid1 = SCtids[idat.atid1]; int& sctid2 = SCtids[idat.atid2]; SCAtomData& data1 = SCdata[sctid1]; SCAtomData& data2 = SCdata[sctid2]; SCInteractionData& mixer = MixingMap[sctid1][sctid2]; RealType rcij = m...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x68, %rsp movq %rsi, %rbx movq %rdi, %r14 cmpb $0x0, 0x28(%rdi) jne 0x156338 movq %r14, %rdi callq 0x155556 movslq (%rbx), %rax movslq 0x4(%rbx), %rcx movq 0x60(%r14), %rdx movslq (%rdx,%rax,4), %rax leaq (%rax,%rax,2), %rbp movslq (%rdx,%rcx,4), ...
/OpenMD[P]OpenMD/src/nonbonded/SC.cpp
OpenMD::SwitchingFunction::setSwitch(double, double)
void SwitchingFunction::setSwitch(RealType rinner, RealType router) { if (router < rinner) { snprintf(painCave.errMsg, MAX_SIM_ERROR_MSG_LENGTH, "SwitchingFunction::setSwitch was given rinner (%lf) which was\n" "\tlarger than router (%lf).\n", rinner, router); ...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx subq $0x28, %rsp movq %rdi, %rbx ucomisd %xmm1, %xmm0 movabsq $0x100000001, %r15 # imm = 0x100000001 movapd %xmm1, (%rsp) movapd %xmm0, 0x10(%rsp) jbe 0x158f6a leaq 0xa711b(%rip), %r14 # 0x200054 leaq 0x454ba(%rip), %rdx # 0x19e3fa movl $0x7d0, %esi # ...
/OpenMD[P]OpenMD/src/nonbonded/SwitchingFunction.cpp
OpenMD::MolecularRestraint::calcForce(std::vector<OpenMD::Vector3<double>, std::allocator<OpenMD::Vector3<double>>>, OpenMD::Vector3<double>)
void MolecularRestraint::calcForce(std::vector<Vector3d> struc, Vector3d molCom) { assert(struc.size() == ref_.size()); std::vector<Vector3d>::iterator it; // clear out initial values: pot_ = 0.0; for (it = forces_.begin(); it != forces_.end(); ++it) (*it...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x318, %rsp # imm = 0x318 movq %rdx, %r15 movq %rsi, %r14 movq %rdi, %rbx movq $0x0, 0x38(%rdi) movq 0xd0(%rdi), %rax movq 0xd8(%rdi), %rcx cmpq %rcx, %rax je 0x159205 xorpd %xmm0, %xmm0 movq %rax, %rdx movupd %xmm0, (%rdx) movq $0x0, 0x...
/OpenMD[P]OpenMD/src/restraints/MolecularRestraint.cpp
JAMA::SVD<double>::getU(OpenMD::DynamicRectMatrix<double>&)
void getU(DynamicRectMatrix<Real>& A) { int minm = min(m + 1, n); A = DynamicRectMatrix<Real>(m, minm); for (int i = 0; i < m; i++) for (int j = 0; j < minm; j++) A(i, j) = U(i, j); }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x28, %rsp movq %rsi, %r14 movq %rdi, %r15 movl 0x38(%rdi), %esi movl 0x3c(%rdi), %eax leal 0x1(%rsi), %ebx cmpl %ebx, %eax cmovll %eax, %ebx leaq 0x8(%rsp), %r12 movq %r12, %rdi movl %ebx, %edx callq 0x121ab0 leaq 0x18(%rsp), %rdi movq %r14, %rsi movq %r12, %rdx callq ...
/OpenMD[P]OpenMD/src/math/SVD.hpp
OpenMD::ObjectRestraint::calcForce(OpenMD::Vector3<double>)
void ObjectRestraint::calcForce(Vector3d struc) { pot_ = 0.0; force_ = V3Zero; if (restType_ & rtDisplacement) { Vector3d del = struc - refPos_; RealType r = del.length(); Vector3d frc = -kDisp_ * del; RealType p = 0.5 * kDisp_ * del.lengthSquare(); pot_ += p; for...
pushq %r15 pushq %r14 pushq %rbx subq $0xa0, %rsp movq %rsi, %r14 movq %rdi, %rbx movq $0x0, 0x38(%rdi) leaq 0x118(%rdi), %r15 leaq 0xabf3c(%rip), %rax # 0x207578 cmpq %rax, %r15 je 0x15b659 movq 0xabf40(%rip), %rax # 0x207588 movq %rax, 0x10(%r15) movupd 0xabf24(%rip), %xmm0 # 0x207578 movupd %xmm0, (%r15) ...
/OpenMD[P]OpenMD/src/restraints/ObjectRestraint.cpp
OpenMD::HullFinder::findHull()
SelectionSet HullFinder::findHull() { SelectionSet ssResult(nObjects_); #ifdef HAVE_QHULL surfaceMesh_->computeHull(localSites_); std::vector<Triangle> sMesh = surfaceMesh_->getMesh(); // Loop over the mesh faces std::vector<Triangle>::iterator face; std::vector<StuntDouble*>::iterator vertex; ...
pushq %r14 pushq %rbx subq $0x18, %rsp movq %rdi, %rbx addq $0x98, %rsi movq %rsp, %r14 movq %r14, %rdi callq 0x2e46a movq %rbx, %rdi movq %r14, %rsi callq 0x1434c0 movq (%rsp), %rdi testq %rdi, %rdi je 0x15c3d1 movq 0x10(%rsp), %rsi subq %rdi, %rsi callq 0x1b540 leaq 0xa3c7c(%rip), %r14 # 0x200054 leaq 0x42115(%ri...
/OpenMD[P]OpenMD/src/selection/HullFinder.cpp
OpenMD::SelectionEvaluator::SelectionEvaluator(OpenMD::SimInfo*)
SelectionEvaluator::SelectionEvaluator(SimInfo* si) : info(si), nameFinder(info), distanceFinder(info), hullFinder(info), alphaHullFinder(info), indexFinder(info), isLoaded_(false), hasSurfaceArea_(false), hasVolume_(false) { nObjects.push_back(info->getNGlobalAtoms() + info->getNGlobalRigidBodies...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x38, %rsp movq %rdi, %rbx leaq 0x10(%rdi), %rax movq %rax, (%rdi) xorl %eax, %eax movq %rax, 0x8(%rdi) movb %al, 0x10(%rdi) leaq 0x30(%rdi), %rcx movq %rcx, 0x20(%rdi) movq %rax, 0x28(%rdi) movb %al, 0x30(%rdi) leaq 0xa0(%rdi), %rcx xorps %xmm0, %...
/OpenMD[P]OpenMD/src/selection/SelectionEvaluator.cpp
OpenMD::SelectionEvaluator::loadScriptString(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
bool SelectionEvaluator::loadScriptString(const std::string& script) { clearState(); return loadScript("", script); }
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x20, %rsp movq %rsi, %rbx movq %rdi, %r14 movb $0x0, 0x1c4(%rdi) addq $0x1c8, %rdi # imm = 0x1C8 movq 0x1d0(%r14), %rdx leaq 0x3de9c(%rip), %r15 # 0x19ab03 xorl %esi, %esi movq %r15, %rcx xorl %r8d, %r8d callq 0x1b870 leaq 0x10(%rsp), %r13 mov...
/OpenMD[P]OpenMD/src/selection/SelectionEvaluator.cpp
OpenMD::SelectionEvaluator::instructionDispatchLoop(OpenMD::SelectionSet&)
void SelectionEvaluator::instructionDispatchLoop(SelectionSet& bs) { while (pc < aatoken.size()) { statement = aatoken[pc++]; statementLength = statement.size(); Token token = statement[0]; switch (token.tok) { case Token::define: define(); break; case T...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp movq %rsi, %rbx movq %rdi, %r14 leaq 0x1e8(%rdi), %r15 leaq 0x10(%rsp), %r12 movabsq $-0x5555555555555555, %r13 # imm = 0xAAAAAAAAAAAAAAAB movl 0x1c0(%r14), %eax movq 0x1a8(%r14), %rcx movq 0x1b0(%r14), %rdx subq %rcx, %rdx sarq $0x3, %r...
/OpenMD[P]OpenMD/src/selection/SelectionEvaluator.cpp
OpenMD::SelectionEvaluator::select(OpenMD::SelectionSet&)
void SelectionEvaluator::select(SelectionSet& bs) { bs = expression(statement, 1); }
pushq %r14 pushq %rbx subq $0x38, %rsp movq %rsi, %rbx movq %rdi, %rsi leaq 0x1e8(%rdi), %rdx movq %rsp, %r14 movq %r14, %rdi movl $0x1, %ecx callq 0x15d304 movq 0x10(%rbx), %rax movaps (%r14), %xmm0 movq 0x10(%r14), %rcx movq %rcx, 0x10(%rbx) movups (%rbx), %xmm1 movups %xmm0, (%rbx) leaq 0x20(%rsp), %rdi movaps %xmm1...
/OpenMD[P]OpenMD/src/selection/SelectionEvaluator.cpp
OpenMD::SelectionEvaluator::select(OpenMD::SelectionSet&, int)
void SelectionEvaluator::select(SelectionSet& bs, int frame) { bs = expression(statement, 1, frame); }
pushq %r14 pushq %rbx subq $0x38, %rsp movl %edx, %r8d movq %rsi, %rbx movq %rdi, %rsi leaq 0x1e8(%rdi), %rdx movq %rsp, %r14 movq %r14, %rdi movl $0x1, %ecx callq 0x15e8bc movq 0x10(%rbx), %rax movaps (%r14), %xmm0 movq 0x10(%r14), %rcx movq %rcx, 0x10(%rbx) movups (%rbx), %xmm1 movups %xmm0, (%rbx) leaq 0x20(%rsp), %...
/OpenMD[P]OpenMD/src/selection/SelectionEvaluator.cpp
OpenMD::SelectionEvaluator::createSelectionSets()
SelectionSet SelectionEvaluator::createSelectionSets() { SelectionSet ss(nObjects); return ss; }
pushq %r14 pushq %rbx subq $0x18, %rsp movq %rdi, %rbx addq $0x4e8, %rsi # imm = 0x4E8 movq %rsp, %r14 movq %r14, %rdi callq 0x2e46a movq %rbx, %rdi movq %r14, %rsi callq 0x1434c0 movq (%rsp), %rdi testq %rdi, %rdi je 0x15da9f movq 0x10(%rsp), %rsi subq %rdi, %rsi callq 0x1b540 movq %rbx, %rax addq $0x18, %r...
/OpenMD[P]OpenMD/src/selection/SelectionEvaluator.cpp
OpenMD::SelectionEvaluator::withinInstruction(OpenMD::Token const&, OpenMD::SelectionSet&)
void SelectionEvaluator::withinInstruction(const Token& instruction, SelectionSet& bs) { std::any withinSpec = instruction.value; float distance(0.0); if (withinSpec.type() == typeid(float)) { distance = std::any_cast<float>(withinSpec); } else if (with...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x48, %rsp movq %rdx, %rbx movq %rdi, %r14 movq $0x0, 0x8(%rsp) movq 0x8(%rsi), %rax testq %rax, %rax je 0x15de49 addq $0x8, %rsi movq %rsp, %rcx leaq 0x10(%rsp), %rdx movq %rcx, (%rdx) movl $0x2, %edi callq *%rax jmp 0x15de51 movq $0x0, (%rsp) movq %rsp, %rdi callq 0x1...
/OpenMD[P]OpenMD/src/selection/SelectionEvaluator.cpp
OpenMD::SelectionEvaluator::hull()
SelectionSet SelectionEvaluator::hull() { SelectionSet bs = createSelectionSets(); bs = hullFinder.findHull(); surfaceArea_ = hullFinder.getSurfaceArea(); hasSurfaceArea_ = true; volume_ = hullFinder.getVolume(); hasVolume_ = true; return bs.parallelReduce(); ...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x58, %rsp movq %rsi, %r14 movq %rdi, %rbx movq %rsp, %rdi callq 0x15da62 leaq 0x2f0(%r14), %rsi leaq 0x20(%rsp), %rdi callq 0x15c394 movq %rsp, %r15 movq 0x10(%r15), %rax leaq 0x20(%rsp), %r12 movaps (%r12), %xmm0 movq 0x10(%r12), %rcx movq %rcx, 0x10(%r15) movaps (%r1...
/OpenMD[P]OpenMD/src/selection/SelectionEvaluator.cpp
OpenMD::SelectionEvaluator::expression(std::vector<OpenMD::Token, std::allocator<OpenMD::Token>> const&, int, int)
SelectionSet SelectionEvaluator::expression(const std::vector<Token>& code, int pcStart, int frame) { SelectionSet bs = createSelectionSets(); std::stack<SelectionSet> stack; for (unsigned int pc = pcStart; pc < code.size(); ++pc) { Token instruction = co...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x108, %rsp # imm = 0x108 movl %r8d, 0xc(%rsp) movl %ecx, %r14d movq %rdx, %r15 movq %rsi, %r12 movq %rdi, 0xe8(%rsp) leaq 0x30(%rsp), %rdi callq 0x15da62 xorps %xmm0, %xmm0 leaq 0x80(%rsp), %rdi movaps %xmm0, 0x40(%rdi) movaps %xmm0, 0x...
/OpenMD[P]OpenMD/src/selection/SelectionEvaluator.cpp
OpenMD::SelectionEvaluator::alphaHullInstruction(OpenMD::Token const&, int)
SelectionSet SelectionEvaluator::alphaHullInstruction( const Token& instruction, int frame) { SelectionSet bs = createSelectionSets(); std::any alphaSpec = instruction.value; float alpha(0.0); if (alphaSpec.type() == typeid(float)) { alpha = std::any_cast<float>(alphaSpec); } else if (a...
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x70, %rsp movl %ecx, %ebp movq %rdx, %r15 movq %rsi, %r14 movq %rdi, %rbx leaq 0x30(%rsp), %rdi callq 0x15da62 movq $0x0, 0x8(%rsp) movq 0x8(%r15), %rax testq %rax, %rax je 0x15f328 addq $0x8, %r15 movq %rsp, %rcx leaq 0x10(%rsp), %rdx movq %rcx, (%rdx) movl...
/OpenMD[P]OpenMD/src/selection/SelectionEvaluator.cpp
OpenMD::SelectionEvaluator::comparatorInstruction(OpenMD::Token const&, int)
SelectionSet SelectionEvaluator::comparatorInstruction( const Token& instruction, int frame) { int comparator = instruction.tok; int property = instruction.intValue; float comparisonValue = std::any_cast<float>(instruction.value); SelectionSet bs = createSelectionSets(); ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x38, %rsp movl %ecx, %ebp movq %rsi, %r14 movq %rdi, 0x10(%rsp) movl (%rdx), %r15d movl 0x4(%rdx), %r12d leaq 0x8(%rdx), %rdi callq 0x162b44 testq %rax, %rax je 0x15f791 movss (%rax), %xmm0 movss %xmm0, 0xc(%rsp) leaq 0x18(%rsp), %rbx movq %rbx, %...
/OpenMD[P]OpenMD/src/selection/SelectionEvaluator.cpp
OpenMD::SelectionEvaluator::compareProperty(OpenMD::StuntDouble*, OpenMD::SelectionSet&, int, int, float, int)
void SelectionEvaluator::compareProperty(StuntDouble* sd, SelectionSet& bs, int property, int comparator, float comparisonValue, int frame) { RealType propertyValue = 0.0; Vector3d pos; switch (property) { case Token::...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x48, %rsp movapd %xmm0, %xmm1 movl %r8d, %r15d movq %rdx, %r14 movq %rsi, %rbx movq %rdi, %r12 xorpd %xmm0, %xmm0 movapd %xmm0, 0x10(%rsp) movq $0x0, 0x20(%rsp) leal -0x1c00(%rcx), %eax cmpl $0x9, %eax movss %xmm1, 0x4(%rsp) ja 0x160384 movl %r9d,...
/OpenMD[P]OpenMD/src/selection/SelectionEvaluator.cpp
dummy_api::dummy_api(cppcms::service&, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, std::allocator<std::p...
dummy_api(cppcms::service &srv,std::map<std::string,std::string> env,std::string &output,bool mark_chunks=false,bool write_eof=false) : cppcms::impl::cgi::connection(srv), output_(&output), write_eof_(write_eof), mark_chunks_(mark_chunks), headers_written_(false) { for(std::map<std::string,std::string>::it...
subq $0xa8, %rsp movl %r8d, 0x34(%rsp) movq %rcx, %rax movl 0x34(%rsp), %ecx movq %rax, 0x38(%rsp) movq %rdx, %rax movq 0x38(%rsp), %rdx movq %rax, 0x58(%rsp) movq %rsi, %rax movq 0x58(%rsp), %rsi movq %rax, 0x40(%rsp) movq %rdi, %r8 movq 0x40(%rsp), %rdi movb %r9b, %al movq %r8, 0xa0(%rsp) movq %rdi, 0x98(%rsp) movq %...
/artyom-beilis[P]cppcms/tests/dummy_api.h
cppcms::impl::string_map::add(char const*, char const*)
void add(char const *key,char const *value) { entry new_entry(key,value); if(total_ * 2 >= data_.size()) { int new_first = -1; std::vector<entry> new_data(data_.size()*2); for(iterator p = begin(),e = end();p!=e;++p) { insert(new_data,*p,new_first); } first_ = new_first; data...
subq $0xf8, %rsp movq %rdi, 0xf0(%rsp) movq %rsi, 0xe8(%rsp) movq %rdx, 0xe0(%rsp) movq 0xf0(%rsp), %rax movq %rax, 0x40(%rsp) movq 0xe8(%rsp), %rsi movq 0xe0(%rsp), %rdx leaq 0xc8(%rsp), %rdi callq 0x27c30 movq 0x40(%rsp), %rdi movq 0x8(%rdi), %rax shlq %rax movq %rax, 0x48(%rsp) addq $0x10, %rdi callq 0x27c80 movq %r...
/artyom-beilis[P]cppcms/private/string_map.h
dummy_api::write(booster::aio::const_buffer const&, bool, std::error_code&)
virtual bool write(booster::aio::const_buffer const &body_in,bool eof,booster::system::error_code &e) { booster::aio::const_buffer in = format_output(body_in,eof,e); if(*output_ == "$$$ERROR$$$") { e=booster::system::error_code(booster::aio::aio_error::eof,booster::aio::aio_error_cat); return false; } b...
subq $0xe8, %rsp movb %dl, %al movq %rdi, 0xd8(%rsp) movq %rsi, 0xd0(%rsp) andb $0x1, %al movb %al, 0xcf(%rsp) movq %rcx, 0xc0(%rsp) movq 0xd8(%rsp), %rsi movq %rsi, 0x18(%rsp) movq 0xd0(%rsp), %rdx movq 0xc0(%rsp), %r8 movq (%rsi), %rax movq 0x50(%rax), %rax movzbl 0xcf(%rsp), %ecx andl $0x1, %ecx leaq 0x90(%rsp), %rd...
/artyom-beilis[P]cppcms/tests/dummy_api.h
dummy_api::format_output(booster::aio::const_buffer const&, bool, std::error_code&)
booster::aio::const_buffer format_output(booster::aio::const_buffer const &in,bool,booster::system::error_code &) { if(headers_written_) { return in; } else { headers_written_ = true; return booster::aio::buffer(headers_) + in; } }
subq $0x88, %rsp movq %rdi, 0x8(%rsp) movb %cl, %al movq %rdi, %rcx movq %rcx, 0x10(%rsp) movq %rdi, 0x80(%rsp) movq %rsi, 0x78(%rsp) movq %rdx, 0x70(%rsp) andb $0x1, %al movb %al, 0x6f(%rsp) movq %r8, 0x60(%rsp) movq 0x78(%rsp), %rax movq %rax, 0x18(%rsp) testb $0x1, 0x130(%rax) je 0x277f7 movq 0x8(%rsp), %rdi movq 0x...
/artyom-beilis[P]cppcms/tests/dummy_api.h
cppcms::impl::string_map::entry::calc_hash(char const*)
static uint32_t calc_hash(char const *key) { uint32_t state = cppcms::impl::string_hash::initial_state; char const *s = key; while(*s) { state = cppcms::impl::string_hash::update_state(state,*s++); } return state; }
subq $0x18, %rsp movq %rdi, 0x10(%rsp) movl $0x0, 0xc(%rsp) movq 0x10(%rsp), %rax movq %rax, (%rsp) movq (%rsp), %rax cmpb $0x0, (%rax) je 0x28014 movl 0xc(%rsp), %edi movq (%rsp), %rax movq %rax, %rcx addq $0x1, %rcx movq %rcx, (%rsp) movsbl (%rax), %esi callq 0x28020 movl %eax, 0xc(%rsp) jmp 0x27fea movl 0xc(%rsp), %...
/artyom-beilis[P]cppcms/private/string_map.h
cppcms::impl::string_pool::add_page()
void add_page() { page *p=(page *)malloc(sizeof(page) + page_size_); if(!p) throw std::bad_alloc(); p->next = pages_; pages_ = p; data_ = p->data; free_space_ = page_size_; }
subq $0x28, %rsp movq %rdi, 0x20(%rsp) movq 0x20(%rsp), %rax movq %rax, 0x10(%rsp) movq (%rax), %rdi addq $0x10, %rdi callq 0x154c0 movq %rax, 0x18(%rsp) cmpq $0x0, 0x18(%rsp) jne 0x28b5b movl $0x8, %edi callq 0x151e0 movq %rax, %rdi movq %rdi, 0x8(%rsp) callq 0x28ad0 movq 0x8(%rsp), %rdi movq 0xd469(%rip), %rsi #...
/artyom-beilis[P]cppcms/private/string_map.h
void cppcms::impl::response_headers::format_cgi_headers<cppcms::impl::response_headers::string_buffer_wrapper>(cppcms::impl::response_headers::string_buffer_wrapper&, bool) const
void format_cgi_headers(IODevice &io,bool complete) const { for(auto p=std::begin(headers_),e=std::end(headers_);p!=e;++p) { io << p->first << ": " << p->second << "\r\n"; } for(auto const &h: added_headers_) { io << h << "\r\n" ; } if(complete) io << "\r\n"; }
subq $0x68, %rsp movb %dl, %al movq %rdi, 0x60(%rsp) movq %rsi, 0x58(%rsp) andb $0x1, %al movb %al, 0x57(%rsp) movq 0x60(%rsp), %rdi movq %rdi, 0x18(%rsp) callq 0x28de0 movq 0x18(%rsp), %rdi movq %rax, 0x48(%rsp) callq 0x28e10 movq %rax, 0x40(%rsp) leaq 0x48(%rsp), %rdi leaq 0x40(%rsp), %rsi callq 0x28e40 testb $0x1, %...
/artyom-beilis[P]cppcms/private/response_headers.h
booster::aio::buffer_impl<char const*>::get() const
std::pair<entry const *,size_t> get() const { if(size_ == 0) { buffer_data_type bt; bt.first=0; bt.second=0; return bt; } else if(size_ == 1) return buffer_data_type(&entry_,1); else return buffer_data_type(&vec_.front(),vec_.size()); }
subq $0x48, %rsp movq %rdi, 0x30(%rsp) movq 0x30(%rsp), %rax movq %rax, 0x8(%rsp) cmpl $0x0, (%rax) jne 0x29206 leaq 0x38(%rsp), %rdi callq 0x29b80 movq $0x0, 0x38(%rsp) movq $0x0, 0x40(%rsp) jmp 0x29276 movq 0x8(%rsp), %rax cmpl $0x1, (%rax) jne 0x2923c movq 0x8(%rsp), %rax addq $0x8, %rax movq %rax, 0x28(%rsp) movl $...
/artyom-beilis[P]cppcms/booster/booster/aio/buffer.h
booster::aio::buffer_impl<char const*>::add(char const*, unsigned long)
void add(Pointer p,size_t s) { if(s==0) return; if(size_ == 0) { entry_.ptr = p; entry_.size = s; size_ = 1; return; } else if(size_ == 1) { vec_.push_back(entry_); } entry tmp = { p,s }; vec_.push_back(tmp); size_ = vec_.size(); }
subq $0x38, %rsp movq %rdi, 0x30(%rsp) movq %rsi, 0x28(%rsp) movq %rdx, 0x20(%rsp) movq 0x30(%rsp), %rax movq %rax, 0x8(%rsp) cmpq $0x0, 0x20(%rsp) jne 0x2a7aa jmp 0x2a833 movq 0x8(%rsp), %rax cmpl $0x0, (%rax) jne 0x2a7d3 movq 0x8(%rsp), %rax movq 0x28(%rsp), %rcx movq %rcx, 0x8(%rax) movq 0x20(%rsp), %rcx movq %rcx, ...
/artyom-beilis[P]cppcms/booster/booster/aio/buffer.h
test_app::str[abi:cxx11]()
std::string str() { response().finalize(); size_t from = output_.find("\r\n\r\n"); std::string result; if(from==std::string::npos) { result = output_; gzip_ = false; } else { result = output_.substr(from+4); gzip_ = output_.substr(0,from).find("gzip")!=std::string::npos; } output_.clear(); ...
subq $0x98, %rsp movq %rdi, 0x20(%rsp) movq %rdi, %rax movq %rax, 0x10(%rsp) movq %rdi, 0x90(%rsp) movq %rsi, 0x88(%rsp) movq 0x88(%rsp), %rdi movq %rdi, 0x18(%rsp) callq 0x15670 movq %rax, %rdi callq 0x15350 movq 0x18(%rsp), %rdi addq $0x28, %rdi leaq 0x2407(%rip), %rsi # 0x2e365 xorl %eax, %eax movl %eax, %edx c...
/artyom-beilis[P]cppcms/tests/cache_frontend_test.cpp
Catch::toString(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
std::string toString( std::string const& value ) { std::string s = value; if( getCurrentContext().getConfig()->showInvisibles() ) { for(size_t i = 0; i < s.size(); ++i ) { std::string subs; switch( s[i] ) { case '\n': subs = "\\n"; break; case '\t': subs =...
pushq %rbp movq %rsp, %rbp subq $0x150, %rsp # imm = 0x150 movq %rdi, -0x128(%rbp) movq %rdi, %rax movq %rax, -0x120(%rbp) movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x10(%rbp), %rsi leaq -0x30(%rbp), %rdi callq 0xc5250 callq 0xc86f0 movq %rax, -0x118(%rbp) jmp 0xcbfef movq -0x118(%rbp), %rsi movq (%...
/astanin[P]notch/test/catch.hpp
Catch::toString(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t>> const&)
std::string toString( std::wstring const& value ) { std::string s; s.reserve( value.size() ); for(size_t i = 0; i < value.size(); ++i ) s += value[i] <= 0xff ? static_cast<char>( value[i] ) : '?'; return Catch::toString( s ); }
pushq %rbp movq %rsp, %rbp subq $0x70, %rsp movq %rdi, -0x60(%rbp) movq %rdi, %rax movq %rax, -0x58(%rbp) movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) leaq -0x30(%rbp), %rdi movq %rdi, -0x50(%rbp) callq 0xc5790 movq -0x10(%rbp), %rdi callq 0xc5440 movq -0x50(%rbp), %rdi movq %rax, %rsi callq 0xc5840 jmp 0xcc32f movq $0...
/astanin[P]notch/test/catch.hpp
Catch::toString[abi:cxx11](unsigned long)
std::string toString( unsigned long value ) { std::ostringstream oss; if( value > 8192 ) oss << "0x" << std::hex << value; else oss << value; return oss.str(); }
pushq %rbp movq %rsp, %rbp subq $0x1c0, %rsp # imm = 0x1C0 movq %rdi, -0x1a8(%rbp) movq %rdi, %rax movq %rax, -0x1a0(%rbp) movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) leaq -0x188(%rbp), %rdi callq 0xc5760 cmpq $0x2000, -0x10(%rbp) # imm = 0x2000 jbe 0xcc896 leaq 0x9efb5(%rip), %rsi # 0x16b7e6 leaq -0...
/astanin[P]notch/test/catch.hpp
Catch::ResultBuilder::ResultBuilder(char const*, Catch::SourceLineInfo const&, char const*, Catch::ResultDisposition::Flags)
ResultBuilder::ResultBuilder( char const* macroName, SourceLineInfo const& lineInfo, char const* capturedExpression, ResultDisposition::Flags resultDisposition ) : m_assertionInfo( macroName, lineInfo, ca...
pushq %rbp movq %rsp, %rbp subq $0xd0, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq %rcx, -0x20(%rbp) movl %r8d, -0x24(%rbp) movq -0x8(%rbp), %rax movq %rax, -0xa8(%rbp) movq %rax, -0xa0(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x98(%rbp) leaq -0x49(%rbp), %rdi movq %rdi, -0x90(%rbp) ca...
/astanin[P]notch/test/catch.hpp
Catch::ResultBuilder::reconstructExpression[abi:cxx11]() const
std::string ResultBuilder::reconstructExpression() const { if( m_exprComponents.op == "" ) return m_exprComponents.lhs.empty() ? m_assertionInfo.capturedExpression : m_exprComponents.op + m_exprComponents.lhs; else if( m_exprComponents.op == "matches" ) return m_exprComponents.lh...
pushq %rbp movq %rsp, %rbp subq $0x240, %rsp # imm = 0x240 movq %rdi, -0x218(%rbp) movq %rdi, %rax movq %rax, -0x210(%rbp) movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x10(%rbp), %rdi movq %rdi, -0x208(%rbp) addq $0xb8, %rdi addq $0x48, %rdi leaq 0x9f514(%rip), %rsi # 0x16c765 callq 0xcfc80 testb ...
/astanin[P]notch/test/catch.hpp
Catch::TagAliasRegistry::expandAliases(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) const
std::string TagAliasRegistry::expandAliases( std::string const& unexpandedTestSpec ) const { std::string expandedTestSpec = unexpandedTestSpec; for( std::map<std::string, TagAlias>::const_iterator it = m_registry.begin(), itEnd = m_registry.end(); it != itEnd; ++it ) { ...
pushq %rbp movq %rsp, %rbp subq $0xf0, %rsp movq %rdi, -0xe0(%rbp) movq %rdi, %rax movq %rax, -0xd8(%rbp) movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq -0x10(%rbp), %rax movq %rax, -0xd0(%rbp) movb $0x0, -0x19(%rbp) movq -0x18(%rbp), %rsi callq 0xc5250 movq -0xd0(%rbp), %rdi addq $0x8, %rdi c...
/astanin[P]notch/test/catch.hpp
Catch::(anonymous namespace)::PosixColourImpl::use(Catch::Colour::Code)
virtual void use( Colour::Code _colourCode ) { switch( _colourCode ) { case Colour::None: case Colour::White: return setColour( "[0m" ); case Colour::Red: return setColour( "[0;31m" ); case Colour::Green: return setColour( "[0;32m...
pushq %rbp movq %rsp, %rbp subq $0x40, %rsp movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x30(%rbp) movl -0xc(%rbp), %eax movq %rax, -0x28(%rbp) subq $0x17, %rax ja 0xcf94a movq -0x28(%rbp), %rax leaq 0x9b80d(%rip), %rcx # 0x16b020 movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%r...
/astanin[P]notch/test/catch.hpp
Catch::extractClassName(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
inline std::string extractClassName( std::string const& classOrQualifiedMethodName ) { std::string className = classOrQualifiedMethodName; if( startsWith( className, "&" ) ) { std::size_t lastColons = className.rfind( "::" ); std::size_t penultimateColons = className.rfin...
pushq %rbp movq %rsp, %rbp subq $0xb0, %rsp movq %rdi, -0x98(%rbp) movq %rdi, %rax movq %rax, -0x90(%rbp) movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movb $0x0, -0x11(%rbp) movq -0x10(%rbp), %rsi callq 0xc5250 leaq -0x39(%rbp), %rdi movq %rdi, -0x88(%rbp) callq 0xc59f0 movq -0x88(%rbp), %rdx leaq 0x9bf6c(%rip), %rsi ...
/astanin[P]notch/test/catch.hpp
Catch::ExceptionTranslatorRegistry::tryTranslators[abi:cxx11](__gnu_cxx::__normal_iterator<Catch::IExceptionTranslator const* const*, std::vector<Catch::IExceptionTranslator const*, std::allocator<Catch::IExceptionTranslator const*>>>) const
std::string tryTranslators( std::vector<const IExceptionTranslator*>::const_iterator it ) const { if( it == m_translators.end() ) return "Unknown exception"; try { return (*it)->translate(); } catch(...) { return tryTransla...
pushq %rbp movq %rsp, %rbp subq $0x60, %rsp movq %rdi, -0x58(%rbp) movq %rdi, %rax movq %rax, -0x50(%rbp) movq %rdi, -0x8(%rbp) movq %rdx, -0x10(%rbp) movq %rsi, -0x18(%rbp) movq -0x18(%rbp), %rdi movq %rdi, -0x48(%rbp) addq $0x8, %rdi callq 0xd8900 movq %rax, -0x20(%rbp) leaq -0x10(%rbp), %rdi leaq -0x20(%rbp), %rsi c...
/astanin[P]notch/test/catch.hpp
Catch::Context::getGeneratorsForCurrentTest()
IGeneratorsForTest& getGeneratorsForCurrentTest() { IGeneratorsForTest* generators = findGeneratorsForCurrentTest(); if( !generators ) { std::string testName = getResultCapture()->getCurrentTestName(); generators = createGeneratorsForTest(); m_gene...
pushq %rbp movq %rsp, %rbp subq $0xa0, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x80(%rbp) callq 0xda0c0 movq %rax, -0x10(%rbp) cmpq $0x0, -0x10(%rbp) jne 0xda0a8 movq -0x80(%rbp), %rdi movq (%rdi), %rax movq 0x10(%rax), %rax callq *%rax movq %rax, %rsi movq (%rsi), %rax movq 0x38(%rax), %rax leaq -...
/astanin[P]notch/test/catch.hpp
Catch::Context::findGeneratorsForCurrentTest()
IGeneratorsForTest* findGeneratorsForCurrentTest() { std::string testName = getResultCapture()->getCurrentTestName(); std::map<std::string, IGeneratorsForTest*>::const_iterator it = m_generatorsByTestName.find( testName ); return it != m_generatorsByTestName.end() ...
pushq %rbp movq %rsp, %rbp subq $0x80, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x70(%rbp) movq (%rdi), %rax movq 0x10(%rax), %rax callq *%rax movq %rax, %rsi movq (%rsi), %rax movq 0x38(%rax), %rax leaq -0x28(%rbp), %rdi movq %rdi, -0x68(%rbp) callq *%rax movq -0x70(%rbp), %rdi movq -0x68(%rbp), %r...
/astanin[P]notch/test/catch.hpp
Catch::Clara::CommandLine<Catch::ConfigData>::operator[](Catch::Clara::UnpositionalTag)
ArgBuilder operator[]( UnpositionalTag ) { if( m_floatingArg.get() ) throw std::logic_error( "Only one unpositional argument can be added" ); m_floatingArg.reset( new Arg() ); ArgBuilder builder( m_floatingArg.get() ); return builder; }
pushq %rbp movq %rsp, %rbp subq $0x50, %rsp movq %rdi, -0x18(%rbp) movq -0x18(%rbp), %rdi movq %rdi, -0x30(%rbp) addq $0x50, %rdi callq 0xe5f00 cmpq $0x0, %rax je 0xe1de3 movl $0x10, %edi callq 0xc52d0 movq %rax, %rdi movq %rdi, %rax movq %rax, -0x38(%rbp) leaq 0x8a223(%rip), %rsi # 0x16bfd1 callq 0xc57d0 jmp 0xe1d...
/astanin[P]notch/test/catch.hpp
Catch::Session::applyCommandLine(int, char* const*, Catch::Session::OnUnusedOptions::DoWhat)
int applyCommandLine( int argc, char* const argv[], OnUnusedOptions::DoWhat unusedOptionBehaviour = OnUnusedOptions::Fail ) { try { m_cli.setThrowOnUnrecognisedTokens( unusedOptionBehaviour == OnUnusedOptions::Fail ); m_unusedTokens = m_cli.parseInto( argc, argv, m_configData...
pushq %rbp movq %rsp, %rbp subq $0x140, %rsp # imm = 0x140 movq %rdi, -0x10(%rbp) movl %esi, -0x14(%rbp) movq %rdx, -0x20(%rbp) movl %ecx, -0x24(%rbp) movq -0x10(%rbp), %rdi movq %rdi, -0x108(%rbp) addq $0x8, %rdi movl -0x24(%rbp), %eax subl $0x1, %eax sete %al movzbl %al, %esi callq 0xe73a0 jmp 0xe6eab movq...
/astanin[P]notch/test/catch.hpp
Catch::Session::run()
int run() { if( m_configData.showHelp ) return 0; try { config(); // Force config to be constructed std::srand( m_configData.rngSeed ); Runner runner( m_config ); // Handle list request ...
pushq %rbp movq %rsp, %rbp subq $0x2e0, %rsp # imm = 0x2E0 movq %rdi, -0x10(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x2b8(%rbp) testb $0x1, 0x87(%rax) je 0xe718f movl $0x0, -0x4(%rbp) jmp 0xe737d movq -0x2b8(%rbp), %rdi callq 0xec490 jmp 0xe719d movq -0x2b8(%rbp), %rax movl 0x90(%rax), %edi callq 0xc5570 mo...
/astanin[P]notch/test/catch.hpp
Catch::Clara::CommandLine<Catch::ConfigData>::parseInto(int, char const* const*, Catch::ConfigData&) const
std::vector<Parser::Token> parseInto( int argc, char const * const * argv, ConfigT& config ) const { std::string processName = argv[0]; std::size_t lastSlash = processName.find_last_of( "/\\" ); if( lastSlash != std::string::npos ) processName = processName.substr( la...
pushq %rbp movq %rsp, %rbp subq $0xf0, %rsp movq %rdi, -0xe8(%rbp) movq %rdi, %rax movq %rax, -0xe0(%rbp) movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movl %edx, -0x14(%rbp) movq %rcx, -0x20(%rbp) movq %r8, -0x28(%rbp) movq -0x10(%rbp), %rax movq %rax, -0xd8(%rbp) movq -0x20(%rbp), %rax movq (%rax), %rax movq %rax, -0x...
/astanin[P]notch/test/catch.hpp
Catch::Runner::runTests()
Totals runTests() { RunContext context( m_config.get(), m_reporter ); Totals totals; context.testGroupStarting( "all tests", 1, 1 ); // deprecated? TestSpec testSpec = m_config->testSpec(); if( !testSpec.hasFilters() ) testSpec = TestSpecPa...
pushq %rbp movq %rsp, %rbp subq $0x510, %rsp # imm = 0x510 movq %rdi, -0x488(%rbp) movq %rdi, -0x480(%rbp) movq %rsi, -0x8(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x478(%rbp) callq 0xf1520 movq %rax, %rsi leaq -0x278(%rbp), %rdi movq %rdi, -0x470(%rbp) callq 0xd9930 movq -0x478(%rbp), %rdx movq -0x470(%rbp),...
/astanin[P]notch/test/catch.hpp
Catch::listReporters(Catch::Config const&)
inline std::size_t listReporters( Config const& /*config*/ ) { Catch::cout() << "Available reporters:\n"; IReporterRegistry::FactoryMap const& factories = getRegistryHub().getReporterRegistry().getFactories(); IReporterRegistry::FactoryMap::const_iterator itBegin = factories.begin(), itEnd = fac...
pushq %rbp movq %rsp, %rbp subq $0x150, %rsp # imm = 0x150 movq %rdi, -0x8(%rbp) callq 0xc92c0 movq %rax, %rdi leaq 0x7975b(%rip), %rsi # 0x16c2e9 callq 0xc5590 callq 0xc8f10 movq %rax, %rdi movq (%rdi), %rax callq *0x10(%rax) movq %rax, %rdi movq (%rdi), %rax callq *0x18(%rax) movq %rax, -0x10(%rbp) mov...
/astanin[P]notch/test/catch.hpp
Catch::RunContext::RunContext(Catch::Ptr<Catch::IConfig const> const&, Catch::Ptr<Catch::IStreamingReporter> const&)
explicit RunContext( Ptr<IConfig const> const& config, Ptr<IStreamingReporter> const& reporter ) : m_runInfo( config->name() ), m_context( getCurrentMutableContext() ), m_activeTestCase( NULL ), m_config( config ), m_reporter( reporter ), m_prevRunne...
pushq %rbp movq %rsp, %rbp subq $0xe0, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x60(%rbp) callq 0xf5300 movq -0x60(%rbp), %rdi addq $0x8, %rdi callq 0xf5320 movq -0x60(%rbp), %rax leaq 0xc55fc(%rip), %rcx # 0x1b9c28 movq %rcx, (%rax) leaq 0xc565a(%r...
/astanin[P]notch/test/catch.hpp
Catch::TestSpec::matches(Catch::TestCaseInfo const&) const
bool matches( TestCaseInfo const& testCase ) const { // A TestSpec matches if any filter matches for( std::vector<Filter>::const_iterator it = m_filters.begin(), itEnd = m_filters.end(); it != itEnd; ++it ) if( it->matches( testCase ) ) return true; ...
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movq -0x10(%rbp), %rdi movq %rdi, -0x30(%rbp) callq 0xf0710 movq -0x30(%rbp), %rdi movq %rax, -0x20(%rbp) callq 0xf0740 movq %rax, -0x28(%rbp) leaq -0x20(%rbp), %rdi leaq -0x28(%rbp), %rsi callq 0xf09f0 testb $0x1, %al jne 0xfd291...
/astanin[P]notch/test/catch.hpp
Catch::TestRegistry::sortTests(Catch::IConfig const&, std::vector<Catch::TestCase, std::allocator<Catch::TestCase>>&)
static void sortTests( IConfig const& config, std::vector<TestCase>& matchingTestCases ) { switch( config.runOrder() ) { case RunTests::InLexicographicalOrder: std::sort( matchingTestCases.begin(), matchingTestCases.end(), LexSort() ); break; ...
pushq %rbp movq %rsp, %rbp subq $0x40, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rdi movq (%rdi), %rax movq 0x70(%rax), %rax callq *%rax movl %eax, %ecx movl %ecx, -0x3c(%rbp) testl %eax, %eax je 0xfd3d2 jmp 0xfd368 movl -0x3c(%rbp), %eax subl $0x1, %eax je 0xfd37c jmp 0xfd372 movl -0x3c(%rbp)...
/astanin[P]notch/test/catch.hpp
Catch::TestSpec::Filter::matches(Catch::TestCaseInfo const&) const
bool matches( TestCaseInfo const& testCase ) const { // All patterns in a filter must match for the filter to be a match for( std::vector<Ptr<Pattern> >::const_iterator it = m_patterns.begin(), itEnd = m_patterns.end(); it != itEnd; ++it ) if( !(*it)->matches( testCas...
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movq -0x10(%rbp), %rdi movq %rdi, -0x30(%rbp) callq 0xee150 movq -0x30(%rbp), %rdi movq %rax, -0x20(%rbp) callq 0xee180 movq %rax, -0x28(%rbp) leaq -0x20(%rbp), %rdi leaq -0x28(%rbp), %rsi callq 0xeea80 testb $0x1, %al jne 0xfd461...
/astanin[P]notch/test/catch.hpp
Catch::XmlWriter::startElement(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
XmlWriter& startElement( std::string const& name ) { ensureTagClosed(); newlineIfNecessary(); stream() << m_indent << "<" << name; m_tags.push_back( name ); m_indent += " "; m_tagIsOpen = true; return *this; }
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x18(%rbp) callq 0x105650 movq -0x18(%rbp), %rdi callq 0xde2c0 movq -0x18(%rbp), %rdi callq 0xde300 movq -0x18(%rbp), %rsi movq %rax, %rdi addq $0x20, %rsi callq 0xc54f0 movq %rax, %rdi leaq 0x66bc...
/astanin[P]notch/test/catch.hpp
Catch::CumulativeReporterBase::CumulativeReporterBase(Catch::ReporterConfig const&)
CumulativeReporterBase( ReporterConfig const& _config ) : m_config( _config.fullConfig() ), stream( _config.stream() ) {}
pushq %rbp movq %rsp, %rbp subq $0x60, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x30(%rbp) callq 0xd0b30 movq -0x30(%rbp), %rdi leaq 0xa7ec0(%rip), %rax # 0x1b83b8 movq %rax, (%rdi) addq $0x10, %rdi movq %rdi, -0x28(%rbp) movq -0x10(%rbp), %rsi callq 0x110050 jmp 0x11050e ...
/astanin[P]notch/test/catch.hpp
void notch::core::internal::emul<float*, float const*, float*>(float*, float*, float const*, float const*, float*, float*)
void INTERNAL_NOBLAS(emul)( VectorX_Iter x_begin, VectorX_Iter x_end, VectorY_Iter y_begin, VectorY_Iter y_end, VectorZ_OutIter z_begin, VectorZ_OutIter z_end) { size_t x_size = std::distance(x_begin, x_end); size_t y_size = std::distance(y_begin, y_end); size_t z_size = std::distance(z_begin...
pushq %rbp movq %rsp, %rbp subq $0x250, %rsp # imm = 0x250 movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq %rcx, -0x20(%rbp) movq %r8, -0x28(%rbp) movq %r9, -0x30(%rbp) movq -0x8(%rbp), %rdi movq -0x10(%rbp), %rsi callq 0x12c860 movq %rax, -0x38(%rbp) movq -0x18(%rbp), %rdi movq -0x2...
/astanin[P]notch/notch.hpp
Catch::ResultBuilder& Catch::ExpressionLhs<unsigned long const&>::captureExpression<(Catch::Internal::Operator)0, unsigned long>(unsigned long const&)
ResultBuilder& captureExpression( RhsT const& rhs ) { return m_rb .setResultType( Internal::compare<Op>( m_lhs, rhs ) ) .setLhs( Catch::toString( m_lhs ) ) .setRhs( Catch::toString( rhs ) ) .setOp( Internal::OperatorTraits<Op>::getName() ); }
pushq %rbp movq %rsp, %rbp subq $0xd0, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rax movq %rax, -0xa8(%rbp) movq (%rax), %rcx movq %rcx, -0xb0(%rbp) movq 0x8(%rax), %rdi movq -0x10(%rbp), %rsi callq 0x12da80 movq -0xb0(%rbp), %rdi movzbl %al, %esi callq 0xccd90 movq %rax, %rcx movq -0xa8(%rbp)...
/astanin[P]notch/test/catch.hpp
notch::core::ConvolutionLayer2D<3ul>::update()
virtual void update() { if (!policy) { throw std::logic_error("learning policy is not defined"); } policy->update(*weights, *bias, *weightSensitivity, *biasSensitivity); }
pushq %rbp movq %rsp, %rbp subq $0x50, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x20(%rbp) addq $0xb8, %rdi callq 0x1292e0 testb $0x1, %al jne 0x133794 movl $0x10, %edi callq 0xc52d0 movq %rax, %rdi movq %rdi, %rax movq %rax, -0x28(%rbp) leaq 0x3a90e(%rip), %rsi # 0x16e06d callq 0xc57d0 jmp 0x13...
/astanin[P]notch/notch.hpp
notch::core::Net::backprop(std::valarray<float> const&)
const Array &backprop(const Array &errors) { if (layers.empty()) { throw std::logic_error("no layers"); } const Array *bpr = &errors; size_t n = layers.size(); for (size_t back_offset = 0; back_offset < n; ++back_offset) { size_t i = n - 1 - back_offset; ...
pushq %rbp movq %rsp, %rbp subq $0x50, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x48(%rbp) addq $0x8, %rdi callq 0x139a80 testb $0x1, %al jne 0x136f87 jmp 0x136fd7 movl $0x10, %edi callq 0xc52d0 movq %rax, %rdi movq %rdi, %rax movq %rax, -0x50(%rbp) leaq 0x37a28(%rip), %rsi ...
/astanin[P]notch/notch.hpp
void notch::core::connect<notch::core::FullyConnectedLayer, notch::core::SoftmaxWithLoss>(notch::core::FullyConnectedLayer&, notch::core::SoftmaxWithLoss&)
void connect(PREV_LAYER &prevLayer, NEXT_LAYER &nextLayer) { size_t prevIn = prevLayer.inputDim(); size_t prevOut = prevLayer.outputDim(); size_t nextIn = nextLayer.inputDim(); size_t nextOut = nextLayer.outputDim(); if (prevOut != nextIn) { std::ostringstream ss; ss << "can't connec...
pushq %rbp movq %rsp, %rbp subq $0x2b0, %rsp # imm = 0x2B0 movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rdi movq (%rdi), %rax callq *0x8(%rax) movq %rax, -0x18(%rbp) movq -0x8(%rbp), %rdi movq (%rdi), %rax callq *0x10(%rax) movq %rax, -0x20(%rbp) movq -0x10(%rbp), %rdi movq (%rdi), %rax cal...
/astanin[P]notch/notch.hpp
void notch::core::internal::scaleAdd<float*, float*>(float, float*, float*, float*, float*)
void INTERNAL_NOBLAS(scaleAdd)( float alpha, VectorX_Iter x_begin, VectorX_Iter x_end, VectorY_OutIter y_begin, VectorY_OutIter y_end) { size_t x_size = std::distance(x_begin, x_end); size_t y_size = std::distance(y_begin, y_end); if (x_size != y_size) { std::ostringstream...
pushq %rbp movq %rsp, %rbp subq $0x230, %rsp # imm = 0x230 movss %xmm0, -0x4(%rbp) movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movq %rdx, -0x20(%rbp) movq %rcx, -0x28(%rbp) movq -0x10(%rbp), %rdi movq -0x18(%rbp), %rsi callq 0x12c860 movq %rax, -0x30(%rbp) movq -0x20(%rbp), %rdi movq -0x28(%rbp), %rsi call...
/astanin[P]notch/notch.hpp
notch::pre::OneHotEncoder::countColumnValues(std::vector<std::valarray<float>, std::allocator<std::valarray<float>>> const&)
void countColumnValues(const Dataset &d) { std::map<int, std::set<int>> colMaps; // columnIndex -> {categories} for (Array a : d) { for (int colId : inputColumns) { colMaps[colId].insert(int(std::round(a[colId]))); } } nExtraCols = 0; colum...
pushq %rbp movq %rsp, %rbp subq $0x1c0, %rsp # imm = 0x1C0 movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x168(%rbp) leaq -0x40(%rbp), %rdi callq 0x164db0 movq -0x10(%rbp), %rax movq %rax, -0x48(%rbp) movq -0x48(%rbp), %rdi callq 0x152bb0 movq %rax, -0x50(%rbp) movq -0x48(%rb...
/astanin[P]notch/notch_pre.hpp
small_alloc_destroy
struct mempool * mempool_iterator_next(struct mempool_iterator *it) { struct small_mempool *small_mempool = NULL; if (it->small_iterator < it->alloc->small_mempool_cache_size) small_mempool = &it->alloc->small_mempool_cache[(it->small_iterator)++]; if (small_mempool) return &(small_mempool->pool); return NU...
cmpl $0x0, 0x26008(%rdi) setne %al je 0x8a3c pushq %rbp movq %rsp, %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax movq %rdi, %rbx leaq 0x8(%rdi), %r14 xorl %r15d, %r15d movl %r15d, %ecx imulq $0x98, %rcx, %rdi addq %r14, %rdi movzbl %al, %eax andl $0x1, %eax addl %eax, %r15d callq 0x31a0 cmpl 0x26008(%rbx), %r15d set...
/tarantool[P]small/small/small.c
small_alloc_info
void small_alloc_info(struct small_alloc *alloc, void *ptr, size_t size, struct small_alloc_info *info) { (void)ptr; struct small_mempool *small_mempool = small_mempool_search(alloc, size); info->is_large = small_mempool == NULL; if (info->is_large) info->real_size = size; else info->real_size = small_mempo...
movq %rcx, %rax movl 0x2e038(%rdi), %esi xorl %ecx, %ecx cmpq %rdx, %rsi jb 0x8b26 movl 0x2e030(%rdi), %esi movl %edx, %r9d subl %esi, %r9d cmovbl %ecx, %r9d movb 0x2e01c(%rdi), %cl shrl %cl, %r9d cmpl 0x2e024(%rdi), %r9d jb 0x8b15 movb 0x2e020(%rdi), %sil movl %r9d, %r8d movl %esi, %ecx shrl %cl, %r8d bsrl %r8d, %r8d ...
/tarantool[P]small/small/small.c
small_mempool_create_groups
static inline void small_mempool_create_groups(struct small_alloc *alloc, struct small_mempool *first, struct small_mempool *last) { struct small_mempool *first_in_group = first; while (first_in_group <= last) { struct small_mempool *last_in_group = small_mempool_group_last_pool(first_in_group, las...
pushq %rbp movq %rsp, %rbp pushq %r14 pushq %rbx cmpq %rdx, %rsi ja 0x8ce6 leaq 0x26010(%rdi), %rax movl 0x2e010(%rdi), %r8d movq %rsi, %r9 cmpq %rdx, %rsi jae 0x8bab xorl %ecx, %ecx movq %rsi, %r9 addq $0x98, %r9 cmpq %rdx, %r9 jae 0x8bab leal 0x1(%rcx), %r10d cmpb $0x1e, %cl movl %r10d, %ecx jb 0x8b93 movl %r8d, %r10...
/tarantool[P]small/small/small.c
Gesture1_Do_proc(Am_Object)
Am_Define_Method(Am_Object_Method, void, Gesture1_Do, (Am_Object cmd)) { Am_Object inter = cmd.Get_Owner(); Am_Value v; v = cmd.Peek(Am_VALUE); if (v.Valid()) cout << "** Recognized: " << v << endl; else cout << "** UNRECOGNIZED" << endl; cout << "(nap = " << (double)inter.Get(Am_NONAMBIGUITY_PROB...
pushq %rbx subq $0x20, %rsp movq %rdi, %rbx leaq 0x8(%rsp), %rdi movq %rbx, %rsi movl $0xa, %edx xorl %ecx, %ecx callq 0x2280 movw $0x0, 0x10(%rsp) movq $0x0, 0x18(%rsp) movl $0x1, %edx movq %rbx, %rdi movl $0x169, %esi # imm = 0x169 callq 0x21e0 leaq 0x10(%rsp), %rdi movq %rax, %rsi callq 0x20f0 leaq 0x10(%...
/ProgrammerArchaeology[P]openamulet/test/gesture/testgest.cpp
main
int main(int argc, char *argv[]) { Am_Gesture_Classifier gc; Am_Initialize(); if (argc > 1) { gc = Am_Gesture_Classifier(argv[1]); if (!gc.Valid()) { cerr << "can't open %s\n" << argv[1] << endl; exit(-1); } } Am_Object window = Am_Window.Create("window") .S...
pushq %rbp pushq %rbx subq $0x48, %rsp movq %rsi, %rbx movl %edi, %ebp leaq 0x28(%rsp), %rdi callq 0x2080 callq 0x2050 cmpl $0x2, %ebp jl 0x26cd movq 0x8(%rbx), %rsi leaq 0x8(%rsp), %rdi callq 0x20b0 leaq 0x28(%rsp), %rdi leaq 0x8(%rsp), %rsi callq 0x2110 leaq 0x8(%rsp), %rdi callq 0x2130 leaq 0x28(%rsp), %rdi callq 0x...
/ProgrammerArchaeology[P]openamulet/test/gesture/testgest.cpp
compute_cells
int * compute_cells(const int *dims, int *ncells) { int i,j,k; *ncells = (dims[0]-1)*(dims[1]-1)*(dims[2]-1); int *cells = (int *)malloc(*ncells * sizeof(int)*6); int *cptr = cells; int F1 = (dims[0]-1)*(dims[1]-1)*dims[2]; /* back/front */ int F2 = (dims[0]-1)*(dims[1]) *(dims[2]-1); /* bottom/top */...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movq %rdi, %r12 movslq (%rdi), %rax decq %rax movslq 0x4(%rdi), %rcx decq %rcx imulq %rax, %rcx movslq 0x8(%rdi), %rax decq %rax imulq %rcx, %rax movl %eax, (%rsi) shlq $0x3, %rax leaq (%rax,%rax,2), %rdi callq 0x3180 movq %rax, (%rsp) m...
/CEED[P]FMS/examples/meshing/hexes.c
append_coord_dofs_face
double * append_coord_dofs_face(int order, double *dest, const double *verts, const int *edges, const int *faces, int nfaces, double travel, int component) { int i,ii,jj,e0,e2,v0,v1,v2,v3; double value, r,s, *ptr = dest; if(order >= 2) { for(i = 0; i < nfaces; ++i...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x78, %rsp movq %r8, 0x28(%rsp) movq %rcx, 0x20(%rsp) movq %rsi, %r14 cmpl $0x2, %edi setl %al testl %r9d, %r9d setle %cl orb %al, %cl jne 0x3e48 movq %rdx, %rbx cvtsi2sd %edi, %xmm2 movl %r9d, %eax movq %rax, 0x18(%rsp) xorl %eax, %eax movslq 0xb0...
/CEED[P]FMS/examples/meshing/hexes.c
add_radial_scalar
void add_radial_scalar(FmsDataCollection dc, FmsComponent volume, const char *name, int order, const int *dims, const double *verts, int nverts, const int *edges, int nedges, const int *faces, int nfaces, int ncells) { int i, nd...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xc8, %rsp movq %r9, %r12 movq %r8, 0x18(%rsp) movl %ecx, %ebp movq %rsi, %rbx movq %rdi, %r13 leaq 0xfe0f(%rip), %rsi # 0x14050 leaq 0x60(%rsp), %r15 movq %r15, %rdi movq %rdx, 0x40(%rsp) xorl %eax, %eax callq 0x31e0 leaq 0x48(%rsp), %r14 mov...
/CEED[P]FMS/examples/meshing/hexes.c
FmsDomainAddEntities
int FmsDomainAddEntities(FmsDomain domain, FmsEntityType type, FmsEntityReordering reordering, FmsIntType ent_id_type, const void *ents, FmsInt num_ents) { if (!domain) { E_RETURN(1); } if (type == FMS_VERTEX || type >= FMS_NUM_ENTITY_TYPES) { E_RETURN(2); } const...
testq %rdi, %rdi je 0x727b movq %rdx, %r10 leal -0x8(%rsi), %edx movl $0x2, %eax cmpl $-0x7, %edx jb 0x7280 pushq %r15 pushq %r14 pushq %r12 pushq %rbx pushq %rax movq %rdi, %rbx movl %esi, %r15d movq (%rdi,%r15,8), %r14 leaq (%r14,%r9), %r12 movl $0x3, %eax cmpq 0x40(%rdi,%r15,8), %r12 ja 0x72c4 movl 0x80(%rbx,%r15,4)...
/CEED[P]FMS/src/fms.c
FmsIntPermuteConvertCopy
static int FmsIntPermuteConvertCopy(FmsIntType src_type, const void *src, FmsIntType dst_type, void *dst, const int *perm, FmsInt tuple_size, FmsInt tot_size) { if (src_type >= FMS_NUM_INT_TYPES || dst_type >= ...
movl %edx, %r11d movl %edx, %eax orl %edi, %eax cmpl $0x8, %eax setae %al testq %r9, %r9 sete %dl orb %al, %dl jne 0x7b4d pushq %rbx movq 0x10(%rsp), %r10 movq %r10, %rax xorl %edx, %edx divq %r9 testq %rdx, %rdx je 0x7b4e popq %rbx retq movl %r11d, %eax leaq 0xc728(%rip), %rdx # 0x14280 movslq (%rdx,%rax,4), %rax...
/CEED[P]FMS/src/fms.c
FmsIntMapCopy
static int FmsIntMapCopy(FmsIntType src_type, const void *src, FmsIntType dst_type, void *dst, const void *map, FmsInt size) { if (src_type >= FMS_NUM_INT_TYPES || dst_type >= FMS_NUM_INT_TYPES) { E_RETURN(1); } switch (dst_type) { case FMS_INT8: FMS_IMC_S...
movl %edi, %eax leaq 0xb3f5(%rip), %rdi # 0x143a0 movslq (%rdi,%rax,4), %rax addq %rdi, %rax jmpq *%rax testq %r8, %r8 je 0x90b4 xorl %eax, %eax movsbq (%rsi,%rax), %rdi movb (%rcx,%rdi), %dil movb %dil, (%rdx,%rax) incq %rax cmpq %rax, %r8 jne 0x8fbf jmp 0x90b4 testq %r8, %r8 je 0x90b4 xorl %eax, %eax movzbl (%rs...
/CEED[P]FMS/src/fms.c
FmsComponentAddPartSubEntities
int FmsComponentAddPartSubEntities(FmsComponent comp, FmsInt part_id, FmsEntityType type, FmsIntType id_store_type, FmsIntType ent_id_type, const void *ents, FmsInt num_ents) { if (!comp) { E_RETURN(1); } if (pa...
testq %rdi, %rdi je 0x9125 pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movl %ecx, %ebx movl $0x2, %ecx cmpq %rsi, 0x20(%rdi) jbe 0x9115 movl $0x3, %ecx cmpl $0x7, %edx ja 0x9115 movq %r9, %r14 movl %r8d, %ebp movq 0x10(%rdi), %rax cmpq $0x7f, %rax je 0x9101 movl %edx, %r8d leaq 0xb37a(%...
/CEED[P]FMS/src/fms.c
FmsMetaDataDestroy
int FmsMetaDataDestroy(FmsMetaData *mdata) { int err = 0; if (!mdata) { E_RETURN(1); } FmsMetaData md = *mdata; if (md) { err = UpdateError(err, FmsMetaDataClear(md)); free(md); *mdata = NULL; } E_RETURN(err); }
pushq %rbp pushq %r14 pushq %rbx testq %rdi, %rdi je 0x9846 movq %rdi, %rbx movq (%rdi), %r14 testq %r14, %r14 je 0x984d movq %r14, %rdi callq 0x9a7c movl %eax, %ebp movq %r14, %rdi callq 0x3030 movq $0x0, (%rbx) movl %ebp, %eax jmp 0x984f movl $0x1, %eax jmp 0x984f xorl %eax, %eax popq %rbx popq %r14 popq %rbp retq
/CEED[P]FMS/src/fms.c
FmsMetaDataSetIntegers
int FmsMetaDataSetIntegers(FmsMetaData mdata, const char *mdata_name, FmsIntType int_type, FmsInt size, void **data) { if (!mdata) { E_RETURN(1); } if (int_type >= FMS_NUM_INT_TYPES) { E_RETURN(2); } if (size && !data) { E_RETURN(3); } int err = FmsMetaDataClear(mdata); if (err) { E...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax testq %rdi, %rdi je 0x9fc4 movl %edx, %ebp movl $0x2, %r13d cmpl $0x7, %edx ja 0x9fca movq %r8, %rbx movq %rcx, %r14 testq %rcx, %rcx setne %al testq %r8, %r8 sete %cl movl $0x3, %r13d testb %cl, %al jne 0x9fca movq %rsi, %r12 movq %rdi, %r15 ...
/CEED[P]FMS/src/fms.c
FmsMetaDataSetScalars
int FmsMetaDataSetScalars(FmsMetaData mdata, const char *mdata_name, FmsScalarType scal_type, FmsInt size, void **data) { if (!mdata) { E_RETURN(1); } if (scal_type >= FMS_NUM_SCALAR_TYPES) { E_RETURN(2); } if (size && !data) { E_RETURN(3); } int err = FmsMetaDataClear(mdata); if (er...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax testq %rdi, %rdi je 0xa0a1 movl %edx, %ebp movl $0x2, %r13d cmpl $0x3, %edx ja 0xa0a7 movq %r8, %rbx movq %rcx, %r14 testq %rcx, %rcx setne %al testq %r8, %r8 sete %cl movl $0x3, %r13d testb %cl, %al jne 0xa0a7 movq %rsi, %r12 movq %rdi, %r15 ...
/CEED[P]FMS/src/fms.c
FmsComponentGetPart
int FmsComponentGetPart(FmsComponent comp, FmsInt part_id, FmsEntityType type, FmsDomain *domain, FmsIntType *ent_id_type, const void **ents, const FmsOrientation **ent_orients, FmsInt *num_ents) { if (!comp) { E_RETURN(1); } if (part_id >= com...
testq %rdi, %rdi je 0xb891 movl $0x2, %eax cmpq %rsi, 0x20(%rdi) jbe 0xb896 movl $0x3, %eax cmpl $0x7, %edx ja 0xb896 imulq $0xe8, %rsi, %rsi addq 0x30(%rdi), %rsi testq %rcx, %rcx je 0xb84c movq (%rsi), %rax movq %rax, (%rcx) movl %edx, %ecx testq %r8, %r8 je 0xb85a movl 0x48(%rsi,%rcx,4), %eax movl %eax, (%r8) movq 0...
/CEED[P]FMS/src/fms.c
FmsDataCollectionCompare
int FmsDataCollectionCompare(FmsDataCollection lhs, FmsDataCollection rhs) { if(lhs == rhs) return 0; if(!lhs) return -1; if(!rhs) return -2; // Compare names int diff = 0; const char *lhs_name = NULL; const char *rhs_name = NULL; FmsDataCollectionGetName(lhs, &lhs_name); FmsDataCollectionGetName(rhs,...
cmpq %rsi, %rdi je 0xbd5f pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movq %rdi, %r12 testq %rdi, %rdi je 0xbd62 movq %rsi, %r14 testq %rsi, %rsi je 0xbd6c movq (%r12), %rdi movq (%r14), %rsi callq 0x3140 xorl %ebx, %ebx testl %eax, %eax setne %bl movq 0x10(%r12), %rdi movq 0x10(%...
/CEED[P]FMS/src/fms.c
FmsComponentCompare
int FmsComponentCompare(FmsComponent lhs, FmsComponent rhs) { if(lhs == rhs) return 0; if(!lhs) return -1; if(!rhs) return -2; int diff = 0; if(lhs->name && rhs->name) { if(strcmp(lhs->name, rhs->name)) diff += 1; } else if(!lhs->name) diff += 2; else if(!rhs->name) diff += 3; if(lhs...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp cmpq %rsi, %rdi je 0xc616 movq %rdi, %r14 testq %rdi, %rdi je 0xc61e movq %rsi, %rbx testq %rsi, %rsi je 0xc629 movq (%r14), %rdi movl $0x2, %ecx testq %rdi, %rdi je 0xc645 movq (%rbx), %rsi testq %rsi, %rsi je 0xc634 callq 0x3140 xorl %...
/CEED[P]FMS/src/fms.c
FmsIOGetTypedIntArray
static int FmsIOGetTypedIntArray(FmsIOContext *ctx, const char *path, FmsIntType *type, void **values, FmsInt *n) { int err = 0; char k[FMS_BUFFER_SIZE], v[FMS_BUFFER_SIZE]; if(!ctx) E_RETURN(1); if(!path) E_RETURN(2); if(!type) E_RETURN(3); if(!values) E_RETURN(4); if(!n) E_RETURN(5...
testq %rdi, %rdi je 0xf6bd pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x428, %rsp # imm = 0x428 movq %rsi, %r13 testq %rsi, %rsi je 0xf6c3 movq %rdx, %r12 testq %rdx, %rdx je 0xf6ca movq %rcx, %rbx testq %rcx, %rcx je 0xf6d1 movq %r8, %r14 testq %r8, %r8 je 0xf6d8 movq %rdi, %r15...
/CEED[P]FMS/src/fmsio.c
(anonymous namespace)::AArch64AsmPrinter::emitEndOfAsmFile(llvm::Module&)
void AArch64AsmPrinter::emitEndOfAsmFile(Module &M) { emitHwasanMemaccessSymbols(M); const Triple &TT = TM.getTargetTriple(); if (TT.isOSBinFormatMachO()) { // Output authenticated pointers as indirect symbols, if we have any. MachineModuleInfoMachO &MMIMacho = MMI->getObjFileInfo<MachineModuleIn...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x118, %rsp # imm = 0x118 movq %rdi, %rbx cmpq $0x0, 0x3d0(%rdi) je 0x7c2671 movq 0x38(%rbx), %rax movq 0x8(%rax), %rdi movq 0x1d0(%rax), %rsi movq 0x1d8(%rax), %rdx leaq 0x461dc6d(%rip), %rcx # 0x4ddf0c8 movq %rcx, 0xe0(%rsp) movq $0x...
/Target/AArch64/AArch64AsmPrinter.cpp