question: feeds a file position in bytes and a time position in samples from a timeline , and determines if a new index field is to be added . concode_field_sep long prevTimePos concode_elem_sep int sampleRate concode_elem_sep long timePtr concode_elem_sep int idxInterval concode_elem_sep Vector<TimelineReader.IdxField> indexData concode_elem_sep RandomAccessFile raf concode_elem_sep long prevBytePos concode_elem_sep long numDatagrams concode_elem_sep long timeIdxBytePos concode_elem_sep long datagramZoneBytePos concode_elem_sep TimelineReader.Index idx concode_elem_sep MaryHeader maryHdr concode_elem_sep TimelineReader.ProcHeader procHdr concode_elem_sep long datagramsBytePos concode_field_sep void feed concode_elem_sep void feed concode_elem_sep long getDatagramsBytePos concode_elem_sep long getTimePointer concode_elem_sep void setTimePointer concode_elem_sep TimelineReader.Index getIndex concode_elem_sep long getBytePointer concode_elem_sep long scaleTime concode_elem_sep int getSampleRate concode_elem_sep long unScaleTime concode_elem_sep long getNumDatagrams concode_elem_sep void setBytePointer concode_elem_sep void close
target: void function ( long arg0 , long arg1 ) { long loc0 = indexData . size ( ) * ( long ) idxInterval ; while ( loc0 < arg1 ) { indexData . add ( new TimelineReader . IdxField ( prevBytePos , prevTimePos ) ) ; loc0 += idxInterval ; } prevBytePos = arg0 ; prevTimePos = arg1 ; }