Examples of iterate()


Examples of org.tmatesoft.hg.internal.FileRenameHistory.iterate()

      HgDataFile df = repo.getFileNode(fname);
      Assert.assertFalse(frh.isOutOfRange(df, df.getLastRevision()));
      frh.build(df, df.getLastRevision());
      int recordIndex = 0;
      errorCollector.assertEquals(history.length / 5, frh.chunks());
      for (Chunk c : frh.iterate(HgIterateDirection.NewToOld)) {
        compareChunk(fname, c, history, recordIndex++);
      }
      errorCollector.assertEquals("Shall compare full history", history.length, recordIndex * 5);
    }
    //
 
View Full Code Here

Examples of ptolemy.actor.Actor.iterate()

                    if (_debugging) {
                        _debug(new FiringEvent(this, actor,
                                FiringEvent.BEFORE_ITERATE, iterationCount));
                    }

                    result = actor.iterate(1);

                    if (_debugging) {
                        _debug(new FiringEvent(this, actor,
                                FiringEvent.AFTER_ITERATE, iterationCount));
                    }
View Full Code Here

Examples of ptolemy.actor.Manager.iterate()

        toplevel.connect(source2.output, _recorder.input);

        director.startTime.setToken(new DoubleToken(0.0));
        director.stopTime.setToken(new DoubleToken(1000.0));
        manager.initialize();
        manager.iterate();
        manager.iterate();
        manager.wrapup();
    }

    public String getResult() {
View Full Code Here

Examples of ptolemy.distributed.common.DistributedActor.iterate()

                case FIRE:
                    distributedActor.fire();
                    break;

                case ITERATE:
                    distributedActor.iterate(iterationCount);
                    break;
                }
            } catch (RemoteException e) {
                KernelException.stackTraceToString(e);
            }
View Full Code Here

Examples of smilehouse.openinterface.OpenInterfaceIF.iterate()

      getOpenInterfaceHost()
      );
       
        do {
            try {
                exportResult = oi.iterate(this.login, oiIteratorId, resultsPerIteration);
               
            } catch (AccessDeniedException e) {
                logger.logMessage(
                    "Access to OpenInterface was denied. Check your username and password settings.",
                    this,
View Full Code Here

Examples of sun.jvm.hotspot.oops.ObjectHeap.iterate()

        // Ready to go with the database...
        ObjectHeap heap = VM.getVM().getObjectHeap();
        TBObjectHistogram histogram = new TBObjectHistogram();
        err.println("Iterating over heap. This may take a while...");
        long startTime = System.currentTimeMillis();
        heap.iterate(histogram);
        long endTime = System.currentTimeMillis();
        histogram.printOn(out);
        float secs = (float) (endTime - startTime) / 1000.0f;
        err.println("Heap traversal took " + secs + " seconds.");
    }
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.