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

Side by Side Diff: platforms/stm/disco_fletch/src/cmpctmalloc.c

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) 2016, the Fletch project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, 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 // This code is ported from the LK repository. To keep the code in 5 // This code is ported from the LK repository. To keep the code in
6 // sync the define FLETCH_TARGET_OS_LK provides the code from the LK 6 // sync the define FLETCH_TARGET_OS_LK provides the code from the LK
7 // repository. Without the define FLETCH_TARGET_OS_LK this code will 7 // repository. Without the define FLETCH_TARGET_OS_LK this code will
8 // build and link for the disco_fletch project. 8 // build and link for the disco_fletch project.
9 #ifdef FLETCH_TARGET_OS_LK 9 #ifdef FLETCH_TARGET_OS_LK
10 10
11 #include <debug.h> 11 #include <debug.h>
(...skipping 881 matching lines...) Expand 10 before | Expand all | Expand 10 after
893 for (int i = 0; i < BUCKET_WORDS; i++) { 893 for (int i = 0; i < BUCKET_WORDS; i++) {
894 theheap.free_list_bits[i] = 0; 894 theheap.free_list_bits[i] = 0;
895 } 895 }
896 896
897 size_t initial_alloc = HEAP_GROW_SIZE - 2 * sizeof(header_t); 897 size_t initial_alloc = HEAP_GROW_SIZE - 2 * sizeof(header_t);
898 898
899 theheap.remaining = 0; 899 theheap.remaining = 0;
900 900
901 heap_grow(initial_alloc, NULL); 901 heap_grow(initial_alloc, NULL);
902 } 902 }
OLDNEW
« no previous file with comments | « platforms/stm/disco_fletch/src/cmpctmalloc.h ('k') | platforms/stm/disco_fletch/src/cmpctmalloc_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698