Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| SHA1 Hash: | 24cb104ba11974cfe7d38fb582727745947f3752 |
|---|---|
| Date: | 2010-03-10 21:07:37 |
| User: | stephan |
| Comment: | --default mempool size for some test code. |
Tags And Properties
- branch=trunk inherited from [c3e484d316]
- sym-trunk inherited from [c3e484d316]
Changes
Changes to pfs/test.c
| Old (ec49c1ff60aa1564) | New (f94d0eb308a1740f) | |||
|---|---|---|---|---|
| 1 | /************************************************************************ | 1 | /************************************************************************ | |
| 2 | FAR FROM COMPLETE. | 2 | FAR FROM COMPLETE. | |
| 3 | 3 | |||
| 4 | This is a work-in-progress, porting over parts of the whefs API into | 4 | This is a work-in-progress, porting over parts of the whefs API into | |
| 5 | the whio API... | 5 | the whio API... | |
| 48 hidden lines | ||||
| 54 | @endcode | 54 | @endcode | |
| 55 | 55 | |||
| 56 | The address 0x4000300020003 is apparently bogus, but i don't know where it's coming from. | 56 | The address 0x4000300020003 is apparently bogus, but i don't know where it's coming from. | |
| 57 | */ | 57 | */ | |
| 58 | enum { AllocatorSize = | 58 | enum { AllocatorSize = | |
| 59 | 5000 //only a very large EFS with lots of opened records would need this much | | | 59 | //5000 //only a very large EFS with lots of opened records would need this much |
| 60 | //2000 | | | 60 | 2000 |
| 61 | //500 // works for small use cases on 32-bit, but not 64-bit. | 61 | //500 // works for small use cases on 32-bit, but not 64-bit. | |
| 62 | //0 // uses stdlib allocators | 62 | //0 // uses stdlib allocators | |
| 63 | }; | 63 | }; | |
| 64 | static struct Application | 64 | static struct Application | |
| 65 | { | 65 | { | |
| 451 hidden lines | ||||
| 517 | SO(ThisApp.buffer); | 517 | SO(ThisApp.buffer); | |
| 518 | #undef SO | 518 | #undef SO | |
| 519 | MARKER("Done. rc=%d\n",rc); | 519 | MARKER("Done. rc=%d\n",rc); | |
| 520 | return rc; | 520 | return rc; | |
| 521 | } | 521 | } | |