com.github.junrar.unpack.ppm
Class SubAllocator
java.lang.Object
com.github.junrar.unpack.ppm.SubAllocator
public class SubAllocator
- extends Object
DOCUMENT ME
- Version:
- $LastChangedRevision$
- Author:
- $LastChangedBy$
N1
public static final int N1
- See Also:
- Constant Field Values
N2
public static final int N2
- See Also:
- Constant Field Values
N3
public static final int N3
- See Also:
- Constant Field Values
N4
public static final int N4
- See Also:
- Constant Field Values
N_INDEXES
public static final int N_INDEXES
- See Also:
- Constant Field Values
UNIT_SIZE
public static final int UNIT_SIZE
FIXED_UNIT_SIZE
public static final int FIXED_UNIT_SIZE
- See Also:
- Constant Field Values
SubAllocator
public SubAllocator()
clean
public void clean()
incPText
public void incPText()
stopSubAllocator
public void stopSubAllocator()
GetAllocatedMemory
public int GetAllocatedMemory()
startSubAllocator
public boolean startSubAllocator(int SASize)
allocUnits
public int allocUnits(int NU)
allocContext
public int allocContext()
expandUnits
public int expandUnits(int oldPtr,
int OldNU)
shrinkUnits
public int shrinkUnits(int oldPtr,
int oldNU,
int newNU)
freeUnits
public void freeUnits(int ptr,
int OldNU)
getFakeUnitsStart
public int getFakeUnitsStart()
setFakeUnitsStart
public void setFakeUnitsStart(int fakeUnitsStart)
getHeapEnd
public int getHeapEnd()
getPText
public int getPText()
setPText
public void setPText(int text)
decPText
public void decPText(int dPText)
getUnitsStart
public int getUnitsStart()
setUnitsStart
public void setUnitsStart(int unitsStart)
initSubAllocator
public void initSubAllocator()
getHeap
public byte[] getHeap()
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2012. All Rights Reserved.