جميع الكتب

مهني

1 Markets I: The Ecosystem and Exchange-Traded Marketsالأسواق عبر الإنترنت 2 Markets II: Rates, FX and Creditالأسواق عبر الإنترنت 3 Markets III: Commodities, Energy and Cryptoالأسواق عبر الإنترنت 4 Quantitative Methodsالأساليب عبر الإنترنت 5 Derivatives and Volatilityالمشتقات عبر الإنترنت 6 Rates, Credit, XVA and Riskالفائدة والائتمان والمخاطر عبر الإنترنت 7 Research Craft: Predictors, Backtests, Measurement, Portfoliosالبحث عبر الإنترنت 8 Strategies I: Equities and Futuresالاستراتيجيات عبر الإنترنت 9 Strategies II: Volatility, Relative Value, Macro and the Bank Desksالاستراتيجيات عبر الإنترنت 10 Microstructure and Executionالتنفيذ عبر الإنترنت 11 Market Making and High-Frequency Tradingصناعة السوق عبر الإنترنت 12 Machine Learning for Marketsتعلم الآلة عبر الإنترنت 13 Low-Latency Softwareالتكنولوجيا عبر الإنترنت 14 Networks, Hardware and Trading Infrastructureالتكنولوجيا عبر الإنترنت 15 Research, Data and Risk Platformsالتكنولوجيا عبر الإنترنت 16 The Desk and the Firmالشركة عبر الإنترنت 17 The Industry: Firms, Roles and Careersالمسارات المهنية عبر الإنترنت 18 Interviews I: Maths, Probability and Speedالمسارات المهنية عبر الإنترنت 19 Interviews II: Markets, Trading Games and the Final Roundالمسارات المهنية عبر الإنترنت 20 Interviews III: Codeالمسارات المهنية عبر الإنترنت
التطبيقات حول المدرب تسجيل الدخول ابدأ القراءة

Computer Science · المسرد

ما معنى Bisection of a history؟

يُعرف أيضًا باسم: bisection (of a history)

Definition 9.10 University Computer Science — Year 1 · الفصل 9 — Version Control with Git

Given a commit known to be good (a test passes) and a later one known to be bad (it fails), the bisection of the history between them tests a commit near the middle of the candidates, those that are ancestors of the bad commit and not of the good one; if it is bad, the culprit is among its ancestors; if good, among the others. It repeats until a single commit remains: the first bad commit, whose parents are all good. git bisect run automates it with a test command whose exit status is the verdict: 0 for good, 1 to 127 for bad, except 125, which means “cannot test this commit, skip it”.

Bisection on a linear history of 64 commits, the first known good, the last known bad: a schematic run, whose verdicts are not those of . The shaded interval holds the commits that may still be the first bad one; each test (red line) halves it, so that six tests leave one commit, where testing all of them in turn could take 62.
Bisection on a linear history of 64 commits, the first known good, the last known bad: a schematic run, whose verdicts are not those of Output 9.8. The shaded interval holds the commits that may still be the first bad one; each test (red line) halves it, so that six tests leave one commit, where testing all of them in turn could take 62.
اقرأ في الفصل →