Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F79209362
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, Aug 25, 07:09
Size
658 B
Mime Type
text/x-c
Expires
Tue, Aug 27, 07:09 (2 d)
Engine
blob
Format
Raw Data
Handle
20161650
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