Examples of checkConsistency()


Examples of fr.neatmonster.nocheatplus.components.ConsistencyChecker.checkConsistency()

        final Player[] onlinePlayers = getServer().getOnlinePlayers();
        // Loop
        while (consistencyCheckerIndex < consistencyCheckers.size()){
            final ConsistencyChecker checker = consistencyCheckers.get(consistencyCheckerIndex);
            try{
                checker.checkConsistency(onlinePlayers);
            }
            catch (Throwable t){
                LogUtil.logSevere("[NoCheatPlus] ConsistencyChecker(" + checker.getClass().getName() + ") encountered an exception:");
                LogUtil.logSevere(t);
            }
View Full Code Here

Examples of net.sf.jsi.rtree.RTree.checkConsistency()

    for (int move = 0; move < numMoves; move++) {
      for (int i = 0; i < numRects; i++) {
        rtree.delete(rects[i], i);
        rects[i].set(nextRect());
        rtree.add(rects[i], i);
        assertTrue(rtree.checkConsistency());
      }
    }
  }
}
View Full Code Here

Examples of net.sf.jsi.rtree.RTree.checkConsistency()

    for (int i = 0; i <= numRects; i+=100) {
      // add some entries
      for (int j = 0; j < i; j++) {
        rtree.add(rects[j], j);
      }
      assertTrue(rtree.checkConsistency());
     
      // now delete them all
      for (int j = 0; j < i; j++) {
        rtree.delete(rects[j], j);   
      }
View Full Code Here

Examples of net.sf.jsi.rtree.RTree.checkConsistency()

      // now delete them all
      for (int j = 0; j < i; j++) {
        rtree.delete(rects[j], j);   
      }
      assertTrue(rtree.size() == 0);
      assertTrue(rtree.checkConsistency());
     
      // check that we can make queries on an empty rtree without error.
      Rectangle testRect = new Rectangle(1,2,3,4);
      Point testPoint = new Point(1,2);
     
View Full Code Here

Examples of org.apache.derby.iapi.store.access.ConglomerateController.checkConsistency()

                        false,
              0,
            TransactionController.MODE_TABLE,
                      TransactionController.ISOLATION_SERIALIZABLE);

        indexCC.checkConsistency();
        indexCC.close();
        indexCC = null;

        /* if index is for a constraint check that the constraint exists */

 
View Full Code Here

Examples of org.apache.derby.iapi.store.access.ConglomerateController.checkConsistency()

                ti.getIndexConglomerate(indexId),
                false,
                0,
                TransactionController.MODE_TABLE,
                TransactionController.ISOLATION_REPEATABLE_READ);
            indexCC.checkConsistency();
            strbuf.append("\nindexCC.checkConsistency() = true");

            System.err.println("ASSERT FAILURE: "+strbuf.toString());
            System.out.println("ASSERT FAILURE: "+strbuf.toString());
            SanityManager.DEBUG_PRINT("ASSERT FAILURE", strbuf.toString());
View Full Code Here

Examples of org.apache.derby.iapi.store.access.ConglomerateController.checkConsistency()

                ti.getIndexConglomerate(indexId),
                false,
                0,
                TransactionController.MODE_TABLE,
                TransactionController.ISOLATION_REPEATABLE_READ);
            indexCC.checkConsistency();
            strbuf.append("\nindexCC.checkConsistency() = true");

            System.err.println("ASSERT FAILURE: "+strbuf.toString());
            System.out.println("ASSERT FAILURE: "+strbuf.toString());
            SanityManager.DEBUG_PRINT("ASSERT FAILURE", strbuf.toString());
View Full Code Here

Examples of org.apache.derby.iapi.store.access.ConglomerateController.checkConsistency()

                        false,
              0,
            TransactionController.MODE_TABLE,
                      TransactionController.ISOLATION_SERIALIZABLE);

        indexCC.checkConsistency();
        indexCC.close();
        indexCC = null;

        /* if index is for a constraint check that the constraint exists */

 
View Full Code Here

Examples of org.apache.derby.iapi.store.access.ConglomerateController.checkConsistency()

        if (!index_cc.isKeyed())
        {
      throw T_Fail.testFailMsg("btree is not keyed.");
        }

        index_cc.checkConsistency();

    // Create a row and insert into base table, remembering it's location.
    DataValueDescriptor[] r1             = TemplateRow.newU8Row(2);
        T_SecondaryIndexRow  index_row1      = new T_SecondaryIndexRow();
        RowLocation          base_rowloc1    = base_cc.newRowLocationTemplate();
View Full Code Here

Examples of org.apache.derby.iapi.store.access.ConglomerateController.checkConsistency()

                        "\texpected RecordHandle = " + base_rowloc1 + "\n" +
                        "\tgot      RecordHandle = " + base_rowloc2 +
                        "\tcompare result = " + compare_result));
        }

        index_cc.checkConsistency();

    // Close the conglomerates.
    base_cc.close();
    index_cc.close();
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.