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

Side by Side Diff: tests/unsorted/external_memory_triggers_gc_test.dart

Issue 1649703002: Update project authors statements to Dartino (Closed) Base URL: https://github.com/dartino/sdk.git@master
Patch Set: 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
OLDNEW
1 // Copyright (c) 2015, the Fletch 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 import 'package:expect/expect.dart'; 5 import 'package:expect/expect.dart';
6 import 'package:file/file.dart'; 6 import 'package:file/file.dart';
7 7
8 // This test: 8 // This test:
9 // * makes heap budget 1MB 9 // * makes heap budget 1MB
10 // * allocates 4 GB of external memory in chunks of 1MB 10 // * allocates 4 GB of external memory in chunks of 1MB
11 // Without tracking external memory, this test will consume 4 GB of memory and 11 // Without tracking external memory, this test will consume 4 GB of memory and
(...skipping 11 matching lines...) Expand all
23 23
24 int size = 0; 24 int size = 0;
25 while (size < kTotalSize) { 25 while (size < kTotalSize) {
26 var bytes = file.read(kChunkSize).asUint8List(); 26 var bytes = file.read(kChunkSize).asUint8List();
27 Expect.equals(bytes.length, kChunkSize); 27 Expect.equals(bytes.length, kChunkSize);
28 size += bytes.length; 28 size += bytes.length;
29 } 29 }
30 30
31 file.close(); 31 file.close();
32 } 32 }
OLDNEW
« no previous file with comments | « tests/unsorted/end_with_return_test.dart ('k') | tests/unsorted/factory_named_parameter_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698