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

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

Issue 133273011: Revert "Rename internal library dart:_collection-dev to dart:_internal." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: reapply after revert. Created 6 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 | Annotate | Revision Log
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 library dart.typed_data; 5 library dart.typed_data;
6 6
7 import 'dart:collection'; 7 import 'dart:collection';
8 import 'dart:_collection-dev';
9 import 'dart:math' show Random;
10 8
11 /** 9 /**
12 * A sequence of bytes underlying a typed data object. 10 * A sequence of bytes underlying a typed data object.
13 * Used to process large quantities of binary or numerical data 11 * Used to process large quantities of binary or numerical data
14 * more efficiently using a typed view. 12 * more efficiently using a typed view.
15 */ 13 */
16 abstract class ByteBuffer { 14 abstract class ByteBuffer {
17 /** 15 /**
18 * Returns the length of this byte buffer, in bytes. 16 * Returns the length of this byte buffer, in bytes.
19 */ 17 */
20 int get lengthInBytes; 18 int get lengthInBytes;
21
22 } 19 }
23 20
24 21
25 /** 22 /**
26 * A typed view of a sequence of bytes. 23 * A typed view of a sequence of bytes.
27 */ 24 */
28 abstract class TypedData { 25 abstract class TypedData {
29 /** 26 /**
30 * Returns the number of bytes in the representation of each element in this 27 * Returns the number of bytes in the representation of each element in this
31 * list. 28 * list.
(...skipping 1507 matching lines...) Expand 10 before | Expand all | Expand 10 after
1539 /// Returns a new [Int32x4] copied from [this] with a new z value. 1536 /// Returns a new [Int32x4] copied from [this] with a new z value.
1540 Int32x4 withFlagZ(bool z); 1537 Int32x4 withFlagZ(bool z);
1541 /// Returns a new [Int32x4] copied from [this] with a new w value. 1538 /// Returns a new [Int32x4] copied from [this] with a new w value.
1542 Int32x4 withFlagW(bool w); 1539 Int32x4 withFlagW(bool w);
1543 1540
1544 /// Merge [trueValue] and [falseValue] based on [this]' bit mask: 1541 /// Merge [trueValue] and [falseValue] based on [this]' bit mask:
1545 /// Select bit from [trueValue] when bit in [this] is on. 1542 /// Select bit from [trueValue] when bit in [this] is on.
1546 /// Select bit from [falseValue] when bit in [this] is off. 1543 /// Select bit from [falseValue] when bit in [this] is off.
1547 Float32x4 select(Float32x4 trueValue, Float32x4 falseValue); 1544 Float32x4 select(Float32x4 trueValue, Float32x4 falseValue);
1548 } 1545 }
OLDNEW
« no previous file with comments | « sdk/lib/typed_data/dart2js/typed_data_dart2js.dart ('k') | sdk/lib/web_audio/dart2js/web_audio_dart2js.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698