Package Common

Examples of Common.LongVector.Reserve()


      int numInStreams = coderInfo.NumInStreams;
      int numOutStreams = coderInfo.NumOutStreams;
      LongVector packSizesPointers = new LongVector(); // CRecordVector<const UInt64 *>
      LongVector unPackSizesPointers = new LongVector(); // CRecordVector<const UInt64 *>
      packSizesPointers.Reserve(numInStreams);
      unPackSizesPointers.Reserve(numOutStreams);
      int j;
     
      for (j=0; j<numOutStreams; j++, unPackStreamIndex++)
        unPackSizesPointers.add(folderInfo.UnPackSizes.get(unPackStreamIndex));
      
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.