name
stringlengths
1
473k
code
stringlengths
7
647k
asm
stringlengths
4
3.39M
file
stringlengths
8
196
Util::ECEF2ECI(double, Eigen::Matrix<double, -1, -1, 0, -1, -1>*, Eigen::Matrix<double, -1, -1, 0, -1, -1>*, std::vector<Eigen::Matrix<double, 3, 3, 0, 3, 3>, std::allocator<Eigen::Matrix<double, 3, 3, 0, 3, 3>>>*)
Eigen::Matrix3d ECEF2ECI(double JD_UTC, Eigen::MatrixXd* nut80ptr, Eigen::MatrixXd* iau1980ptr, std::vector<Eigen::Matrix3d>* matvecptr){ //********* deal with time ****************** //J2000 time double J2000 = 2451545.0; //offset to get mean julian dates double MJD_offset = 2400000.5; //mean julian da...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x518, %rsp # imm = 0x518 movq %rcx, %r14 movq %rdx, %r12 movq %rsi, %r15 movq %rdi, %rbx addsd 0x224cd(%rip), %xmm0 # 0x31df0 movsd %xmm0, 0x38(%rsp) movsd 0x224c7(%rip), %xmm1 # 0x31df8 addsd %xmm0, %xmm1 addsd 0x224c3(%rip), %xm...
/coreymarcus[P]OrbitalDetermination/src/project/Util.cc
Util::matPOW(Eigen::Matrix<double, 3, 3, 0, 3, 3>, int)
Eigen::Matrix3d matPOW(Eigen::Matrix3d mat, int n){ //initialize Eigen::Matrix3d out = mat; //cycle for (int i = 1; i < n; ++i) { out = out*mat; } return out; }
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x10, %rsp movl %edx, %ebx movq %rsi, %r15 movq %rdi, %r14 pushq $0x9 popq %rcx rep movsq (%rsi), %es:(%rdi) pushq $0x1 popq %rbp movq %rsp, %r12 cmpl %ebx, %ebp jge 0x10700 movq %r14, (%rsp) movq %r15, 0x8(%rsp) movq %r14, %rdi movq %r12, %rsi callq 0x11bc2...
/coreymarcus[P]OrbitalDetermination/src/project/Util.cc
Util::JulianDateNatural2JD(double, double, double, double, double, double)
double JulianDateNatural2JD(double year, double month, double day, double hour, double min, double sec){ double term1 = 367.0*year; double term2 = floor((month + 9.0)/12.0); double term3 = floor(275.0*month/9.0); double term4 = ((sec/60.0 + min)/60.0 + hour)/24.0; double JD = term1 - floor(7.0*(year + term2...
subq $0x48, %rsp movsd %xmm5, 0x10(%rsp) movsd %xmm4, 0x20(%rsp) movsd %xmm3, 0x30(%rsp) movsd %xmm2, 0x40(%rsp) movsd %xmm1, 0x8(%rsp) movsd %xmm0, 0x28(%rsp) movsd 0x21800(%rip), %xmm2 # 0x31f40 mulsd %xmm0, %xmm2 movsd %xmm2, 0x38(%rsp) movapd %xmm1, %xmm0 addsd 0x21692(%rip), %xmm0 # 0x31de8 divsd 0x21652(%ri...
/coreymarcus[P]OrbitalDetermination/src/project/Util.cc
Util::EGM96Grav::LoadNormCoeffs(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void EGM96Grav::LoadNormCoeffs(std::string C_file, std::string S_file){ this->C_norm_ = LoadDatFile(C_file, 361, 361); this->S_norm_ = LoadDatFile(S_file, 361, 361); }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x58, %rsp movq %rdx, %r14 movq %rdi, %rbx leaq 0x38(%rsp), %r15 movq %r15, %rdi callq 0x43d0 movq %rsp, %rdi movq %r15, %rsi movl $0x169, %edx # imm = 0x169 movl $0x169, %ecx # imm = 0x169 callq 0x104ec movq 0x28(%rbx), %rdi movq %rsp, %r15 movq (...
/coreymarcus[P]OrbitalDetermination/src/project/Util.cc
Util::EGM96Grav::NormCoeffs2Reg()
void EGM96Grav::NormCoeffs2Reg(){ //initialize matricies this->C_ = Eigen::MatrixXd::Zero(361,361); this->S_ = Eigen::MatrixXd::Zero(361,361); for (double ll = 2; ll < 362; ++ll) { for (double mm = 0; mm < ll+1; ++mm) { double k = 2.0; if( (int) mm == 0) { k = 1.0; } //intermed...
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x40, %rsp movq %rdi, %rbx movl $0x169, %r15d # imm = 0x169 leaq 0x28(%rsp), %r14 movq %r15, (%r14) movq %r15, 0x8(%r14) andq $0x0, 0x10(%r14) addq $0x10, %rdi movq %r14, %rsi callq 0x12910 movq %r15, (%r14) movq %r15, 0x8(%r14) andq $0x0, 0x10(%r14...
/coreymarcus[P]OrbitalDetermination/src/project/Util.cc
Util::EGM96Grav::GetGravAccel(Eigen::Matrix<double, 3, 1, 0, 3, 1>, double)
Eigen::Vector3d EGM96Grav::GetGravAccel(Eigen::Vector3d pos, double JD_UTC){ //make short namespace namespace bm = boost::math; //initialize output Eigen::Vector3d accel; //locals double r = pos.norm(); double r2 = pow(r,2.0); double r3 = pow(r,3.0); double R = this->Rearth_; double mu = this->mu...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x2b8, %rsp # imm = 0x2B8 movsd %xmm0, 0x10(%rsp) movq %rdx, %r14 movq %rsi, %r12 movq %rdi, 0xb0(%rsp) movq %rdx, %rdi callq 0x11a6a movsd 0x20643(%rip), %xmm1 # 0x31140 movaps %xmm0, 0x50(%rsp) callq 0x4530 movsd %xmm0, 0xb8(%rsp) m...
/coreymarcus[P]OrbitalDetermination/src/project/Util.cc
Util::GetCost(Eigen::Matrix<double, -1, -1, 0, -1, -1>, Eigen::Matrix<double, -1, -1, 0, -1, -1>, double)
double GetCost(Eigen::MatrixXd x0, Eigen::MatrixXd bias, double Cd){ //extract bias Eigen::Vector2d bias1 = bias.block(0,0,2,1); Eigen::Vector2d bias2 = bias.block(2,0,2,1); Eigen::Vector2d bias3 = bias.block(4,0,2,1); //form a propagator object VehicleState::Propagator propobj; //set physics constants...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x478, %rsp # imm = 0x478 movsd %xmm0, 0x10(%rsp) movq %rdi, %rbx movq (%rsi), %rax movups (%rax), %xmm0 movaps %xmm0, 0xe0(%rsp) movups 0x10(%rax), %xmm0 movaps %xmm0, 0xd0(%rsp) movups 0x20(%rax), %xmm0 movaps %xmm0, 0xc0(%rsp) leaq 0x...
/coreymarcus[P]OrbitalDetermination/src/project/Util.cc
VehicleState::Propagator::OE2State()
void Propagator::OE2State(){ //extract locals double mu = this->mu_; // gravity constant double a = this->a_; //semi-major axis double e = this->e_; //eccentricity double i = this->i_; //inclination double Ohm = this->ascend_; //longitude of ascending node double w = this->periap_; //argument of periapsi...
pushq %r15 pushq %r14 pushq %rbx subq $0x150, %rsp # imm = 0x150 movsd 0x90(%rdi), %xmm0 movsd %xmm0, 0x18(%rsp) movsd 0x58(%rdi), %xmm3 movsd %xmm3, 0x10(%rsp) movsd 0x1c3c9(%rip), %xmm0 # 0x31f00 movsd 0x78(%rdi), %xmm4 mulsd %xmm0, %xmm4 movsd 0x1c2e8(%rip), %xmm2 # 0x31e30 divsd %xmm2, %xmm4 movsd ...
/coreymarcus[P]OrbitalDetermination/src/project/VehicleState.cc
VehicleState::Propagator::State2OE()
void Propagator::State2OE(){ // extract locals double mu = this->mu_; Eigen::Vector3d pos = this->pos_; Eigen::Vector3d vel = this->vel_; //normalized pos and vel double nr = pos.norm(); double nv = vel.norm(); //find the angular momentum vector Eigen::Vector3d h = pos.cross(vel); //now we can c...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x1e8, %rsp # imm = 0x1E8 movq %rdi, %rbx movsd 0x90(%rdi), %xmm3 movq 0x18(%rdi), %rax leaq 0x180(%rsp), %r14 movq %rax, 0x10(%r14) movups 0x8(%rdi), %xmm0 movaps %xmm0, (%r14) movups 0x20(%rdi), %xmm0 leaq 0x160(%rsp), %r15 movaps %xmm...
/coreymarcus[P]OrbitalDetermination/src/project/VehicleState.cc
VehicleState::Propagator::GetRangeAndRate(Eigen::Matrix<double, 3, 1, 0, 3, 1>, double)
Eigen::Vector2d Propagator::GetRangeAndRate(Eigen::Vector3d pos_station_ecef, double tof){ //locals double JD_UTC = this->t_JD_ + this->t_/(24.0*60.0*60.0); //current UTC Julian Date in days double earthrot = this->earthrotationspeed_; Eigen::Vector3d pos_craft = this->pos_; Eigen::Vector3d vel_craft = this-...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x270, %rsp # imm = 0x270 movsd %xmm0, 0x8(%rsp) movq %rdx, %r15 movq %rsi, %r14 movq %rdi, %rbx movsd 0xc8(%rsi), %xmm0 movaps %xmm0, 0x50(%rsp) movsd 0x108(%rsi), %xmm0 divsd 0x1910c(%rip), %xmm0 # 0x31158 addsd 0x110(%rsi), %xmm0 movsd %xmm0,...
/coreymarcus[P]OrbitalDetermination/src/project/VehicleState.cc
VehicleState::Propagator::GetRangeAndRateJac(Eigen::Matrix<double, 3, 1, 0, 3, 1>)
Eigen::MatrixXd Propagator::GetRangeAndRateJac(Eigen::Vector3d pos_station_ecef){ //locals double JD_UTC = this->t_JD_ + this->t_/(24.0*60.0*60.0); //current UTC Julian Date in days double earthrot = this->earthrotationspeed_; Eigen::Vector3d pos_craft = this->pos_; Eigen::Vector3d vel_craft = this->vel_; ...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x140, %rsp # imm = 0x140 movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %rbx movsd 0xc8(%rsi), %xmm0 movaps %xmm0, 0x40(%rsp) movsd 0x108(%rsi), %xmm0 divsd 0x18d88(%rip), %xmm0 # 0x31158 addsd 0x110(%rsi), %xmm0 movsd %xmm0, 0x38(%rsp) movq 0x18(%...
/coreymarcus[P]OrbitalDetermination/src/project/VehicleState.cc
Estimate::LS::CalcEstimate(Eigen::Matrix<double, -1, 1, 0, -1, 1>)
void LS::CalcEstimate(Eigen::VectorXd y){ //extract locals Eigen::MatrixXd H = this->H_; //invert R Eigen::MatrixXd Rinv = this->R_.inverse(); //covariance this->Phat_ = (H.transpose()*Rinv*H).inverse(); //estimate this->xhat_ = this->Phat_*H.transpose()*Rinv*y; }
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x50, %rsp movq %rsi, %r14 movq %rdi, %rbx leaq 0x18(%rsp), %r15 movq %r15, %rdi movq %rbx, %rsi callq 0xbe6a leaq 0x18(%rbx), %rax leaq 0x30(%rsp), %rsi movq %rax, (%rsi) movq %rsp, %r12 movq %r12, %rdi callq 0x201be leaq 0x30(%rsp), %rsi movq %r15, (%rsi) m...
/coreymarcus[P]OrbitalDetermination/src/project/Estimators.cc
Estimate::KF::CalcEstimate(Eigen::Matrix<double, -1, 1, 0, -1, 1>)
void KF::CalcEstimate(Eigen::VectorXd y){ //extract locals Eigen::MatrixXd H = this->H_; Eigen::MatrixXd R = this->R_; Eigen::MatrixXd Pbar = this->Pbar_; int N_x = this->mu_.size(); // find kalman gain Eigen::MatrixXd Pxy = Pbar*H.transpose(); Eigen::MatrixXd Pyy = H*Pbar*H.transpose() + R; Eigen::...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xe8, %rsp movq %rsi, %r14 movq %rdi, %rbx leaq 0x98(%rsp), %r15 movq %r15, %rdi movq %rbx, %rsi callq 0xbe6a leaq 0x18(%rbx), %rsi leaq 0x8(%rsp), %rdi callq 0xbe6a leaq 0x30(%rbx), %rsi leaq 0x80(%rsp), %r13 movq %r13, %rdi callq 0xbe6a movq %r14...
/coreymarcus[P]OrbitalDetermination/src/project/Estimators.cc
Estimate::EKF::CalcEstimate(Eigen::Matrix<double, -1, 1, 0, -1, 1>)
void EKF::CalcEstimate(Eigen::VectorXd y){ //extract locals Eigen::MatrixXd H = this->H_; Eigen::MatrixXd R = this->R_; Eigen::MatrixXd Pbar = this->Phat_; // find kalman gain Eigen::MatrixXd Pxy = Pbar*H.transpose(); Eigen::MatrixXd Pyy = H*Pbar*H.transpose() + R; Eigen::MatrixXd K = Pxy*Pyy.inverse(...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xe8, %rsp movq %rsi, %r14 movq %rdi, %rbx leaq 0x18(%rdi), %rsi leaq 0x98(%rsp), %r13 movq %r13, %rdi callq 0xbe6a leaq 0x48(%rbx), %rsi leaq 0x8(%rsp), %r15 movq %r15, %rdi callq 0xbe6a movq %r14, (%rsp) leaq 0x68(%rbx), %r12 leaq 0x80(%rsp), %rb...
/coreymarcus[P]OrbitalDetermination/src/project/Estimators.cc
Estimate::UKF::SigmaPts2Estimate()
void UKF::SigmaPts2Estimate(){ //extract locals Eigen::MatrixXd Xi = this->Xi_; Eigen::VectorXd w = this->w_; int n = this->n_; //initialize variables Eigen::VectorXd xhat = Eigen::VectorXd::Zero(n); Eigen::MatrixXd Phat = Eigen::MatrixXd::Zero(n,n); //get estimate for (int i = 0; i < (2*n + 1); ++...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xd8, %rsp movq %rdi, %r14 leaq 0x40(%rdi), %rsi leaq 0x8(%rsp), %rdi callq 0xbe6a leaq 0x58(%r14), %rsi leaq 0x30(%rsp), %rdi callq 0xbe28 movslq 0x38(%r14), %rbx leaq 0x40(%rsp), %rsi movq %rbx, (%rsi) andq $0x0, 0x10(%rsi) leaq 0x20(%rsp), %rdi ...
/coreymarcus[P]OrbitalDetermination/src/project/Estimators.cc
Minisat::BoolOption::help(bool)
virtual void help (bool verbose = false){ fprintf(stderr, " -%s, -no-%s", name, name); for (uint32_t i = 0; i < 32 - strlen(name)*2; i++) fprintf(stderr, " "); fprintf(stderr, " "); fprintf(stderr, "(default: %s)\n", value ? "on" : "off"); if (verbose){ ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movl %esi, 0x4(%rsp) movq %rdi, %rbx movq 0x14bf1(%rip), %r15 # 0x1afe0 movq (%r15), %rdi movq 0x8(%rbx), %rcx leaq 0xd052(%rip), %rsi # 0x1344f movq %rcx, %rdx xorl %eax, %eax callq 0x61c0 movq 0x8(%rbx), %rdi callq 0x6070 btrq $0x3f...
/Udopia[P]minisat/minisat/utils/Options.h
Minisat::printUsageAndExit(int, char**, bool)
void Minisat::printUsageAndExit (int /*argc*/, char** argv, bool verbose) { const char* usage = Option::getUsageString(); if (usage != NULL) fprintf(stderr, usage, argv[0]); sort(Option::getOptionList(), Option::OptionLt()); const char* prev_cat = NULL; const char* prev_type = NULL; ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movl %edx, %ebx movq %rsi, %rax movq 0x12c11(%rip), %rsi # 0x1b1c0 testq %rsi, %rsi je 0x85c8 movq 0x12a25(%rip), %rcx # 0x1afe0 movq (%rcx), %rdi movq (%rax), %rdx xorl %eax, %eax callq 0x61c0 callq 0x80e6 movq (%rax), %rdi movl 0x8(%...
/Udopia[P]minisat/minisat/utils/Options.cc
Minisat::memUsedPeak(bool)
double Minisat::memUsedPeak(bool strictlyPeak) { double peak = memReadPeak() / (double)1024; return peak == 0 && !strictlyPeak ? memUsed() : peak; }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x118, %rsp # imm = 0x118 movl %edi, %ebx callq 0x61d0 leaq 0xae29(%rip), %rsi # 0x1378f leaq 0x10(%rsp), %r14 movq %r14, %rdi movl %eax, %edx xorl %eax, %eax callq 0x6050 leaq 0xad3e(%rip), %rsi # 0x136bc movq %r14, %rdi callq 0x6120 xorpd %xmm1, %...
/Udopia[P]minisat/minisat/utils/System.cc
Minisat::Solver::~Solver()
Solver::~Solver() { }
pushq %rbp pushq %r14 pushq %rbx movq %rdi, %rbx leaq 0x11d26(%rip), %rax # 0x1ad00 movq %rax, (%rdi) movq 0x320(%rdi), %rdi testq %rdi, %rdi je 0x9007 xorl %ebp, %ebp movl %ebp, 0x328(%rbx) callq 0x6140 movq $0x0, 0x320(%rbx) movl %ebp, 0x32c(%rbx) movq 0x310(%rbx), %rdi testq %rdi, %rdi je 0x9031 xorl %ebp, %ebp ...
/Udopia[P]minisat/minisat/core/Solver.cc
Minisat::Solver::addClause_(Minisat::vec<Minisat::Lit, int>&)
bool Solver::addClause_(vec<Lit>& ps) { assert(decisionLevel() == 0); if (!ok) return false; // Check if clause is satisfied and remove false/duplicate literals: sort(ps); Lit p; int i, j; for (i = j = 0, p = lit_Undef; i < ps.size(); i++) if (value(ps[i]) == l_True || ps[i] == ~p) ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp cmpl $0x0, 0x150(%rdi) jne 0x981c movq %rdi, %r13 cmpb $0x1, 0x270(%rdi) jne 0x97bf movq %rsi, %rbx movq (%rsi), %rdi movl 0x8(%rsi), %esi callq 0xe823 movl 0x8(%rbx), %eax testl %eax, %eax jle 0x97b1 movq %rbx, (%rsp) movq (%rbx), %rdx ...
/Udopia[P]minisat/minisat/core/Solver.cc
Minisat::Solver::satisfied(Minisat::Clause const&) const
bool Solver::satisfied(const Clause& c) const { for (int i = 0; i < c.size(); i++) if (value(c[i]) == l_True) return true; return false; }
pushq %rbp pushq %r14 pushq %rbx movl (%rsi), %ecx xorl %eax, %eax cmpq $0x20, %rcx jb 0xa265 shrl $0x5, %ecx movl 0x188(%rdi), %edx movq 0x180(%rdi), %rdi movb 0x10fc3(%rip), %r8b # 0x1b1c8 xorl %r9d, %r9d testb $0x2, %r8b sete %r9b movq %rcx, %r10 negq %r10 movb $0x1, %al movl $0x1, %r11d movl (%rsi,%r11,4), %ebx...
/Udopia[P]minisat/minisat/core/Solver.cc
leveldb::test::CompressibleString(leveldb::Random*, double, unsigned long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*)
Slice CompressibleString(Random* rnd, double compressed_fraction, size_t len, std::string* dst) { int raw = static_cast<int>(len * compressed_fraction); if (raw < 1) raw = 1; std::string raw_data; RandomString(rnd, raw, &raw_data); // Duplicate the random data until we have filled "l...
pushq %rbp movq %rsp, %rbp subq $0x70, %rsp movq %rdi, -0x18(%rbp) movsd %xmm0, -0x20(%rbp) movq %rsi, -0x28(%rbp) movq %rdx, -0x30(%rbp) movaps 0x91320(%rip), %xmm1 # 0x9e010 movq -0x28(%rbp), %xmm0 punpckldq %xmm1, %xmm0 # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1] movapd 0x9131f(%rip), %xmm1 # 0x9e020 subpd %xm...
/walterzhaoJR[P]leveldb/util/testutil.cc
leveldb::AutoCompactTest::DoReads(int)
void AutoCompactTest::DoReads(int n) { std::string value(kValueSize, 'x'); DBImpl* dbi = reinterpret_cast<DBImpl*>(db_); // Fill database for (int i = 0; i < kCount; i++) { ASSERT_LEVELDB_OK(db_->Put(WriteOptions(), Key(i), value)); } ASSERT_LEVELDB_OK(dbi->TEST_CompactMemTable()); // Delete everyth...
pushq %rbp movq %rsp, %rbp subq $0x560, %rsp # imm = 0x560 movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x490(%rbp) leaq -0x31(%rbp), %rdi callq 0xbe10 leaq -0x30(%rbp), %rdi movl $0x32000, %esi # imm = 0x32000 movl $0x78, %edx leaq -0x31(%rbp), %rcx callq 0xb470 lea...
/walterzhaoJR[P]leveldb/db/autocompact_test.cc
testing::internal::SuiteApiResolver<leveldb::AutoCompactTest>::GetTearDownCaseOrSuite(char const*, int)
static SetUpTearDownSuiteFuncType GetTearDownCaseOrSuite(const char* filename, int line_num) { SetUpTearDownSuiteFuncType test_case_fp = GetNotDefaultOrNull(&T::TearDownTestCase, &Test::TearDownTestCase); SetUpTearDownSuiteFuncType test_suite_fp...
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) leaq 0x2afa(%rip), %rsi # 0x10f90 movq %rsi, %rdi callq 0x10f20 movq %rax, -0x18(%rbp) leaq 0x2af7(%rip), %rsi # 0x10fa0 movq %rsi, %rdi callq 0x10f20 movq %rax, -0x20(%rbp) movb $0x1, %al cmpq $0x0, -0x18(%rbp) movb %al, ...
/walterzhaoJR[P]leveldb/third_party/googletest/googletest/include/gtest/internal/gtest-internal.h
bool testing::internal::MatchPrintAndExplain<leveldb::Status const, leveldb::Status const&>(leveldb::Status const&, testing::Matcher<leveldb::Status const&> const&, testing::MatchResultListener*)
bool MatchPrintAndExplain(Value& value, const Matcher<T>& matcher, MatchResultListener* listener) { if (!listener->IsInterested()) { // If the listener is not interested, we do not need to construct the // inner explanation. return matcher.Matches(value); } StringMatchResult...
pushq %rbp movq %rsp, %rbp subq $0x1f0, %rsp # imm = 0x1F0 movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movq %rdx, -0x20(%rbp) movq -0x20(%rbp), %rdi callq 0x101a0 testb $0x1, %al jne 0xf1db movq -0x18(%rbp), %rdi movq -0x10(%rbp), %rsi callq 0xf0b0 andb $0x1, %al movb %al, -0x1(%rbp) jmp 0xf274 leaq -0x1b8...
/walterzhaoJR[P]leveldb/third_party/googletest/googlemock/include/gmock/gmock-matchers.h
testing::Matcher<leveldb::Status const&> testing::internal::MatcherCastImpl<leveldb::Status const&, leveldb::test::IsOKMatcher>::CastImpl<false>(leveldb::test::IsOKMatcher const&, std::integral_constant<bool, true>, std::integral_constant<bool, false>)
static Matcher<T> CastImpl(const M& polymorphic_matcher_or_value, std::true_type /* convertible_to_matcher */, std::integral_constant<bool, Ignore>) { // M is implicitly convertible to Matcher<T>, which means that either // M is a polymorphic matcher or ...
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, %rax movq %rax, -0x20(%rbp) movq %rdi, -0x8(%rbp) movq %rsi, -0x18(%rbp) movq -0x18(%rbp), %rsi callq 0xf400 movq -0x20(%rbp), %rax addq $0x20, %rsp popq %rbp retq nopw (%rax,%rax)
/walterzhaoJR[P]leveldb/third_party/googletest/googlemock/include/gmock/gmock-matchers.h
leveldb::DBImpl::BackgroundCall()
void DBImpl::BackgroundCall() { MutexLock l(&mutex_); assert(background_compaction_scheduled_); if (shutting_down_.load(std::memory_order_acquire)) { // No more background work when shutting down. } else if (!bg_error_.ok()) { // No more background work after a background error. } else { Backgroun...
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rsi movq %rsi, -0x18(%rbp) addq $0xc8, %rsi leaq -0x10(%rbp), %rdi callq 0x18900 movq -0x18(%rbp), %rax testb $0x1, 0x218(%rax) je 0x13bf3 jmp 0x13c12 leaq 0x8abb0(%rip), %rdi # 0x9e7aa leaq 0x8a8db(%rip), %rsi # 0x9e4dc movl $0...
/walterzhaoJR[P]leveldb/db/db_impl.cc
leveldb::DBImpl::OpenCompactionOutputFile(leveldb::DBImpl::CompactionState*)
Status DBImpl::OpenCompactionOutputFile(CompactionState* compact) { assert(compact != nullptr); assert(compact->builder == nullptr); uint64_t file_number; { mutex_.Lock(); file_number = versions_->NewFileNumber(); pending_outputs_.insert(file_number); CompactionState::Output out; out.number ...
pushq %rbp movq %rsp, %rbp subq $0xd0, %rsp movq %rdi, -0xc0(%rbp) movq %rdi, %rax movq %rax, -0xb8(%rbp) movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq -0x10(%rbp), %rax movq %rax, -0xb0(%rbp) cmpq $0x0, -0x18(%rbp) je 0x14f4c jmp 0x14f6b leaq 0x899ca(%rip), %rdi # 0x9e91d leaq 0x89582(%r...
/walterzhaoJR[P]leveldb/db/db_impl.cc
leveldb::(anonymous namespace)::CleanupIteratorState(void*, void*)
static void CleanupIteratorState(void* arg1, void* arg2) { IterState* state = reinterpret_cast<IterState*>(arg1); state->mu->Lock(); state->mem->Unref(); if (state->imm != nullptr) state->imm->Unref(); state->version->Unref(); state->mu->Unlock(); delete state; }
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x18(%rbp) movq -0x18(%rbp), %rax movq (%rax), %rdi callq 0x179b0 movq -0x18(%rbp), %rax movq 0x10(%rax), %rdi callq 0x17ad0 movq -0x18(%rbp), %rax cmpq $0x0, 0x18(%rax) je 0x15919 movq -0x18(%rbp)...
/walterzhaoJR[P]leveldb/db/db_impl.cc
leveldb::DBImpl::NewIterator(leveldb::ReadOptions const&)
Iterator* DBImpl::NewIterator(const ReadOptions& options) { SequenceNumber latest_snapshot; uint32_t seed; Iterator* iter = NewInternalIterator(options, &latest_snapshot, &seed); return NewDBIterator(this, user_comparator(), iter, (options.snapshot != nullptr ?...
pushq %rbp movq %rsp, %rbp subq $0x50, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x40(%rbp) movq -0x10(%rbp), %rsi leaq -0x18(%rbp), %rdx leaq -0x1c(%rbp), %rcx callq 0x15680 movq -0x40(%rbp), %rdi movq %rax, -0x28(%rbp) callq 0x17d00 movq %rax, -0x38(%rbp) movq -0x28(%rbp), %r...
/walterzhaoJR[P]leveldb/db/db_impl.cc
leveldb::DBImpl::Write(leveldb::WriteOptions const&, leveldb::WriteBatch*)
Status DBImpl::Write(const WriteOptions& options, WriteBatch* updates) { Writer w(&mutex_); w.batch = updates; w.sync = options.sync; w.done = false; //LevelDB加锁保证同一时刻只能有一个Writer工作。其他Writer挂起等待,直到前一个Writer执行完毕后唤醒。 MutexLock l(&mutex_); writers_.push_back(&w); while (!w.done && &w != writers_.front()) {...
pushq %rbp movq %rsp, %rbp subq $0x100, %rsp # imm = 0x100 movq %rdi, -0xf0(%rbp) movq %rdi, %rax movq %rax, -0xe8(%rbp) movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq %rcx, -0x20(%rbp) movq -0x10(%rbp), %rsi movq %rsi, -0xe0(%rbp) addq $0xc8, %rsi leaq -0x70(%rbp), %rdi callq 0x193...
/walterzhaoJR[P]leveldb/db/db_impl.cc
leveldb::DBImpl::BuildBatchGroup(leveldb::DBImpl::Writer**)
WriteBatch* DBImpl::BuildBatchGroup(Writer** last_writer) { mutex_.AssertHeld(); assert(!writers_.empty()); Writer* first = writers_.front(); WriteBatch* result = first->batch; assert(result != nullptr); size_t size = WriteBatchInternal::ByteSize(first->batch); // Allow the group to grow up to a maximum...
pushq %rbp movq %rsp, %rbp subq $0x80, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x80(%rbp) addq $0xc8, %rdi callq 0x17e70 movq -0x80(%rbp), %rdi addq $0x168, %rdi # imm = 0x168 callq 0x194c0 xorb $-0x1, %al testb $0x1, %al jne 0x167ef jmp 0x167f1 jmp 0x16810 leaq 0x...
/walterzhaoJR[P]leveldb/db/db_impl.cc
leveldb::(anonymous namespace)::MergingIterator::SeekToFirst()
void SeekToFirst() override { for (int i = 0; i < n_; i++) { children_[i].SeekToFirst(); } FindSmallest(); direction_ = kForward; }
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x18(%rbp) movl $0x0, -0xc(%rbp) movq -0x18(%rbp), %rcx movl -0xc(%rbp), %eax cmpl 0x38(%rcx), %eax jge 0x34bfa movq -0x18(%rbp), %rax movq 0x30(%rax), %rdi movslq -0xc(%rbp), %rax shlq $0x5, %rax addq %rax, %rdi callq 0...
/walterzhaoJR[P]leveldb/table/merger.cc
leveldb::(anonymous namespace)::MergingIterator::SeekToLast()
void SeekToLast() override { for (int i = 0; i < n_; i++) { children_[i].SeekToLast(); } FindLargest(); direction_ = kReverse; }
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x18(%rbp) movl $0x0, -0xc(%rbp) movq -0x18(%rbp), %rcx movl -0xc(%rbp), %eax cmpl 0x38(%rcx), %eax jge 0x34c6a movq -0x18(%rbp), %rax movq 0x30(%rax), %rdi movslq -0xc(%rbp), %rax shlq $0x5, %rax addq %rax, %rdi callq 0...
/walterzhaoJR[P]leveldb/table/merger.cc
leveldb::(anonymous namespace)::MergingIterator::Seek(leveldb::Slice const&)
void Seek(const Slice& target) override { for (int i = 0; i < n_; i++) { children_[i].Seek(target); } FindSmallest(); direction_ = kForward; }
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x20(%rbp) movl $0x0, -0x14(%rbp) movq -0x20(%rbp), %rcx movl -0x14(%rbp), %eax cmpl 0x38(%rcx), %eax jge 0x34ce2 movq -0x20(%rbp), %rax movq 0x30(%rax), %rdi movslq -0x14(%rbp), %rax shlq $0x5, %r...
/walterzhaoJR[P]leveldb/table/merger.cc
leveldb::(anonymous namespace)::MergingIterator::Prev()
void Prev() override { assert(Valid()); // Ensure that all children are positioned before key(). // If we are moving in the reverse direction, it is already // true for all of the non-current_ children since current_ is // the largest child and key() == current_->key(). Otherwise, // we explic...
pushq %rbp movq %rsp, %rbp subq $0x40, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x30(%rbp) movq (%rdi), %rax callq *0x10(%rax) testb $0x1, %al jne 0x34e80 jmp 0x34e82 jmp 0x34ea1 leaq 0x6a451(%rip), %rdi # 0x9f2da leaq 0x6c60c(%rip), %rsi # 0xa149c movl $0x52, %edx leaq 0x6c83c(%rip), %rcx ...
/walterzhaoJR[P]leveldb/table/merger.cc
leveldb::(anonymous namespace)::MergingIterator::FindSmallest()
void MergingIterator::FindSmallest() { IteratorWrapper* smallest = nullptr; for (int i = 0; i < n_; i++) { IteratorWrapper* child = &children_[i]; if (child->Valid()) { if (smallest == nullptr) { smallest = child; } else if (comparator_->Compare(child->key(), smallest->key()) < 0) { ...
pushq %rbp movq %rsp, %rbp subq $0x50, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x48(%rbp) movq $0x0, -0x10(%rbp) movl $0x0, -0x14(%rbp) movq -0x48(%rbp), %rcx movl -0x14(%rbp), %eax cmpl 0x38(%rcx), %eax jge 0x351cb movq -0x48(%rbp), %rax movq 0x30(%rax), %rax movslq -0x14(%rbp), %rcx shlq $0x5, %r...
/walterzhaoJR[P]leveldb/table/merger.cc
leveldb::Slice::compare(leveldb::Slice const&) const
inline int Slice::compare(const Slice& b) const { const size_t min_len = (size_ < b.size_) ? size_ : b.size_; int r = memcmp(data_, b.data_, min_len); if (r == 0) { if (size_ < b.size_) r = -1; else if (size_ > b.size_) r = +1; } return r; }
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x28(%rbp) movq 0x8(%rax), %rax movq -0x10(%rbp), %rcx cmpq 0x8(%rcx), %rax jae 0x38724 movq -0x28(%rbp), %rax movq 0x8(%rax), %rax movq %rax, -0x30(%rbp) jmp 0x38730 movq -0x10(%rbp), %rax movq 0x...
/walterzhaoJR[P]leveldb/include/leveldb/slice.h
leveldb::Arena::AllocateAligned(unsigned long)
char* Arena::AllocateAligned(size_t bytes) { const int align = (sizeof(void*) > 8) ? sizeof(void*) : 8; static_assert((align & (align - 1)) == 0, "Pointer size should be a power of 2"); size_t current_mod = reinterpret_cast<uintptr_t>(alloc_ptr_) & (align - 1); size_t slop = (current_mod == 0 ? ...
pushq %rbp movq %rsp, %rbp subq $0x50, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x40(%rbp) movl $0x8, -0x14(%rbp) movq (%rax), %rax andq $0x7, %rax movq %rax, -0x20(%rbp) cmpq $0x0, -0x20(%rbp) jne 0x38a39 xorl %eax, %eax movq %rax, -0x48(%rbp) jmp 0x38a46 movl $0x8, %eax subq...
/walterzhaoJR[P]leveldb/util/arena.cc
testing::(anonymous namespace)::BetweenCardinalityImpl::DescribeTo(std::ostream*) const
void BetweenCardinalityImpl::DescribeTo(::std::ostream* os) const { if (min_ == 0) { if (max_ == 0) { *os << "never called"; } else if (max_ == INT_MAX) { *os << "called any number of times"; } else { *os << "called at most " << FormatTimes(max_); } } else if (min_ == max_) { *...
pushq %rbp movq %rsp, %rbp subq $0xc0, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x88(%rbp) cmpl $0x0, 0x8(%rax) jne 0x4c941 movq -0x88(%rbp), %rax cmpl $0x0, 0xc(%rax) jne 0x4c8aa movq -0x10(%rbp), %rdi leaq 0x57b4e(%rip), %rsi # 0xa43ee callq 0xb6c0 jmp 0x4c93c movq -0x88...
/walterzhaoJR[P]leveldb/third_party/googletest/googlemock/src/gmock-cardinalities.cc
testing::internal::ParseGoogleMockBoolFlag(char const*, char const*, bool*)
static bool ParseGoogleMockBoolFlag(const char* str, const char* flag, bool* value) { // Gets the value of the flag as a string. const char* const value_str = ParseGoogleMockFlagValue(str, flag, true); // Aborts if the parsing failed. if (value_str == nullptr) return false; ...
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movq %rdx, -0x20(%rbp) movq -0x10(%rbp), %rdi movq -0x18(%rbp), %rsi movl $0x1, %edx callq 0x4e1d0 movq %rax, -0x28(%rbp) cmpq $0x0, -0x28(%rbp) jne 0x4e057 movb $0x0, -0x1(%rbp) jmp 0x4e09c movq -0x28(%rbp), %rax movsbl (%rax), %...
/walterzhaoJR[P]leveldb/third_party/googletest/googlemock/src/gmock.cc
testing::internal::FormatEpochTimeInMillisAsIso8601[abi:cxx11](long)
std::string FormatEpochTimeInMillisAsIso8601(TimeInMillis ms) { struct tm time_struct; if (!PortableLocaltime(static_cast<time_t>(ms / 1000), &time_struct)) return ""; // YYYY-MM-DDThh:mm:ss return StreamableToString(time_struct.tm_year + 1900) + "-" + String::FormatIntWidth2(time_struct.tm_mon + 1) +...
pushq %rbp movq %rsp, %rbp subq $0x270, %rsp # imm = 0x270 movq %rdi, -0x258(%rbp) movq %rdi, %rax movq %rax, -0x250(%rbp) movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x10(%rbp), %rax movl $0x3e8, %ecx # imm = 0x3E8 cqto idivq %rcx movq %rax, %rdi leaq -0x48(%rbp), %rsi callq 0x6aa50 testb ...
/walterzhaoJR[P]leveldb/third_party/googletest/googletest/src/gtest.cc
testing::internal::XmlUnitTestResultPrinter::OutputXmlCDataSection(std::ostream*, char const*)
void XmlUnitTestResultPrinter::OutputXmlCDataSection(::std::ostream* stream, const char* data) { const char* segment = data; *stream << "<![CDATA["; for (;;) { const char* const next_segment = strstr(segment, "]]>"); if (next_segment != nullptr) { ...
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x18(%rbp) movq -0x8(%rbp), %rdi leaq 0x3c8ef(%rip), %rsi # 0xa7392 callq 0xb6c0 movq -0x18(%rbp), %rdi leaq 0x3c8d2(%rip), %rsi # 0xa7385 callq 0xb100 movq %rax, -0x20(%rbp) cmpq $0x0, -0...
/walterzhaoJR[P]leveldb/third_party/googletest/googletest/src/gtest.cc
testing::GetReservedOutputAttributesForElement(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
static std::vector<std::string> GetReservedOutputAttributesForElement( const std::string& xml_element) { if (xml_element == "testsuites") { return ArrayAsVector(kReservedTestSuitesAttributes); } else if (xml_element == "testsuite") { return ArrayAsVector(kReservedTestSuiteAttributes); } else if (xml_e...
pushq %rbp movq %rsp, %rbp subq $0x50, %rsp movq %rdi, -0x38(%rbp) movq %rdi, %rax movq %rax, -0x30(%rbp) movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x10(%rbp), %rdi leaq 0x3c72c(%rip), %rsi # 0xa7502 callq 0x10350 testb $0x1, %al jne 0x6ade1 jmp 0x6adf6 movq -0x38(%rbp), %rdi leaq 0x7d874(%rip), %rsi #...
/walterzhaoJR[P]leveldb/third_party/googletest/googletest/src/gtest.cc
testing::internal::FormatCompilerIndependentFileLocation[abi:cxx11](char const*, int)
GTEST_API_ ::std::string FormatCompilerIndependentFileLocation( const char* file, int line) { const std::string file_name(file == nullptr ? kUnknownFile : file); if (line < 0) return file_name; else return file_name + ":" + StreamableToString(line); }
pushq %rbp movq %rsp, %rbp subq $0xc0, %rsp movq %rdi, -0xa0(%rbp) movq %rdi, %rax movq %rax, -0x98(%rbp) movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movl %edx, -0x14(%rbp) cmpq $0x0, -0x10(%rbp) jne 0x6c05e leaq 0x39976(%rip), %rax # 0xa59cb movq %rax, -0xa8(%rbp) jmp 0x6c069 movq -0x10(%rbp), %rax movq %rax, -0x...
/walterzhaoJR[P]leveldb/third_party/googletest/googletest/src/gtest-port.cc
testing::internal::XmlUnitTestResultPrinter::PrintXmlTestSuite(std::ostream*, testing::TestSuite const&)
void XmlUnitTestResultPrinter::PrintXmlTestSuite(std::ostream* stream, const TestSuite& test_suite) { const std::string kTestsuite = "testsuite"; *stream << " <" << kTestsuite; OutputXmlAttribute(stream, kTestsuite, "name", test_suite.name()); OutputXmlAttribute...
pushq %rbp movq %rsp, %rbp subq $0x3a0, %rsp # imm = 0x3A0 movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) leaq -0x31(%rbp), %rdi movq %rdi, -0x298(%rbp) callq 0xbe10 movq -0x298(%rbp), %rdx leaq 0x3ae8e(%rip), %rsi # 0xa74df leaq -0x30(%rbp), %rdi callq 0xbab0 jmp 0x6c65c leaq -0x31(%rbp), %rdi callq 0xb7a...
/walterzhaoJR[P]leveldb/third_party/googletest/googletest/src/gtest.cc
testing::internal::JsonUnitTestResultPrinter::JsonUnitTestResultPrinter(char const*)
JsonUnitTestResultPrinter::JsonUnitTestResultPrinter(const char* output_file) : output_file_(output_file) { if (output_file_.empty()) { GTEST_LOG_(FATAL) << "JSON output file may not be null"; } }
pushq %rbp movq %rsp, %rbp subq $0x50, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x48(%rbp) callq 0x84000 movq -0x48(%rbp), %rax leaq 0x7b000(%rip), %rcx # 0xe82a8 movq %rcx, (%rax) addq $0x8, %rax movq %rax, -0x40(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x38(%rbp) leaq -0...
/walterzhaoJR[P]leveldb/third_party/googletest/googletest/src/gtest.cc
testing::internal::JsonUnitTestResultPrinter::PrintJsonUnitTest(std::ostream*, testing::UnitTest const&)
void JsonUnitTestResultPrinter::PrintJsonUnitTest(std::ostream* stream, const UnitTest& unit_test) { const std::string kTestsuites = "testsuites"; const std::string kIndent = Indent(2); *stream << "{\n"; OutputJsonKey(stream, kTestsuites, "tests", unit_test.rep...
pushq %rbp movq %rsp, %rbp subq $0x360, %rsp # imm = 0x360 movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) leaq -0x31(%rbp), %rdi movq %rdi, -0x238(%rbp) callq 0xbe10 movq -0x238(%rbp), %rdx leaq 0x3a021(%rip), %rsi # 0xa7502 leaq -0x30(%rbp), %rdi callq 0xbab0 jmp 0x6d4ec leaq -0x31(%rbp), %rdi callq 0xb7a...
/walterzhaoJR[P]leveldb/third_party/googletest/googletest/src/gtest.cc
testing::internal::JsonUnitTestResultPrinter::OutputJsonKey(std::ostream*, 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&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator...
void JsonUnitTestResultPrinter::OutputJsonKey( std::ostream* stream, const std::string& element_name, const std::string& name, const std::string& value, const std::string& indent, bool comma) { const std::vector<std::string>& allowed_names = GetReservedOutputAttributesForElement(element_...
pushq %rbp movq %rsp, %rbp subq $0x120, %rsp # imm = 0x120 movb %r9b, %al movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq %rcx, -0x20(%rbp) movq %r8, -0x28(%rbp) andb $0x1, %al movb %al, -0x29(%rbp) movq -0x10(%rbp), %rsi leaq -0x50(%rbp), %rdi movq %rdi, -0xb8(%rbp) callq 0x6adb0 mo...
/walterzhaoJR[P]leveldb/third_party/googletest/googletest/src/gtest.cc
testing::internal::JsonUnitTestResultPrinter::OutputJsonTestInfo(std::ostream*, char const*, testing::TestInfo const&)
void JsonUnitTestResultPrinter::OutputJsonTestInfo(::std::ostream* stream, const char* test_suite_name, const TestInfo& test_info) { const TestResult& result = *test_info.result(); const std::string kTestsuite = "t...
pushq %rbp movq %rsp, %rbp subq $0x6b0, %rsp # imm = 0x6B0 movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq -0x18(%rbp), %rdi callq 0x83a40 movq %rax, -0x20(%rbp) leaq -0x41(%rbp), %rdi movq %rdi, -0x480(%rbp) callq 0xbe10 movq -0x480(%rbp), %rdx leaq 0x38d51(%rip), %rsi # 0xa7433...
/walterzhaoJR[P]leveldb/third_party/googletest/googletest/src/gtest.cc
testing::internal::JsonUnitTestResultPrinter::TestPropertiesAsJson(testing::TestResult const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
std::string JsonUnitTestResultPrinter::TestPropertiesAsJson( const TestResult& result, const std::string& indent) { Message attributes; for (int i = 0; i < result.test_property_count(); ++i) { const TestProperty& property = result.GetTestProperty(i); attributes << ",\n" << indent << "\"" << property.key...
pushq %rbp movq %rsp, %rbp subq $0x100, %rsp # imm = 0x100 movq %rdi, -0xa0(%rbp) movq %rdi, %rax movq %rax, -0x98(%rbp) movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) leaq -0x20(%rbp), %rdi callq 0x5e7d0 movl $0x0, -0x24(%rbp) movl -0x24(%rbp), %eax movl %eax, -0xa4(%rbp) movq -0x10(%rb...
/walterzhaoJR[P]leveldb/third_party/googletest/googletest/src/gtest.cc
testing::internal::JsonUnitTestResultPrinter::PrintJsonTestList(std::ostream*, std::vector<testing::TestSuite*, std::allocator<testing::TestSuite*>> const&)
void JsonUnitTestResultPrinter::PrintJsonTestList( std::ostream* stream, const std::vector<TestSuite*>& test_suites) { const std::string kTestsuites = "testsuites"; const std::string kIndent = Indent(2); *stream << "{\n"; int total_tests = 0; for (auto test_suite : test_suites) { total_tests += test_s...
pushq %rbp movq %rsp, %rbp subq $0x180, %rsp # imm = 0x180 movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) leaq -0x31(%rbp), %rdi movq %rdi, -0x118(%rbp) callq 0xbe10 movq -0x118(%rbp), %rdx leaq 0x36871(%rip), %rsi # 0xa7502 leaq -0x30(%rbp), %rdi callq 0xbab0 jmp 0x70c9c leaq -0x31(%rbp), %rdi callq 0xb7a...
/walterzhaoJR[P]leveldb/third_party/googletest/googletest/src/gtest.cc
testing::internal::StreamingListener::SocketWriter::MakeConnection()
void StreamingListener::SocketWriter::MakeConnection() { GTEST_CHECK_(sockfd_ == -1) << "MakeConnection() can't be called when there is already a connection."; addrinfo hints; memset(&hints, 0, sizeof(hints)); hints.ai_family = AF_UNSPEC; // To allow both IPv4 and IPv6 addresses. hints.ai_socktype =...
pushq %rbp movq %rsp, %rbp subq $0xe0, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x78(%rbp) cmpl $-0x1, 0x8(%rax) sete %al movzbl %al, %edi andl $0x1, %edi callq 0x5a640 testb $0x1, %al jne 0x7127f jmp 0x71284 jmp 0x7130a leaq 0x353e3(%rip), %rdx # 0xa666e leaq -0xc(%rbp), %rdi movq %rdi, -0x88(%...
/walterzhaoJR[P]leveldb/third_party/googletest/googletest/src/gtest.cc
testing::internal::OsStackTraceGetter::UponLeavingGTest()
GTEST_LOCK_EXCLUDED_(mutex_) { #if GTEST_HAS_ABSL void* caller_frame = nullptr; if (absl::GetStackTrace(&caller_frame, 1, 3) <= 0) { caller_frame = nullptr; } MutexLock lock(&mutex_); caller_frame_ = caller_frame; #endif // GTEST_HAS_ABSL }
pushq %rbp movq %rsp, %rbp movq %rdi, -0x8(%rbp) popq %rbp retq nopw (%rax,%rax)
/walterzhaoJR[P]leveldb/third_party/googletest/googletest/src/gtest.cc
testing::TestEventListeners::SetDefaultResultPrinter(testing::TestEventListener*)
void TestEventListeners::SetDefaultResultPrinter(TestEventListener* listener) { if (default_result_printer_ != listener) { // It is an error to pass this method a listener that is already in the // list. delete Release(default_result_printer_); default_result_printer_ = listener; if (listener != n...
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x18(%rbp) movq 0x8(%rax), %rax cmpq -0x10(%rbp), %rax je 0x717e5 movq -0x18(%rbp), %rdi movq 0x8(%rdi), %rsi callq 0x71710 movq %rax, -0x20(%rbp) cmpq $0x0, %rax je 0x717c3 movq -0x20(%rbp), %rdi ...
/walterzhaoJR[P]leveldb/third_party/googletest/googletest/src/gtest.cc
testing::internal::UnitTestImpl::RecordProperty(testing::TestProperty const&)
void UnitTestImpl::RecordProperty(const TestProperty& test_property) { std::string xml_element; TestResult* test_result; // TestResult appropriate for property recording. if (current_test_info_ != nullptr) { xml_element = "testcase"; test_result = &(current_test_info_->result_); } else if (current_tes...
pushq %rbp movq %rsp, %rbp subq $0x50, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x50(%rbp) leaq -0x30(%rbp), %rdi callq 0xbad0 movq -0x50(%rbp), %rax cmpq $0x0, 0x170(%rax) je 0x71b7f leaq 0x358ed(%rip), %rsi # 0xa7433 leaq -0x30(%rbp), %rdi callq 0xba90 jmp 0x71b51 movq -...
/walterzhaoJR[P]leveldb/third_party/googletest/googletest/src/gtest.cc
testing::internal::UnitTestImpl::RunAllTests()
bool UnitTestImpl::RunAllTests() { // True if and only if Google Test is initialized before RUN_ALL_TESTS() is // called. const bool gtest_is_initialized_before_run_all_tests = GTestIsInitialized(); // Do not run any test if the --help flag was specified. if (g_help_flag) return true; // Repeats the c...
pushq %rbp movq %rsp, %rbp subq $0xe0, %rsp movq %rdi, -0x10(%rbp) movq -0x10(%rbp), %rax movq %rax, -0xb0(%rbp) callq 0x73660 andb $0x1, %al movb %al, -0x11(%rbp) testb $0x1, 0x77d6e(%rip) # 0xe9ab9 je 0x71d56 movb $0x1, -0x1(%rbp) jmp 0x722f6 movq -0xb0(%rbp), %rdi callq 0x731f0 callq 0x736a0 movq -0xb0(%rbp), %r...
/walterzhaoJR[P]leveldb/third_party/googletest/googletest/src/gtest.cc
testing::internal::UnitTestImpl::ConfigureXmlOutput()
void UnitTestImpl::ConfigureXmlOutput() { const std::string& output_format = UnitTestOptions::GetOutputFormat(); if (output_format == "xml") { listeners()->SetDefaultXmlGenerator(new XmlUnitTestResultPrinter( UnitTestOptions::GetAbsolutePathToOutputFile().c_str())); } else if (output_format == "json")...
pushq %rbp movq %rsp, %rbp subq $0xf0, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rax movq %rax, -0xa8(%rbp) leaq -0x30(%rbp), %rdi movq %rdi, -0xa0(%rbp) callq 0x5c0d0 movq -0xa0(%rbp), %rax movq %rax, -0x10(%rbp) movq -0x10(%rbp), %rdi leaq 0x34a2e(%rip), %rsi # 0xa774e callq 0x10350 movb %al, -0x91(%rbp) jmp 0...
/walterzhaoJR[P]leveldb/third_party/googletest/googletest/src/gtest.cc
testing::internal::UnitTestImpl::PostFlagParsingInit()
void UnitTestImpl::PostFlagParsingInit() { // Ensures that this function does not execute more than once. if (!post_flag_parse_init_performed_) { post_flag_parse_init_performed_ = true; #if defined(GTEST_CUSTOM_TEST_EVENT_LISTENER_) // Register to send notifications about key process state changes. lis...
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x20(%rbp) testb $0x1, 0x218(%rax) jne 0x7329c movq -0x20(%rbp), %rdi movb $0x1, 0x218(%rdi) callq 0x85860 movq -0x20(%rbp), %rdi callq 0x72ca0 movq -0x20(%rbp), %rdi callq 0x657e0 movq -0x20(%rbp), %rdi callq 0x72ce0 te...
/walterzhaoJR[P]leveldb/third_party/googletest/googletest/src/gtest.cc
testing::internal::WriteToShardStatusFileIfNeeded()
void WriteToShardStatusFileIfNeeded() { const char* const test_shard_file = posix::GetEnv(kTestShardStatusFile); if (test_shard_file != nullptr) { FILE* const file = posix::FOpen(test_shard_file, "w"); if (file == nullptr) { ColoredPrintf(GTestColor::kRed, "Could not write to the t...
pushq %rbp movq %rsp, %rbp subq $0x10, %rsp leaq 0x32271(%rip), %rdi # 0xa5920 callq 0x83b20 movq %rax, -0x8(%rbp) cmpq $0x0, -0x8(%rbp) je 0x7371a movq -0x8(%rbp), %rdi leaq 0x311eb(%rip), %rsi # 0xa48b5 callq 0x861a0 movq %rax, -0x10(%rbp) cmpq $0x0, -0x10(%rbp) jne 0x73711 movq -0x8(%rbp), %rdx movl $0x1, %e...
/walterzhaoJR[P]leveldb/third_party/googletest/googletest/src/gtest.cc
testing::internal::UnitTestImpl::ListTestsMatchingFilter()
void UnitTestImpl::ListTestsMatchingFilter() { // Print at most this many characters for each type/value parameter. const int kMaxParamLength = 250; for (auto* test_suite : test_suites_) { bool printed_test_suite_name = false; for (size_t j = 0; j < test_suite->test_info_list().size(); j++) { cons...
pushq %rbp movq %rsp, %rbp subq $0x380, %rsp # imm = 0x380 movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x310(%rbp) movl $0xfa, -0xc(%rbp) addq $0xb8, %rax movq %rax, -0x18(%rbp) movq -0x18(%rbp), %rdi callq 0x85d20 movq %rax, -0x20(%rbp) movq -0x18(%rbp), %rdi callq 0x862d0 movq %rax, -0x28(%rbp)...
/walterzhaoJR[P]leveldb/third_party/googletest/googletest/src/gtest.cc
testing::internal::ParseInt32(testing::Message const&, char const*, int*)
bool ParseInt32(const Message& src_text, const char* str, int32_t* value) { // Parses the environment variable as a decimal integer. char* end = nullptr; const long long_value = strtol(str, &end, 10); // NOLINT // Has strtol() consumed all characters in the string? if (*end != '\0') { // No - an invalid...
pushq %rbp movq %rsp, %rbp subq $0x100, %rsp # imm = 0x100 movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movq %rdx, -0x20(%rbp) movq $0x0, -0x28(%rbp) movq -0x18(%rbp), %rdi leaq -0x28(%rbp), %rsi movl $0xa, %edx callq 0xbb20 movq %rax, -0x30(%rbp) movq -0x28(%rbp), %rax movsbl (%rax), %eax cmpl $0x0, %eax j...
/walterzhaoJR[P]leveldb/third_party/googletest/googletest/src/gtest-port.cc
testing::internal::ParseInt32Flag(char const*, char const*, int*)
bool ParseInt32Flag(const char* str, const char* flag, int32_t* value) { // Gets the value of the flag as a string. const char* const value_str = ParseFlagValue(str, flag, false); // Aborts if the parsing failed. if (value_str == nullptr) return false; // Sets *value to the value of the flag. return Parse...
pushq %rbp movq %rsp, %rbp subq $0x60, %rsp movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movq %rdx, -0x20(%rbp) movq -0x10(%rbp), %rdi movq -0x18(%rbp), %rsi xorl %edx, %edx callq 0x748f0 movq %rax, -0x28(%rbp) cmpq $0x0, -0x28(%rbp) jne 0x74864 movb $0x0, -0x1(%rbp) jmp 0x748da leaq -0x30(%rbp), %rdi movq %rdi, -0x50...
/walterzhaoJR[P]leveldb/third_party/googletest/googletest/src/gtest.cc
testing::internal::ParseGoogleTestFlagsOnly(int*, char**)
void ParseGoogleTestFlagsOnly(int* argc, char** argv) { ParseGoogleTestFlagsOnlyImpl(argc, argv); // Fix the value of *_NSGetArgc() on macOS, but if and only if // *_NSGetArgv() == argv // Only applicable to char** version of argv #if GTEST_OS_MAC #ifndef GTEST_OS_IOS if (*_NSGetArgv() == argv) { *_NSGet...
pushq %rbp movq %rsp, %rbp subq $0x10, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rdi movq -0x10(%rbp), %rsi callq 0x86790 addq $0x10, %rsp popq %rbp retq nopw %cs:(%rax,%rax)
/walterzhaoJR[P]leveldb/third_party/googletest/googletest/src/gtest.cc
testing::InitGoogleTest()
void InitGoogleTest() { // Since Arduino doesn't have a command line, fake out the argc/argv arguments int argc = 1; const auto arg0 = "dummy"; char* argv0 = const_cast<char*>(arg0); char** argv = &argv0; #if defined(GTEST_CUSTOM_INIT_GOOGLE_TEST_FUNCTION_) GTEST_CUSTOM_INIT_GOOGLE_TEST_FUNCTION_(&argc, ar...
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movl $0x1, -0x4(%rbp) leaq 0x3009b(%rip), %rax # 0xa4c61 movq %rax, -0x10(%rbp) leaq 0x30090(%rip), %rax # 0xa4c61 movq %rax, -0x18(%rbp) leaq -0x18(%rbp), %rax movq %rax, -0x20(%rbp) movq -0x20(%rbp), %rsi leaq -0x4(%rbp), %rdi callq 0x86b20 addq $0x20, %rsp popq %rb...
/walterzhaoJR[P]leveldb/third_party/googletest/googletest/src/gtest.cc
testing::ScopedTrace::PushTrace(char const*, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void ScopedTrace::PushTrace(const char* file, int line, std::string message) { internal::TraceInfo trace; trace.file = file; trace.line = line; trace.message.swap(message); UnitTest::GetInstance()->PushGTestTrace(trace); }
pushq %rbp movq %rsp, %rbp subq $0x70, %rsp movq %rcx, -0x70(%rbp) movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movl %edx, -0x14(%rbp) movq %rcx, -0x20(%rbp) leaq -0x50(%rbp), %rdi callq 0x86cc0 movq -0x70(%rbp), %rsi movq -0x10(%rbp), %rax movq %rax, -0x50(%rbp) movl -0x14(%rbp), %eax movl %eax, -0x48(%rbp) leaq -0x40...
/walterzhaoJR[P]leveldb/third_party/googletest/googletest/src/gtest.cc
testing::KilledBySignal::operator()(int) const
bool KilledBySignal::operator()(int exit_status) const { # if defined(GTEST_KILLED_BY_SIGNAL_OVERRIDE_) { bool result; if (GTEST_KILLED_BY_SIGNAL_OVERRIDE_(signum_, exit_status, &result)) { return result; } } # endif // defined(GTEST_KILLED_BY_SIGNAL_OVERRIDE_) return WIFSIGNALED(exit_status)...
pushq %rbp movq %rsp, %rbp movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x18(%rbp) movl -0xc(%rbp), %eax andl $0x7f, %eax addl $0x1, %eax movsbl %al, %ecx sarl %ecx xorl %eax, %eax cmpl $0x0, %ecx movb %al, -0xd(%rbp) jle 0x74e3d movq -0x18(%rbp), %rcx movl -0xc(%rbp), %eax andl $0x7f, ...
/walterzhaoJR[P]leveldb/third_party/googletest/googletest/src/gtest-death-test.cc
testing::internal::DeathTestAbort(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
static void DeathTestAbort(const std::string& message) { // On a POSIX system, this function may be called from a threadsafe-style // death test child process, which operates on a very small stack. Use // the heap for any additional non-minuscule memory requirements. const InternalRunDeathTestFlag* const flag ...
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x8(%rbp) callq 0x7fa60 movq %rax, %rdi callq 0x87200 movq %rax, -0x10(%rbp) cmpq $0x0, -0x10(%rbp) je 0x75066 movq -0x10(%rbp), %rdi callq 0x87270 movl %eax, %edi leaq 0x2f89f(%rip), %rsi # 0xa48b5 callq 0x8e280 movq %rax, -0x18(%rbp) movq -0x18(%rbp), %rsi m...
/walterzhaoJR[P]leveldb/third_party/googletest/googletest/src/gtest-death-test.cc
testing::internal::GetThreadCount()
size_t GetThreadCount() { const std::string filename = (Message() << "/proc/" << getpid() << "/stat").GetString(); return ReadProcFileField<size_t>(filename, 19); }
pushq %rbp movq %rsp, %rbp subq $0x60, %rsp leaq -0x28(%rbp), %rdi movq %rdi, -0x48(%rbp) callq 0x5e7d0 movq -0x48(%rbp), %rdi leaq 0x306f9(%rip), %rsi # 0xa7de9 callq 0x84040 movq %rax, -0x40(%rbp) jmp 0x776fb callq 0xbb90 movq -0x40(%rbp), %rdi movl %eax, -0x38(%rbp) leaq -0x38(%rbp), %rsi callq 0x82530 movq %rax...
/walterzhaoJR[P]leveldb/third_party/googletest/googletest/src/gtest-port.cc
testing::internal::ExecDeathTestChildMain(void*)
static int ExecDeathTestChildMain(void* child_arg) { ExecDeathTestArgs* const args = static_cast<ExecDeathTestArgs*>(child_arg); GTEST_DEATH_TEST_CHECK_SYSCALL_(close(args->close_fd)); // We need to execute the test program in the same environment where // it was originally invoked. Therefore we change to the...
pushq %rbp movq %rsp, %rbp subq $0x310, %rsp # imm = 0x310 movq %rdi, -0x10(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x18(%rbp) jmp 0x7d479 movq -0x18(%rbp), %rax movl 0x8(%rax), %edi callq 0xbf80 movl %eax, -0x1c(%rbp) xorl %eax, %eax cmpl $-0x1, -0x1c(%rbp) movb %al, -0x2d9(%rbp) jne 0x7d4a7 callq 0xb080 c...
/walterzhaoJR[P]leveldb/third_party/googletest/googletest/src/gtest-death-test.cc
testing::internal::(anonymous namespace)::ContainsUnprintableControlCodes(char const*, unsigned long)
bool ContainsUnprintableControlCodes(const char* str, size_t length) { const unsigned char *s = reinterpret_cast<const unsigned char *>(str); for (size_t i = 0; i < length; i++) { unsigned char ch = *s++; if (std::iscntrl(ch)) { switch (ch) { case '\t': case '\n': case '\r':...
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x20(%rbp) movq $0x0, -0x28(%rbp) movq -0x28(%rbp), %rax cmpq -0x18(%rbp), %rax jae 0x7dd51 movq -0x20(%rbp), %rax movq %rax, %rcx addq $0x1, %rcx movq %rcx, -0x20(%rbp) movb (%rax), %al movb %al...
/walterzhaoJR[P]leveldb/third_party/googletest/googletest/src/gtest-printers.cc
testing::internal::(anonymous namespace)::IsValidUTF8(char const*, unsigned long)
bool IsValidUTF8(const char* str, size_t length) { const unsigned char *s = reinterpret_cast<const unsigned char *>(str); for (size_t i = 0; i < length;) { unsigned char lead = s[i++]; if (lead <= 0x7f) { continue; // single-byte character (ASCII) 0..7F } if (lead < 0xc2) { return fal...
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x20(%rbp) movq $0x0, -0x28(%rbp) movq -0x28(%rbp), %rax cmpq -0x18(%rbp), %rax jae 0x7df85 movq -0x20(%rbp), %rax movq -0x28(%rbp), %rcx movq %rcx, %rdx addq $0x1, %rdx movq %rdx, -0x28(%rbp) mo...
/walterzhaoJR[P]leveldb/third_party/googletest/googletest/src/gtest-printers.cc
testing::internal::SuiteApiResolver<testing::internal::(anonymous namespace)::FailureTest>::GetSetUpCaseOrSuite(char const*, int)
static SetUpTearDownSuiteFuncType GetSetUpCaseOrSuite(const char* filename, int line_num) { SetUpTearDownSuiteFuncType test_case_fp = GetNotDefaultOrNull(&T::SetUpTestCase, &Test::SetUpTestCase); SetUpTearDownSuiteFuncType test_suite_fp = G...
pushq %rbp movq %rsp, %rbp subq $0x70, %rsp movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) leaq -0x6d0f6(%rip), %rsi # 0x10f50 movq %rsi, %rdi callq 0x10f20 movq %rax, -0x18(%rbp) leaq -0x6d0f9(%rip), %rsi # 0x10f60 movq %rsi, %rdi callq 0x10f20 movq %rax, -0x20(%rbp) movb $0x1, %al cmpq $0x0, -0x18(%rbp) movb %al, ...
/walterzhaoJR[P]leveldb/third_party/googletest/googletest/include/gtest/internal/gtest-internal.h
testing::internal::(anonymous namespace)::FailureTest::TestBody()
void TestBody() override { if (as_error_) { AssertHelper(TestPartResult::kNonFatalFailure, loc_.file.c_str(), loc_.line, "") = Message() << error_message_; } else { std::cout << error_message_ << std::endl; } }
pushq %rbp movq %rsp, %rbp subq $0x40, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x30(%rbp) testb $0x1, 0x58(%rax) je 0x7e651 leaq -0x10(%rbp), %rdi movq %rdi, -0x40(%rbp) callq 0x5e7d0 movq -0x30(%rbp), %rsi movq -0x40(%rbp), %rdi addq $0x38, %rsi callq 0x10420 movq %rax, -0x38(%rbp) jmp 0x7e5d2 mov...
/walterzhaoJR[P]leveldb/third_party/googletest/googletest/src/gtest.cc
testing::internal::LoadFlagsFromFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
static void LoadFlagsFromFile(const std::string& path) { FILE* flagfile = posix::FOpen(path.c_str(), "r"); if (!flagfile) { GTEST_LOG_(FATAL) << "Unable to open file \"" << GTEST_FLAG(flagfile) << "\""; } std::string contents(ReadEntireFile(flagfile)); posix::FClose(flagfile); std:...
pushq %rbp movq %rsp, %rbp subq $0xa0, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rdi callq 0xb260 movq %rax, %rdi leaq 0x2874f(%rip), %rsi # 0xa7591 callq 0x861a0 movq %rax, -0x10(%rbp) cmpq $0x0, -0x10(%rbp) jne 0x7eedf leaq 0x27811(%rip), %rdx # 0xa666e leaq -0x14(%rbp), %rdi movq %rdi, -0x78(%rbp) movl $0...
/walterzhaoJR[P]leveldb/third_party/googletest/googletest/src/gtest.cc
testing::internal::PrintColorEncoded(char const*)
static void PrintColorEncoded(const char* str) { GTestColor color = GTestColor::kDefault; // The current color. // Conceptually, we split the string into segments divided by escape // sequences. Then we print one segment at a time. At the end of // each iteration, the str pointer advances to the beginning o...
pushq %rbp movq %rsp, %rbp subq $0x70, %rsp movq %rdi, -0x8(%rbp) movl $0x0, -0xc(%rbp) movq -0x8(%rbp), %rdi movl $0x40, %esi callq 0xb220 movq %rax, -0x18(%rbp) cmpq $0x0, -0x18(%rbp) jne 0x7f107 movl -0xc(%rbp), %edi movq -0x8(%rbp), %rdx leaq 0x288ba(%rip), %rsi # 0xa79b4 movb $0x0, %al callq 0x66720 addq $0x70...
/walterzhaoJR[P]leveldb/third_party/googletest/googletest/src/gtest.cc
testing::internal::FilePath::~FilePath()
class GTEST_API_ FilePath { public: FilePath() : pathname_("") { } FilePath(const FilePath& rhs) : pathname_(rhs.pathname_) { } explicit FilePath(const std::string& pathname) : pathname_(pathname) { Normalize(); } FilePath& operator=(const FilePath& rhs) { Set(rhs); return *this; } void Se...
pushq %rbp movq %rsp, %rbp subq $0x10, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rdi callq 0xbfd8 addq $0x10, %rsp popq %rbp retq nopl (%rax,%rax)
/walterzhaoJR[P]leveldb/third_party/googletest/googletest/include/gtest/internal/gtest-filepath.h
testing::Message& testing::Message::operator<<<char [35]>(char const (&) [35])
inline Message& operator <<(const T& val) { // Some libraries overload << for STL containers. These // overloads are defined in the global namespace instead of ::std. // // C++'s symbol lookup rule (i.e. Koenig lookup) says that these // overloads are visible in either the std namespace or the glob...
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 0x104f0 movq %rax, %rdi addq $0x10, %rdi movq -0x10(%rbp), %rsi callq 0xb6c0 movq -0x18(%rbp), %rax addq $0x20, %rsp popq %rbp retq nopw (%rax,%rax)
/walterzhaoJR[P]leveldb/third_party/googletest/googletest/include/gtest/gtest-message.h
testing::Message& testing::Message::operator<<<char [13]>(char const (&) [13])
inline Message& operator <<(const T& val) { // Some libraries overload << for STL containers. These // overloads are defined in the global namespace instead of ::std. // // C++'s symbol lookup rule (i.e. Koenig lookup) says that these // overloads are visible in either the std namespace or the glob...
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 0x104f0 movq %rax, %rdi addq $0x10, %rdi movq -0x10(%rbp), %rsi callq 0xb6c0 movq -0x18(%rbp), %rax addq $0x20, %rsp popq %rbp retq nopw (%rax,%rax)
/walterzhaoJR[P]leveldb/third_party/googletest/googletest/include/gtest/gtest-message.h
testing::AssertionResult testing::internal::FloatingPointLE<double>(char const*, char const*, double, double)
AssertionResult FloatingPointLE(const char* expr1, const char* expr2, RawType val1, RawType val2) { // Returns success if val1 is less than val2, if (val1 < val2) { return AssertionSuccess(); } // or if val1 is ...
pushq %rbp movq %rsp, %rbp subq $0x430, %rsp # imm = 0x430 movq %rdi, -0x3c8(%rbp) movq %rdi, %rax movq %rax, -0x3c0(%rbp) movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movsd %xmm0, -0x20(%rbp) movsd %xmm1, -0x28(%rbp) movsd -0x20(%rbp), %xmm1 movsd -0x28(%rbp), %xmm0 ucomisd %xmm1, %xm...
/walterzhaoJR[P]leveldb/third_party/googletest/googletest/src/gtest.cc
testing::Message& testing::Message::operator<<<int>(int const&)
inline Message& operator <<(const T& val) { // Some libraries overload << for STL containers. These // overloads are defined in the global namespace instead of ::std. // // C++'s symbol lookup rule (i.e. Koenig lookup) says that these // overloads are visible in either the std namespace or the glob...
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 0x104f0 movq %rax, %rdi addq $0x10, %rdi movq -0x10(%rbp), %rax movl (%rax), %esi callq 0xbdc0 movq -0x18(%rbp), %rax addq $0x20, %rsp popq %rbp retq nopl (%rax)
/walterzhaoJR[P]leveldb/third_party/googletest/googletest/include/gtest/gtest-message.h
testing::Message& testing::Message::operator<<<char [60]>(char const (&) [60])
inline Message& operator <<(const T& val) { // Some libraries overload << for STL containers. These // overloads are defined in the global namespace instead of ::std. // // C++'s symbol lookup rule (i.e. Koenig lookup) says that these // overloads are visible in either the std namespace or the glob...
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 0x104f0 movq %rax, %rdi addq $0x10, %rdi movq -0x10(%rbp), %rsi callq 0xb6c0 movq -0x18(%rbp), %rax addq $0x20, %rsp popq %rbp retq nopw (%rax,%rax)
/walterzhaoJR[P]leveldb/third_party/googletest/googletest/include/gtest/gtest-message.h
testing::Message& testing::Message::operator<<<char [25]>(char const (&) [25])
inline Message& operator <<(const T& val) { // Some libraries overload << for STL containers. These // overloads are defined in the global namespace instead of ::std. // // C++'s symbol lookup rule (i.e. Koenig lookup) says that these // overloads are visible in either the std namespace or the glob...
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 0x104f0 movq %rax, %rdi addq $0x10, %rdi movq -0x10(%rbp), %rsi callq 0xb6c0 movq -0x18(%rbp), %rax addq $0x20, %rsp popq %rbp retq nopw (%rax,%rax)
/walterzhaoJR[P]leveldb/third_party/googletest/googletest/include/gtest/gtest-message.h
testing::Message& testing::Message::operator<<<char [30]>(char const (&) [30])
inline Message& operator <<(const T& val) { // Some libraries overload << for STL containers. These // overloads are defined in the global namespace instead of ::std. // // C++'s symbol lookup rule (i.e. Koenig lookup) says that these // overloads are visible in either the std namespace or the glob...
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 0x104f0 movq %rax, %rdi addq $0x10, %rdi movq -0x10(%rbp), %rsi callq 0xb6c0 movq -0x18(%rbp), %rax addq $0x20, %rsp popq %rbp retq nopw (%rax,%rax)
/walterzhaoJR[P]leveldb/third_party/googletest/googletest/include/gtest/gtest-message.h
testing::Message& testing::Message::operator<<<char [38]>(char const (&) [38])
inline Message& operator <<(const T& val) { // Some libraries overload << for STL containers. These // overloads are defined in the global namespace instead of ::std. // // C++'s symbol lookup rule (i.e. Koenig lookup) says that these // overloads are visible in either the std namespace or the glob...
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 0x104f0 movq %rax, %rdi addq $0x10, %rdi movq -0x10(%rbp), %rsi callq 0xb6c0 movq -0x18(%rbp), %rax addq $0x20, %rsp popq %rbp retq nopw (%rax,%rax)
/walterzhaoJR[P]leveldb/third_party/googletest/googletest/include/gtest/gtest-message.h
testing::Test* testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test*>(testing::internal::TestFactoryBase*, testing::Test* (testing::internal::TestFactoryBase::*)(), char const*)
Result HandleExceptionsInMethodIfSupported( T* object, Result (T::*method)(), const char* location) { // NOTE: The user code can affect the way in which Google Test handles // exceptions by setting GTEST_FLAG(catch_exceptions), but only before // RUN_ALL_TESTS() starts. It is technically possible to check the...
pushq %rbp movq %rsp, %rbp subq $0xe0, %rsp movq %rsi, -0x18(%rbp) movq %rdx, -0x10(%rbp) movq -0x18(%rbp), %rax movq -0x10(%rbp), %rdx movq %rdi, -0x20(%rbp) movq %rdx, -0x28(%rbp) movq %rax, -0x30(%rbp) movq %rcx, -0x38(%rbp) callq 0x7fa60 movq %rax, %rdi callq 0x96e00 testb $0x1, %al jne 0x82e31 jmp 0x82ff4 movq -0x...
/walterzhaoJR[P]leveldb/third_party/googletest/googletest/src/gtest.cc
testing::TestPartResult::~TestPartResult()
class GTEST_API_ TestPartResult { public: // The possible outcomes of a test part (i.e. an assertion or an // explicit SUCCEED(), FAIL(), or ADD_FAILURE()). enum Type { kSuccess, // Succeeded. kNonFatalFailure, // Failed but the test can continue. kFatalFailure, // Failed and the test s...
pushq %rbp movq %rsp, %rbp subq $0x10, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x10(%rbp) addq $0x50, %rdi callq 0xbfd8 movq -0x10(%rbp), %rdi addq $0x30, %rdi callq 0xbfd8 movq -0x10(%rbp), %rdi addq $0x8, %rdi callq 0xbfd8 addq $0x10, %rsp popq %rbp retq nopl (%rax)
/walterzhaoJR[P]leveldb/third_party/googletest/googletest/include/gtest/gtest-test-part.h
void testing::internal::HandleExceptionsInMethodIfSupported<testing::TestSuite, void>(testing::TestSuite*, void (testing::TestSuite::*)(), char const*)
Result HandleExceptionsInMethodIfSupported( T* object, Result (T::*method)(), const char* location) { // NOTE: The user code can affect the way in which Google Test handles // exceptions by setting GTEST_FLAG(catch_exceptions), but only before // RUN_ALL_TESTS() starts. It is technically possible to check the...
pushq %rbp movq %rsp, %rbp subq $0xd0, %rsp movq %rsi, -0x10(%rbp) movq %rdx, -0x8(%rbp) movq -0x10(%rbp), %rax movq -0x8(%rbp), %rdx movq %rdi, -0x18(%rbp) movq %rdx, -0x20(%rbp) movq %rax, -0x28(%rbp) movq %rcx, -0x30(%rbp) callq 0x7fa60 movq %rax, %rdi callq 0x96e00 testb $0x1, %al jne 0x837e1 jmp 0x8398a movq -0x18...
/walterzhaoJR[P]leveldb/third_party/googletest/googletest/src/gtest.cc
testing::Message& testing::Message::operator<<<char [7]>(char const (&) [7])
inline Message& operator <<(const T& val) { // Some libraries overload << for STL containers. These // overloads are defined in the global namespace instead of ::std. // // C++'s symbol lookup rule (i.e. Koenig lookup) says that these // overloads are visible in either the std namespace or the glob...
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 0x104f0 movq %rax, %rdi addq $0x10, %rdi movq -0x10(%rbp), %rsi callq 0xb6c0 movq -0x18(%rbp), %rax addq $0x20, %rsp popq %rbp retq nopw (%rax,%rax)
/walterzhaoJR[P]leveldb/third_party/googletest/googletest/include/gtest/gtest-message.h
testing::Message& testing::Message::operator<<<char [8]>(char const (&) [8])
inline Message& operator <<(const T& val) { // Some libraries overload << for STL containers. These // overloads are defined in the global namespace instead of ::std. // // C++'s symbol lookup rule (i.e. Koenig lookup) says that these // overloads are visible in either the std namespace or the glob...
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 0x104f0 movq %rax, %rdi addq $0x10, %rdi movq -0x10(%rbp), %rsi callq 0xb6c0 movq -0x18(%rbp), %rax addq $0x20, %rsp popq %rbp retq nopw (%rax,%rax)
/walterzhaoJR[P]leveldb/third_party/googletest/googletest/include/gtest/gtest-message.h
bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*)
Result HandleExceptionsInMethodIfSupported( T* object, Result (T::*method)(), const char* location) { // NOTE: The user code can affect the way in which Google Test handles // exceptions by setting GTEST_FLAG(catch_exceptions), but only before // RUN_ALL_TESTS() starts. It is technically possible to check the...
pushq %rbp movq %rsp, %rbp subq $0xd0, %rsp movq %rsi, -0x18(%rbp) movq %rdx, -0x10(%rbp) movq -0x18(%rbp), %rax movq -0x10(%rbp), %rdx movq %rdi, -0x20(%rbp) movq %rdx, -0x28(%rbp) movq %rax, -0x30(%rbp) movq %rcx, -0x38(%rbp) callq 0x7fa60 movq %rax, %rdi callq 0x96e00 testb $0x1, %al jne 0x84c21 jmp 0x84ddf movq -0x...
/walterzhaoJR[P]leveldb/third_party/googletest/googletest/src/gtest.cc
testing::internal::ThreadLocal<std::vector<testing::internal::TraceInfo, std::allocator<testing::internal::TraceInfo>>>::~ThreadLocal()
~ThreadLocal() { // Destroys the managed object for the current thread, if any. DeleteThreadLocalValue(pthread_getspecific(key_)); // Releases resources associated with the key. This will *not* // delete managed objects for other threads. GTEST_CHECK_POSIX_SUCCESS_(pthread_key_delete(key_)); }
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x18(%rbp) movl (%rax), %edi callq 0xbc10 movq %rax, %rdi callq 0x56cc0 movq -0x18(%rbp), %rax movl (%rax), %edi callq 0xb8b0 movl %eax, -0xc(%rbp) cmpl $0x0, -0xc(%rbp) je 0x8535e leaq 0x1fc02(%rip), %rdx # 0xa4f00 ...
/walterzhaoJR[P]leveldb/third_party/googletest/googletest/include/gtest/internal/gtest-port.h
testing::internal::StreamingListener::StreamingListener(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&)
StreamingListener(const std::string& host, const std::string& port) : socket_writer_(new SocketWriter(host, port)) { Start(); }
pushq %rbp movq %rsp, %rbp subq $0x40, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x40(%rbp) callq 0x84000 movq -0x40(%rbp), %rax leaq 0x632bc(%rip), %rcx # 0xe8a78 movq %rcx, (%rax) addq $0x8, %rax movq %rax, -0x38(%rbp) movl $0x50, %edi callq 0xb6e0 ...
/walterzhaoJR[P]leveldb/third_party/googletest/googletest/src/gtest-internal-inl.h
testing::internal::GetNextRandomSeed(int)
inline int GetNextRandomSeed(int seed) { GTEST_CHECK_(1 <= seed && seed <= kMaxRandomSeed) << "Invalid random seed " << seed << " - must be in [1, " << kMaxRandomSeed << "]."; const int next_seed = seed + 1; return (next_seed > kMaxRandomSeed) ? 1 : next_seed; }
pushq %rbp movq %rsp, %rbp subq $0x60, %rsp movl %edi, -0x4(%rbp) xorl %eax, %eax movl $0x1, %ecx cmpl -0x4(%rbp), %ecx movb %al, -0x19(%rbp) jg 0x86087 cmpl $0x1869f, -0x4(%rbp) # imm = 0x1869F setle %al movb %al, -0x19(%rbp) movb -0x19(%rbp), %al movzbl %al, %edi andl $0x1, %edi callq 0x5a640 testb $0x1, %al jne 0...
/walterzhaoJR[P]leveldb/third_party/googletest/googletest/src/gtest-internal-inl.h
testing::Message& testing::Message::operator<<<char [17]>(char const (&) [17])
inline Message& operator <<(const T& val) { // Some libraries overload << for STL containers. These // overloads are defined in the global namespace instead of ::std. // // C++'s symbol lookup rule (i.e. Koenig lookup) says that these // overloads are visible in either the std namespace or the glob...
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 0x104f0 movq %rax, %rdi addq $0x10, %rdi movq -0x10(%rbp), %rsi callq 0xb6c0 movq -0x18(%rbp), %rax addq $0x20, %rsp popq %rbp retq nopw (%rax,%rax)
/walterzhaoJR[P]leveldb/third_party/googletest/googletest/include/gtest/gtest-message.h
testing::Message& testing::Message::operator<<<char [48]>(char const (&) [48])
inline Message& operator <<(const T& val) { // Some libraries overload << for STL containers. These // overloads are defined in the global namespace instead of ::std. // // C++'s symbol lookup rule (i.e. Koenig lookup) says that these // overloads are visible in either the std namespace or the glob...
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 0x104f0 movq %rax, %rdi addq $0x10, %rdi movq -0x10(%rbp), %rsi callq 0xb6c0 movq -0x18(%rbp), %rax addq $0x20, %rsp popq %rbp retq nopw (%rax,%rax)
/walterzhaoJR[P]leveldb/third_party/googletest/googletest/include/gtest/gtest-message.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 movq %rsp, %rbp subq $0x70, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movl $0x1, -0x14(%rbp) movl -0x14(%rbp), %eax movq -0x8(%rbp), %rcx cmpl (%rcx), %eax jge 0x8692f movq -0x10(%rbp), %rax movslq -0x14(%rbp), %rcx leaq (%rax,%rcx,8), %rsi leaq -0x38(%rbp), %rdi movq %rdi, -0x68(%rbp) callq 0x59d40 ...
/walterzhaoJR[P]leveldb/third_party/googletest/googletest/src/gtest.cc
testing::Message& testing::Message::operator<<<char [50]>(char const (&) [50])
inline Message& operator <<(const T& val) { // Some libraries overload << for STL containers. These // overloads are defined in the global namespace instead of ::std. // // C++'s symbol lookup rule (i.e. Koenig lookup) says that these // overloads are visible in either the std namespace or the glob...
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 0x104f0 movq %rax, %rdi addq $0x10, %rdi movq -0x10(%rbp), %rsi callq 0xb6c0 movq -0x18(%rbp), %rax addq $0x20, %rsp popq %rbp retq nopw (%rax,%rax)
/walterzhaoJR[P]leveldb/third_party/googletest/googletest/include/gtest/gtest-message.h
testing::Message& testing::Message::operator<<<char [22]>(char const (&) [22])
inline Message& operator <<(const T& val) { // Some libraries overload << for STL containers. These // overloads are defined in the global namespace instead of ::std. // // C++'s symbol lookup rule (i.e. Koenig lookup) says that these // overloads are visible in either the std namespace or the glob...
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 0x104f0 movq %rax, %rdi addq $0x10, %rdi movq -0x10(%rbp), %rsi callq 0xb6c0 movq -0x18(%rbp), %rax addq $0x20, %rsp popq %rbp retq nopw (%rax,%rax)
/walterzhaoJR[P]leveldb/third_party/googletest/googletest/include/gtest/gtest-message.h
testing::Message& testing::Message::operator<<<testing::TestPartResult>(testing::TestPartResult const&)
inline Message& operator <<(const T& val) { // Some libraries overload << for STL containers. These // overloads are defined in the global namespace instead of ::std. // // C++'s symbol lookup rule (i.e. Koenig lookup) says that these // overloads are visible in either the std namespace or the glob...
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 0x104f0 movq %rax, %rdi addq $0x10, %rdi movq -0x10(%rbp), %rsi callq 0x7c590 movq -0x18(%rbp), %rax addq $0x20, %rsp popq %rbp retq nopw (%rax,%rax)
/walterzhaoJR[P]leveldb/third_party/googletest/googletest/include/gtest/gtest-message.h