v3.25.2
Financial Assets and Liabilities - Additional Information (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Jul. 31, 2025
Apr. 30, 2025
Jan. 31, 2025
Jul. 31, 2024
Jan. 31, 2024
Jul. 31, 2025
Jul. 31, 2024
Oct. 31, 2024
Apr. 30, 2024
Oct. 31, 2023
Financial Assets and Liabilities [Line Items]                    
Gain (loss) on sale of strategic investments $ (1,200)     $ 0 $ 55,100 $ (3,635) $ 55,077      
Impairment of non-marketable equity securities 0     0   0 0      
Gains (losses) related to discontinuation of cash flow hedges           0 0      
Total stockholders’ equity (27,614,186) $ (9,915,605)   $ (7,714,372)   $ (27,614,186) $ (7,714,372) $ (8,993,206) $ (7,157,798) $ (6,153,258)
Foreign exchange contracts                    
Financial Assets and Liabilities [Line Items]                    
Shipments period using hedges (in months)           1 month        
Derivative maturity period           30 months        
Total gross notional amounts 1,223,925         $ 1,223,925   $ 1,686,341    
Foreign exchange contracts | Cash Flow Hedges                    
Financial Assets and Liabilities [Line Items]                    
Period for hedge balance in OCI to be reclassified to statement of operations (in months)           12 months        
Foreign exchange contracts | Minimum | Cash Flow Hedges                    
Financial Assets and Liabilities [Line Items]                    
Derivative maturity period           30 months        
Foreign exchange contracts | Maximum | Cash Flow Hedges                    
Financial Assets and Liabilities [Line Items]                    
Derivative maturity period           3 years        
Interest rate contracts | Cash Flow Hedges                    
Financial Assets and Liabilities [Line Items]                    
Derivative maturity period     6 months              
Total gross notional amounts     $ 2,000,000              
Debt instrument, term   5 years 6 months                
Implied interest rate   3.45%                
Interest rate contracts | Minimum | Cash Flow Hedges                    
Financial Assets and Liabilities [Line Items]                    
Debt instrument, term     10 years              
Interest rate contracts | Maximum | Cash Flow Hedges                    
Financial Assets and Liabilities [Line Items]                    
Debt instrument, term     30 years              
Interest rate contract settled                    
Financial Assets and Liabilities [Line Items]                    
Loss recorded in OCI   $ 121,600                
Expected unrealized loss to be amortized to interest expense over the next twelve months 7,000         $ 7,000        
Interest rate contract settled | Unrealized gains (losses) on derivative instruments, net of taxes                    
Financial Assets and Liabilities [Line Items]                    
Total stockholders’ equity $ (118,700)         $ (118,700)        
Foreign Exchange Forward, Hedge of Non-Functional Currency | Fair values of derivative instruments not designated as hedging instruments                    
Financial Assets and Liabilities [Line Items]                    
Forward contracts terms (in months)           1 month        
Foreign Exchange Forward, Hedge of Non-Functional Currency | Fair values of derivative instruments not designated as hedging instruments                    
Financial Assets and Liabilities [Line Items]                    
Non-designated foreign exchange forward contract remaining maturity 1 year         1 year