Top Description Fields Constructors Methods
org.eclipse.jgit.internal.storage.commitgraph

pack-priv Class CommitGraphConstants

extends Object
Class Inheritance

Constants relating to commit-graph.

Field Summary

Modifier and TypeField and Description
pack-priv static final int
pack-priv static final int
pack-priv static final int
pack-priv static final int
pack-priv static final int
pack-priv static final int
pack-priv static final int
CHUNK_LOOKUP_WIDTH

First 4 bytes describe the chunk id. Value 0 is a terminating label.

pack-priv static final int
COMMIT_DATA_WIDTH

First 8 bytes are for the positions of the first two parents of the ith commit.

pack-priv static final int
pack-priv static final int
GRAPH_EDGE_LAST_MASK

Mask to make the last edgeValue into position

pack-priv static final int
GRAPH_EXTRA_EDGES_NEEDED

EdgeValue & GRAPH_EXTRA_EDGES_NEEDED != 0 means its other parents are in Chunk Extra Edge List

pack-priv static final int
GRAPH_LAST_EDGE

EdgeValue & GRAPH_LAST_EDGE != 0 means it is the last edgeValue

pack-priv static final int
GRAPH_NO_PARENT

EdgeValue == GRAPH_NO_PARENT means it has no parents

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

CHUNK_ID_BLOOM_FILTER_DATAback to summary
pack-priv static final int CHUNK_ID_BLOOM_FILTER_DATA
CHUNK_ID_BLOOM_FILTER_INDEXback to summary
pack-priv static final int CHUNK_ID_BLOOM_FILTER_INDEX
CHUNK_ID_COMMIT_DATAback to summary
pack-priv static final int CHUNK_ID_COMMIT_DATA
CHUNK_ID_EXTRA_EDGE_LISTback to summary
pack-priv static final int CHUNK_ID_EXTRA_EDGE_LIST
CHUNK_ID_OID_FANOUTback to summary
pack-priv static final int CHUNK_ID_OID_FANOUT
CHUNK_ID_OID_LOOKUPback to summary
pack-priv static final int CHUNK_ID_OID_LOOKUP
CHUNK_LOOKUP_WIDTHback to summary
pack-priv static final int CHUNK_LOOKUP_WIDTH

First 4 bytes describe the chunk id. Value 0 is a terminating label. Other 8 bytes provide the byte-offset in current file for chunk to start.

COMMIT_DATA_WIDTHback to summary
pack-priv static final int COMMIT_DATA_WIDTH

First 8 bytes are for the positions of the first two parents of the ith commit. The next 8 bytes store the generation number of the commit and the commit time in seconds since EPOCH.

COMMIT_GRAPH_MAGICback to summary
pack-priv static final int COMMIT_GRAPH_MAGIC
GRAPH_EDGE_LAST_MASKback to summary
pack-priv static final int GRAPH_EDGE_LAST_MASK

Mask to make the last edgeValue into position

GRAPH_EXTRA_EDGES_NEEDEDback to summary
pack-priv static final int GRAPH_EXTRA_EDGES_NEEDED

EdgeValue & GRAPH_EXTRA_EDGES_NEEDED != 0 means its other parents are in Chunk Extra Edge List

GRAPH_LAST_EDGEback to summary
pack-priv static final int GRAPH_LAST_EDGE

EdgeValue & GRAPH_LAST_EDGE != 0 means it is the last edgeValue

GRAPH_NO_PARENTback to summary
pack-priv static final int GRAPH_NO_PARENT

EdgeValue == GRAPH_NO_PARENT means it has no parents

Constructor Detail

CommitGraphConstantsback to summary
pack-priv CommitGraphConstants()