- Timestamp:
- Aug 6, 2018, 2:50:03 PM (6 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:
- 58b6d1b
- Parents:
- ff593a3
- Location:
- examples
- Files:
-
- 18 edited
Legend:
- Unmodified
- Added
- Removed
-
examples/ArrayN.c
rff593a3 r73abe95 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
rff593a3 r73abe95 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
rff593a3 r73abe95 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
rff593a3 r73abe95 4 4 } 5 5 6 #include <stdlib >6 #include <stdlib.hfa> 7 7 8 8 //------------------------------------------------------------------------------ -
examples/gc_no_raii/bug-repro/slow_malloc.c
rff593a3 r73abe95 1 #include <stdlib >1 #include <stdlib.hfa> 2 2 3 3 forall(otype T) -
examples/gc_no_raii/src/internal/collector.c
rff593a3 r73abe95 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
rff593a3 r73abe95 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
rff593a3 r73abe95 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
rff593a3 r73abe95 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
rff593a3 r73abe95 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
rff593a3 r73abe95 1 #include <fstream >1 #include <fstream.hfa> 2 2 3 3 #include "gc.h" -
examples/multicore.c
rff593a3 r73abe95 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
rff593a3 r73abe95 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
rff593a3 r73abe95 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
rff593a3 r73abe95 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
rff593a3 r73abe95 5 5 // file "LICENCE" distributed with Cforall. 6 6 // 7 // twice.c -- 7 // twice.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 ); T ?++( T * ); [T] ?+=?( T *, T ); } ) -
examples/wrapper/src/pointer.h
rff593a3 r73abe95 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
rff593a3 r73abe95 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.