Package lzma.sdk.lz

Class BinTree

    • Field Detail

      • _cyclicBufferPos

        int _cyclicBufferPos
      • _cyclicBufferSize

        int _cyclicBufferSize
      • _matchMaxLen

        int _matchMaxLen
      • _son

        int[] _son
      • _hash

        int[] _hash
      • _cutValue

        int _cutValue
      • _hashMask

        int _hashMask
      • _hashSizeSum

        int _hashSizeSum
      • HASH_ARRAY

        private final boolean HASH_ARRAY
      • kNumHashDirectBytes

        int kNumHashDirectBytes
      • kMinMatchCheck

        int kMinMatchCheck
      • kFixHashSize

        int kFixHashSize
      • CrcTable

        private static final int[] CrcTable
    • Constructor Detail

      • BinTree

        public BinTree​(int numHashBytes)
    • Method Detail

      • init

        public void init()
                  throws java.io.IOException
        Overrides:
        init in class InWindow
        Throws:
        java.io.IOException
      • movePos

        public void movePos()
                     throws java.io.IOException
        Overrides:
        movePos in class InWindow
        Throws:
        java.io.IOException
      • create

        public boolean create​(int historySize,
                              int keepAddBufferBefore,
                              int matchMaxLen,
                              int keepAddBufferAfter)
      • getMatches

        public int getMatches​(int[] distances)
                       throws java.io.IOException
        Throws:
        java.io.IOException
      • skip

        public void skip​(int num)
                  throws java.io.IOException
        Throws:
        java.io.IOException
      • normalizeLinks

        void normalizeLinks​(int[] items,
                            int numItems,
                            int subValue)
      • normalize

        void normalize()