Examples of annotateLastInt()


Examples of at.jku.sii.sqlitereader.io.ArrayDataInput.annotateLastInt()

    List<PayloadOverflowPage> list = new ArrayList<PayloadOverflowPage>();
    int page = startPage;
    while (page > 0) {
      ArrayDataInput block = db.getPageBlock(page);
      int nextPage = block.readInt();
      block.annotateLastInt("nextPage", nextPage);

      int size = block.size() - 4;
      byte[] content = new byte[size];
      block.readFully(content);
      block.annotateLast(content.length, "Payload");
View Full Code Here

Examples of at.jku.sii.sqlitereader.io.ArrayDataInput.annotateLastInt()

    List<FreeListPage> pages = new ArrayList<FreeListPage>(numFreeListPages);
    int nextFreePage = firstFreeListPage;
    for (int i = 0; i < numFreeListPages; ++i) {
      ArrayDataInput block = db.getPageBlock(nextFreePage);
      int nextFreePage2 = block.readInt();
      block.annotateLastInt("nextFreePage", nextFreePage2);

      int numEntries = block.readInt("numEntries");
      List<FreePage> freePages = new ArrayList<FreePage>(numEntries);
      for (int j = 0; j < numEntries; ++j) {
        int freePage = block.readInt("freePage");
View Full Code Here

Examples of at.jku.sii.sqlitereader.io.FileDataInput.annotateLastInt()

      this.defaultPageCacheSize = file.readInt("defaultPageCacheSize");

      this.largestBTreePage = file.readInt("largestBTreePage");

      this.encoding = readEncoding(file);
      file.annotateLastInt("Encoding", this.encoding);

      this.userVersion = file.readInt("userVersion");
      this.incrementalVacuumMode = file.readInt() > 0;
      file.annotateLastInt("incrementalVacuumMode", this.incrementalVacuumMode);
      // reserved
View Full Code Here

Examples of at.jku.sii.sqlitereader.io.FileDataInput.annotateLastInt()

      this.encoding = readEncoding(file);
      file.annotateLastInt("Encoding", this.encoding);

      this.userVersion = file.readInt("userVersion");
      this.incrementalVacuumMode = file.readInt() > 0;
      file.annotateLastInt("incrementalVacuumMode", this.incrementalVacuumMode);
      // reserved
      byte[] reserved = new byte[24];
      file.readFully(reserved);
      file.annotateLast(reserved.length, "reserved");
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.