v3.5.0.2

Fair Value (Tables) | 3 Months Ended
--- | ---
Oct. 29, 2016
Fair Value Disclosures [Abstract] |
Schedule of Fair Value, Assets and Liabilities Measured on Recurring Basis | Assets and liabilities measured at fair value on a recurring basis as of October 29, 2016 and July 30, 2016 were as follows (in millions):
| OCTOBER 29, 2016 FAIR VALUE MEASUREMENTS |  | JULY 30, 2016 FAIR VALUE MEASUREMENTS
| Level 1 |  | Level 2 |  | Level 3 |  | Total Balance |  | Level 1 |  | Level 2 |  | Level 3 |  | Total Balance
Assets: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Cash equivalents: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Money market funds | $ | 6,749 |  |  | $ | — |  |  | $ | — |  |  | $ | 6,749 |  |  | $ | 6,049 |  |  | $ | — |  |  | $ | — |  |  | $ | 6,049 |
Corporate debt securities | — |  |  | — |  |  | — |  |  | — |  |  | — |  |  | 43 |  |  | — |  |  | 43 |
Available-for-sale investments: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
U.S. government securities | — |  |  | 25,896 |  |  | — |  |  | 25,896 |  |  | — |  |  | 26,544 |  |  | — |  |  | 26,544 |
U.S. government agency securities | — |  |  | 2,622 |  |  | — |  |  | 2,622 |  |  | — |  |  | 2,817 |  |  | — |  |  | 2,817 |
Non-U.S. government and agency securities | — |  |  | 1,104 |  |  | — |  |  | 1,104 |  |  | — |  |  | 1,100 |  |  | — |  |  | 1,100 |
Corporate debt securities | — |  |  | 29,163 |  |  | — |  |  | 29,163 |  |  | — |  |  | 24,292 |  |  | — |  |  | 24,292 |
U.S. agency mortgage-backed securities | — |  |  | 2,083 |  |  | — |  |  | 2,083 |  |  | — |  |  | 1,868 |  |  | — |  |  | 1,868 |
Publicly traded equity securities | 1,517 |  |  | — |  |  | — |  |  | 1,517 |  |  | 1,504 |  |  | — |  |  | — |  |  | 1,504 |
Derivative assets | — |  |  | 292 |  |  | — |  |  | 292 |  |  | — |  |  | 384 |  |  | 1 |  |  | 385 |
Total | $ | 8,266 |  |  | $ | 61,160 |  |  | $ | — |  |  | $ | 69,426 |  |  | $ | 7,553 |  |  | $ | 57,048 |  |  | $ | 1 |  |  | $ | 64,602 |
Liabilities: |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
Derivative liabilities | $ | — |  |  | $ | 85 |  |  | $ | — |  |  | $ | 85 |  |  | $ | — |  |  | $ | 54 |  |  | $ | — |  |  | $ | 54 |
Total | $ | — |  |  | $ | 85 |  |  | $ | — |  |  | $ | 85 |  |  | $ | — |  |  | $ | 54 |  |  | $ | — |  |  | $ | 54 |
Fair Value Measurements, Nonrecurring | The following table presents the Company’s assets that were measured at fair value on a nonrecurring basis during the indicated periods and the related recognized gains and losses for the periods indicated (in millions):
| TOTAL GAINS (LOSSES) FOR THE THREE MONTHS ENDED
| October 29, 2016 |  | October 24, 2015
Investments in privately held companies (impaired) | $ | (47 | ) |  | $ | (17 | )
Purchased intangible assets (impaired) | (42 | ) |  | — |
Total gains (losses) for nonrecurring measurements | $ | (89 | ) |  | $ | (17 | )

X
- Definition Tabular disclosure of assets and liabilities by class, including financial instruments measured at fair value that are classified in shareholders' equity, if any, that are measured at fair value on a nonrecurring basis in periods after initial recognition (for example, impaired assets). Disclosures may include, but are not limited to: (a) the fair value measurements recorded and the reasons for the measurements and (b) the level within the fair value hierarchy in which the fair value measurements are categorized in their entirety (levels 1, 2, 3). + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (bbb) -URI http://asc.fasb.org/extlink&oid=66048111&loc=d3e19207-110258 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=66048111&loc=d3e19190-110258 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=66048111&loc=d3e19207-110258 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=66048111&loc=d3e19207-110258 + Details
Name: | us-gaap_FairValueAssetsMeasuredOnNonrecurringBasisTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_FairValueDisclosuresAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of assets and liabilities, including [financial] instruments measured at fair value that are classified in stockholders' equity, if any, that are measured at fair value on a recurring basis. The disclosures contemplated herein include the fair value measurements at the reporting date by the level within the fair value hierarchy in which the fair value measurements in their entirety fall, segregating fair value measurements using quoted prices in active markets for identical assets (Level 1), significant other observable inputs (Level 2), and significant unobservable inputs (Level 3). + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=66048111&loc=d3e19190-110258 + Details
Name: | us-gaap_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration