Fair Value Measures - Assets and Liabilities Measured at Fair Value on Recurring Basis (Detail) - Fair Value, Measurements, Recurring - USD ($) $ in Thousands | Oct. 31, 2016 | Oct. 31, 2015 |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Total assets | $ 813,504 | $ 533,143 |
Total liabilities | 183,195 | 168,743 |
Deferred compensation plan liabilities | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Other Liabilities, Fair Value Disclosure | 163,185 | 158,462 |
Deferred Compensation Plan Assets | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Other long-term assets | 163,185 | 158,462 |
Foreign Currency Derivative Contracts | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Prepaid and other current assets | 4,652 | 6,462 |
Accounts payable and accrued liabilities | 20,010 | 10,281 |
Money Market Funds (U.S.) | Cash Equivalents [Member] | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | 499,274 | 233,839 |
Commercial Paper [Member] | Cash Equivalents [Member] | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | 1,498 | 1,834 |
Commercial Paper [Member] | Short-term Investments [Member] | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Investments, Fair Value Disclosure | 25,431 | 12,129 |
US Government Agency Securities [Member] | Short-term Investments [Member] | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Investments, Fair Value Disclosure | 13,603 | 12,614 |
Municipal Bonds [Member] | Short-term Investments [Member] | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Investments, Fair Value Disclosure | | 1,403 |
Certificates of Deposit [Member] | Cash Equivalents [Member] | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | 4,200 | 3,500 |
Certificates of Deposit [Member] | Short-term Investments [Member] | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Investments, Fair Value Disclosure | 12,849 | 9,800 |
Corporate Debt Securities [Member] | Short-term Investments [Member] | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Investments, Fair Value Disclosure | 58,778 | 67,188 |
Asset-backed Securities [Member] | Cash Equivalents [Member] | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | | 299 |
Asset-backed Securities [Member] | Short-term Investments [Member] | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Investments, Fair Value Disclosure | 22,146 | 24,608 |
Non-U.S. Government Agency Securities [Member] | Short-term Investments [Member] | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Investments, Fair Value Disclosure | 3,400 | 1,005 |
Others [Member] | Short-term Investments [Member] | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Investments, Fair Value Disclosure | 4,488 | |
Quoted Prices In Active Markets For Identical Assets (Level 1) | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Total assets | 666,947 | 392,301 |
Total liabilities | 163,185 | 158,462 |
Quoted Prices In Active Markets For Identical Assets (Level 1) | Deferred compensation plan liabilities | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Other Liabilities, Fair Value Disclosure | 163,185 | 158,462 |
Quoted Prices In Active Markets For Identical Assets (Level 1) | Deferred Compensation Plan Assets | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Other long-term assets | | 158,462 |
Quoted Prices In Active Markets For Identical Assets (Level 1) | Foreign Currency Derivative Contracts | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Prepaid and other current assets | 0 | 0 |
Accounts payable and accrued liabilities | 0 | 0 |
Quoted Prices In Active Markets For Identical Assets (Level 1) | Money Market Funds (U.S.) | Cash Equivalents [Member] | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | 499,274 | 233,839 |
Quoted Prices In Active Markets For Identical Assets (Level 1) | Commercial Paper [Member] | Cash Equivalents [Member] | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | 0 | 0 |
Quoted Prices In Active Markets For Identical Assets (Level 1) | Commercial Paper [Member] | Short-term Investments [Member] | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Investments, Fair Value Disclosure | 0 | 0 |
Quoted Prices In Active Markets For Identical Assets (Level 1) | US Government Agency Securities [Member] | Short-term Investments [Member] | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Investments, Fair Value Disclosure | 0 | 0 |
Quoted Prices In Active Markets For Identical Assets (Level 1) | Municipal Bonds [Member] | Short-term Investments [Member] | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Investments, Fair Value Disclosure | | 0 |
Quoted Prices In Active Markets For Identical Assets (Level 1) | Certificates of Deposit [Member] | Cash Equivalents [Member] | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | 0 | 0 |
Quoted Prices In Active Markets For Identical Assets (Level 1) | Certificates of Deposit [Member] | Short-term Investments [Member] | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Investments, Fair Value Disclosure | 0 | 0 |
Quoted Prices In Active Markets For Identical Assets (Level 1) | Corporate Debt Securities [Member] | Short-term Investments [Member] | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Investments, Fair Value Disclosure | 0 | 0 |
Quoted Prices In Active Markets For Identical Assets (Level 1) | Asset-backed Securities [Member] | Cash Equivalents [Member] | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | | 0 |
Quoted Prices In Active Markets For Identical Assets (Level 1) | Asset-backed Securities [Member] | Short-term Investments [Member] | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Investments, Fair Value Disclosure | 0 | 0 |
Quoted Prices In Active Markets For Identical Assets (Level 1) | Non-U.S. Government Agency Securities [Member] | Short-term Investments [Member] | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Investments, Fair Value Disclosure | 0 | 0 |
Quoted Prices In Active Markets For Identical Assets (Level 1) | Others [Member] | Short-term Investments [Member] | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Investments, Fair Value Disclosure | 4,488 | |
Significant Other Observable Inputs (Level 2) | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Total assets | 146,557 | 140,842 |
Total liabilities | 20,010 | 10,281 |
Significant Other Observable Inputs (Level 2) | Deferred compensation plan liabilities | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Other Liabilities, Fair Value Disclosure | 0 | 0 |
Significant Other Observable Inputs (Level 2) | Deferred Compensation Plan Assets | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Other long-term assets | 0 | 0 |
Significant Other Observable Inputs (Level 2) | Foreign Currency Derivative Contracts | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Prepaid and other current assets | 4,652 | 6,462 |
Accounts payable and accrued liabilities | 20,010 | 10,281 |
Significant Other Observable Inputs (Level 2) | Money Market Funds (U.S.) | Cash Equivalents [Member] | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | 0 | 0 |
Significant Other Observable Inputs (Level 2) | Commercial Paper [Member] | Cash Equivalents [Member] | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | 1,498 | 1,834 |
Significant Other Observable Inputs (Level 2) | Commercial Paper [Member] | Short-term Investments [Member] | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Investments, Fair Value Disclosure | 25,431 | 12,129 |
Significant Other Observable Inputs (Level 2) | US Government Agency Securities [Member] | Short-term Investments [Member] | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Investments, Fair Value Disclosure | 13,603 | 12,614 |
Significant Other Observable Inputs (Level 2) | Municipal Bonds [Member] | Short-term Investments [Member] | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Investments, Fair Value Disclosure | | 1,403 |
Significant Other Observable Inputs (Level 2) | Certificates of Deposit [Member] | Cash Equivalents [Member] | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | 4,200 | 3,500 |
Significant Other Observable Inputs (Level 2) | Certificates of Deposit [Member] | Short-term Investments [Member] | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Investments, Fair Value Disclosure | 12,849 | 9,800 |
Significant Other Observable Inputs (Level 2) | Corporate Debt Securities [Member] | Short-term Investments [Member] | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Investments, Fair Value Disclosure | 58,778 | 67,188 |
Significant Other Observable Inputs (Level 2) | Asset-backed Securities [Member] | Cash Equivalents [Member] | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | | 299 |
Significant Other Observable Inputs (Level 2) | Asset-backed Securities [Member] | Short-term Investments [Member] | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Investments, Fair Value Disclosure | 22,146 | 24,608 |
Significant Other Observable Inputs (Level 2) | Non-U.S. Government Agency Securities [Member] | Short-term Investments [Member] | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Investments, Fair Value Disclosure | 3,400 | 1,005 |
Significant Other Observable Inputs (Level 2) | Others [Member] | Short-term Investments [Member] | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Investments, Fair Value Disclosure | 0 | |
Significant Unobservable Inputs (Level 3) | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Total assets | 0 | 0 |
Total liabilities | 0 | 0 |
Significant Unobservable Inputs (Level 3) | Deferred compensation plan liabilities | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Other Liabilities, Fair Value Disclosure | 0 | 0 |
Significant Unobservable Inputs (Level 3) | Deferred Compensation Plan Assets | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Other long-term assets | 0 | 0 |
Significant Unobservable Inputs (Level 3) | Foreign Currency Derivative Contracts | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Prepaid and other current assets | 0 | 0 |
Accounts payable and accrued liabilities | 0 | 0 |
Significant Unobservable Inputs (Level 3) | Money Market Funds (U.S.) | Cash Equivalents [Member] | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | 0 | 0 |
Significant Unobservable Inputs (Level 3) | Commercial Paper [Member] | Cash Equivalents [Member] | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | 0 | 0 |
Significant Unobservable Inputs (Level 3) | Commercial Paper [Member] | Short-term Investments [Member] | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Investments, Fair Value Disclosure | 0 | 0 |
Significant Unobservable Inputs (Level 3) | US Government Agency Securities [Member] | Short-term Investments [Member] | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Investments, Fair Value Disclosure | 0 | 0 |
Significant Unobservable Inputs (Level 3) | Municipal Bonds [Member] | Short-term Investments [Member] | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Investments, Fair Value Disclosure | | 0 |
Significant Unobservable Inputs (Level 3) | Certificates of Deposit [Member] | Cash Equivalents [Member] | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | 0 | 0 |
Significant Unobservable Inputs (Level 3) | Certificates of Deposit [Member] | Short-term Investments [Member] | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Investments, Fair Value Disclosure | 0 | 0 |
Significant Unobservable Inputs (Level 3) | Corporate Debt Securities [Member] | Short-term Investments [Member] | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Investments, Fair Value Disclosure | 0 | 0 |
Significant Unobservable Inputs (Level 3) | Asset-backed Securities [Member] | Cash Equivalents [Member] | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | | 0 |
Significant Unobservable Inputs (Level 3) | Asset-backed Securities [Member] | Short-term Investments [Member] | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Investments, Fair Value Disclosure | 0 | 0 |
Significant Unobservable Inputs (Level 3) | Non-U.S. Government Agency Securities [Member] | Short-term Investments [Member] | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Investments, Fair Value Disclosure | 0 | $ 0 |
Significant Unobservable Inputs (Level 3) | Others [Member] | Short-term Investments [Member] | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Investments, Fair Value Disclosure | $ 0 | |