final class org.apache.lucene.util.packed.PackedWriter extends org.apache.lucene.util.packed.PackedInts$Writer
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: org.apache.lucene.util.packed.PackedWriter
  super_class: org.apache.lucene.util.packed.PackedInts$Writer
{
  boolean finished;
    descriptor: Z
    flags: (0x0000) 

  final org.apache.lucene.util.packed.PackedInts$Format format;
    descriptor: Lorg/apache/lucene/util/packed/PackedInts$Format;
    flags: (0x0010) ACC_FINAL

  final org.apache.lucene.util.packed.BulkOperation encoder;
    descriptor: Lorg/apache/lucene/util/packed/BulkOperation;
    flags: (0x0010) ACC_FINAL

  final byte[] nextBlocks;
    descriptor: [B
    flags: (0x0010) ACC_FINAL

  final long[] nextValues;
    descriptor: [J
    flags: (0x0010) ACC_FINAL

  final int iterations;
    descriptor: I
    flags: (0x0010) ACC_FINAL

  int off;
    descriptor: I
    flags: (0x0000) 

  int written;
    descriptor: I
    flags: (0x0000) 

  static final boolean $assertionsDisabled;
    descriptor: Z
    flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 29
            ldc Lorg/apache/lucene/util/packed/PackedWriter;
            invokevirtual java.lang.Class.desiredAssertionStatus:()Z
            ifne 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: putstatic org.apache.lucene.util.packed.PackedWriter.$assertionsDisabled:Z
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  void <init>(org.apache.lucene.util.packed.PackedInts$Format, org.apache.lucene.store.DataOutput, int, int, int);
    descriptor: (Lorg/apache/lucene/util/packed/PackedInts$Format;Lorg/apache/lucene/store/DataOutput;III)V
    flags: (0x0000) 
    Code:
      stack=4, locals=6, args_size=6
        start local 0 // org.apache.lucene.util.packed.PackedWriter this
        start local 1 // org.apache.lucene.util.packed.PackedInts$Format format
        start local 2 // org.apache.lucene.store.DataOutput out
        start local 3 // int valueCount
        start local 4 // int bitsPerValue
        start local 5 // int mem
         0: .line 41
            aload 0 /* this */
            aload 2 /* out */
            iload 3 /* valueCount */
            iload 4 /* bitsPerValue */
            invokespecial org.apache.lucene.util.packed.PackedInts$Writer.<init>:(Lorg/apache/lucene/store/DataOutput;II)V
         1: .line 42
            aload 0 /* this */
            aload 1 /* format */
            putfield org.apache.lucene.util.packed.PackedWriter.format:Lorg/apache/lucene/util/packed/PackedInts$Format;
         2: .line 43
            aload 0 /* this */
            aload 1 /* format */
            iload 4 /* bitsPerValue */
            invokestatic org.apache.lucene.util.packed.BulkOperation.of:(Lorg/apache/lucene/util/packed/PackedInts$Format;I)Lorg/apache/lucene/util/packed/BulkOperation;
            putfield org.apache.lucene.util.packed.PackedWriter.encoder:Lorg/apache/lucene/util/packed/BulkOperation;
         3: .line 44
            aload 0 /* this */
            aload 0 /* this */
            getfield org.apache.lucene.util.packed.PackedWriter.encoder:Lorg/apache/lucene/util/packed/BulkOperation;
            iload 3 /* valueCount */
            iload 5 /* mem */
            invokevirtual org.apache.lucene.util.packed.BulkOperation.computeIterations:(II)I
            putfield org.apache.lucene.util.packed.PackedWriter.iterations:I
         4: .line 45
            aload 0 /* this */
            aload 0 /* this */
            getfield org.apache.lucene.util.packed.PackedWriter.iterations:I
            aload 0 /* this */
            getfield org.apache.lucene.util.packed.PackedWriter.encoder:Lorg/apache/lucene/util/packed/BulkOperation;
            invokevirtual org.apache.lucene.util.packed.BulkOperation.byteBlockCount:()I
            imul
            newarray 8
            putfield org.apache.lucene.util.packed.PackedWriter.nextBlocks:[B
         5: .line 46
            aload 0 /* this */
            aload 0 /* this */
            getfield org.apache.lucene.util.packed.PackedWriter.iterations:I
            aload 0 /* this */
            getfield org.apache.lucene.util.packed.PackedWriter.encoder:Lorg/apache/lucene/util/packed/BulkOperation;
            invokevirtual org.apache.lucene.util.packed.BulkOperation.byteValueCount:()I
            imul
            newarray 11
            putfield org.apache.lucene.util.packed.PackedWriter.nextValues:[J
         6: .line 47
            aload 0 /* this */
            iconst_0
            putfield org.apache.lucene.util.packed.PackedWriter.off:I
         7: .line 48
            aload 0 /* this */
            iconst_0
            putfield org.apache.lucene.util.packed.PackedWriter.written:I
         8: .line 49
            aload 0 /* this */
            iconst_0
            putfield org.apache.lucene.util.packed.PackedWriter.finished:Z
         9: .line 50
            return
        end local 5 // int mem
        end local 4 // int bitsPerValue
        end local 3 // int valueCount
        end local 2 // org.apache.lucene.store.DataOutput out
        end local 1 // org.apache.lucene.util.packed.PackedInts$Format format
        end local 0 // org.apache.lucene.util.packed.PackedWriter this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0   10     0          this  Lorg/apache/lucene/util/packed/PackedWriter;
            0   10     1        format  Lorg/apache/lucene/util/packed/PackedInts$Format;
            0   10     2           out  Lorg/apache/lucene/store/DataOutput;
            0   10     3    valueCount  I
            0   10     4  bitsPerValue  I
            0   10     5           mem  I
    MethodParameters:
              Name  Flags
      format        
      out           
      valueCount    
      bitsPerValue  
      mem           

  protected org.apache.lucene.util.packed.PackedInts$Format getFormat();
    descriptor: ()Lorg/apache/lucene/util/packed/PackedInts$Format;
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.apache.lucene.util.packed.PackedWriter this
         0: .line 54
            aload 0 /* this */
            getfield org.apache.lucene.util.packed.PackedWriter.format:Lorg/apache/lucene/util/packed/PackedInts$Format;
            areturn
        end local 0 // org.apache.lucene.util.packed.PackedWriter this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/apache/lucene/util/packed/PackedWriter;

  public void add(long);
    descriptor: (J)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=3, args_size=2
        start local 0 // org.apache.lucene.util.packed.PackedWriter this
        start local 1 // long v
         0: .line 59
            getstatic org.apache.lucene.util.packed.PackedWriter.$assertionsDisabled:Z
            ifne 1
            lload 1 /* v */
            invokestatic org.apache.lucene.util.packed.PackedInts.unsignedBitsRequired:(J)I
            aload 0 /* this */
            getfield org.apache.lucene.util.packed.PackedWriter.bitsPerValue:I
            if_icmple 1
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         1: .line 60
      StackMap locals:
      StackMap stack:
            getstatic org.apache.lucene.util.packed.PackedWriter.$assertionsDisabled:Z
            ifne 2
            aload 0 /* this */
            getfield org.apache.lucene.util.packed.PackedWriter.finished:Z
            ifeq 2
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         2: .line 61
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.lucene.util.packed.PackedWriter.valueCount:I
            iconst_m1
            if_icmpeq 4
            aload 0 /* this */
            getfield org.apache.lucene.util.packed.PackedWriter.written:I
            aload 0 /* this */
            getfield org.apache.lucene.util.packed.PackedWriter.valueCount:I
            if_icmplt 4
         3: .line 62
            new java.io.EOFException
            dup
            ldc "Writing past end of stream"
            invokespecial java.io.EOFException.<init>:(Ljava/lang/String;)V
            athrow
         4: .line 64
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.lucene.util.packed.PackedWriter.nextValues:[J
            aload 0 /* this */
            dup
            getfield org.apache.lucene.util.packed.PackedWriter.off:I
            dup_x1
            iconst_1
            iadd
            putfield org.apache.lucene.util.packed.PackedWriter.off:I
            lload 1 /* v */
            lastore
         5: .line 65
            aload 0 /* this */
            getfield org.apache.lucene.util.packed.PackedWriter.off:I
            aload 0 /* this */
            getfield org.apache.lucene.util.packed.PackedWriter.nextValues:[J
            arraylength
            if_icmpne 7
         6: .line 66
            aload 0 /* this */
            invokevirtual org.apache.lucene.util.packed.PackedWriter.flush:()V
         7: .line 68
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            dup
            getfield org.apache.lucene.util.packed.PackedWriter.written:I
            iconst_1
            iadd
            putfield org.apache.lucene.util.packed.PackedWriter.written:I
         8: .line 69
            return
        end local 1 // long v
        end local 0 // org.apache.lucene.util.packed.PackedWriter this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    9     0  this  Lorg/apache/lucene/util/packed/PackedWriter;
            0    9     1     v  J
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      v     

  public void finish();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.apache.lucene.util.packed.PackedWriter this
         0: .line 73
            getstatic org.apache.lucene.util.packed.PackedWriter.$assertionsDisabled:Z
            ifne 1
            aload 0 /* this */
            getfield org.apache.lucene.util.packed.PackedWriter.finished:Z
            ifeq 1
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         1: .line 74
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.lucene.util.packed.PackedWriter.valueCount:I
            iconst_m1
            if_icmpeq 5
         2: .line 75
            goto 4
         3: .line 76
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            lconst_0
            invokevirtual org.apache.lucene.util.packed.PackedWriter.add:(J)V
         4: .line 75
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.lucene.util.packed.PackedWriter.written:I
            aload 0 /* this */
            getfield org.apache.lucene.util.packed.PackedWriter.valueCount:I
            if_icmplt 3
         5: .line 79
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual org.apache.lucene.util.packed.PackedWriter.flush:()V
         6: .line 80
            aload 0 /* this */
            iconst_1
            putfield org.apache.lucene.util.packed.PackedWriter.finished:Z
         7: .line 81
            return
        end local 0 // org.apache.lucene.util.packed.PackedWriter this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    8     0  this  Lorg/apache/lucene/util/packed/PackedWriter;
    Exceptions:
      throws java.io.IOException

  private void flush();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=6, locals=2, args_size=1
        start local 0 // org.apache.lucene.util.packed.PackedWriter this
         0: .line 84
            aload 0 /* this */
            getfield org.apache.lucene.util.packed.PackedWriter.encoder:Lorg/apache/lucene/util/packed/BulkOperation;
            aload 0 /* this */
            getfield org.apache.lucene.util.packed.PackedWriter.nextValues:[J
            iconst_0
            aload 0 /* this */
            getfield org.apache.lucene.util.packed.PackedWriter.nextBlocks:[B
            iconst_0
            aload 0 /* this */
            getfield org.apache.lucene.util.packed.PackedWriter.iterations:I
            invokevirtual org.apache.lucene.util.packed.BulkOperation.encode:([JI[BII)V
         1: .line 85
            aload 0 /* this */
            getfield org.apache.lucene.util.packed.PackedWriter.format:Lorg/apache/lucene/util/packed/PackedInts$Format;
            iconst_2
            aload 0 /* this */
            getfield org.apache.lucene.util.packed.PackedWriter.off:I
            aload 0 /* this */
            getfield org.apache.lucene.util.packed.PackedWriter.bitsPerValue:I
            invokevirtual org.apache.lucene.util.packed.PackedInts$Format.byteCount:(III)J
            l2i
            istore 1 /* blockCount */
        start local 1 // int blockCount
         2: .line 86
            aload 0 /* this */
            getfield org.apache.lucene.util.packed.PackedWriter.out:Lorg/apache/lucene/store/DataOutput;
            aload 0 /* this */
            getfield org.apache.lucene.util.packed.PackedWriter.nextBlocks:[B
            iload 1 /* blockCount */
            invokevirtual org.apache.lucene.store.DataOutput.writeBytes:([BI)V
         3: .line 87
            aload 0 /* this */
            getfield org.apache.lucene.util.packed.PackedWriter.nextValues:[J
            lconst_0
            invokestatic java.util.Arrays.fill:([JJ)V
         4: .line 88
            aload 0 /* this */
            iconst_0
            putfield org.apache.lucene.util.packed.PackedWriter.off:I
         5: .line 89
            return
        end local 1 // int blockCount
        end local 0 // org.apache.lucene.util.packed.PackedWriter this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    6     0        this  Lorg/apache/lucene/util/packed/PackedWriter;
            2    6     1  blockCount  I
    Exceptions:
      throws java.io.IOException

  public int ord();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.apache.lucene.util.packed.PackedWriter this
         0: .line 93
            aload 0 /* this */
            getfield org.apache.lucene.util.packed.PackedWriter.written:I
            iconst_1
            isub
            ireturn
        end local 0 // org.apache.lucene.util.packed.PackedWriter this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/apache/lucene/util/packed/PackedWriter;
}
SourceFile: "PackedWriter.java"
InnerClasses:
  public Format = org.apache.lucene.util.packed.PackedInts$Format of org.apache.lucene.util.packed.PackedInts
  public abstract Writer = org.apache.lucene.util.packed.PackedInts$Writer of org.apache.lucene.util.packed.PackedInts