bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
DisabledFocusManager() { // TODO } // DisabledFocusManager() | DisabledFocusManager() { // TODO } // DisabledFocusManager() | 3,843 |
public void focusNextComponent(Component component) { // TODO } // focusNextComponent() | public void focusNextComponent(Component component) { // TODO } // focusNextComponent() | 3,844 |
public void focusNextComponent(Component component) { // TODO } // focusNextComponent() | public void focusNextComponent(Component component) { // TODO } // focusNextComponent() | 3,845 |
public void focusPreviousComponent(Component value0) { // TODO } // focusPreviousComponent() | public void focusPreviousComponent(Component value0) { // TODO } // focusPreviousComponent() | 3,846 |
public void focusPreviousComponent(Component value0) { // TODO } // focusPreviousComponent() | public void focusPreviousComponent(Component value0) { // TODO } // focusPreviousComponent() | 3,847 |
public void processKeyEvent(Component component, KeyEvent event) { // TODO } // processKeyEvent() | public void processKeyEvent(Component component, KeyEvent event) { // TODO } // processKeyEvent() | 3,848 |
public void processKeyEvent(Component component, KeyEvent event) { // TODO } // processKeyEvent() | public void processKeyEvent(Component component, KeyEvent event) { // TODO } // processKeyEvent() | 3,849 |
public FocusManager() { // TODO } // FocusManager() | public FocusManager() { // TODO } // FocusManager() | 3,850 |
public FocusManager() { // TODO } // FocusManager() | public FocusManager() { // TODO } // FocusManager() | 3,851 |
public static void disableSwingFocusManager() { // TODO } // disableSwingFocusManager() | public static void disableSwingFocusManager() { // TODO } // disableSwingFocusManager() | 3,852 |
public static void disableSwingFocusManager() { // TODO } // disableSwingFocusManager() | public static void disableSwingFocusManager() { // TODO } // disableSwingFocusManager() | 3,853 |
public static FocusManager getCurrentManager() { return null; // TODO } // getCurrentManager() | public static FocusManager getCurrentManager() { return null; // TODO } // getCurrentManager() | 3,854 |
public static FocusManager getCurrentManager() { return null; // TODO } // getCurrentManager() | public static FocusManager getCurrentManager() { return null; // TODO } // getCurrentManager() | 3,855 |
public static boolean isFocusManagerEnabled() { return false; // TODO } // isFocusManagerEnabled() | public static boolean isFocusManagerEnabled() { return false; // TODO } // isFocusManagerEnabled() | 3,856 |
public static boolean isFocusManagerEnabled() { return false; // TODO } // isFocusManagerEnabled() | public static boolean isFocusManagerEnabled() { return false; // TODO } // isFocusManagerEnabled() | 3,857 |
public static void setCurrentManager(FocusManager manager) { // TODO } // setCurrentManager() | public static void setCurrentManager(FocusManager manager) { // TODO } // setCurrentManager() | 3,858 |
public static void setCurrentManager(FocusManager manager) { // TODO } // setCurrentManager() | public static void setCurrentManager(FocusManager manager) { // TODO } // setCurrentManager() | 3,859 |
public final Object clone(Cloneable object) { testInited(); final VmClassType< ? > objectClass = VmMagic.getObjectType(object); final Address objectPtr = ObjectReference.fromObject(object) .toAddress(); final int size; if (objectClass.isArray()) { final i... | public final Object clone(Cloneable object) { testInited(); final VmClassType< ? > objectClass = VmMagic.getObjectType(object); final Address objectPtr = ObjectReference.fromObject(object) .toAddress(); final int size; if (objectClass.isArray()) { final i... | 3,860 |
public final Object newInstance(VmType< ? > cls) { // cls.link(); cls.initialize(); return newInstance(cls, ((VmNormalClass< ? >) cls).getObjectSize()); } | public final Object newInstance(VmType< ? > cls) { // cls.link(); return newInstance(cls, ((VmNormalClass< ? >) cls).getObjectSize()); } | 3,861 |
public NegativeArraySizeException(String s) { super(s); } | public NegativeArraySizeException(String s) { super(s); } | 3,862 |
public OutOfMemoryError() { super(); } | public OutOfMemoryError() { super(); } | 3,863 |
public HostArgument(String name, String description) { super(name, description); } | public HostArgument(String name, String description) { super(name, description); } | 3,864 |
public BasicComboBoxEditor() { editor = new JTextField(); editor.setBorder(new EmptyBorder(1, 1, 1, 1)); } | public BasicComboBoxEditor() { editor = new JTextField(); editor.setBorder(null); editor.setColumns(9); } | 3,866 |
public Component getTopComponentAt(int x, int y) { if(desktopFrame == null){ //no AWT yet, drop the event return null; } Component comp = desktopFrame.getDesktop().getComponentAt(x,y); if(comp instanceof SwingBaseWindow){ SwingBaseWindow base = (SwingBase... | public Component getTopComponentAt(int x, int y) { if(desktopFrame == null){ //no AWT yet, drop the event return null; } Component comp = desktopFrame.getDesktop().getComponentAt(x,y); if(comp instanceof SwingBaseWindow){ SwingBaseWindow base = (SwingBase... | 3,867 |
public Component getTopComponentAt(int x, int y) { if(desktopFrame == null){ //no AWT yet, drop the event return null; } Component comp = desktopFrame.getDesktop().getComponentAt(x,y); if(comp instanceof SwingBaseWindow){ SwingBaseWindow base = (SwingBase... | public Component getTopComponentAt(int x, int y) { if(desktopFrame == null){ //no AWT yet, drop the event return null; } Component comp = desktopFrame.getDesktop().getComponentAt(x,y); if(comp instanceof SwingBaseWindow){ SwingBaseWindow base = (SwingBase... | 3,868 |
public boolean contains(double x, double y) { double rx = getWidth() / 2; double ry = getHeight() / 2; double tx = (x - getCenterX()) / rx; double ty = (y - getCenterY()) / ry; return tx * tx + ty * ty <= 1.0; } | public boolean contains(double x, double y) { double rx = getWidth() / 2; double ry = getHeight() / 2; double tx = (x - getCenterX()) / rx; double ty = (y - getCenterY()) / ry; return tx * tx + ty * ty <= 1.0; } | 3,869 |
public boolean intersects(double x, double y, double w, double h) { // fixme return false; } | Rectangle2D r = new Rectangle2D.Double(x, y, w, h); if (! r.intersects(getX(), getY(), getWidth(), getHeight())) return false; if (contains(x, y) || contains(x, y + h) || contains(x + w, y) || contains(x + w, y + h)) return true; Line2D l1 = new Line2D.Double(getX(), getY() + (getHeight() / 2), getX() + getWidth(), g... | 3,870 |
public void run() { if (logTimers) System.out.println("javax.swing.Timer -> queueEvent()"); queueEvent(); if ( ! repeats) task = null; } | public void run() { if (logTimers) System.out.println("javax.swing.Timer -> queueEvent()"); queueEvent(); if ( ! repeats) task = null; } | 3,871 |
public boolean shouldScroll(int direction) { int value; if (slider.getOrientation() == JSlider.HORIZONTAL) value = valueForXPosition(currentMouseX); else value = valueForYPosition(currentMouseY); if (direction == POSITIVE_SCROLL) return (value > slider.getValue()); else return (value < s... | public boolean shouldScroll(int direction) { int value; if (slider.getOrientation() == JSlider.HORIZONTAL) value = valueForXPosition(currentMouseX); else value = valueForYPosition(currentMouseY); if (direction == POSITIVE_SCROLL) return value > slider.getValue(); else return (value < sli... | 3,874 |
public boolean shouldScroll(int direction) { int value; if (slider.getOrientation() == JSlider.HORIZONTAL) value = valueForXPosition(currentMouseX); else value = valueForYPosition(currentMouseY); if (direction == POSITIVE_SCROLL) return (value > slider.getValue()); else return (value < s... | public boolean shouldScroll(int direction) { int value; if (slider.getOrientation() == JSlider.HORIZONTAL) value = valueForXPosition(currentMouseX); else value = valueForYPosition(currentMouseY); if (direction == POSITIVE_SCROLL) return (value > slider.getValue()); else return value < sl... | 3,875 |
protected void calculateLabelRect() { if (slider.getOrientation() == JSlider.HORIZONTAL) { labelRect.x = contentRect.x; labelRect.y = tickRect.y + tickRect.height; labelRect.width = contentRect.width; labelRect.height = getHeightOfTallestLabel(); } else { labelRect.x = tickRect.x + tickRe... | protected void calculateLabelRect() { if (slider.getOrientation() == JSlider.HORIZONTAL) { labelRect.x = contentRect.x; labelRect.y = tickRect.y + tickRect.height; labelRect.width = contentRect.width; labelRect.height = getHeightOfTallestLabel(); } else { labelRect.x = tickRect.x + tickRe... | 3,876 |
protected void calculateLabelRect() { if (slider.getOrientation() == JSlider.HORIZONTAL) { labelRect.x = contentRect.x; labelRect.y = tickRect.y + tickRect.height; labelRect.width = contentRect.width; labelRect.height = getHeightOfTallestLabel(); } else { labelRect.x = tickRect.x + tickRe... | protected void calculateLabelRect() { if (slider.getOrientation() == JSlider.HORIZONTAL) { labelRect.x = contentRect.x; labelRect.y = tickRect.y + tickRect.height; labelRect.width = contentRect.width; labelRect.height = getHeightOfTallestLabel(); } else { labelRect.x = tickRect.x + tickRe... | 3,877 |
protected void calculateLabelRect() { if (slider.getOrientation() == JSlider.HORIZONTAL) { labelRect.x = contentRect.x; labelRect.y = tickRect.y + tickRect.height; labelRect.width = contentRect.width; labelRect.height = getHeightOfTallestLabel(); } else { labelRect.x = tickRect.x + tickRe... | protected void calculateLabelRect() { if (slider.getOrientation() == JSlider.HORIZONTAL) { labelRect.x = contentRect.x; labelRect.y = tickRect.y + tickRect.height; labelRect.width = contentRect.width; labelRect.height = getHeightOfTallestLabel(); } else { labelRect.x = tickRect.x + tickRe... | 3,878 |
protected void calculateThumbLocation() { int value = slider.getValue(); if (slider.getOrientation() == JSlider.HORIZONTAL) { thumbRect.x = xPositionForValue(value) - thumbRect.width / 2; thumbRect.y = trackRect.y; } else { thumbRect.x = trackRect.x; thumbRect.y = yPositionForValue(value) - t... | protected void calculateThumbLocation() { int value = slider.getValue(); if (slider.getOrientation() == JSlider.HORIZONTAL) { thumbRect.x = xPositionForValue(value) - thumbRect.width / 2; thumbRect.y = trackRect.y + 1; } else { thumbRect.x = trackRect.x; thumbRect.y = yPositionForValue(value)... | 3,880 |
protected void calculateThumbLocation() { int value = slider.getValue(); if (slider.getOrientation() == JSlider.HORIZONTAL) { thumbRect.x = xPositionForValue(value) - thumbRect.width / 2; thumbRect.y = trackRect.y; } else { thumbRect.x = trackRect.x; thumbRect.y = yPositionForValue(value) - t... | protected void calculateThumbLocation() { int value = slider.getValue(); if (slider.getOrientation() == JSlider.HORIZONTAL) { thumbRect.x = xPositionForValue(value) - thumbRect.width / 2; thumbRect.y = trackRect.y; } else { thumbRect.x = trackRect.x; thumbRect.y = yPositionForValue(value) - t... | 3,881 |
protected void calculateThumbSize() { Dimension d = getThumbSize(); thumbRect.width = d.width; thumbRect.height = d.height; if (slider.getOrientation() == JSlider.HORIZONTAL) thumbRect.y = trackRect.y; else thumbRect.x = trackRect.x; } | protected void calculateThumbSize() { Dimension d = getThumbSize(); thumbRect.width = d.width; thumbRect.height = d.height; if (slider.getOrientation() == JSlider.HORIZONTAL) thumbRect.y = trackRect.y; else thumbRect.x = trackRect.x; } | 3,882 |
protected void calculateTickRect() { if (slider.getOrientation() == JSlider.HORIZONTAL) { tickRect.x = trackRect.x; tickRect.y = trackRect.y + trackRect.height; tickRect.width = trackRect.width; tickRect.height = (slider.getPaintTicks() ? getTickLength() : 0); if (tickRect.y + tickRect.height > conten... | protected void calculateTickRect() { if (slider.getOrientation() == JSlider.HORIZONTAL) { tickRect.x = trackRect.x; tickRect.y = trackRect.y + trackRect.height; tickRect.width = trackRect.width; tickRect.height = (slider.getPaintTicks() ? getTickLength() : 0); if (tickRect.y + tickRect.height > conten... | 3,883 |
protected void calculateTickRect() { if (slider.getOrientation() == JSlider.HORIZONTAL) { tickRect.x = trackRect.x; tickRect.y = trackRect.y + trackRect.height; tickRect.width = trackRect.width; tickRect.height = (slider.getPaintTicks() ? getTickLength() : 0); if (tickRect.y + tickRect.height > conten... | protected void calculateTickRect() { if (slider.getOrientation() == JSlider.HORIZONTAL) { tickRect.x = trackRect.x; tickRect.y = trackRect.y + trackRect.height; tickRect.width = trackRect.width; tickRect.height = (slider.getPaintTicks() ? getTickLength() : 0); if (tickRect.y + tickRect.height > conten... | 3,884 |
public void paintTrack(Graphics g) { Color saved_color = g.getColor(); int width; int height; Point a = new Point(trackRect.x, trackRect.y); Point b = new Point(a); Point c = new Point(a); Point d = new Point(a); if (slider.getOrientation() == JSlider.HORIZONTAL) { width = trackRect.widt... | public void paintTrack(Graphics g) { Color saved_color = g.getColor(); int width; int height; Point a = new Point(trackRect.x, trackRect.y + 1); Point b = new Point(a); Point c = new Point(a); Point d = new Point(a); if (slider.getOrientation() == JSlider.HORIZONTAL) { width = trackRect.... | 3,886 |
public int valueForXPosition(int xPos) { int min = slider.getMinimum(); int max = slider.getMaximum(); int len = trackRect.width; int value; // If the length is 0, you shouldn't be able to even see where the slider // is. This really shouldn't ever happen, but just in case, we'll return // th... | public int valueForXPosition(int xPos) { int min = slider.getMinimum(); int max = slider.getMaximum(); int len = trackRect.width; int value; // If the length is 0, you shouldn't be able to even see where the slider // is. This really shouldn't ever happen, but just in case, we'll return // th... | 3,887 |
public int valueForXPosition(int xPos) { int min = slider.getMinimum(); int max = slider.getMaximum(); int len = trackRect.width; int value; // If the length is 0, you shouldn't be able to even see where the slider // is. This really shouldn't ever happen, but just in case, we'll return // th... | public int valueForXPosition(int xPos) { int min = slider.getMinimum(); int max = slider.getMaximum(); int len = trackRect.width; int value; // If the length is 0, you shouldn't be able to even see where the slider // is. This really shouldn't ever happen, but just in case, we'll return // th... | 3,888 |
public int valueForXPosition(int xPos) { int min = slider.getMinimum(); int max = slider.getMaximum(); int len = trackRect.width; int value; // If the length is 0, you shouldn't be able to even see where the slider // is. This really shouldn't ever happen, but just in case, we'll return // th... | public int valueForXPosition(int xPos) { int min = slider.getMinimum(); int max = slider.getMaximum(); int len = trackRect.width; int value; // If the length is 0, you shouldn't be able to even see where the slider // is. This really shouldn't ever happen, but just in case, we'll return // th... | 3,889 |
public int valueForYPosition(int yPos) { int min = slider.getMinimum(); int max = slider.getMaximum(); int len = trackRect.height; int value; // If the length is 0, you shouldn't be able to even see where the slider // is. This really shouldn't ever happen, but just in case, we'll return // t... | public int valueForYPosition(int yPos) { int min = slider.getMinimum(); int max = slider.getMaximum(); int len = trackRect.height; int value; // If the length is 0, you shouldn't be able to even see where the slider // is. This really shouldn't ever happen, but just in case, we'll return // t... | 3,890 |
public int valueForYPosition(int yPos) { int min = slider.getMinimum(); int max = slider.getMaximum(); int len = trackRect.height; int value; // If the length is 0, you shouldn't be able to even see where the slider // is. This really shouldn't ever happen, but just in case, we'll return // t... | public int valueForYPosition(int yPos) { int min = slider.getMinimum(); int max = slider.getMaximum(); int len = trackRect.height; int value; // If the length is 0, you shouldn't be able to even see where the slider // is. This really shouldn't ever happen, but just in case, we'll return // t... | 3,891 |
public int valueForYPosition(int yPos) { int min = slider.getMinimum(); int max = slider.getMaximum(); int len = trackRect.height; int value; // If the length is 0, you shouldn't be able to even see where the slider // is. This really shouldn't ever happen, but just in case, we'll return // t... | public int valueForYPosition(int yPos) { int min = slider.getMinimum(); int max = slider.getMaximum(); int len = trackRect.height; int value; // If the length is 0, you shouldn't be able to even see where the slider // is. This really shouldn't ever happen, but just in case, we'll return // t... | 3,892 |
public synchronized void write (byte[] buf, int offset, int len) throws IOException { out.write(buf, offset, len); written += len; } | public synchronized void write (byte[] buf, int offset, int len) throws IOException { out.write(buf, offset, len); written += len; } | 3,894 |
public synchronized void write (byte[] buf, int offset, int len) throws IOException { out.write(buf, offset, len); written += len; } | public synchronized void write (byte[] buf, int offset, int len) throws IOException { out.write(buf, offset, len); written += len; } | 3,895 |
public UnaryQuad(int address, IRBasicBlock block, int lhsIndex, int operation, int varIndex) { super(address, block, lhsIndex); this.operation = operation; this.operand = getOperand(varIndex); refs = new Operand[] { operand }; } | public UnaryQuad(int address, IRBasicBlock block, int lhsIndex, int operation, int varIndex) { super(address, block, lhsIndex); this.operation = operation; this.operand = getOperand(varIndex); refs = new Operand[] { operand }; } | 3,896 |
public void doPass2(BootableHashMap liveVariables) { operand = operand.simplify(); if (operand instanceof Variable) { Variable v = (Variable) operand; v.setLastUseAddress(this.getAddress()); liveVariables.put(v, v); } } | public void doPass2(BootableHashMap liveVariables) { operand = operand.simplify(); if (operand instanceof Variable) { Variable v = (Variable) operand; v.setLastUseAddress(this.getAddress()); liveVariables.put(v, v); } } | 3,897 |
private Quad foldConstants() { if(operand instanceof Constant){ Constant c = (Constant) operand; switch (operation) { case I2L: return new ConstantRefAssignQuad(this.getAddress(), this.getBasicBlock(), this.getLHS().getIndex(), c.i2l()); case I2F: ... | private Quad foldConstants() { if(operand instanceof Constant){ Constant c = (Constant) operand; switch (operation) { case I2L: return new ConstantRefAssignQuad(this.getAddress(), this.getBasicBlock(), this.getLHS().getIndex(), c.i2l()); case I2F: ... | 3,898 |
public void generateCode(CodeGenerator cg) { Variable lhs = getLHS(); Location lhsLoc = lhs.getLocation(); if (lhsLoc instanceof RegisterLocation) { RegisterLocation regLoc = (RegisterLocation) lhsLoc; Object lhsReg = regLoc.getRegister(); if (operand instanceof Variable) { Variable var = (Variable) operan... | public void generateCode(CodeGenerator cg) { Variable lhs = getLHS(); Location lhsLoc = lhs.getLocation(); if (lhsLoc instanceof RegisterLocation) { RegisterLocation regLoc = (RegisterLocation) lhsLoc; Object lhsReg = regLoc.getRegister(); if (operand instanceof Variable) { Variable var = (Variable) operan... | 3,899 |
public void generateCode(CodeGenerator cg) { Variable lhs = getLHS(); Location lhsLoc = lhs.getLocation(); if (lhsLoc instanceof RegisterLocation) { RegisterLocation regLoc = (RegisterLocation) lhsLoc; Object lhsReg = regLoc.getRegister(); if (operand instanceof Variable) { Variable var = (Variable) operan... | public void generateCode(CodeGenerator cg) { Variable lhs = getLHS(); Location lhsLoc = lhs.getLocation(); if (lhsLoc instanceof RegisterLocation) { RegisterLocation regLoc = (RegisterLocation) lhsLoc; Object lhsReg = regLoc.getRegister(); if (operand instanceof Variable) { Variable var = (Variable) operan... | 3,900 |
public void generateCode(CodeGenerator cg) { Variable lhs = getLHS(); Location lhsLoc = lhs.getLocation(); if (lhsLoc instanceof RegisterLocation) { RegisterLocation regLoc = (RegisterLocation) lhsLoc; Object lhsReg = regLoc.getRegister(); if (operand instanceof Variable) { Variable var = (Variable) operan... | public void generateCode(CodeGenerator cg) { Variable lhs = getLHS(); Location lhsLoc = lhs.getLocation(); if (lhsLoc instanceof RegisterLocation) { RegisterLocation regLoc = (RegisterLocation) lhsLoc; Object lhsReg = regLoc.getRegister(); if (operand instanceof Variable) { Variable var = (Variable) operan... | 3,901 |
public void generateCode(CodeGenerator cg) { Variable lhs = getLHS(); Location lhsLoc = lhs.getLocation(); if (lhsLoc instanceof RegisterLocation) { RegisterLocation regLoc = (RegisterLocation) lhsLoc; Object lhsReg = regLoc.getRegister(); if (operand instanceof Variable) { Variable var = (Variable) operan... | public void generateCode(CodeGenerator cg) { Variable lhs = getLHS(); Location lhsLoc = lhs.getLocation(); if (lhsLoc instanceof RegisterLocation) { RegisterLocation regLoc = (RegisterLocation) lhsLoc; Object lhsReg = regLoc.getRegister(); if (operand instanceof Variable) { Variable var = (Variable) operan... | 3,902 |
public void generateCode(CodeGenerator cg) { Variable lhs = getLHS(); Location lhsLoc = lhs.getLocation(); if (lhsLoc instanceof RegisterLocation) { RegisterLocation regLoc = (RegisterLocation) lhsLoc; Object lhsReg = regLoc.getRegister(); if (operand instanceof Variable) { Variable var = (Variable) operan... | public void generateCode(CodeGenerator cg) { Variable lhs = getLHS(); Location lhsLoc = lhs.getLocation(); if (lhsLoc instanceof RegisterLocation) { RegisterLocation regLoc = (RegisterLocation) lhsLoc; Object lhsReg = regLoc.getRegister(); if (operand instanceof Variable) { Variable var = (Variable) operan... | 3,903 |
public void generateCode(CodeGenerator cg) { Variable lhs = getLHS(); Location lhsLoc = lhs.getLocation(); if (lhsLoc instanceof RegisterLocation) { RegisterLocation regLoc = (RegisterLocation) lhsLoc; Object lhsReg = regLoc.getRegister(); if (operand instanceof Variable) { Variable var = (Variable) operan... | public void generateCode(CodeGenerator cg) { Variable lhs = getLHS(); Location lhsLoc = lhs.getLocation(); if (lhsLoc instanceof RegisterLocation) { RegisterLocation regLoc = (RegisterLocation) lhsLoc; Object lhsReg = regLoc.getRegister(); if (operand instanceof Variable) { Variable var = (Variable) operan... | 3,904 |
public void generateCode(CodeGenerator cg) { Variable lhs = getLHS(); Location lhsLoc = lhs.getLocation(); if (lhsLoc instanceof RegisterLocation) { RegisterLocation regLoc = (RegisterLocation) lhsLoc; Object lhsReg = regLoc.getRegister(); if (operand instanceof Variable) { Variable var = (Variable) operan... | public void generateCode(CodeGenerator cg) { Variable lhs = getLHS(); Location lhsLoc = lhs.getLocation(); if (lhsLoc instanceof RegisterLocation) { RegisterLocation regLoc = (RegisterLocation) lhsLoc; Object lhsReg = regLoc.getRegister(); if (operand instanceof Variable) { Variable var = (Variable) operan... | 3,905 |
public Operand getOperand() { return operand; } | public Operand getOperand() { return operand; } | 3,906 |
public String toString() { return getAddress() + ": " + getLHS().toString() + " = " + OP_MAP[operation - I2L] + " " + operand.toString(); } | public String toString() { return getAddress() + ": " + getLHS().toString() + " = " + OP_MAP[operation - I2L] + " " + operand.toString(); } | 3,907 |
public AssignQuad(int address, IRBasicBlock block, int lhsIndex) { this(address, block, block.getVariables()[lhsIndex]); } | public AssignQuad(int address, IRBasicBlock block, int lhsIndex) { this(address, block, block.getVariables()[lhsIndex]); } | 3,908 |
public int getNativeFD() { NIOSocket socket = (NIOSocket) ((SocketChannelImpl) ch).socket(); return socket.getPlainSocketImpl().getNativeFD(); } | public int getNativeFD() { NIOSocket socket = (NIOSocket) ((SocketChannelImpl) ch).socket(); return socket.getPlainSocketImpl().getNativeFD(); } | 3,911 |
public void insertString(int offset, String text, AttributeSet attributes) throws BadLocationException { // Just return when no text to insert was given. if (text == null || text.length() == 0) return; DefaultDocumentEvent event = new DefaultDocumentEvent(offset, text.length(), Documen... | public void insertString(int offset, String text, AttributeSet attributes) throws BadLocationException { // Just return when no text to insert was given. if (text == null || text.length() == 0) return; DefaultDocumentEvent event = new DefaultDocumentEvent(offset, text.length(), Documen... | 3,912 |
void jbInit() throws Exception { // make it non resizable setResizable(true); this.setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE); // create some reusable borders and layouts Border etchedBorder = BorderFactory.createEtchedBorder(); BorderLayout borderLayout = new BorderLayout(); ... | void jbInit() throws Exception { // make it non resizable setResizable(true); this.setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE); // create some reusable borders and layouts Border etchedBorder = BorderFactory.createEtchedBorder(); BorderLayout borderLayout = new BorderLayout(); ... | 3,916 |
void jbInit() throws Exception { // make it non resizable setResizable(true); this.setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE); // create some reusable borders and layouts Border etchedBorder = BorderFactory.createEtchedBorder(); BorderLayout borderLayout = new BorderLayout(); ... | void jbInit() throws Exception { // make it non resizable setResizable(true); this.setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE); // create some reusable borders and layouts Border etchedBorder = BorderFactory.createEtchedBorder(); BorderLayout borderLayout = new BorderLayout(); ... | 3,917 |
public DebugGraphics(Graphics graphics) { this.graphics = graphics; } | public DebugGraphics() { this.graphics = graphics; } | 3,918 |
public DebugGraphics(Graphics graphics) { this.graphics = graphics; } | public DebugGraphics(Graphics graphics) { } | 3,919 |
public Request create_request(org.omg.CORBA.Object target, Context context, String method, NVList parameters, NamedValue returns, ExceptionList exceptions, ContextList ctx_list ) { operation = method; LocalRequest rq = new LocalRequest(object, poa, Id); rq.setOperation(me... | public Request create_request(org.omg.CORBA.Object target, Context context, String method, NVList parameters, NamedValue returns, ExceptionList exceptions, ContextList ctx_list ) { operation = method; LocalRequest rq = new LocalRequest(object, poa, Id); rq.setOperation(me... | 3,920 |
public InputStream invoke(org.omg.CORBA.Object target, OutputStream output) throws ApplicationException { try { streamRequest sr = (streamRequest) output; LocalRequest lr = (LocalRequest) sr.request; InvokeHandler handler = lr.object.getHandler(lr.operation(), lr.coo... | public InputStream invoke(org.omg.CORBA.Object target, OutputStream output) throws ApplicationException { try { streamRequest sr = (streamRequest) output; LocalRequest lr = (LocalRequest) sr.request; InvokeHandler handler = lr.object.getHandler(lr.operation(), lr.coo... | 3,921 |
public InputStream invoke(org.omg.CORBA.Object target, OutputStream output) throws ApplicationException { try { streamRequest sr = (streamRequest) output; LocalRequest lr = (LocalRequest) sr.request; InvokeHandler handler = lr.object.getHandler(lr.operation(), lr.coo... | public InputStream invoke(org.omg.CORBA.Object target, OutputStream output) throws ApplicationException { try { streamRequest sr = (streamRequest) output; LocalRequest lr = (LocalRequest) sr.request; InvokeHandler handler = lr.object.getHandler(lr.operation(), lr.coo... | 3,922 |
public InputStream invoke(org.omg.CORBA.Object target, OutputStream output) throws ApplicationException { try { streamRequest sr = (streamRequest) output; LocalRequest lr = (LocalRequest) sr.request; InvokeHandler handler = lr.object.getHandler(lr.operation(), lr.coo... | public InputStream invoke(org.omg.CORBA.Object target, OutputStream output) throws ApplicationException { try { streamRequest sr = (streamRequest) output; LocalRequest lr = (LocalRequest) sr.request; InvokeHandler handler = lr.object.getHandler(lr.operation(), lr.coo... | 3,923 |
public InputStream invoke(org.omg.CORBA.Object target, OutputStream output) throws ApplicationException { try { streamRequest sr = (streamRequest) output; LocalRequest lr = (LocalRequest) sr.request; InvokeHandler handler = lr.object.getHandler(lr.operation(), lr.coo... | public InputStream invoke(org.omg.CORBA.Object target, OutputStream output) throws ApplicationException { try { streamRequest sr = (streamRequest) output; LocalRequest lr = (LocalRequest) sr.request; InvokeHandler handler = lr.object.getHandler(lr.operation(), lr.coo... | 3,924 |
public InputStream invoke(org.omg.CORBA.Object target, OutputStream output) throws ApplicationException { try { streamRequest sr = (streamRequest) output; LocalRequest lr = (LocalRequest) sr.request; InvokeHandler handler = lr.object.getHandler(lr.operation(), lr.coo... | public InputStream invoke(org.omg.CORBA.Object target, OutputStream output) throws ApplicationException { try { streamRequest sr = (streamRequest) output; LocalRequest lr = (LocalRequest) sr.request; InvokeHandler handler = lr.object.getHandler(lr.operation(), lr.coo... | 3,925 |
public boolean is_equivalent(org.omg.CORBA.Object target, org.omg.CORBA.Object other ) { if (target == other) return true; else if (target instanceof ObjectImpl && other instanceof ObjectImpl) { org.omg.CORBA.portable.Delegate a = null... | public boolean is_equivalent(org.omg.CORBA.Object target, org.omg.CORBA.Object other ) { if (target == other) return true; else if (target instanceof ObjectImpl && other instanceof ObjectImpl) { org.omg.CORBA.portable.Delegate a = null... | 3,926 |
public Dimension minimumLayoutSize(Container parent) { if (parent instanceof JScrollPane) { JScrollPane sc = (JScrollPane) parent; synchronized (sc.getTreeLock ()) { Dimension insetsSize = new Dimension(0,0); Dimension viewportSize = new Dimension(0,0); ... | public Dimension minimumLayoutSize(Container parent) { if (parent instanceof JScrollPane) { JScrollPane sc = (JScrollPane) parent; synchronized (sc.getTreeLock ()) { Dimension insetsSize = new Dimension(0,0); Dimension viewportSize = new Dimension(0,0); ... | 3,930 |
public Dimension minimumLayoutSize(Container parent) { if (parent instanceof JScrollPane) { JScrollPane sc = (JScrollPane) parent; synchronized (sc.getTreeLock ()) { Dimension insetsSize = new Dimension(0,0); Dimension viewportSize = new Dimension(0,0); ... | public Dimension minimumLayoutSize(Container parent) { if (parent instanceof JScrollPane) { JScrollPane sc = (JScrollPane) parent; synchronized (sc.getTreeLock ()) { Dimension insetsSize = new Dimension(0,0); Dimension viewportSize = new Dimension(0,0); ... | 3,931 |
public Dimension minimumLayoutSize(Container parent) { if (parent instanceof JScrollPane) { JScrollPane sc = (JScrollPane) parent; synchronized (sc.getTreeLock ()) { Dimension insetsSize = new Dimension(0,0); Dimension viewportSize = new Dimension(0,0); ... | public Dimension minimumLayoutSize(Container parent) { if (parent instanceof JScrollPane) { JScrollPane sc = (JScrollPane) parent; synchronized (sc.getTreeLock ()) { Dimension insetsSize = new Dimension(0,0); Dimension viewportSize = new Dimension(0,0); ... | 3,932 |
public CharacterBreakIterator() { iter = null; // FIXME? } | public CharacterBreakIterator() { iter = null; // FIXME? } | 3,933 |
public Object clone() { return new CharacterBreakIterator(this); } | public Object clone() { return new CharacterBreakIterator(this); } | 3,934 |
private final boolean isHighSurrogate(char c) { return c >= highSurrogateStart && c <= highSurrogateEnd; } | private final boolean isHighSurrogate(char c) { return c >= highSurrogateStart && c <= highSurrogateEnd; } | 3,935 |
private final boolean isL(char c) { return c >= LBase && c <= LBase + LCount; } | private final boolean isL(char c) { return c >= LBase && c <= LBase + LCount; } | 3,936 |
private final boolean isLVT(char c) { return isL(c) || isV(c) || isT(c); } | private final boolean isLVT(char c) { return isL(c) || isV(c) || isT(c); } | 3,937 |
private final boolean isLowSurrogate(char c) { return c >= lowSurrogateStart && c <= lowSurrogateEnd; } | private final boolean isLowSurrogate(char c) { return c >= lowSurrogateStart && c <= lowSurrogateEnd; } | 3,938 |
private final boolean isT(char c) { return c >= TBase && c <= TBase + TCount; } | private final boolean isT(char c) { return c >= TBase && c <= TBase + TCount; } | 3,939 |
private final boolean isV(char c) { return c >= VBase && c <= VBase + VCount; } | private final boolean isV(char c) { return c >= VBase && c <= VBase + VCount; } | 3,940 |
public int next() { int end = iter.getEndIndex(); if (iter.getIndex() == end) return DONE; char c; for (char prev = CharacterIterator.DONE; iter.getIndex() < end; prev = c) { c = iter.next(); if (c == CharacterIterator.DONE) break; int type = Character.getType(c); // Break after paragraph separators. ... | public int next() { int end = iter.getEndIndex(); if (iter.getIndex() == end) return DONE; char c; for (char prev = CharacterIterator.DONE; iter.getIndex() < end; prev = c) { c = iter.next(); if (c == CharacterIterator.DONE) break; int type = Character.getType(c); // Break after paragraph separators. ... | 3,941 |
public int next() { int end = iter.getEndIndex(); if (iter.getIndex() == end) return DONE; char c; for (char prev = CharacterIterator.DONE; iter.getIndex() < end; prev = c) { c = iter.next(); if (c == CharacterIterator.DONE) break; int type = Character.getType(c); // Break after paragraph separators. ... | public int next() { int end = iter.getEndIndex(); if (iter.getIndex() == end) return DONE; char c; for (char prev = CharacterIterator.DONE; iter.getIndex() < end; prev = c) { c = iter.next(); if (c == CharacterIterator.DONE) break; int type = Character.getType(c); // Break after paragraph separators. ... | 3,942 |
public int next() { int end = iter.getEndIndex(); if (iter.getIndex() == end) return DONE; char c; for (char prev = CharacterIterator.DONE; iter.getIndex() < end; prev = c) { c = iter.next(); if (c == CharacterIterator.DONE) break; int type = Character.getType(c); // Break after paragraph separators. ... | public int next() { int end = iter.getEndIndex(); if (iter.getIndex() == end) return DONE; char c; for (char prev = CharacterIterator.DONE; iter.getIndex() < end; prev = c) { c = iter.next(); if (c == CharacterIterator.DONE) break; int type = Character.getType(c); // Break after paragraph separators. ... | 3,943 |
public int next() { int end = iter.getEndIndex(); if (iter.getIndex() == end) return DONE; char c; for (char prev = CharacterIterator.DONE; iter.getIndex() < end; prev = c) { c = iter.next(); if (c == CharacterIterator.DONE) break; int type = Character.getType(c); // Break after paragraph separators. ... | public int next() { int end = iter.getEndIndex(); if (iter.getIndex() == end) return DONE; char c; for (char prev = CharacterIterator.DONE; iter.getIndex() < end; prev = c) { c = iter.next(); if (c == CharacterIterator.DONE) break; int type = Character.getType(c); // Break after paragraph separators. ... | 3,944 |
public int next() { int end = iter.getEndIndex(); if (iter.getIndex() == end) return DONE; char c; for (char prev = CharacterIterator.DONE; iter.getIndex() < end; prev = c) { c = iter.next(); if (c == CharacterIterator.DONE) break; int type = Character.getType(c); // Break after paragraph separators. ... | public int next() { int end = iter.getEndIndex(); if (iter.getIndex() == end) return DONE; char c; for (char prev = CharacterIterator.DONE; iter.getIndex() < end; prev = c) { c = iter.next(); if (c == CharacterIterator.DONE) break; int type = Character.getType(c); // Break after paragraph separators. ... | 3,945 |
public int next() { int end = iter.getEndIndex(); if (iter.getIndex() == end) return DONE; char c; for (char prev = CharacterIterator.DONE; iter.getIndex() < end; prev = c) { c = iter.next(); if (c == CharacterIterator.DONE) break; int type = Character.getType(c); // Break after paragraph separators. ... | public int next() { int end = iter.getEndIndex(); if (iter.getIndex() == end) return DONE; char c; for (char prev = CharacterIterator.DONE; iter.getIndex() < end; prev = c) { c = iter.next(); if (c == CharacterIterator.DONE) break; int type = Character.getType(c); // Break after paragraph separators. ... | 3,946 |
public int next() { int end = iter.getEndIndex(); if (iter.getIndex() == end) return DONE; char c; for (char prev = CharacterIterator.DONE; iter.getIndex() < end; prev = c) { c = iter.next(); if (c == CharacterIterator.DONE) break; int type = Character.getType(c); // Break after paragraph separators. ... | public int next() { int end = iter.getEndIndex(); if (iter.getIndex() == end) return DONE; char c; for (char prev = CharacterIterator.DONE; iter.getIndex() < end; prev = c) { c = iter.next(); if (c == CharacterIterator.DONE) break; int type = Character.getType(c); // Break after paragraph separators. ... | 3,947 |
public int next() { int end = iter.getEndIndex(); if (iter.getIndex() == end) return DONE; char c; for (char prev = CharacterIterator.DONE; iter.getIndex() < end; prev = c) { c = iter.next(); if (c == CharacterIterator.DONE) break; int type = Character.getType(c); // Break after paragraph separators. ... | public int next() { int end = iter.getEndIndex(); if (iter.getIndex() == end) return DONE; char c; for (char prev = CharacterIterator.DONE; iter.getIndex() < end; prev = c) { c = iter.next(); if (c == CharacterIterator.DONE) break; int type = Character.getType(c); // Break after paragraph separators. ... | 3,948 |
public int next() { int end = iter.getEndIndex(); if (iter.getIndex() == end) return DONE; char c; for (char prev = CharacterIterator.DONE; iter.getIndex() < end; prev = c) { c = iter.next(); if (c == CharacterIterator.DONE) break; int type = Character.getType(c); // Break after paragraph separators. ... | public int next() { int end = iter.getEndIndex(); if (iter.getIndex() == end) return DONE; char c; for (char prev = CharacterIterator.DONE; iter.getIndex() < end; prev = c) { c = iter.next(); if (c == CharacterIterator.DONE) break; int type = Character.getType(c); // Break after paragraph separators. ... | 3,949 |
public int next() { int end = iter.getEndIndex(); if (iter.getIndex() == end) return DONE; char c; for (char prev = CharacterIterator.DONE; iter.getIndex() < end; prev = c) { c = iter.next(); if (c == CharacterIterator.DONE) break; int type = Character.getType(c); // Break after paragraph separators. ... | public int next() { int end = iter.getEndIndex(); if (iter.getIndex() == end) return DONE; char c; for (char prev = CharacterIterator.DONE; iter.getIndex() < end; prev = c) { c = iter.next(); if (c == CharacterIterator.DONE) break; int type = Character.getType(c); // Break after paragraph separators. ... | 3,950 |
public int previous() { if (iter.getIndex() == iter.getBeginIndex()) return DONE; //int start = iter.getBeginIndex(); while (iter.getIndex() >= iter.getBeginIndex()) { char c = iter.previous(); if (c == CharacterIterator.DONE) break; int type = Character.getType(c); if (type != Character.NON_SPACING_MA... | public int previous() { if (iter.getIndex() == iter.getBeginIndex()) return DONE; //int start = iter.getBeginIndex(); while (iter.getIndex() >= iter.getBeginIndex()) { char c = iter.previous(); if (c == CharacterIterator.DONE) break; int type = Character.getType(c); if (type != Character.NON_SPACING_MA... | 3,951 |
public int previous() { if (iter.getIndex() == iter.getBeginIndex()) return DONE; //int start = iter.getBeginIndex(); while (iter.getIndex() >= iter.getBeginIndex()) { char c = iter.previous(); if (c == CharacterIterator.DONE) break; int type = Character.getType(c); if (type != Character.NON_SPACING_MA... | public int previous() { if (iter.getIndex() == iter.getBeginIndex()) return DONE; //int start = iter.getBeginIndex(); while (iter.getIndex() >= iter.getBeginIndex()) { char c = iter.previous(); if (c == CharacterIterator.DONE) break; int type = Character.getType(c); if (type != Character.NON_SPACING_MA... | 3,952 |
public int previous() { if (iter.getIndex() == iter.getBeginIndex()) return DONE; //int start = iter.getBeginIndex(); while (iter.getIndex() >= iter.getBeginIndex()) { char c = iter.previous(); if (c == CharacterIterator.DONE) break; int type = Character.getType(c); if (type != Character.NON_SPACING_MA... | public int previous() { if (iter.getIndex() == iter.getBeginIndex()) return DONE; //int start = iter.getBeginIndex(); while (iter.getIndex() >= iter.getBeginIndex()) { char c = iter.previous(); if (c == CharacterIterator.DONE) break; int type = Character.getType(c); if (type != Character.NON_SPACING_MA... | 3,953 |
public int previous() { if (iter.getIndex() == iter.getBeginIndex()) return DONE; //int start = iter.getBeginIndex(); while (iter.getIndex() >= iter.getBeginIndex()) { char c = iter.previous(); if (c == CharacterIterator.DONE) break; int type = Character.getType(c); if (type != Character.NON_SPACING_MA... | public int previous() { if (iter.getIndex() == iter.getBeginIndex()) return DONE; //int start = iter.getBeginIndex(); while (iter.getIndex() >= iter.getBeginIndex()) { char c = iter.previous(); if (c == CharacterIterator.DONE) break; int type = Character.getType(c); if (type != Character.NON_SPACING_MA... | 3,954 |
public int previous() { if (iter.getIndex() == iter.getBeginIndex()) return DONE; //int start = iter.getBeginIndex(); while (iter.getIndex() >= iter.getBeginIndex()) { char c = iter.previous(); if (c == CharacterIterator.DONE) break; int type = Character.getType(c); if (type != Character.NON_SPACING_MA... | public int previous() { if (iter.getIndex() == iter.getBeginIndex()) return DONE; //int start = iter.getBeginIndex(); while (iter.getIndex() >= iter.getBeginIndex()) { char c = iter.previous(); if (c == CharacterIterator.DONE) break; int type = Character.getType(c); if (type != Character.NON_SPACING_MA... | 3,955 |
public int previous() { if (iter.getIndex() == iter.getBeginIndex()) return DONE; //int start = iter.getBeginIndex(); while (iter.getIndex() >= iter.getBeginIndex()) { char c = iter.previous(); if (c == CharacterIterator.DONE) break; int type = Character.getType(c); if (type != Character.NON_SPACING_MA... | public int previous() { if (iter.getIndex() == iter.getBeginIndex()) return DONE; //int start = iter.getBeginIndex(); while (iter.getIndex() >= iter.getBeginIndex()) { char c = iter.previous(); if (c == CharacterIterator.DONE) break; int type = Character.getType(c); if (type != Character.NON_SPACING_MA... | 3,956 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.