mirror of https://github.com/minexew/Shrine.git
62 changed files with 2344 additions and 2271 deletions
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
@ -1,11 +1,11 @@
|
||||
//This is sorted. |
||||
0.209918 |
||||
0.227671 |
||||
0.252834 |
||||
0.282144 |
||||
0.283027 |
||||
0.388650 |
||||
0.663171 |
||||
0.694189 |
||||
0.888085 |
||||
0.998097 |
||||
0.081829 |
||||
0.111027 |
||||
0.133980 |
||||
0.156361 |
||||
0.219912 |
||||
0.340922 |
||||
0.718021 |
||||
0.871259 |
||||
0.932122 |
||||
0.942353 |
||||
|
@ -1,11 +1,11 @@
|
||||
//This is unsorted. |
||||
0.283027 |
||||
0.998097 |
||||
0.663171 |
||||
0.694189 |
||||
0.252834 |
||||
0.388650 |
||||
0.227671 |
||||
0.282144 |
||||
0.209918 |
||||
0.888085 |
||||
0.871259 |
||||
0.718021 |
||||
0.111027 |
||||
0.156361 |
||||
0.219912 |
||||
0.081829 |
||||
0.133980 |
||||
0.932122 |
||||
0.340922 |
||||
0.942353 |
||||
|
Binary file not shown.
File diff suppressed because one or more lines are too long
@ -0,0 +1,72 @@
|
||||
U0 BlkPoolAdd(CBlkPool *bp,CMemBlk *m,I64 pages512) |
||||
{//Add mem to BlkPool.
|
||||
if (sys_mem_init_flag) |
||||
MemSet(m,sys_mem_init_val,pages512*512); |
||||
PUSHFD |
||||
CLI |
||||
while (LBts(&bp->locked_flags,BPlf_LOCKED)) |
||||
PAUSE |
||||
m->next=bp->mem_free_lst; |
||||
m->pages=pages512; |
||||
m->mb_signature=MBS_UNUSED_SIGNATURE_VAL; |
||||
bp->alloced_u8s+=pages512<<PAGE_BITS; |
||||
bp->mem_free_lst=m; |
||||
LBtr(&bp->locked_flags,BPlf_LOCKED); |
||||
POPFD |
||||