| OLD | NEW |
| 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.typeddata; | 5 library dart.typeddata; |
| 6 | 6 |
| 7 import 'dart:collection'; | 7 import 'dart:collection'; |
| 8 import 'dart:_collection-dev'; |
| 8 | 9 |
| 9 /** | 10 /** |
| 10 * A sequence of bytes underlying a typed data object. | 11 * A sequence of bytes underlying a typed data object. |
| 11 * Used to process large quantities of binary or numerical data | 12 * Used to process large quantities of binary or numerical data |
| 12 * more efficiently using a typed view. | 13 * more efficiently using a typed view. |
| 13 */ | 14 */ |
| 14 abstract class ByteBuffer { | 15 abstract class ByteBuffer { |
| 15 /** | 16 /** |
| 16 * Returns the length of this byte buffer, in bytes. | 17 * Returns the length of this byte buffer, in bytes. |
| 17 */ | 18 */ |
| (...skipping 907 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 925 Uint32x4 withFlagW(bool w); | 926 Uint32x4 withFlagW(bool w); |
| 926 | 927 |
| 927 /// Merge [trueValue] and [falseValue] based on [this]' bit mask: | 928 /// Merge [trueValue] and [falseValue] based on [this]' bit mask: |
| 928 /// Select bit from [trueValue] when bit in [this] is on. | 929 /// Select bit from [trueValue] when bit in [this] is on. |
| 929 /// Select bit from [falseValue] when bit in [this] is off. | 930 /// Select bit from [falseValue] when bit in [this] is off. |
| 930 Float32x4 select(Float32x4 trueValue, Float32x4 falseValue); | 931 Float32x4 select(Float32x4 trueValue, Float32x4 falseValue); |
| 931 | 932 |
| 932 /// Returns a bit-wise copy of [this] as a [Float32x4]. | 933 /// Returns a bit-wise copy of [this] as a [Float32x4]. |
| 933 Float32x4 toFloat32x4(); | 934 Float32x4 toFloat32x4(); |
| 934 } | 935 } |
| OLD | NEW |