Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F121676757
test_static_memory.cpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sun, Jul 13, 01:55
Size
658 B
Mime Type
text/x-c
Expires
Tue, Jul 15, 01:55 (2 d)
Engine
blob
Format
Raw Data
Handle
27372629
Attached To
rAKA akantu
test_static_memory.cpp
View Options
/**
* @file test_static_memory.cpp
* @author Nicolas Richart <nicolas.richart@epfl.ch>
* @date Fri Jun 11 11:55:54 2010
*
* @brief unit test for the StaticMemory class
*
*/
/* -------------------------------------------------------------------------- */
#include <iostream>
/* -------------------------------------------------------------------------- */
#include "static_memory.hpp"
/* -------------------------------------------------------------------------- */
int
main
(
int
argc
,
char
*
argv
[])
{
myfem
::
StaticMemory
*
st_mem
=
myfem
::
StaticMemory
::
getStaticMemory
();
int
*
test_int
=
st_mem
->
smalloc_int
(
0
,
"test_int"
,
1000
,
3
);
}
Event Timeline
Log In to Comment