Examples of push()


Examples of com.orientechnologies.orient.core.storage.impl.local.paginated.ORecordSerializationContext.push()

    offset += OIntegerSerializer.INT_SIZE;

    if (context == null) {
      ChangeSerializationHelper.INSTANCE.serializeChanges(changes, OLinkSerializer.INSTANCE, stream, offset);
    } else {
      context.push(new ORidBagUpdateSerializationOperation(changes, collectionPointer));

      // 0-length serialized list of changes
      OIntegerSerializer.INSTANCE.serializeLiteral(0, stream, offset);
      offset += OIntegerSerializer.INT_SIZE;
    }

Examples of com.peterhi.obsolete.Data.push()

      assertEquals(512, data.debug_GetBuffer().length);
      assertEquals(0, data.debug_GetRead());
      assertEquals(0, data.debug_GetWrite());
      assertEquals(RT.EOF, data.debug_GetMark());
     
      assertEquals(0, data.push(0));
      data.write(1);
      assertEquals(7, data.push(0));
      assertEquals(0, data.push(0));
    } finally {
    }

Examples of com.sk89q.skmcl.concurrent.WorkUnit.push()

                step3 = split(0.1);

        // First resolve the version (i.e. latest -> which version is "latest"?)

        setLocalizedTitle(_("launch.launchingTitle", profile.toString()));
        step1.push(0, _("launch.checkingVersion"));

        Instance instance = getInstance();
        Persistence.commitAndForget(profile);

        // Then attempt to launch

Examples of com.sun.corba.se.impl.orbutil.StackImpl.push()

    {
        synchronized (this) {
                checkShutdownState();
        }
        StackImpl stack = (StackImpl)(OAInvocationInfoStack.get()) ;
        stack.push( info ) ;
    }

    public OAInvocationInfo popInvocationInfo()
    {
        synchronized (this) {

Examples of com.sun.enterprise.util.collection.FastStack.push()

           if (tsNode == null) {  //Empty list
             done = new Object();
           } else if (tsNode.timeStamp <= allowed) {
            //Need to destroy the contained object
            list.delink(tsNode);
            stack.push(tsNode.object);
            killedCount++;
          } else {
            //This node is not old enough
             done = new Object();
          }

Examples of com.sun.faban.harness.agent.FileAgent.push()

        try {
            FileTransfer transfer = new FileTransfer(srcfile, destfile);
            logger.fine("Transferring " + transfer.getSource() + "->" +
                    transfer.getDest() + " size " +
                    transfer.getSize() + " bytes.");
            if (destf.push(transfer) != transfer.getSize()) {
                throw new IOException("Invalid transfer size");
            }
        } catch (RemoteException e) {
            Throwable t = e;
            Throwable cause = t.getCause();

Examples of com.sun.faces.component.CompositeComponentStackManager.push()

        if (null == foundCc) {
            foundCc = this.cc;
        }


        return manager.push(foundCc);

    }


    private void popCompositeComponent(FacesContext ctx) {

Examples of com.sun.msv.util.LightStack.push()

    }
    protected void pushActiveScope( IdentityConstraint c, SelectorMatcher matcher ) {
        LightStack s = (LightStack)activeScopes.get(c);
        if(s==null)
            activeScopes.put(c,s=new LightStack());
        s.push(matcher);
    }
    protected void popActiveScope( IdentityConstraint c, SelectorMatcher matcher ) {
        LightStack s = (LightStack)activeScopes.get(c);
        if(s==null)
            // since it's trying to pop, there must be a non-empty stack.

Examples of com.sun.org.apache.commons.digester.Digester.push()

        // Load the contents of our configuration file
        Digester digester = new Digester();
        digester.setValidating(false);
        digester.addRuleSet(new MemoryRuleSet());
        try {
            digester.push(this);
            digester.parse(file);
        } catch (Exception e) {
            log("Error processing configuration file " +
                file.getAbsolutePath(), e);
            return;

Examples of com.sun.org.apache.xerces.internal.util.IntStack.push()

                    // fall through

                case Op.QUESTION:
                    {
                        opStack.push(op);
                        dataStack.push(offset);
                        op = op.getChild();
                    }
                    break;

                case Op.NONGREEDYCLOSURE:
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.