| OLD | NEW |
| 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 library analyzer.src.summary.flat_buffers; | |
| 6 | |
| 7 import 'dart:collection'; | 5 import 'dart:collection'; |
| 8 import 'dart:convert'; | 6 import 'dart:convert'; |
| 9 import 'dart:math'; | 7 import 'dart:math'; |
| 10 import 'dart:typed_data'; | 8 import 'dart:typed_data'; |
| 11 | 9 |
| 12 /** | 10 /** |
| 13 * Reader of lists of boolean values. | 11 * Reader of lists of boolean values. |
| 14 * | 12 * |
| 15 * The returned unmodifiable lists lazily read values on access. | 13 * The returned unmodifiable lists lazily read values on access. |
| 16 */ | 14 */ |
| (...skipping 931 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 948 // Table size. | 946 // Table size. |
| 949 buf.setUint16(bufOffset, tableSize, Endianness.LITTLE_ENDIAN); | 947 buf.setUint16(bufOffset, tableSize, Endianness.LITTLE_ENDIAN); |
| 950 bufOffset += 2; | 948 bufOffset += 2; |
| 951 // Field offsets. | 949 // Field offsets. |
| 952 for (int fieldOffset in fieldOffsets) { | 950 for (int fieldOffset in fieldOffsets) { |
| 953 buf.setUint16(bufOffset, fieldOffset, Endianness.LITTLE_ENDIAN); | 951 buf.setUint16(bufOffset, fieldOffset, Endianness.LITTLE_ENDIAN); |
| 954 bufOffset += 2; | 952 bufOffset += 2; |
| 955 } | 953 } |
| 956 } | 954 } |
| 957 } | 955 } |
| OLD | NEW |