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

Side by Side Diff: pkg/analysis_server/benchmark/integration/log_file_input_converter.dart

Issue 2884233004: Remove some more library directives (Closed)
Patch Set: 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) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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 input.transformer.log_file;
6
7 import 'dart:convert'; 5 import 'dart:convert';
8 6
9 import 'package:analyzer/exception/exception.dart'; 7 import 'package:analyzer/exception/exception.dart';
10 import 'package:logging/logging.dart'; 8 import 'package:logging/logging.dart';
11 9
12 import 'input_converter.dart'; 10 import 'input_converter.dart';
13 import 'operation.dart'; 11 import 'operation.dart';
14 12
15 const CONNECTED_MSG_FRAGMENT = ' <= {"event":"server.connected"'; 13 const CONNECTED_MSG_FRAGMENT = ' <= {"event":"server.connected"';
16 const RECEIVED_FRAGMENT = ' <= {'; 14 const RECEIVED_FRAGMENT = ' <= {';
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 while (index < line.length) { 73 while (index < line.length) {
76 int code = line.codeUnitAt(index); 74 int code = line.codeUnitAt(index);
77 if (code < ZERO || NINE < code) { 75 if (code < ZERO || NINE < code) {
78 return line.substring(0, index); 76 return line.substring(0, index);
79 } 77 }
80 ++index; 78 ++index;
81 } 79 }
82 return line; 80 return line;
83 } 81 }
84 } 82 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698