Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(250)

Side by Side Diff: pkg/front_end/lib/src/base/flat_buffers.dart

Issue 2875373002: Move flat_buffer and api_signature into front_end. (Closed)
Patch Set: Update summary format generator. Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « pkg/front_end/lib/src/base/api_signature.dart ('k') | pkg/front_end/test/src/base/api_signature_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698