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

Side by Side Diff: runtime/lib/typed_data.dart

Issue 2453773002: Reland "Merge more Kernel infrastructure from kernel_sdk SDK fork." (Closed)
Patch Set: Created 4 years, 1 month 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 | « runtime/lib/timeline.dart ('k') | runtime/lib/uri_patch.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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 // Unlike the other SDK libraries, this file is not a patch that is applied to
6 // dart:typed_data. Instead, it completely replaces the implementation from the
7 // SDK.
5 library dart.typed_data; 8 library dart.typed_data;
6 9
7 import "dart:_internal"; 10 import "dart:_internal";
8 import "dart:collection" show ListBase; 11 import "dart:collection" show ListBase;
9 import 'dart:math' show Random; 12 import 'dart:math' show Random;
10 13
11 /** 14 /**
12 * A typed view of a sequence of bytes. 15 * A typed view of a sequence of bytes.
13 */ 16 */
14 abstract class TypedData { 17 abstract class TypedData {
(...skipping 4231 matching lines...) Expand 10 before | Expand all | Expand 10 after
4246 } 4249 }
4247 } 4250 }
4248 4251
4249 4252
4250 int _defaultIfNull(object, value) { 4253 int _defaultIfNull(object, value) {
4251 if (object == null) { 4254 if (object == null) {
4252 return value; 4255 return value;
4253 } 4256 }
4254 return object; 4257 return object;
4255 } 4258 }
OLDNEW
« no previous file with comments | « runtime/lib/timeline.dart ('k') | runtime/lib/uri_patch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698