Examples of Frame


Examples of com.googlecode.aviator.asm.tree.analysis.Frame

            pw.println(method.name + method.desc);
            for (int j = 0; j < method.instructions.size(); ++j) {
                method.instructions.get(j).accept(mv);

                StringBuffer s = new StringBuffer();
                Frame f = frames[j];
                if (f == null) {
                    s.append('?');
                } else {
                    for (int k = 0; k < f.getLocals(); ++k) {
                        s.append(getShortName(f.getLocal(k).toString()))
                                .append(' ');
                    }
                    s.append(" : ");
                    for (int k = 0; k < f.getStackSize(); ++k) {
                        s.append(getShortName(f.getStack(k).toString()))
                                .append(' ');
                    }
                }
                while (s.length() < method.maxStack + method.maxLocals + 1) {
                    s.append(' ');
View Full Code Here

Examples of com.it.loratek.sski.view.Frame

import com.it.loratek.sski.view.Frame;
//test commit linux contro
public class Main {
  public static void main(String s[]) {
    Frame f = new Frame();
    f.setVisible(true);
  }
View Full Code Here

Examples of com.leapmotion.leap.Frame

    try {
      return this.currentFrame;
    } catch (Exception e) {
      System.err.println("Can not return current frame. Returning new Frame object instead");
      System.err.println(e);
      return new Frame();
    }
  }
View Full Code Here

Examples of com.neophob.sematrix.core.generator.blinken.jaxb.Frame

    int width = Integer.parseInt(blm.getWidth());
    int height = Integer.parseInt(blm.getHeight());
    int bits = Integer.parseInt(blm.getBits());
    //int channels = Integer.parseInt(blm.getChannels());
   
    Frame f = blm.getFrame().get(frameNr);
    List<Row> rows = f.getRow();
   
    BlinkenImage img = new BlinkenImage(width, height);
   
    /**
     * Structure of row data (http://blinkenlights.net/project/bml)
View Full Code Here

Examples of com.oracle.truffle.api.frame.Frame

    }

    public static void setCurrentVisibility(Visibility visibility) {
        RubyNode.notDesignedForCompilation();

        final Frame callerFrame = Truffle.getRuntime().getCallerFrame().getFrame(FrameInstance.FrameAccess.READ_WRITE, false);

        assert callerFrame != null;
        assert callerFrame.getFrameDescriptor() != null;

        final FrameSlot visibilitySlot = callerFrame.getFrameDescriptor().findFrameSlot(VISIBILITY_FRAME_SLOT_ID);
        assert visibilitySlot != null;

        callerFrame.setObject(visibilitySlot, visibility);
    }
View Full Code Here

Examples of com.rabbitmq.client.impl.Frame

        expectUnexpectedFrameError(new Confuser() {
            public Frame confuse(Frame frame) {
                if (frame.type == AMQP.FRAME_METHOD) {
                    // We can't just skip the method as that will lead us to
                    // send 0 bytes and hang waiting for a response.
                    return new Frame(AMQP.FRAME_HEADER,
                                     frame.channel, frame.getPayload());
                }
                return frame;
            }
        });
View Full Code Here

Examples of com.scriptographer.adm.Frame

        group.add(labelItem, "0, 0, 0, 2");
        group.setMarginTop(2);
      } else {
        group = null;
      }
      Frame frame = new Frame(dialog);
      frame.setStyle(FrameStyle.SUNKEN);
      // Margin needs to be set before changing size...
      // TODO: Fix this in UI package?
      int top = label != null ? 2 : 4, bottom = 4;
      frame.setMargin(top, 0, bottom, 0);
      // Margin is included inside size, not added. This is different
      // to how things works with CSS...
      // TODO: Fix this in UI package?
      frame.setHeight(2 + top + bottom);
      // Now finish setting up the layout group and label
      if (group != null) {
        group.add(frame, "1, 1, full, center");
        item = group;
      } else {
View Full Code Here

Examples of com.springsource.insight.intercept.trace.Frame

        SimpleFrameBuilder builder = new SimpleFrameBuilder();
        Operation op = createOperation(param);

        builder.enter(op);

        Frame frame = builder.exit();
        return Trace.newInstance(ApplicationName.valueOf("app"), TraceId.valueOf("0"), frame);
    }
View Full Code Here

Examples of compiler.frames.Frame

    {
      int id = 0;
      // fun new(p:ptr):void;
      {
        AbsFunDecl funDecl = new AbsFunDecl("new", null, null, null);
        funDecl.frame = new Frame(funDecl, 0);
       
        id--; funDecl.declId = id;
        funDecl.semTyp = new SemFunTyp(new SemAtomTyp(SemAtomTyp.VOID));
        ((SemFunTyp)funDecl.semTyp).args.add(new SemPtrTyp(null));
        try { SymTable.names.put(funDecl.name, funDecl); }
        catch (SymDefinedAtThisScope _) {}
      }
      // fun free(p:ptr):void;
      {
        AbsFunDecl funDecl = new AbsFunDecl("free", null, null, null);
        funDecl.frame = new Frame(funDecl, 0);
        id--; funDecl.declId = id;
        funDecl.semTyp = new SemFunTyp(new SemAtomTyp(SemAtomTyp.VOID));
        ((SemFunTyp)funDecl.semTyp).args.add(new SemPtrTyp(null));
        try { SymTable.names.put(funDecl.name, funDecl); }
        catch (SymDefinedAtThisScope _) {}
      }
      // fun read_char():char;
      {
        AbsFunDecl funDecl = new AbsFunDecl("read_char", null, null, null);
        funDecl.frame = new Frame(funDecl, 0);
        id--; funDecl.declId = id;
        funDecl.semTyp = new SemFunTyp(new SemAtomTyp(SemAtomTyp.CHAR));
        try { SymTable.names.put(funDecl.name, funDecl); }
        catch (SymDefinedAtThisScope _) {}
      }
      // fun read_int():int;
      {
        AbsFunDecl funDecl = new AbsFunDecl("read_int", null, null, null);
        funDecl.frame = new Frame(funDecl, 0);
        id--; funDecl.declId = id;
        funDecl.semTyp = new SemFunTyp(new SemAtomTyp(SemAtomTyp.INT));
        try { SymTable.names.put(funDecl.name, funDecl); }
        catch (SymDefinedAtThisScope _) {}
      }
      // fun print_char(c:char):void;
      {
        AbsFunDecl funDecl = new AbsFunDecl("print_char", null, null, null);
        funDecl.frame = new Frame(funDecl, 0);
        id--; funDecl.declId = id;
        funDecl.semTyp = new SemFunTyp(new SemAtomTyp(SemAtomTyp.VOID));
        ((SemFunTyp)funDecl.semTyp).args.add(new SemAtomTyp(SemAtomTyp.CHAR));
        try { SymTable.names.put(funDecl.name, funDecl); }
        catch (SymDefinedAtThisScope _) {}
      }
      // fun print_int(i:int):void;
      {
        AbsFunDecl funDecl = new AbsFunDecl("print_int", null, null, null);
        funDecl.frame = new Frame(funDecl, 0);
        id--; funDecl.declId = id;
        funDecl.semTyp = new SemFunTyp(new SemAtomTyp(SemAtomTyp.VOID));
        ((SemFunTyp)funDecl.semTyp).args.add(new SemAtomTyp(SemAtomTyp.INT));
        try { SymTable.names.put(funDecl.name, funDecl); }
        catch (SymDefinedAtThisScope _) {}
View Full Code Here

Examples of de.codolith.Cinema.Frame

      reader.setInput(iis);
      LinkedList<Frame> frames = new LinkedList<Frame>();
      for(int i =0;true;i++){
        try {
          BufferedImage bi = reader.read(i);
          frames.add(new Frame(bi,alignment));
        } catch (IndexOutOfBoundsException e){
          break;
        } catch (IOException e) {
          e.printStackTrace();
        }
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.