OLD | NEW |
1 var typed_data; | 1 var typed_data; |
2 (function(exports) { | 2 (function(exports) { |
3 'use strict'; | 3 'use strict'; |
4 class ByteBuffer extends core.Object {} | 4 class ByteBuffer extends core.Object {} |
5 class TypedData extends core.Object {} | 5 class TypedData extends core.Object {} |
6 let _ = Symbol('_'); | 6 let _ = Symbol('_'); |
7 let _littleEndian = Symbol('_littleEndian'); | 7 let _littleEndian = Symbol('_littleEndian'); |
8 class Endianness extends core.Object { | 8 class Endianness extends core.Object { |
9 [_](littleEndian) { | 9 [_](littleEndian) { |
10 this[_littleEndian] = littleEndian; | 10 dart.initField(Endianness, this, _littleEndian, littleEndian); |
11 } | 11 } |
12 } | 12 } |
13 dart.defineNamedConstructor(Endianness, _); | 13 dart.defineNamedConstructor(Endianness, _); |
14 Endianness.BIG_ENDIAN = new Endianness[_](false); | 14 Endianness.BIG_ENDIAN = new Endianness[_](false); |
15 Endianness.LITTLE_ENDIAN = new Endianness[_](true); | 15 Endianness.LITTLE_ENDIAN = new Endianness[_](true); |
16 dart.defineLazyProperties(Endianness, { | 16 dart.defineLazyProperties(Endianness, { |
17 get HOST_ENDIAN() { | 17 get HOST_ENDIAN() { |
18 return new ByteData.view(new Uint16List.fromList(dart.as(new core.List.fro
m([1]), core.List$(core.int))).buffer).getInt8(0) == 1 ? Endianness.LITTLE_ENDIA
N : Endianness.BIG_ENDIAN; | 18 return new ByteData.view(new Uint16List.fromList(dart.as(new core.List.fro
m([1]), core.List$(core.int))).buffer).getInt8(0) == 1 ? Endianness.LITTLE_ENDIA
N : Endianness.BIG_ENDIAN; |
19 } | 19 } |
20 }); | 20 }); |
(...skipping 856 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
877 exports.Uint64List = Uint64List; | 877 exports.Uint64List = Uint64List; |
878 exports.Float32List = Float32List; | 878 exports.Float32List = Float32List; |
879 exports.Float64List = Float64List; | 879 exports.Float64List = Float64List; |
880 exports.Float32x4List = Float32x4List; | 880 exports.Float32x4List = Float32x4List; |
881 exports.Int32x4List = Int32x4List; | 881 exports.Int32x4List = Int32x4List; |
882 exports.Float64x2List = Float64x2List; | 882 exports.Float64x2List = Float64x2List; |
883 exports.Float32x4 = Float32x4; | 883 exports.Float32x4 = Float32x4; |
884 exports.Int32x4 = Int32x4; | 884 exports.Int32x4 = Int32x4; |
885 exports.Float64x2 = Float64x2; | 885 exports.Float64x2 = Float64x2; |
886 })(typed_data || (typed_data = {})); | 886 })(typed_data || (typed_data = {})); |
OLD | NEW |