Examples of pop()


Examples of org.xbib.elasticsearch.skywalker.stats.TermStatsQueue.pop()

        TermStats[] result = new TermStats[tiq.size()];
        // we want highest first so we read the queue and populate the array
        // starting at the end and work backwards
        int count = tiq.size() - 1;
        while (tiq.size() != 0) {
            result[count] = tiq.pop();
            count--;
        }
        return result;
    }
View Full Code Here

Examples of org.zeromq.ZMsg.pop()

                    break; // Interrupted
                if (items.pollin(0)) {
                    ZMsg msg = ZMsg.recvMsg(frontend);
                    if (msg == null)
                        break; // Interrupted
                    ZFrame address = msg.pop();
                    address.destroy();
                    msg.addFirst(new ZFrame("W"));
                    msg.send(backend);
                }
                if (items.pollin(1)) {
View Full Code Here

Examples of pspdash.data.compiler.ListStack.pop()

      throws ExecutionException
    {
      ListStack stack = new ListStack();
      ExpressionContext context = new SimpleExpressionContext(prefix);
      script.run(stack, context);
      SimpleData value = (SimpleData) stack.pop();
      if (value != null)
        value = (SimpleData) value.getEditable(false);
      return value;
    }
View Full Code Here

Examples of serp.bytecode.Code.pop()

            code.dup();
            code.aload().setParam(0);
            code.checkcast().setType(Collection.class);
            code.invokevirtual().setMethod(type, "addAll", boolean.class,
                new Class[] { Collection.class });
            code.pop();
        }
        code.areturn();
        code.calculateMaxStack();
        code.calculateMaxLocals();
View Full Code Here

Examples of stp.VC.pop()

//        vc.printQuery();
        System.out.println("\nChecking:" + a_eq_0);
        int query = vc.query(a_eq_0);
        vc.printQuery();

        vc.pop();

//        System.out.printf("query = %d\n", query);

        // /* Query 2 */
        Expr a_neq_0 = vc.notExpr(a_eq_0);
View Full Code Here

Examples of water.cascade.Env.pop()

  @Override void apply(Env global, Env local) {
    // Expect we can broadcast across all functions as needed.
    Env env = local == null ? global : local;
    Frame fr0 = null, fr1 = null;
    double d0=0, d1=0;
    if( env.isAry() ) fr1 = (Frame) env.pop(); else d1 = (double)env.pop()//String k0 = env.key();
    if( env.isAry() ) fr0 = (Frame) env.pop(); else d0 = (double)env.pop()//String k1 = env.key();
    if( fr0==null && fr1==null ) {
      env.push(op(d0, d1));
      return;
    }
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.