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

Side by Side Diff: lib/system/list.dart

Issue 1659163007: Rename fletch -> dartino (Closed) Base URL: https://github.com/dartino/sdk.git@master
Patch Set: address comments Created 4 years, 10 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
« no previous file with comments | « lib/service/service.dart ('k') | lib/system/map.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) 2015, the Dartino project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Dartino 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.md file. 3 // BSD-style license that can be found in the LICENSE.md file.
4 4
5 part of dart.fletch._system; 5 part of dart.dartino._system;
6 6
7 // TODO(ajohnsen): Temp hack to expose _GrowableList/_FixedList to core. 7 // TODO(ajohnsen): Temp hack to expose _GrowableList/_FixedList to core.
8 List newList(int length) { 8 List newList(int length) {
9 return (length == null) ? new _GrowableList() : new _FixedList(length); 9 return (length == null) ? new _GrowableList() : new _FixedList(length);
10 } 10 }
11 11
12 abstract class _FixedListBase<E> 12 abstract class _FixedListBase<E>
13 extends Object with ListMixin<E> 13 extends Object with ListMixin<E>
14 implements List<E> { 14 implements List<E> {
15 final _list; 15 final _list;
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 --length; 201 --length;
202 while (i < length) { 202 while (i < length) {
203 int j = i + 1; 203 int j = i + 1;
204 list[i] = list[j]; 204 list[i] = list[j];
205 i = j; 205 i = j;
206 } 206 }
207 _length = length; 207 _length = length;
208 list[length] = null; 208 list[length] = null;
209 } 209 }
210 } 210 }
OLDNEW
« no previous file with comments | « lib/service/service.dart ('k') | lib/system/map.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698