Fair Value Measures - Assets and Liabilities Measured at Fair Value on Recurring Basis (Detail) - Fair Value, Measurements, Recurring - USD ($) | Jul. 31, 2017 | Oct. 31, 2016 |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Total assets | $ 869,804,000 | $ 813,504,000 |
Total liabilities | 192,872,000 | 183,195,000 |
Foreign currency derivative contracts | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Prepaid and other current assets | 17,323,000 | 4,652,000 |
Accounts payable and accrued liabilities | 1,859,000 | 20,010,000 |
Deferred compensation plan liabilities | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Other long-term liabilities | 191,013,000 | 163,185,000 |
Deferred compensation plan assets | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Other long-term assets | 191,013,000 | 163,185,000 |
Money market funds | Cash equivalents | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | 510,086,000 | 499,274,000 |
Commercial paper | Cash equivalents | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | 2,274,000 | 1,498,000 |
Commercial paper | Short-term investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 23,507,000 | 25,431,000 |
Certificates of deposit | Cash equivalents | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | 1,600,000 | 4,200,000 |
Certificates of deposit | Short-term investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 22,017,000 | 12,849,000 |
U.S. government agency securities | Short-term investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 17,953,000 | 13,603,000 |
Corporate debt securities | Short-term investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 61,361,000 | 58,778,000 |
Asset-backed securities | Short-term investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 21,169,000 | 22,146,000 |
Non-U.S. government agency securities | Short-term investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | | 3,400,000 |
Others | Short-term investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 1,501,000 | 4,488,000 |
Quoted Prices in Active Markets for Identical Assets (Level 1) | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Total assets | 701,099,000 | 666,947,000 |
Total liabilities | 191,013,000 | 163,185,000 |
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) | Deferred compensation plan liabilities | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Other long-term liabilities | 191,013,000 | 163,185,000 |
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 | 191,013,000 | 163,185,000 |
Quoted Prices in Active Markets for Identical Assets (Level 1) | Money market funds | Cash equivalents | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | 510,086,000 | 499,274,000 |
Quoted Prices in Active Markets for Identical Assets (Level 1) | Commercial paper | Cash equivalents | | |
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 | Short-term investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 0 | 0 |
Quoted Prices in Active Markets for Identical Assets (Level 1) | Certificates of deposit | Cash equivalents | | |
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 | Short-term investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 0 | 0 |
Quoted Prices in Active Markets for Identical Assets (Level 1) | U.S. government agency securities | Short-term investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 0 | 0 |
Quoted Prices in Active Markets for Identical Assets (Level 1) | Corporate debt securities | Short-term investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 0 | 0 |
Quoted Prices in Active Markets for Identical Assets (Level 1) | Asset-backed securities | Short-term investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 0 | 0 |
Quoted Prices in Active Markets for Identical Assets (Level 1) | Non-U.S. government agency securities | Short-term investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | | 0 |
Quoted Prices in Active Markets for Identical Assets (Level 1) | Others | Short-term investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 0 | 4,488,000 |
Significant Other Observable Inputs (Level 2) | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Total assets | 168,705,000 | 146,557,000 |
Total liabilities | 1,859,000 | 20,010,000 |
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 | 17,323,000 | 4,652,000 |
Accounts payable and accrued liabilities | 1,859,000 | 20,010,000 |
Significant Other Observable Inputs (Level 2) | Deferred compensation plan liabilities | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Other long-term liabilities | 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) | Money market funds | Cash equivalents | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | 0 | 0 |
Significant Other Observable Inputs (Level 2) | Commercial paper | Cash equivalents | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | 2,274,000 | 1,498,000 |
Significant Other Observable Inputs (Level 2) | Commercial paper | Short-term investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 23,507,000 | 25,431,000 |
Significant Other Observable Inputs (Level 2) | Certificates of deposit | Cash equivalents | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | 1,600,000 | 4,200,000 |
Significant Other Observable Inputs (Level 2) | Certificates of deposit | Short-term investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 22,017,000 | 12,849,000 |
Significant Other Observable Inputs (Level 2) | U.S. government agency securities | Short-term investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 17,953,000 | 13,603,000 |
Significant Other Observable Inputs (Level 2) | Corporate debt securities | Short-term investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 61,361,000 | 58,778,000 |
Significant Other Observable Inputs (Level 2) | Asset-backed securities | Short-term investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 21,169,000 | 22,146,000 |
Significant Other Observable Inputs (Level 2) | Non-U.S. government agency securities | Short-term investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | | 3,400,000 |
Significant Other Observable Inputs (Level 2) | Others | Short-term investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 1,501,000 | 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) | 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) | Deferred compensation plan liabilities | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Other long-term liabilities | 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) | Money market funds | Cash equivalents | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | 0 | 0 |
Significant Unobservable Inputs (Level 3) | Commercial paper | Cash equivalents | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | 0 | 0 |
Significant Unobservable Inputs (Level 3) | Commercial paper | Short-term investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 0 | 0 |
Significant Unobservable Inputs (Level 3) | Certificates of deposit | Cash equivalents | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | 0 | 0 |
Significant Unobservable Inputs (Level 3) | Certificates of deposit | Short-term investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 0 | 0 |
Significant Unobservable Inputs (Level 3) | U.S. government agency securities | Short-term investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 0 | 0 |
Significant Unobservable Inputs (Level 3) | Corporate debt securities | Short-term investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 0 | 0 |
Significant Unobservable Inputs (Level 3) | Asset-backed securities | Short-term investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 0 | 0 |
Significant Unobservable Inputs (Level 3) | Non-U.S. government agency securities | Short-term investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | | 0 |
Significant Unobservable Inputs (Level 3) | Others | Short-term investments | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | $ 0 | $ 0 |