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

Issue 12313088: First step towards implementing dart:typeddata library. (Closed)

Created:
7 years, 10 months ago by siva
Modified:
7 years, 9 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

First step towards implementing dart:typeddata library. Committed: https://code.google.com/p/dart/source/detail?r=19427

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Total comments: 50

Patch Set 7 : #

Total comments: 30

Patch Set 8 : #

Patch Set 9 : #

Patch Set 10 : #

Total comments: 5

Patch Set 11 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+4121 lines, -5 lines) Patch
A runtime/lib/typeddata.dart View 1 2 3 4 5 6 7 8 9 10 1 chunk +3027 lines, -0 lines 1 comment Download
A runtime/lib/typeddata_sources.gypi View 1 chunk +12 lines, -0 lines 0 comments Download
M runtime/vm/bootstrap.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -0 lines 0 comments Download
M runtime/vm/bootstrap.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +7 lines, -0 lines 0 comments Download
M runtime/vm/bootstrap_nocorelib.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +6 lines, -0 lines 0 comments Download
M runtime/vm/object.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/object.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +6 lines, -0 lines 0 comments Download
M runtime/vm/object_store.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +8 lines, -0 lines 0 comments Download
M runtime/vm/object_store.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/symbols.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/vm.gypi View 1 2 3 4 5 6 7 8 9 10 6 chunks +103 lines, -0 lines 0 comments Download
A sdk/lib/typeddata/typeddata.dart View 1 2 3 4 5 6 7 1 chunk +9 lines, -0 lines 0 comments Download
A sdk/lib/typeddata/typeddata_base.dart View 1 2 3 4 5 6 7 8 1 chunk +681 lines, -0 lines 0 comments Download
A sdk/lib/typeddata/typeddata_sources.gypi View 1 2 3 4 5 6 1 chunk +11 lines, -0 lines 0 comments Download
M tests/standalone/float_array_test.dart View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M tests/standalone/int_array_deopt.dart View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M tests/standalone/int_array_load_elimination_test.dart View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M tests/standalone/int_array_test.dart View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M tests/standalone/standalone.status View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M tests/standalone/typed_array_test.dart View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
A tests/standalone/typed_data_test.dart View 1 2 3 4 5 6 7 8 1 chunk +239 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
siva
7 years, 10 months ago (2013-02-25 07:52:04 UTC) #1
Lasse Reichstein Nielsen
drive-by comments on the library part. Is this a remake of dart:scalarlist? https://chromiumcodereview.appspot.com/12313088/diff/7019/sdk/lib/typeddata/typeddata_base.dart File sdk/lib/typeddata/typeddata_base.dart ...
7 years, 10 months ago (2013-02-25 12:02:50 UTC) #2
Anton Muhin
DBQ https://chromiumcodereview.appspot.com/12313088/diff/7019/sdk/lib/typeddata/typeddata_base.dart File sdk/lib/typeddata/typeddata_base.dart (right): https://chromiumcodereview.appspot.com/12313088/diff/7019/sdk/lib/typeddata/typeddata_base.dart#newcode569 sdk/lib/typeddata/typeddata_base.dart:569: external factory Uint32List.view(ByteBuffer buffer, there are no .transferable ...
7 years, 10 months ago (2013-02-25 20:11:20 UTC) #3
sra1
DBC https://chromiumcodereview.appspot.com/12313088/diff/7019/sdk/lib/typeddata/typeddata_base.dart File sdk/lib/typeddata/typeddata_base.dart (right): https://chromiumcodereview.appspot.com/12313088/diff/7019/sdk/lib/typeddata/typeddata_base.dart#newcode9 sdk/lib/typeddata/typeddata_base.dart:9: * numerical data more efficiently using a typed ...
7 years, 10 months ago (2013-02-26 07:25:30 UTC) #4
Ivan Posva
First set of comments. -Ivan https://codereview.chromium.org/12313088/diff/7019/runtime/lib/typeddata.dart File runtime/lib/typeddata.dart (right): https://codereview.chromium.org/12313088/diff/7019/runtime/lib/typeddata.dart#newcode255 runtime/lib/typeddata.dart:255: abstract class _TypedDataBase { ...
7 years, 10 months ago (2013-02-26 23:26:20 UTC) #5
siva
synched up to TOT and resolved code to the new library initialization mechanism in the ...
7 years, 9 months ago (2013-02-27 19:51:51 UTC) #6
sra1
DBC #2 https://chromiumcodereview.appspot.com/12313088/diff/19001/sdk/lib/typeddata/typeddata_base.dart File sdk/lib/typeddata/typeddata_base.dart (right): https://chromiumcodereview.appspot.com/12313088/diff/19001/sdk/lib/typeddata/typeddata_base.dart#newcode26 sdk/lib/typeddata/typeddata_base.dart:26: * Returns the number of bytes in ...
7 years, 9 months ago (2013-02-28 02:41:58 UTC) #7
Ivan Posva
Next round of comments. -Ivan https://codereview.chromium.org/12313088/diff/19001/runtime/lib/typeddata.dart File runtime/lib/typeddata.dart (right): https://codereview.chromium.org/12313088/diff/19001/runtime/lib/typeddata.dart#newcode2075 runtime/lib/typeddata.dart:2075: class _ByteDataIterator<E> implements Iterator<E> ...
7 years, 9 months ago (2013-02-28 05:00:01 UTC) #8
Lasse Reichstein Nielsen
https://chromiumcodereview.appspot.com/12313088/diff/7019/sdk/lib/typeddata/typeddata_base.dart File sdk/lib/typeddata/typeddata_base.dart (right): https://chromiumcodereview.appspot.com/12313088/diff/7019/sdk/lib/typeddata/typeddata_base.dart#newcode23 sdk/lib/typeddata/typeddata_base.dart:23: abstract class TypedData { Do you have a link ...
7 years, 9 months ago (2013-02-28 09:05:13 UTC) #9
siva
https://chromiumcodereview.appspot.com/12313088/diff/19001/runtime/lib/typeddata.dart File runtime/lib/typeddata.dart (right): https://chromiumcodereview.appspot.com/12313088/diff/19001/runtime/lib/typeddata.dart#newcode2075 runtime/lib/typeddata.dart:2075: class _ByteDataIterator<E> implements Iterator<E> { Makes sense, renamed to ...
7 years, 9 months ago (2013-03-01 01:15:56 UTC) #10
siva
7 years, 9 months ago (2013-03-01 19:01:32 UTC) #11
Ivan Posva
LGTM with small comments. -Ivan https://codereview.chromium.org/12313088/diff/20002/runtime/lib/typeddata.dart File runtime/lib/typeddata.dart (right): https://codereview.chromium.org/12313088/diff/20002/runtime/lib/typeddata.dart#newcode275 runtime/lib/typeddata.dart:275: dynamic reduce(dynamic initialValue, dynamic ...
7 years, 9 months ago (2013-03-04 18:47:52 UTC) #12
siva
https://chromiumcodereview.appspot.com/12313088/diff/20002/runtime/lib/typeddata.dart File runtime/lib/typeddata.dart (right): https://chromiumcodereview.appspot.com/12313088/diff/20002/runtime/lib/typeddata.dart#newcode275 runtime/lib/typeddata.dart:275: dynamic reduce(dynamic initialValue, This is following the style used ...
7 years, 9 months ago (2013-03-04 21:27:11 UTC) #13
siva
Committed patchset #11 manually as r19427 (presubmit successful).
7 years, 9 months ago (2013-03-04 22:11:59 UTC) #14
Lasse Reichstein Nielsen
https://chromiumcodereview.appspot.com/12313088/diff/20002/runtime/lib/typeddata.dart File runtime/lib/typeddata.dart (right): https://chromiumcodereview.appspot.com/12313088/diff/20002/runtime/lib/typeddata.dart#newcode275 runtime/lib/typeddata.dart:275: dynamic reduce(dynamic initialValue, For parameters, I'd prefer "var" to ...
7 years, 9 months ago (2013-03-05 12:02:02 UTC) #15
floitsch
On 2013/03/05 12:02:02, Lasse Reichstein Nielsen wrote: > https://chromiumcodereview.appspot.com/12313088/diff/20002/runtime/lib/typeddata.dart > File runtime/lib/typeddata.dart (right): > > ...
7 years, 9 months ago (2013-03-05 14:18:46 UTC) #16
Florian Schneider
7 years, 9 months ago (2013-03-12 14:42:27 UTC) #17
Message was sent while issue was closed.
https://codereview.chromium.org/12313088/diff/35002/runtime/lib/typeddata.dart
File runtime/lib/typeddata.dart (right):

https://codereview.chromium.org/12313088/diff/35002/runtime/lib/typeddata.dar...
runtime/lib/typeddata.dart:2918: _typedata._setUint32(_offset + byteOffset,
value);

s/_typedata/_typeddata/g

here and below.  This seems to be not covered by tests?

Powered by Google App Engine
This is Rietveld 408576698