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

Side by Side Diff: lib/http_multi_server.dart

Issue 1577413003: Get rid of all the library tags. (Closed) Base URL: git@github.com:dart-lang/http_multi_server@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « no previous file | lib/src/multi_headers.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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 http_multi_server;
6
7 import 'dart:async'; 5 import 'dart:async';
8 import 'dart:io'; 6 import 'dart:io';
9 7
10 import 'src/multi_headers.dart'; 8 import 'src/multi_headers.dart';
11 import 'src/utils.dart'; 9 import 'src/utils.dart';
12 10
13 /// The error code for an error caused by a port already being in use. 11 /// The error code for an error caused by a port already being in use.
14 final _addressInUseErrno = _computeAddressInUseErrno(); 12 final _addressInUseErrno = _computeAddressInUseErrno();
15 int _computeAddressInUseErrno() { 13 int _computeAddressInUseErrno() {
16 if (Platform.isWindows) return 10048; 14 if (Platform.isWindows) return 10048;
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 for (var server in _servers) { 163 for (var server in _servers) {
166 var subInfo = server.connectionsInfo(); 164 var subInfo = server.connectionsInfo();
167 info.total += subInfo.total; 165 info.total += subInfo.total;
168 info.active += subInfo.active; 166 info.active += subInfo.active;
169 info.idle += subInfo.idle; 167 info.idle += subInfo.idle;
170 info.closing += subInfo.closing; 168 info.closing += subInfo.closing;
171 } 169 }
172 return info; 170 return info;
173 } 171 }
174 } 172 }
OLDNEW
« no previous file with comments | « no previous file | lib/src/multi_headers.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698