Examples of reset()


Examples of org.apache.directory.studio.connection.core.StudioProgressMonitor.reset()

                boolean isSimulatedRename = dialog.isSimulateRename();

                if ( isSimulatedRename )
                {
                    // do simulated rename operation
                    dummyMonitor.reset();
                    CopyEntriesJob.copyEntry( oldEntry, oldEntry.getParententry(), newRdn,
                        SearchControls.SUBTREE_SCOPE, 0, null, dummyMonitor, monitor );

                    if ( !dummyMonitor.errorsReported() )
                    {
View Full Code Here

Examples of org.apache.directory.studio.connection.core.jobs.StudioProgressMonitor.reset()

                IEntry entryToCopy = entriesToCopy[i];

                if ( scope == SearchScope.OBJECT
                    || !parent.getDn().getNormName().endsWith( entryToCopy.getDn().getNormName() ) )
                {
                    dummyMonitor.reset();
                    num = copyEntry( entryToCopy, parent, null, copyScope, num, dialog, dummyMonitor, monitor );
                }
                else
                {
                    monitor.reportError( BrowserCoreMessages.jobs__copy_entries_source_and_target_are_equal );
View Full Code Here

Examples of org.apache.drill.exec.vector.complex.impl.ComplexWriterImpl.reset()

        System.out.println("==== hit bounds at " + i);
        //writer.setValueCounts(i - 1);
        batchSizes.add(i);
        i = 0;
        writer.allocate();
        writer.reset();

        switch(jsonReader.write(writer)){
        case NO_MORE:
          System.out.println("no more records - new alloc loop.");
          break outside;
View Full Code Here

Examples of org.apache.expreval.expr.ExpressionTree.reset()

            expressionTree = parser.nodescWhereExpr();
            expressionTree.setMappingContext(mappingContext);
            mapping.addToExpressionTreeCache(str, expressionTree);
        }
        else {
            expressionTree.reset();
        }
        return expressionTree;
    }

View Full Code Here

Examples of org.apache.felix.ipojo.util.Property.reset()


        // Give initial values and reset the 'invoked' flag.
        for (int i = 0; i < m_configurableProperties.size(); i++) {
            Property prop = (Property) m_configurableProperties.get(i);
            prop.reset(); // Clear the invoked flag.
            if (prop.hasField() && prop.getValue() != Property.NO_VALUE && prop.getValue() != null) {
                getInstanceManager().onSet(null, prop.getField(), prop.getValue());
            }
        }
View Full Code Here

Examples of org.apache.flink.runtime.operators.testutils.RandomIntPairGenerator.reset()

    }
    while (sorter.write(record) && num < 3354624);
//    System.out.println("WRITE TIME " + (System.currentTimeMillis() - startTime));
   
    // re-read the records
    generator.reset();
    IntPair readTarget = new IntPair();
   
//    startTime = System.currentTimeMillis();
    int i = 0;
    while (i < num) {
View Full Code Here

Examples of org.apache.flink.runtime.operators.testutils.TestData.Generator.reset()

     
      final Collector<Record> collector = new DiscardingOutputCollector<Record>();
 
      // reset the generators
      generator1.reset();
      generator2.reset();
      input1.reset();
      input2.reset();
 
      // compare with iterator values
      MergeMatchIterator<Record, Record, Record> iterator =
View Full Code Here

Examples of org.apache.fop.apps.Driver.reset()

        if (log4j.isDebugEnabled())
          log4j.debug("End of renderFO");
        response.getOutputStream().flush();
        response.getOutputStream().close();
        sr.close();
        driver.reset();
        driver = null;
      } else {
        response.setContentType("application/pdf; charset=UTF-8");
        RenderFoI render = (RenderFoI) Naming.lookup("rmi://"
            + globalParameters.strServidorRenderFo + "/RenderFo");
View Full Code Here

Examples of org.apache.fop.fo.pagination.PageSequenceMaster.reset()

        // it in preparation for the next sequence
        String masterReference = pageSeq.getMasterReference();
        PageSequenceMaster pageSeqMaster
            = pageSeq.getRoot().getLayoutMasterSet().getPageSequenceMaster(masterReference);
        if (pageSeqMaster != null) {
            pageSeqMaster.reset();
        }

        if (log.isDebugEnabled()) {
            log.debug("Ending layout");
        }
View Full Code Here

Examples of org.apache.fop.util.UnclosableInputStream.reset()

        try {
            Document planDoc = getDocument(in);
            Element rootEl = planDoc.getDocumentElement();
            if (!PlanElementMapping.NAMESPACE.equals(
                    rootEl.getNamespaceURI())) {
                in.reset();
                return null;
            }

            //Have to render the plan to know its size
            PlanRenderer pr = new PlanRenderer();
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.