- Timestamp:
- Aug 14, 2018, 4:10:58 PM (7 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer, pthread-emulation, qualifiedEnum
- Children:
- 636e1b9
- Parents:
- c3a8ecd (diff), 5a5d31a (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - Location:
- examples
- Files:
-
- 88 moved
-
ArrayN.c (moved) (moved from src/examples/ArrayN.c ) (1 diff)
-
Attributes.c (moved) (moved from src/examples/Attributes.c )
-
Initialization.c (moved) (moved from src/examples/Initialization.c )
-
Initialization2.c (moved) (moved from src/examples/Initialization2.c )
-
Makefile.example (moved) (moved from src/examples/Makefile.example )
-
Members.c (moved) (moved from src/examples/Members.c )
-
Misc.c (moved) (moved from src/examples/Misc.c )
-
MiscError.c (moved) (moved from src/examples/MiscError.c )
-
Rank2.c (moved) (moved from src/examples/Rank2.c )
-
Tuple.c (moved) (moved from src/examples/Tuple.c )
-
abstype.c (moved) (moved from src/examples/abstype.c )
-
constructors.c (moved) (moved from src/examples/constructors.c )
-
forward.c (moved) (moved from src/examples/forward.c )
-
gc_no_raii/.gitignore (moved) (moved from src/examples/gc_no_raii/.gitignore )
-
gc_no_raii/bug-repro/assert.c (moved) (moved from src/examples/gc_no_raii/bug-repro/assert.c )
-
gc_no_raii/bug-repro/blockers.tar.gz (moved) (moved from src/examples/gc_no_raii/bug-repro/blockers.tar.gz )
-
gc_no_raii/bug-repro/blockers/explicit_cast.c (moved) (moved from src/examples/gc_no_raii/bug-repro/blockers/explicit_cast.c )
-
gc_no_raii/bug-repro/blockers/file_scope.c (moved) (moved from src/examples/gc_no_raii/bug-repro/blockers/file_scope.c ) (1 diff)
-
gc_no_raii/bug-repro/blockers/recursive_realloc.c (moved) (moved from src/examples/gc_no_raii/bug-repro/blockers/recursive_realloc.c ) (1 diff)
-
gc_no_raii/bug-repro/crash.c (moved) (moved from src/examples/gc_no_raii/bug-repro/crash.c )
-
gc_no_raii/bug-repro/deref.c (moved) (moved from src/examples/gc_no_raii/bug-repro/deref.c )
-
gc_no_raii/bug-repro/field.c (moved) (moved from src/examples/gc_no_raii/bug-repro/field.c ) (1 diff)
-
gc_no_raii/bug-repro/find.c (moved) (moved from src/examples/gc_no_raii/bug-repro/find.c )
-
gc_no_raii/bug-repro/inline.c (moved) (moved from src/examples/gc_no_raii/bug-repro/inline.c )
-
gc_no_raii/bug-repro/malloc.c (moved) (moved from src/examples/gc_no_raii/bug-repro/malloc.c )
-
gc_no_raii/bug-repro/not_equal.c (moved) (moved from src/examples/gc_no_raii/bug-repro/not_equal.c )
-
gc_no_raii/bug-repro/oddtype.c (moved) (moved from src/examples/gc_no_raii/bug-repro/oddtype.c )
-
gc_no_raii/bug-repro/push_back.c (moved) (moved from src/examples/gc_no_raii/bug-repro/push_back.c )
-
gc_no_raii/bug-repro/push_back.h (moved) (moved from src/examples/gc_no_raii/bug-repro/push_back.h )
-
gc_no_raii/bug-repro/realloc.c (moved) (moved from src/examples/gc_no_raii/bug-repro/realloc.c )
-
gc_no_raii/bug-repro/return.c (moved) (moved from src/examples/gc_no_raii/bug-repro/return.c )
-
gc_no_raii/bug-repro/return_template.c (moved) (moved from src/examples/gc_no_raii/bug-repro/return_template.c )
-
gc_no_raii/bug-repro/slow_malloc.c (moved) (moved from src/examples/gc_no_raii/bug-repro/slow_malloc.c ) (1 diff)
-
gc_no_raii/bug-repro/static_const_local.c (moved) (moved from src/examples/gc_no_raii/bug-repro/static_const_local.c )
-
gc_no_raii/bug-repro/test-assert.cpp (moved) (moved from src/examples/gc_no_raii/bug-repro/test-assert.cpp )
-
gc_no_raii/bug-repro/void_pointer.c (moved) (moved from src/examples/gc_no_raii/bug-repro/void_pointer.c )
-
gc_no_raii/bug-repro/while.c (moved) (moved from src/examples/gc_no_raii/bug-repro/while.c )
-
gc_no_raii/bug-repro/zero.c (moved) (moved from src/examples/gc_no_raii/bug-repro/zero.c )
-
gc_no_raii/pool-alloc/allocate-malign.c (moved) (moved from src/examples/gc_no_raii/pool-alloc/allocate-malign.c )
-
gc_no_raii/pool-alloc/allocate-malloc.c (moved) (moved from src/examples/gc_no_raii/pool-alloc/allocate-malloc.c )
-
gc_no_raii/pool-alloc/allocate-mmap.c (moved) (moved from src/examples/gc_no_raii/pool-alloc/allocate-mmap.c )
-
gc_no_raii/pool-alloc/allocate-win-valloc.c (moved) (moved from src/examples/gc_no_raii/pool-alloc/allocate-win-valloc.c )
-
gc_no_raii/premake4.lua (moved) (moved from src/examples/gc_no_raii/premake4.lua )
-
gc_no_raii/src/allocate-pool.c (moved) (moved from src/examples/gc_no_raii/src/allocate-pool.c )
-
gc_no_raii/src/allocate-pool.h (moved) (moved from src/examples/gc_no_raii/src/allocate-pool.h )
-
gc_no_raii/src/gc.h (moved) (moved from src/examples/gc_no_raii/src/gc.h )
-
gc_no_raii/src/gcpointers.c (moved) (moved from src/examples/gc_no_raii/src/gcpointers.c )
-
gc_no_raii/src/gcpointers.h (moved) (moved from src/examples/gc_no_raii/src/gcpointers.h )
-
gc_no_raii/src/internal/card_table.h (moved) (moved from src/examples/gc_no_raii/src/internal/card_table.h )
-
gc_no_raii/src/internal/collector.c (moved) (moved from src/examples/gc_no_raii/src/internal/collector.c ) (1 diff)
-
gc_no_raii/src/internal/collector.h (moved) (moved from src/examples/gc_no_raii/src/internal/collector.h )
-
gc_no_raii/src/internal/gc_tools.h (moved) (moved from src/examples/gc_no_raii/src/internal/gc_tools.h )
-
gc_no_raii/src/internal/globals.h (moved) (moved from src/examples/gc_no_raii/src/internal/globals.h )
-
gc_no_raii/src/internal/memory_pool.c (moved) (moved from src/examples/gc_no_raii/src/internal/memory_pool.c )
-
gc_no_raii/src/internal/memory_pool.h (moved) (moved from src/examples/gc_no_raii/src/internal/memory_pool.h )
-
gc_no_raii/src/internal/object_header.c (moved) (moved from src/examples/gc_no_raii/src/internal/object_header.c )
-
gc_no_raii/src/internal/object_header.h (moved) (moved from src/examples/gc_no_raii/src/internal/object_header.h )
-
gc_no_raii/src/internal/state.c (moved) (moved from src/examples/gc_no_raii/src/internal/state.c ) (1 diff)
-
gc_no_raii/src/internal/state.h (moved) (moved from src/examples/gc_no_raii/src/internal/state.h ) (1 diff)
-
gc_no_raii/src/test_include.c (moved) (moved from src/examples/gc_no_raii/src/test_include.c )
-
gc_no_raii/src/tools.h (moved) (moved from src/examples/gc_no_raii/src/tools.h )
-
gc_no_raii/src/tools/checks.h (moved) (moved from src/examples/gc_no_raii/src/tools/checks.h )
-
gc_no_raii/src/tools/print.c (moved) (moved from src/examples/gc_no_raii/src/tools/print.c )
-
gc_no_raii/src/tools/print.h (moved) (moved from src/examples/gc_no_raii/src/tools/print.h ) (1 diff)
-
gc_no_raii/src/tools/worklist.h (moved) (moved from src/examples/gc_no_raii/src/tools/worklist.h ) (1 diff)
-
gc_no_raii/test/badlll.c (moved) (moved from src/examples/gc_no_raii/test/badlll.c )
-
gc_no_raii/test/gctest.c (moved) (moved from src/examples/gc_no_raii/test/gctest.c ) (1 diff)
-
gc_no_raii/test/operators.c (moved) (moved from src/examples/gc_no_raii/test/operators.c )
-
huge.c (moved) (moved from src/examples/huge.c )
-
includes.c (moved) (moved from src/examples/includes.c )
-
index.h (moved) (moved from src/examples/index.h )
-
it_out.c (moved) (moved from src/examples/it_out.c )
-
multicore.c (moved) (moved from src/examples/multicore.c ) (1 diff)
-
new.c (moved) (moved from src/examples/new.c )
-
poly-bench.c (moved) (moved from src/examples/poly-bench.c )
-
prolog.c (moved) (moved from src/examples/prolog.c ) (2 diffs)
-
quad.c (moved) (moved from src/examples/quad.c ) (2 diffs)
-
s.c (moved) (moved from src/examples/s.c )
-
simplePoly.c (moved) (moved from src/examples/simplePoly.c )
-
simpler.c (moved) (moved from src/examples/simpler.c )
-
specialize.c (moved) (moved from src/examples/specialize.c )
-
square.c (moved) (moved from src/examples/square.c ) (2 diffs)
-
twice.c (moved) (moved from src/examples/twice.c ) (2 diffs)
-
wrapper/.gitignore (moved) (moved from src/examples/wrapper/.gitignore )
-
wrapper/premake4.lua (moved) (moved from src/examples/wrapper/premake4.lua )
-
wrapper/src/main.c (moved) (moved from src/examples/wrapper/src/main.c )
-
wrapper/src/pointer.h (moved) (moved from src/examples/wrapper/src/pointer.h ) (1 diff)
-
zero_one.c (moved) (moved from src/examples/zero_one.c ) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
examples/ArrayN.c
rc3a8ecd r7cd8827 1 #include <fstream >1 #include <fstream.hfa> 2 2 3 3 // [unsigned, unsigned] offset_to_index(unsigned offset, unsigned sx, unsigned sy) -
examples/gc_no_raii/bug-repro/blockers/file_scope.c
rc3a8ecd r7cd8827 1 1 2 2 #include <stdbool.h> 3 #include <stdlib >3 #include <stdlib.hfa> 4 4 5 5 #define POOL_SIZE_EXP 24 -
examples/gc_no_raii/bug-repro/blockers/recursive_realloc.c
rc3a8ecd r7cd8827 1 1 2 2 #include <stdbool.h> 3 #include <stdlib >3 #include <stdlib.hfa> 4 4 5 5 trait allocator_c(otype T, otype allocator_t) -
examples/gc_no_raii/bug-repro/field.c
rc3a8ecd r7cd8827 4 4 } 5 5 6 #include <stdlib >6 #include <stdlib.hfa> 7 7 8 8 //------------------------------------------------------------------------------ -
examples/gc_no_raii/bug-repro/slow_malloc.c
rc3a8ecd r7cd8827 1 #include <stdlib >1 #include <stdlib.hfa> 2 2 3 3 forall(otype T) -
examples/gc_no_raii/src/internal/collector.c
rc3a8ecd r7cd8827 9 9 #endif 10 10 11 #include <fstream >11 #include <fstream.hfa> 12 12 13 13 #include "state.h" -
examples/gc_no_raii/src/internal/state.c
rc3a8ecd r7cd8827 1 1 #include "state.h" 2 2 3 #include <stdlib >3 #include <stdlib.hfa> 4 4 5 5 //general purpouse includes -
examples/gc_no_raii/src/internal/state.h
rc3a8ecd r7cd8827 9 9 } 10 10 #endif 11 #include <fstream >11 #include <fstream.hfa> 12 12 #include <vector> 13 13 -
examples/gc_no_raii/src/tools/print.h
rc3a8ecd r7cd8827 3 3 // #ifndef NDEBUG 4 4 // 5 // #include <fstream >5 // #include <fstream.hfa> 6 6 // 7 7 // #define DEBUG_OUT(x) sout | x | endl; -
examples/gc_no_raii/src/tools/worklist.h
rc3a8ecd r7cd8827 10 10 #endif 11 11 12 #include <vector >12 #include <vector.hfa> 13 13 14 14 typedef vector(intptr_t*, heap_allocator(intptr_t*)) worklist_t; -
examples/gc_no_raii/test/gctest.c
rc3a8ecd r7cd8827 1 #include <fstream >1 #include <fstream.hfa> 2 2 3 3 #include "gc.h" -
examples/multicore.c
rc3a8ecd r7cd8827 1 #include <kernel >2 #include <thread >1 #include <kernel.hfa> 2 #include <thread.hfa> 3 3 4 4 struct MyThread { thread_desc __thrd; }; -
examples/prolog.c
rc3a8ecd r7cd8827 5 5 // file "LICENCE" distributed with Cforall. 6 6 // 7 // prolog.c -- 7 // prolog.c -- 8 8 // 9 9 // Author : Richard C. Bilson … … 14 14 // 15 15 16 #include <fstream >16 #include <fstream.hfa> 17 17 18 18 void printResult( int x ) { sout | "int" | endl; } -
examples/quad.c
rc3a8ecd r7cd8827 5 5 // file "LICENCE" distributed with Cforall. 6 6 // 7 // quad.c -- 7 // quad.c -- 8 8 // 9 9 // Author : Richard C. Bilson … … 14 14 // 15 15 16 #include <fstream >16 #include <fstream.hfa> 17 17 18 18 forall( otype T | { T ?*?( T, T ); } ) -
examples/square.c
rc3a8ecd r7cd8827 5 5 // file "LICENCE" distributed with Cforall. 6 6 // 7 // square.c -- 7 // square.c -- 8 8 // 9 9 // Author : Richard C. Bilson … … 14 14 // 15 15 16 #include <fstream >16 #include <fstream.hfa> 17 17 18 18 forall( otype T | { T ?*?( T, T ); } ) -
examples/twice.c
rc3a8ecd r7cd8827 5 5 // file "LICENCE" distributed with Cforall. 6 6 // 7 // twice.c -- 7 // twice.c -- 8 8 // 9 9 // Author : Peter A. Buhr … … 14 14 // 15 15 16 #include <fstream >16 #include <fstream.hfa> 17 17 18 18 forall( otype T | { T ?+?( T, T ); } ) -
examples/wrapper/src/pointer.h
rc3a8ecd r7cd8827 1 1 #pragma once 2 2 3 #include <fstream >3 #include <fstream.hfa> 4 4 #include <stddef.h> 5 #include <stdlib >5 #include <stdlib.hfa> 6 6 7 7 //============================================================================== -
examples/zero_one.c
rc3a8ecd r7cd8827 1 #include <fstream >1 #include <fstream.hfa> 2 2 3 3 void foo(zero_t o) … … 16 16 } 17 17 18 int main() 18 int main() 19 19 { 20 20 foo(0);
Note:
See TracChangeset
for help on using the changeset viewer.