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

Side by Side Diff: sdk/lib/io/crypto.dart

Issue 2880543002: Revert "Change some platform libraries to use `part of URI`." (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
« no previous file with comments | « sdk/lib/io/common.dart ('k') | sdk/lib/io/data_transformer.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:io"; 5 part of dart.io;
6 6
7 class _CryptoUtils { 7 class _CryptoUtils {
8 static const int PAD = 61; // '=' 8 static const int PAD = 61; // '='
9 static const int CR = 13; // '\r' 9 static const int CR = 13; // '\r'
10 static const int LF = 10; // '\n' 10 static const int LF = 10; // '\n'
11 static const int LINE_LENGTH = 76; 11 static const int LINE_LENGTH = 76;
12 12
13 static const String _encodeTable = 13 static const String _encodeTable =
14 "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; 14 "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
15 15
(...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after
439 439
440 _h[0] = _add32(a, _h[0]); 440 _h[0] = _add32(a, _h[0]);
441 _h[1] = _add32(b, _h[1]); 441 _h[1] = _add32(b, _h[1]);
442 _h[2] = _add32(c, _h[2]); 442 _h[2] = _add32(c, _h[2]);
443 _h[3] = _add32(d, _h[3]); 443 _h[3] = _add32(d, _h[3]);
444 _h[4] = _add32(e, _h[4]); 444 _h[4] = _add32(e, _h[4]);
445 } 445 }
446 446
447 List<int> _w; 447 List<int> _w;
448 } 448 }
OLDNEW
« no previous file with comments | « sdk/lib/io/common.dart ('k') | sdk/lib/io/data_transformer.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698