mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
Syncing uppdev
git-svn-id: svn://ultimatepp.org/upp/trunk@1562 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
44efd2a55f
commit
60eaaf90d1
2 changed files with 21 additions and 0 deletions
12
uppdev/GetAlloc/GetAlloc.cpp
Normal file
12
uppdev/GetAlloc/GetAlloc.cpp
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
#include <Core/Core.h>
|
||||
|
||||
using namespace Upp;
|
||||
|
||||
CONSOLE_APP_MAIN
|
||||
{
|
||||
Vector<int> v;
|
||||
for(int i = 0; i < 1000; i++) {
|
||||
v.At(i);
|
||||
RLOG(v.GetCount() << ' ' << v.GetAlloc());
|
||||
}
|
||||
}
|
||||
9
uppdev/GetAlloc/GetAlloc.upp
Normal file
9
uppdev/GetAlloc/GetAlloc.upp
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
uses
|
||||
Core;
|
||||
|
||||
file
|
||||
GetAlloc.cpp;
|
||||
|
||||
mainconfig
|
||||
"" = "";
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue