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

Side by Side Diff: sdk/lib/core/uri.dart

Issue 2911903002: Use relative URIs for core library part-of statements. (Closed)
Patch Set: Fix warnings in web-sockets tests, typo in fasta. Created 3 years, 5 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 | « sdk/lib/core/type.dart ('k') | sdk/lib/developer/extension.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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 part of dart.core; 5 part of "core.dart";
6 6
7 // Frequently used character codes. 7 // Frequently used character codes.
8 const int _SPACE = 0x20; 8 const int _SPACE = 0x20;
9 const int _PERCENT = 0x25; 9 const int _PERCENT = 0x25;
10 const int _AMPERSAND = 0x26; 10 const int _AMPERSAND = 0x26;
11 const int _PLUS = 0x2B; 11 const int _PLUS = 0x2B;
12 const int _DOT = 0x2E; 12 const int _DOT = 0x2E;
13 const int _SLASH = 0x2F; 13 const int _SLASH = 0x2F;
14 const int _COLON = 0x3A; 14 const int _COLON = 0x3A;
15 const int _EQUALS = 0x3d; 15 const int _EQUALS = 0x3d;
(...skipping 4614 matching lines...) Expand 10 before | Expand all | Expand 10 after
4630 int delta = (text.codeUnitAt(start + 4) ^ _COLON) * 3; 4630 int delta = (text.codeUnitAt(start + 4) ^ _COLON) * 3;
4631 delta |= text.codeUnitAt(start) ^ 0x64 /*d*/; 4631 delta |= text.codeUnitAt(start) ^ 0x64 /*d*/;
4632 delta |= text.codeUnitAt(start + 1) ^ 0x61 /*a*/; 4632 delta |= text.codeUnitAt(start + 1) ^ 0x61 /*a*/;
4633 delta |= text.codeUnitAt(start + 2) ^ 0x74 /*t*/; 4633 delta |= text.codeUnitAt(start + 2) ^ 0x74 /*t*/;
4634 delta |= text.codeUnitAt(start + 3) ^ 0x61 /*a*/; 4634 delta |= text.codeUnitAt(start + 3) ^ 0x61 /*a*/;
4635 return delta; 4635 return delta;
4636 } 4636 }
4637 4637
4638 /// Helper function returning the length of a string, or `0` for `null`. 4638 /// Helper function returning the length of a string, or `0` for `null`.
4639 int _stringOrNullLength(String s) => (s == null) ? 0 : s.length; 4639 int _stringOrNullLength(String s) => (s == null) ? 0 : s.length;
OLDNEW
« no previous file with comments | « sdk/lib/core/type.dart ('k') | sdk/lib/developer/extension.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698