Examples of process()


Examples of it.unimi.dsi.mg4j.query.QueryEngine.process()

     * of selected intervals. This part will be empty if we do not set an interval selector. */
    ObjectArrayList<DocumentScoreInfo<Reference2ObjectMap<Index, SelectedInterval[]>>> result =
      new ObjectArrayList<DocumentScoreInfo<Reference2ObjectMap<Index,SelectedInterval[]>>>();

    /* The query engine can return any subsegment of the results of a query. Here we grab the first 20 results. */
    engine.process( arg[ 1 ], 0, 20, result );
   
    for( DocumentScoreInfo<Reference2ObjectMap<Index, SelectedInterval[]>> dsi : result ) {
      System.out.println( dsi.document + " " + dsi.score );
    }
  }
View Full Code Here

Examples of jadx.core.dex.instructions.InsnDecoder.process()

      regsCount = mthCode.getRegistersSize();
      initMethodTypes();

      InsnDecoder decoder = new InsnDecoder(this);
      decoder.decodeInsns(mthCode);
      instructions = decoder.process();
      codeSize = instructions.length;

      initTryCatches(mthCode);
      initJumps();
View Full Code Here

Examples of jadx.core.dex.nodes.parser.DebugInfoParser.process()

  public void visit(MethodNode mth) throws JadxException {
    int debugOffset = mth.getDebugInfoOffset();
    if (debugOffset > 0) {
      InsnNode[] insnArr = mth.getInstructions();
      DebugInfoParser debugInfoParser = new DebugInfoParser(mth, debugOffset, insnArr);
      debugInfoParser.process();

      if (insnArr.length != 0) {
        int line = insnArr[0].getSourceLine();
        if (line != 0) {
          mth.setSourceLine(line - 1);
View Full Code Here

Examples of java.util.regex.Pattern.process()

        if (outerBracketsStripped) {
            s = String.format("(%s)", s);
        }
        s = compact(s);
        for (IExpressionProcessor p : engine.extensionManager().expressionProcessors()) {
            String result = p.process(s, this);
            if (null != result) {
                // remove line breaks so that we can easily handle line numbers
                return S.removeAllLineBreaks(result);
            }
        }
View Full Code Here

Examples of javax.media.Renderer.process()

          return Renderer.BUFFER_PROCESSED_FAILED;
        }*/
            
       
        //long start = System.currentTimeMillis();
        processResult = renderer.process(input)// TODO: check return code
        //long stop = System.currentTimeMillis();
        //System.out.println("Renderer process took " + (stop - start) + " ms");
       
        if (processResult == Renderer.INPUT_BUFFER_NOT_CONSUMED)
        {
View Full Code Here

Examples of jfun.yan.xml.NutsProcessor.process()

      ctxt.log("yan configuration file "+config_file+" not found.");
      return null;
    }
    try{
      final NutsProcessor proc = getNutsProcessor(cloader, rloader, ctxt);
      proc.process(rloader.getResource(config_file), in);
      registerServletContext(proc.getContainer(), ctxt);
      return proc;
    }
    finally{
      in.close();
View Full Code Here

Examples of jodd.db.oom.sqlgen.chunks.SqlChunk.process()

    // process
    StringBuilder query = new StringBuilder();
    chunk = firstChunk;
    try {
      while (chunk != null) {
        chunk.process(query);
        chunk = chunk.getNextChunk();
      }
    } catch (DbSqlBuilderException dsbex) {
      dsbex.setQueryString(query.toString());
      throw dsbex;
View Full Code Here

Examples of juju.reattore.server.intercept.Interceptor.process()

        /* Where's my map function, eh? */
        for (Iterator i = children.iterator(); i.hasNext();) {
            Interceptor in = (Interceptor)i.next();

            if (in.process(req, resp)) {
                return true;
            }
        }

        return false;
View Full Code Here

Examples of juzu.impl.template.spi.juzu.compiler.ProcessPhase.process()

      TemplateModel<ASTNode.Template> templateModel = new TemplateModel<ASTNode.Template>(
          ASTNode.Template.parse(text),
          absolute,
          0,
          0);
      processPhase.process(templateModel);

      // Emit
      EmitPhase emitPhase = new EmitPhase(new EmitContext(){
        @Override
        public TagHandler resolveTagHandler(String name) {
View Full Code Here

Examples of kdu_jni.Kdu_region_compositor.Process()

            int[] imgBuffer = new int[viewSize.Get_x() * viewSize.Get_y()];
            Kdu_compositor_buf compositorBuffer = compositor.Get_composition_buffer(viewDims);
            int regionBufferSize = 0;
            int[] kduBuffer = null;
            Kdu_dims newRegion = new Kdu_dims();
            while (compositor.Process(100000, newRegion)) {
                Kdu_coords newOffset = newRegion.Access_pos();
                Kdu_coords newSize = newRegion.Access_size();
                newOffset.Subtract(viewDims.Access_pos());

                int newPixels = newSize.Get_x() * newSize.Get_y();
 
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.