Examples of tick()


Examples of fysix.engine.FysixEngine.Tick()

                    if(scaleFactor <= (frameSize.width/5400.0)){
                      scaleFactor = (frameSize.width/5400.0);
                    }
                }
               
                fe.Tick(env);
               
                if(viewCoordUL.x==0 && fo1.getPosition().x<0){
                  fo1.getPosition().x = 5400-1;
                }
                if(viewCoordUL.y==0 && fo1.getPosition().y<0){
View Full Code Here

Examples of gem.util.Progress.tick()

//      int[][][] c = CaseCounter.countComplete(t);
//      t.dcmi = MINDy.calcDMI(c);
//      t.pvalDcmi = MINDy.calcPval(c);

      p.tick();
    }
  }

  public static List<Triplet> assignBestCountsConsiderAbsent(Collection<Triplet> trips, Set<Gene> absent)
  {
View Full Code Here

Examples of krati.util.Chronos.tick()

    HashMap<String, List<E>> map = new HashMap<String, List<E>>();
   
    try {
      long maxScn = collect(map, elements);
      store(map, maxScn);
      logger.info(ta.getName() + " applied rolling update in " + c.tick() + " ms");
      return true;
    } catch (Exception e) {
      logger.error(ta.getName() + " failed to update indexes", e);
    } finally {
      map.clear();
View Full Code Here

Examples of net.minecraft.world.WorldServer.tick()

        profiler.startSection("forgeTick");
        FMLCommonHandler.instance().onPreWorldTick(world);

        profiler.endStartSection("worldTick");
        world.tick();
        profiler.endStartSection("entityTick");
        world.updateEntities();
        profiler.endStartSection("postForgeTick");
        FMLCommonHandler.instance().onPostWorldTick(world);
        profiler.endSection();
View Full Code Here

Examples of org.apache.hadoop.examples.pi.Util.Timer.tick()

    }
  }

  private static void computeBenchmarks(final Summation2 sigma) {
    final Timer t = new Timer(false);
    t.tick("sigma=" + sigma);
    final double value = sigma.compute();
    t.tick("compute=" + value);
    assertEquals(value, sigma.compute_modular());
    t.tick("compute_modular");
    assertEquals(value, sigma.compute_montgomery());
View Full Code Here

Examples of org.apache.jena.atlas.logging.ProgressLogger.tick()

        for ( ; iter1.hasNext(); )
        {
            counter++ ;
            Tuple<NodeId> tuple = iter1.next() ;
            index2.add(tuple) ;
            monitor.tick() ;
        }
       
        index2.sync() ;
        long time = monitor.finish() ;
        float elapsedSecs = time/1000F ;
View Full Code Here

Examples of org.apache.jena.atlas.logging.ProgressLogger.tick()

            byte[] key2 = r2.getKey() ;
            Bytes.setLong(i3, key2, 0) ;
            Bytes.setLong(i1, key2, 8) ;
            Bytes.setLong(i2, key2, 16) ;
            bpt2.add(r2) ;
            monitor.tick() ;
        }
       
        bpt2.sync() ;
        long time = monitor.finish() ;
        float elapsedSecs = time/1000F ;
View Full Code Here

Examples of org.graylog2.plugin.InstantMillisProvider.tick()

        RotationStrategy.Result result;

        result = hourlyRotation.shouldRotate("ignored");
        assertTrue(result.shouldRotate(), "Should rotate the first index");

        clock.tick(seconds(2));

        result = hourlyRotation.shouldRotate("ignored");
        assertTrue(result.shouldRotate(), "Crossed rotation period");

        clock.tick(seconds(2));
View Full Code Here

Examples of org.graylog2.plugin.InstantMillisProvider.tick()

        clock.tick(seconds(2));

        result = hourlyRotation.shouldRotate("ignored");
        assertTrue(result.shouldRotate(), "Crossed rotation period");

        clock.tick(seconds(2));

        result = hourlyRotation.shouldRotate("ignored");
        assertFalse(result.shouldRotate(), "Did not cross rotation period");
    }
View Full Code Here

Examples of org.graylog2.plugin.InstantMillisProvider.tick()

        result = tenMinRotation.shouldRotate("ignored");
        assertTrue(result.shouldRotate(), "Should rotate the first index");

        // advance time to 01:55:01
        clock.tick(seconds(1));

        result = tenMinRotation.shouldRotate("ignored");
        assertFalse(result.shouldRotate(), "Did not cross rotation period");

        // advance time to 02:00:00
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.