| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| private DeltaWindowEntry | bestBase
If we have chosen a base, the window entry it was created from. |
| private final long | |
| private long | |
| private final PackConfig | |
| private int | |
| private Deflater | deflater
Used to compress cached deltas. |
| private Object | |
| private final DeltaCache | |
| private int | |
| private int | |
| private long | loaded
Amount of memory we have loaded right now. |
| private final int | maxDepth
Maximum depth we should create for any delta chain. |
| private final long | maxMemory
Maximum number of bytes to admit to the window at once. |
| private final ProgressMonitor | |
| private static final boolean | |
| private static final boolean | |
| private final ObjectReader | |
| private DeltaWindowEntry | res
Window entry of the object we are currently considering. |
| private final ObjectToPack[] |
| Access | Constructor and Description |
|---|---|
| pack-priv | DeltaWindow(PackConfig pc, DeltaCache dc, ObjectReader or, ProgressMonitor pm, long bpu, ObjectToPack[] in, int beginIndex, int endIndex)
|
| Modifier and Type | Method and Description |
|---|---|
| private byte[] | |
| private void | |
| private void | |
| private void | |
| private void | |
| private static int | |
| private Deflater | |
| private boolean | |
| private int | |
| private static long | |
| private static long | |
| private DeltaIndex | |
| private void | |
| pack-priv synchronized DeltaTask. | |
| pack-priv void | |
| private void | |
| private void | |
| pack-priv synchronized boolean |
| bestBase | back to summary |
|---|---|
| private DeltaWindowEntry bestBase If we have chosen a base, the window entry it was created from. | |
| bytesPerUnit | back to summary |
|---|---|
| private final long bytesPerUnit | |
| bytesProcessed | back to summary |
|---|---|
| private long bytesProcessed | |
| config | back to summary |
|---|---|
| private final PackConfig config | |
| cur | back to summary |
|---|---|
| private int cur | |
| deflater | back to summary |
|---|---|
| private Deflater deflater Used to compress cached deltas. | |
| deltaBuf | back to summary |
|---|---|
| private Object deltaBuf | |
| deltaCache | back to summary |
|---|---|
| private final DeltaCache deltaCache | |
| deltaLen | back to summary |
|---|---|
| private int deltaLen | |
| end | back to summary |
|---|---|
| private int end | |
| loaded | back to summary |
|---|---|
| private long loaded Amount of memory we have loaded right now. | |
| maxDepth | back to summary |
|---|---|
| private final int maxDepth Maximum depth we should create for any delta chain. | |
| maxMemory | back to summary |
|---|---|
| private final long maxMemory Maximum number of bytes to admit to the window at once. | |
| monitor | back to summary |
|---|---|
| private final ProgressMonitor monitor | |
| NEXT_RES | back to summary |
|---|---|
| private static final boolean NEXT_RES | |
| NEXT_SRC | back to summary |
|---|---|
| private static final boolean NEXT_SRC | |
| reader | back to summary |
|---|---|
| private final ObjectReader reader | |
| res | back to summary |
|---|---|
| private DeltaWindowEntry res Window entry of the object we are currently considering. | |
| toSearch | back to summary |
|---|---|
| private final ObjectToPack[] toSearch | |
| DeltaWindow | back to summary |
|---|---|
| pack-priv DeltaWindow(PackConfig pc, DeltaCache dc, ObjectReader or, ProgressMonitor pm, long bpu, ObjectToPack[] in, int beginIndex, int endIndex) | |
| buffer | back to summary |
|---|---|
| private byte[] buffer(DeltaWindowEntry ent) throws MissingObjectException, IncorrectObjectTypeException, IOException, LargeObjectException | |
| cacheDelta | back to summary |
|---|---|
| private void cacheDelta(ObjectToPack srcObj, ObjectToPack resObj) | |
| checkLoadable | back to summary |
|---|---|
| private void checkLoadable(DeltaWindowEntry ent, long need) | |
| clear | back to summary |
|---|---|
| private void clear(DeltaWindowEntry ent) | |
| clearWindowOnTypeSwitch | back to summary |
|---|---|
| private void clearWindowOnTypeSwitch() | |
| deflateBound | back to summary |
|---|---|
| private static int deflateBound(int insz) | |
| deflater | back to summary |
|---|---|
| private Deflater deflater() | |
| delta | back to summary |
|---|---|
| private boolean delta(DeltaWindowEntry src) throws IOException | |
| deltaSizeLimit | back to summary |
|---|---|
| private int deltaSizeLimit(DeltaWindowEntry src) | |
| estimateIndexSize | back to summary |
|---|---|
| private static long estimateIndexSize(DeltaWindowEntry ent) | |
| estimateSize | back to summary |
|---|---|
| private static long estimateSize(ObjectToPack ent) | |
| index | back to summary |
|---|---|
| private DeltaIndex index(DeltaWindowEntry ent) throws MissingObjectException, IncorrectObjectTypeException, IOException, LargeObjectException | |
| keepInWindow | back to summary |
|---|---|
| private void keepInWindow() | |
| remaining | back to summary |
|---|---|
| pack-priv synchronized DeltaTask. | |
| search | back to summary |
|---|---|
| pack-priv void search() throws IOException | |
| searchInWindow | back to summary |
|---|---|
| private void searchInWindow() throws IOException | |
| selectDeltaBase | back to summary |
|---|---|
| private void selectDeltaBase(DeltaWindowEntry src, OutputStream delta) | |
| tryStealWork | back to summary |
|---|---|
| pack-priv synchronized boolean tryStealWork(DeltaTask. | |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | write(int
the b)byte.Implements abstract java. Writes the specified byte to this output stream. |
| public void | write(byte[]
the data. b, int the start offset in the data. off, int the number of bytes to write. len)Overrides java. Writes |
| ArrayStream | back to summary |
|---|---|
| pack-priv ArrayStream(int max) | |
| write | back to summary |
|---|---|
| public void write(int b) throws IOException Implements abstract java. Doc from java. Writes the specified byte to this output stream. The general
contract for
| |
| write | back to summary |
|---|---|
| public void write(byte[] b, int off, int len) throws IOException Overrides java. Doc from java. Writes
If
If
| |
| Modifier and Type | Field and Description |
|---|---|
| private final Deflater | |
| private int | |
| private final byte[] |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv int | |
| public void | write(byte[]
the data. b, int the start offset in the data. off, int the number of bytes to write. len)Overrides java. Writes |
| public void | write(int
the b)byte.Implements abstract java. Writes the specified byte to this output stream. |
| deflater | back to summary |
|---|---|
| private final Deflater deflater | |
| outPtr | back to summary |
|---|---|
| private int outPtr | |
| zbuf | back to summary |
|---|---|
| private final byte[] zbuf | |
| ZipStream | back to summary |
|---|---|
| pack-priv ZipStream(Deflater deflater, byte[] zbuf) | |
| finish | back to summary |
|---|---|
| pack-priv int finish() throws IOException | |
| write | back to summary |
|---|---|
| public void write(byte[] b, int off, int len) throws IOException Overrides java. Doc from java. Writes
If
If
| |
| write | back to summary |
|---|---|
| public void write(int b) throws IOException Implements abstract java. Doc from java. Writes the specified byte to this output stream. The general
contract for
| |