bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
public final void visit_laload() { final IntItem idx = vstack.popInt(); final RefItem ref = vstack.popRef(); idx.load(eContext); ref.load(eContext); final Register idxr = idx.getRegister(); final Register refr = ref.getRegister(); checkBounds(refr, idxr); final DoubleWordItem result = requestDoubleWordRegister... | public final void visit_laload() { final IntItem idx = vstack.popInt(); final RefItem ref = vstack.popRef(); idx.load(eContext); ref.load(eContext); final Register idxr = idx.getRegister(); final Register refr = ref.getRegister(); checkBounds(refr, idxr); final DoubleWordItem result = requestDoubleWordRegister... | 20,847 |
public final void visit_lcmp() { final LongItem v2 = vstack.popLong(); final LongItem v1 = vstack.popLong(); // Load v2.load(eContext); final Register v2_lsb = v2.getLsbRegister(); final Register v2_msb = v2.getMsbRegister(); v1.load(eContext); final Register v1_lsb = v1.getLsbRegister(); final Register v1_ms... | public final void visit_lcmp() { final LongItem v2 = vstack.popLong(); final LongItem v1 = vstack.popLong(); // Load v2.load(eContext); final Register v2_lsb = v2.getLsbRegister(); final Register v2_msb = v2.getMsbRegister(); v1.load(eContext); final Register v1_lsb = v1.getLsbRegister(); final Register v1_ms... | 20,848 |
public final void visit_lmul() { //TODO: port to orp-style vstack.push(eContext); final LongItem v2 = vstack.popLong(); final LongItem v1 = vstack.popLong(); v2.release1(eContext); v1.release1(eContext); writePOP64(Register.EBX, Register.ECX); // Value 2 final Register v2_lsb = Register.EBX; final Register v2... | public final void visit_lmul() { //TODO: port to orp-style vstack.push(eContext); final LongItem v2 = vstack.popLong(); final LongItem v1 = vstack.popLong(); v2.release1(eContext); v1.release1(eContext); writePOP64(Register.EBX, Register.ECX); // Value 2 final Register v2_lsb = Register.EBX; final Register v2... | 20,849 |
public final void visit_lookupswitch(int defAddress, int[] matchValues, int[] addresses) { final int n = matchValues.length; //BootLog.debug("lookupswitch length=" + n); IntItem key = vstack.popInt(); key.load(eContext); Register r = key.getRegister(); // Conservative assumption, flush stack vstack.push(eCont... | public final void visit_lookupswitch(int defAddress, int[] matchValues, int[] addresses) { final int n = matchValues.length; //BootLog.debug("lookupswitch length=" + n); IntItem key = vstack.popInt(); key.load(eContext); Register r = key.getRegister(); // Conservative assumption, flush stack vstack.push(eCont... | 20,850 |
public final void visit_lookupswitch(int defAddress, int[] matchValues, int[] addresses) { final int n = matchValues.length; //BootLog.debug("lookupswitch length=" + n); IntItem key = vstack.popInt(); key.load(eContext); Register r = key.getRegister(); // Conservative assumption, flush stack vstack.push(eCont... | public final void visit_lookupswitch(int defAddress, int[] matchValues, int[] addresses) { final int n = matchValues.length; //BootLog.debug("lookupswitch length=" + n); IntItem key = vstack.popInt(); key.load(eContext); Register r = key.getRegister(); // Conservative assumption, flush stack vstack.push(eCont... | 20,851 |
public final void visit_lookupswitch(int defAddress, int[] matchValues, int[] addresses) { final int n = matchValues.length; //BootLog.debug("lookupswitch length=" + n); IntItem key = vstack.popInt(); key.load(eContext); Register r = key.getRegister(); // Conservative assumption, flush stack vstack.push(eCont... | public final void visit_lookupswitch(int defAddress, int[] matchValues, int[] addresses) { final int n = matchValues.length; //BootLog.debug("lookupswitch length=" + n); IntItem key = vstack.popInt(); key.load(eContext); Register r = key.getRegister(); // Conservative assumption, flush stack vstack.push(eCont... | 20,852 |
public final void visit_lshl() { final IntItem v2 = vstack.popInt(); final LongItem v1 = vstack.popLong(); requestRegister(ECX, v2); v2.loadTo(eContext, ECX); v1.load(eContext); final Register v1_lsb = v1.getLsbRegister(); final Register v1_msb = v1.getMsbRegister(); os.writeAND(ECX, 63); os.writeCMP_Const(EC... | public final void visit_lshl() { final IntItem v2 = vstack.popInt(); final LongItem v1 = vstack.popLong(); requestRegister(ECX, v2); v2.loadTo(eContext, ECX); v1.load(eContext); final Register v1_lsb = v1.getLsbRegister(); final Register v1_msb = v1.getMsbRegister(); os.writeAND(ECX, 63); os.writeCMP_Const(EC... | 20,853 |
public final void visit_lshr() { final IntItem cnt = vstack.popInt(); final LongItem val = vstack.popLong(); final X86RegisterPool pool = eContext.getPool(); // Get cnt into ECX if (!cnt.uses(ECX)) { val.spillIfUsing(eContext, ECX); requestRegister(ECX, cnt); cnt.loadTo(eContext, ECX); } // Load val val.... | public final void visit_lshr() { final IntItem cnt = vstack.popInt(); final LongItem val = vstack.popLong(); final X86RegisterPool pool = eContext.getPool(); // Get cnt into ECX if (!cnt.uses(ECX)) { val.spillIfUsing(eContext, ECX); requestRegister(ECX, cnt); cnt.loadTo(eContext, ECX); } // Load val val.... | 20,854 |
public final void visit_lushr() { final IntItem cnt = vstack.popInt(); final LongItem val = vstack.popLong(); final X86RegisterPool pool = eContext.getPool(); // Get cnt into ECX if (!cnt.uses(ECX)) { val.spillIfUsing(eContext, ECX); requestRegister(ECX, cnt); cnt.loadTo(eContext, ECX); } // Load val val... | public final void visit_lushr() { final IntItem cnt = vstack.popInt(); final LongItem val = vstack.popLong(); final X86RegisterPool pool = eContext.getPool(); // Get cnt into ECX if (!cnt.uses(ECX)) { val.spillIfUsing(eContext, ECX); requestRegister(ECX, cnt); cnt.loadTo(eContext, ECX); } // Load val val... | 20,855 |
public final void visit_monitorenter() { vstack.push(eContext); RefItem v = vstack.popRef(); v.release1(eContext); // Objectref is already on the stack invokeJavaMethod(context.getMonitorEnterMethod()); } | public final void visit_monitorenter() { vstack.push(eContext); RefItem v = vstack.popRef(); v.release1(eContext); // Objectref is already on the stack invokeJavaMethod(context.getMonitorEnterMethod()); } | 20,856 |
public final void visit_monitorexit() { vstack.push(eContext); RefItem v = vstack.popRef(); v.release1(eContext); // Objectref is already on the stack invokeJavaMethod(context.getMonitorExitMethod()); } | public final void visit_monitorexit() { vstack.push(eContext); RefItem v = vstack.popRef(); v.release1(eContext); // Objectref is already on the stack invokeJavaMethod(context.getMonitorExitMethod()); } | 20,857 |
public final void visit_multianewarray(VmConstClass clazz, int dimensions) { // flush all vstack items to the stack // all registers are freed vstack.push(eContext); // Create the dimensions array os.writePUSH(10); /* type=int */ os.writePUSH(dimensions); /* elements */ invokeJavaMethod(context.getAllocPrimitiv... | public final void visit_multianewarray(VmConstClass clazz, int dimensions) { // flush all vstack items to the stack // all registers are freed vstack.push(eContext); // Create the dimensions array os.writePUSH(10); /* type=int */ os.writePUSH(dimensions); /* elements */ invokeJavaMethod(context.getAllocPrimitiv... | 20,858 |
public final void visit_multianewarray(VmConstClass clazz, int dimensions) { // flush all vstack items to the stack // all registers are freed vstack.push(eContext); // Create the dimensions array os.writePUSH(10); /* type=int */ os.writePUSH(dimensions); /* elements */ invokeJavaMethod(context.getAllocPrimitiv... | public final void visit_multianewarray(VmConstClass clazz, int dimensions) { // flush all vstack items to the stack // all registers are freed vstack.push(eContext); // Create the dimensions array os.writePUSH(10); /* type=int */ os.writePUSH(dimensions); /* elements */ invokeJavaMethod(context.getAllocPrimitiv... | 20,859 |
public final void visit_multianewarray(VmConstClass clazz, int dimensions) { // flush all vstack items to the stack // all registers are freed vstack.push(eContext); // Create the dimensions array os.writePUSH(10); /* type=int */ os.writePUSH(dimensions); /* elements */ invokeJavaMethod(context.getAllocPrimitiv... | public final void visit_multianewarray(VmConstClass clazz, int dimensions) { // flush all vstack items to the stack // all registers are freed vstack.push(eContext); // Create the dimensions array os.writePUSH(10); /* type=int */ os.writePUSH(dimensions); /* elements */ invokeJavaMethod(context.getAllocPrimitiv... | 20,860 |
public final void visit_new(VmConstClass classRef) { // Push all vstack.push(eContext); // Allocate tmp register final Register classr = requestRegister(JvmType.REFERENCE, false); writeResolveAndLoadClassToReg(classRef, classr); /* Setup a call to SoftByteCodes.allocObject */ os.writePUSH(classr); /* vmClass */... | public final void visit_new(VmConstClass classRef) { // Push all vstack.push(eContext); // Allocate tmp register final Register classr = requestRegister(JvmType.REFERENCE, false); writeResolveAndLoadClassToReg(classRef, classr); /* Setup a call to SoftByteCodes.allocObject */ os.writePUSH(classr); /* vmClass */... | 20,861 |
public final void visit_new(VmConstClass classRef) { // Push all vstack.push(eContext); // Allocate tmp register final Register classr = requestRegister(JvmType.REFERENCE, false); writeResolveAndLoadClassToReg(classRef, classr); /* Setup a call to SoftByteCodes.allocObject */ os.writePUSH(classr); /* vmClass */... | public final void visit_new(VmConstClass classRef) { // Push all vstack.push(eContext); // Allocate tmp register final Register classr = requestRegister(JvmType.REFERENCE, false); writeResolveAndLoadClassToReg(classRef, classr); /* Setup a call to SoftByteCodes.allocObject */ os.writePUSH(classr); /* vmClass */... | 20,862 |
public final void visit_putfield(VmConstFieldRef fieldRef) { fieldRef.resolve(loader); final VmField field = fieldRef.getResolvedVmField(); if (field.isStatic()) { throw new IncompatibleClassChangeError( "getfield called on static field " + fieldRef.getName()); } final VmInstanceField inf = (VmInstanceField... | public final void visit_putfield(VmConstFieldRef fieldRef) { fieldRef.resolve(loader); final VmField field = fieldRef.getResolvedVmField(); if (field.isStatic()) { throw new IncompatibleClassChangeError( "getfield called on static field " + fieldRef.getName()); } final VmInstanceField inf = (VmInstanceField... | 20,863 |
public final void visit_putfield(VmConstFieldRef fieldRef) { fieldRef.resolve(loader); final VmField field = fieldRef.getResolvedVmField(); if (field.isStatic()) { throw new IncompatibleClassChangeError( "getfield called on static field " + fieldRef.getName()); } final VmInstanceField inf = (VmInstanceField... | public final void visit_putfield(VmConstFieldRef fieldRef) { fieldRef.resolve(loader); final VmField field = fieldRef.getResolvedVmField(); if (field.isStatic()) { throw new IncompatibleClassChangeError( "getfield called on static field " + fieldRef.getName()); } final VmInstanceField inf = (VmInstanceField... | 20,864 |
public final void visit_putstatic(VmConstFieldRef fieldRef) { fieldRef.resolve(loader); final VmStaticField sf = (VmStaticField) fieldRef.getResolvedVmField(); // Initialize class if needed if (!sf.getDeclaringClass().isInitialized()) { final Register tmp = requestRegister(JvmType.INT, false); writeInitializeC... | public final void visit_putstatic(VmConstFieldRef fieldRef) { fieldRef.resolve(loader); final VmStaticField sf = (VmStaticField) fieldRef.getResolvedVmField(); // Initialize class if needed if (!sf.getDeclaringClass().isInitialized()) { final Register tmp = requestRegister(JvmType.INT, false); writeInitializeC... | 20,865 |
public final void visit_putstatic(VmConstFieldRef fieldRef) { fieldRef.resolve(loader); final VmStaticField sf = (VmStaticField) fieldRef.getResolvedVmField(); // Initialize class if needed if (!sf.getDeclaringClass().isInitialized()) { final Register tmp = requestRegister(JvmType.INT, false); writeInitializeC... | public final void visit_putstatic(VmConstFieldRef fieldRef) { fieldRef.resolve(loader); final VmStaticField sf = (VmStaticField) fieldRef.getResolvedVmField(); // Initialize class if needed if (!sf.getDeclaringClass().isInitialized()) { final Register tmp = requestRegister(JvmType.INT, false); writeInitializeC... | 20,866 |
public final void visit_putstatic(VmConstFieldRef fieldRef) { fieldRef.resolve(loader); final VmStaticField sf = (VmStaticField) fieldRef.getResolvedVmField(); // Initialize class if needed if (!sf.getDeclaringClass().isInitialized()) { final Register tmp = requestRegister(JvmType.INT, false); writeInitializeC... | public final void visit_putstatic(VmConstFieldRef fieldRef) { fieldRef.resolve(loader); final VmStaticField sf = (VmStaticField) fieldRef.getResolvedVmField(); // Initialize class if needed if (!sf.getDeclaringClass().isInitialized()) { final Register tmp = requestRegister(JvmType.INT, false); writeInitializeC... | 20,867 |
public final void visit_putstatic(VmConstFieldRef fieldRef) { fieldRef.resolve(loader); final VmStaticField sf = (VmStaticField) fieldRef.getResolvedVmField(); // Initialize class if needed if (!sf.getDeclaringClass().isInitialized()) { final Register tmp = requestRegister(JvmType.INT, false); writeInitializeC... | public final void visit_putstatic(VmConstFieldRef fieldRef) { fieldRef.resolve(loader); final VmStaticField sf = (VmStaticField) fieldRef.getResolvedVmField(); // Initialize class if needed if (!sf.getDeclaringClass().isInitialized()) { final Register tmp = requestRegister(JvmType.INT, false); writeInitializeC... | 20,868 |
public final void visit_ret(int index) { // Calc EBP offset final int ebpOfs = stackFrame.getEbpOffset(index); // Claim tmp register final Register tmp = requestRegister(JvmType.INT, false); // Load ret & jmp os.writeMOV(INTSIZE, tmp, FP, ebpOfs); os.writeJMP(tmp); // Release releaseRegister(tmp); } | public final void visit_ret(int index) { // Calc EBP offset final int ebpOfs = stackFrame.getEbpOffset(index); // Claim tmp register final Register tmp = requestRegister(JvmType.INT, false); // Load ret & jmp os.writeMOV(INTSIZE, tmp, FP, ebpOfs); os.writeJMP(tmp); // Release releaseRegister(tmp); } | 20,869 |
public final void visit_ret(int index) { // Calc EBP offset final int ebpOfs = stackFrame.getEbpOffset(index); // Claim tmp register final Register tmp = requestRegister(JvmType.INT, false); // Load ret & jmp os.writeMOV(INTSIZE, tmp, FP, ebpOfs); os.writeJMP(tmp); // Release releaseRegister(tmp); } | public final void visit_ret(int index) { // Calc EBP offset final int ebpOfs = stackFrame.getEbpOffset(index); // Claim tmp register final Register tmp = requestRegister(JvmType.INT, false); // Load ret & jmp os.writeMOV(INTSIZE, tmp, FP, ebpOfs); os.writeJMP(tmp); // Release releaseRegister(tmp); } | 20,870 |
private final void waload(int jvmType) { final IntItem idx = vstack.popInt(); final RefItem ref = vstack.popRef(); final int valSize; final int scale; final int resultType; final boolean isfloat = (jvmType == JvmType.FLOAT); switch (jvmType) { case JvmType.BYTE: valSize = BYTESIZE; scale = 1; resultType ... | private final void waload(int jvmType) { final IntItem idx = vstack.popInt(); final RefItem ref = vstack.popRef(); final int valSize; final int scale; final int resultType; final boolean isfloat = (jvmType == JvmType.FLOAT); switch (jvmType) { case JvmType.BYTE: valSize = BYTESIZE; scale = 1; resultType ... | 20,871 |
private final void waload(int jvmType) { final IntItem idx = vstack.popInt(); final RefItem ref = vstack.popRef(); final int valSize; final int scale; final int resultType; final boolean isfloat = (jvmType == JvmType.FLOAT); switch (jvmType) { case JvmType.BYTE: valSize = BYTESIZE; scale = 1; resultType ... | private final void waload(int jvmType) { final IntItem idx = vstack.popInt(); final RefItem ref = vstack.popRef(); final int valSize; final int scale; final int resultType; final boolean isfloat = (jvmType == JvmType.FLOAT); switch (jvmType) { case JvmType.BYTE: valSize = BYTESIZE; scale = 1; resultType ... | 20,872 |
private final void wastore(int jvmType) { final boolean useBarrier = (context.getWriteBarrier() != null); final int valSize; final int scale; final int valType; int extraLoadIdxMask = 0; switch (jvmType) { case JvmType.BYTE: valSize = BYTESIZE; scale = 1; valType = JvmType.INT; break; case JvmType.CHAR... | private final void wastore(int jvmType) { final boolean useBarrier = (context.getWriteBarrier() != null); final int valSize; final int scale; final int valType; int extraLoadIdxMask = 0; switch (jvmType) { case JvmType.BYTE: valSize = BYTESIZE; scale = 1; valType = JvmType.INT; break; case JvmType.CHAR... | 20,873 |
private final void wreturn(int jvmType) { final WordItem val = (WordItem) vstack.pop(jvmType); // Return value must be in EAX if (!val.uses(EAX)) { requestRegister(EAX, val); val.loadTo(eContext, EAX); } // Release val.release(eContext); // Do actual return visit_return(); } | private final void wreturn(int jvmType) { final WordItem val = (WordItem) vstack.pop(jvmType); // Return value must be in EAX if (!val.uses(EAX)) { requestRegister(EAX, val); val.loadTo(eContext, EAX); } // Release val.release(eContext); // Do actual return visit_return(); } | 20,874 |
public static Object getDesktopPropertyValue(String systemPropertyName, Object fallbackValue) { Object value = Toolkit.getDefaultToolkit().getDesktopProperty(systemPropertyName); return value != null ? value : fallbackValue; } | public static Object getDesktopPropertyValue(String systemPropertyName, Object fallbackValue) { Object value = Toolkit.getDefaultToolkit().getDesktopProperty(systemPropertyName); return value != null ? value : fallbackValue; } | 20,876 |
FileDialog(Frame parent){ this(parent, "", LOAD);} | FileDialog(Frame parent){ this(parent, "", LOAD);} | 20,877 |
CopyNode(TemplateNode children, TemplateNode next, String uas) { super(children, next); this.uas = uas; } | CopyNode(String uas) { super(children, next); this.uas = uas; } | 20,878 |
CopyNode(TemplateNode children, TemplateNode next, String uas) { super(children, next); this.uas = uas; } | CopyNode(TemplateNode children, TemplateNode next, String uas) { this.uas = uas; } | 20,879 |
TemplateNode clone(Stylesheet stylesheet) { return new CopyNode((children == null) ? null : children.clone(stylesheet), (next == null) ? null : next.clone(stylesheet), uas); } | TemplateNode clone(Stylesheet stylesheet) { return new CopyNode((children == null) ? null : children.clone(stylesheet), (next == null) ? null : next.clone(stylesheet), uas); } | 20,880 |
public abstract float get (); | public abstract float get (); | 20,881 |
public abstract FloatBuffer put (float b); | public abstract FloatBuffer put (float b); | 20,882 |
public SwingBaseWindowPeer(SwingToolkit toolkit, awtT window, peerT jComponent) { super(toolkit, window, jComponent); jComponent.addInternalFrameListener(new WindowEventDispatcher()); } | public SwingBaseWindowPeer(SwingToolkit toolkit, awtT window, peerT jComponent) { super(toolkit, window, jComponent); this.eventDispatcher = new WindowEventDispatcher(); jComponent.addInternalFrameListener(eventDispatcher); } | 20,884 |
public boolean isNativeLookAndFeel() { return true; } | public boolean isNativeLookAndFeel() { return false; } | 20,886 |
public void emitMagic(EmitterContext ec, VmMethod method, boolean isstatic) { //final int type = getClass(method); final int mcode = getMethodCode(method); final VirtualStack vstack = ec.getVStack(); final AbstractX86Stream os = ec.getStream(); final ItemFactory ifac = ec.getItemF... | public void emitMagic(EmitterContext ec, VmMethod method, boolean isstatic) { //final int type = getClass(method); final int mcode = getMethodCode(method); final VirtualStack vstack = ec.getVStack(); final AbstractX86Stream os = ec.getStream(); final ItemFactory ifac = ec.getItemF... | 20,887 |
public synchronized void addPropertyChangeListener(PropertyChangeListener listener) { changeSupport.addPropertyChangeListener(listener); } // addPropertyChangeListener() | public synchronized void addPropertyChangeListener(PropertyChangeListener listener) { changeSupport.addPropertyChangeListener(listener); } // addPropertyChangeListener() | 20,889 |
protected Object clone() throws CloneNotSupportedException { // What to do?? return null; } // clone() | protected Object clone() throws CloneNotSupportedException { // What to do?? return null; } // clone() | 20,890 |
protected void firePropertyChange(String propertyName, Object oldValue, Object newValue) { changeSupport.firePropertyChange(propertyName, oldValue, newValue); } // firePropertyChange() | protected void firePropertyChange(String propertyName, Object oldValue, Object newValue) { changeSupport.firePropertyChange(propertyName, oldValue, newValue); } // firePropertyChange() | 20,891 |
public Object[] getKeys() { return store.keySet().toArray(); } // getKeys() | public Object[] getKeys() { return store.keySet().toArray(); } // getKeys() | 20,892 |
public Object getValue(String key) { return store.get(key); } // getValue() | public Object getValue(String key) { return store.get(key); } // getValue() | 20,893 |
public void putValue(String key, Object value) { store.put(key, value); } // putValue() | public void putValue(String key, Object value) { store.put(key, value); } // putValue() | 20,894 |
private void readObject(ObjectInputStream stream) throws ClassNotFoundException, IOException { // TODO } // readObject() | private void readObject(ObjectInputStream stream) throws ClassNotFoundException, IOException { // TODO } // readObject() | 20,895 |
public synchronized void removePropertyChangeListener(PropertyChangeListener listener) { changeSupport.removePropertyChangeListener(listener); } // removePropertyChangeListener() | public synchronized void removePropertyChangeListener(PropertyChangeListener listener) { changeSupport.removePropertyChangeListener(listener); } // removePropertyChangeListener() | 20,896 |
public void setEnabled(boolean enabled) { this.enabled = enabled; } // setEnabled() | public void setEnabled(boolean enabled) { this.enabled = enabled; } // setEnabled() | 20,897 |
private void writeObject(ObjectOutputStream stream) throws IOException { // TODO } // writeObject() | private void writeObject(ObjectOutputStream stream) throws IOException { // TODO } // writeObject() | 20,898 |
public float getLayoutAlignmentX(Container parent) { if (parent != container) throw new AWTError("invalid parent"); return 0; } | public float getLayoutAlignmentX(Container parent) { if (parent != container) throw new AWTError("invalid parent"); return 0; } | 20,899 |
public float getLayoutAlignmentX(Container parent) { if (parent != container) throw new AWTError("invalid parent"); return 0; } | public float getLayoutAlignmentX(Container parent) { if (parent != container) throw new AWTError("invalid parent"); checkTotalRequirements(); return xTotal.alignment; } | 20,900 |
public float getLayoutAlignmentY(Container parent) { if (parent != container) throw new AWTError("invalid parent"); return 0; } | public float getLayoutAlignmentY(Container parent) { if (parent != container) throw new AWTError("invalid parent"); return 0; } | 20,901 |
public float getLayoutAlignmentY(Container parent) { if (parent != container) throw new AWTError("invalid parent"); return 0; } | public float getLayoutAlignmentY(Container parent) { if (parent != container) throw new AWTError("invalid parent"); checkTotalRequirements(); return yTotal.alignment; } | 20,902 |
public void invalidateLayout(Container parent) { if (parent != container) throw new AWTError("invalid parent"); } | public void invalidateLayout(Container parent) { if (parent != container) throw new AWTError("invalid parent"); } | 20,903 |
public void layoutContainer(Container parent) { // Setup the SizeRequirements for both the X and Y axis. Component[] children = container.getComponents(); SizeRequirements[] hSizeReqs = new SizeRequirements[children.length]; SizeRequirements[] vSizeReqs = new SizeRequirements[children.length]; getSize... | public void layoutContainer(Container parent) { // Setup the SizeRequirements for both the X and Y axis. Component[] children = container.getComponents(); SizeRequirements[] hSizeReqs = new SizeRequirements[children.length]; SizeRequirements[] vSizeReqs = new SizeRequirements[children.length]; getSize... | 20,904 |
public void layoutContainer(Container parent) { // Setup the SizeRequirements for both the X and Y axis. Component[] children = container.getComponents(); SizeRequirements[] hSizeReqs = new SizeRequirements[children.length]; SizeRequirements[] vSizeReqs = new SizeRequirements[children.length]; getSize... | public void layoutContainer(Container parent) { // Setup the SizeRequirements for both the X and Y axis. Component[] children = container.getComponents(); SizeRequirements[] hSizeReqs = new SizeRequirements[children.length]; SizeRequirements[] vSizeReqs = new SizeRequirements[children.length]; getSize... | 20,905 |
public void layoutContainer(Container parent) { // Setup the SizeRequirements for both the X and Y axis. Component[] children = container.getComponents(); SizeRequirements[] hSizeReqs = new SizeRequirements[children.length]; SizeRequirements[] vSizeReqs = new SizeRequirements[children.length]; getSize... | public void layoutContainer(Container parent) { // Setup the SizeRequirements for both the X and Y axis. Component[] children = container.getComponents(); SizeRequirements[] hSizeReqs = new SizeRequirements[children.length]; SizeRequirements[] vSizeReqs = new SizeRequirements[children.length]; getSize... | 20,906 |
public Dimension maximumLayoutSize(Container parent) { if (parent != container) throw new AWTError("invalid parent"); // Setup the SizeRequirements for both the X and Y axis. Component[] children = container.getComponents(); SizeRequirements[] hSizeReqs = new SizeRequirements[children.length]; Si... | public Dimension maximumLayoutSize(Container parent) { if (parent != container) throw new AWTError("invalid parent"); // Setup the SizeRequirements for both the X and Y axis. Component[] children = container.getComponents(); SizeRequirements[] hSizeReqs = new SizeRequirements[children.length]; Si... | 20,907 |
public Dimension maximumLayoutSize(Container parent) { if (parent != container) throw new AWTError("invalid parent"); // Setup the SizeRequirements for both the X and Y axis. Component[] children = container.getComponents(); SizeRequirements[] hSizeReqs = new SizeRequirements[children.length]; Si... | public Dimension maximumLayoutSize(Container parent) { if (parent != container) throw new AWTError("invalid parent"); // Setup the SizeRequirements for both the X and Y axis. Component[] children = container.getComponents(); SizeRequirements[] hSizeReqs = new SizeRequirements[children.length]; Si... | 20,908 |
public Dimension minimumLayoutSize(Container parent) { if (parent != container) throw new AWTError("invalid parent"); // Setup the SizeRequirements for both the X and Y axis. Component[] children = container.getComponents(); SizeRequirements[] hSizeReqs = new SizeRequirements[children.length]; Si... | public Dimension minimumLayoutSize(Container parent) { if (parent != container) throw new AWTError("invalid parent"); // Setup the SizeRequirements for both the X and Y axis. Component[] children = container.getComponents(); SizeRequirements[] hSizeReqs = new SizeRequirements[children.length]; Si... | 20,909 |
public Dimension minimumLayoutSize(Container parent) { if (parent != container) throw new AWTError("invalid parent"); // Setup the SizeRequirements for both the X and Y axis. Component[] children = container.getComponents(); SizeRequirements[] hSizeReqs = new SizeRequirements[children.length]; Si... | public Dimension minimumLayoutSize(Container parent) { if (parent != container) throw new AWTError("invalid parent"); // Setup the SizeRequirements for both the X and Y axis. Component[] children = container.getComponents(); SizeRequirements[] hSizeReqs = new SizeRequirements[children.length]; Si... | 20,910 |
public Dimension preferredLayoutSize(Container parent) { if (parent != container) throw new AWTError("invalid parent"); // Setup the SizeRequirements for both the X and Y axis. Component[] children = container.getComponents(); SizeRequirements[] hSizeReqs = new SizeRequirements[children.length]; ... | public Dimension preferredLayoutSize(Container parent) { if (parent != container) throw new AWTError("invalid parent"); // Setup the SizeRequirements for both the X and Y axis. Component[] children = container.getComponents(); SizeRequirements[] hSizeReqs = new SizeRequirements[children.length]; ... | 20,911 |
public Dimension preferredLayoutSize(Container parent) { if (parent != container) throw new AWTError("invalid parent"); // Setup the SizeRequirements for both the X and Y axis. Component[] children = container.getComponents(); SizeRequirements[] hSizeReqs = new SizeRequirements[children.length]; ... | public Dimension preferredLayoutSize(Container parent) { if (parent != container) throw new AWTError("invalid parent"); // Setup the SizeRequirements for both the X and Y axis. Component[] children = container.getComponents(); SizeRequirements[] hSizeReqs = new SizeRequirements[children.length]; ... | 20,912 |
public int read(ByteBuffer dst) throws IOException { if (!isConnected()) throw new NotYetConnectedException(); byte[] data; int offset = 0; InputStream input = socket.getInputStream(); int available = input.available(); int len = dst.capacity() - dst.position(); if ((! isBlocking()) && ava... | public int read(ByteBuffer dst) throws IOException { if (!isConnected()) throw new NotYetConnectedException(); byte[] data; int offset = 0; InputStream input = socket.getInputStream(); int available = input.available(); int len = dst.remaining(); if ((! isBlocking()) && available == 0) ... | 20,913 |
protected SocketChannel (SelectorProvider provider) { super (provider); } | protected SocketChannel(SelectorProvider provider) { super (provider); } | 20,914 |
protected SocketChannel (SelectorProvider provider) { super (provider); } | protected SocketChannel (SelectorProvider provider) { super(provider); } | 20,915 |
public abstract boolean connect (SocketAddress remote) throws IOException; | public abstract boolean connect (SocketAddress remote) throws IOException; | 20,916 |
public abstract boolean finishConnect () throws IOException; | public abstract boolean finishConnect () throws IOException; | 20,917 |
public abstract boolean isConnectionPending (); | public abstract boolean isConnectionPending (); | 20,918 |
public abstract int read (ByteBuffer dst) throws IOException; | public abstract int read (ByteBuffer dst) throws IOException; | 20,919 |
public abstract Socket socket (); | public abstract Socket socket (); | 20,920 |
public abstract int write (ByteBuffer src) throws IOException; | public abstract int write (ByteBuffer src) throws IOException; | 20,921 |
private void addNotifyContainerChildren() { synchronized (getTreeLock ()) { for (int i = ncomponents; --i >= 0; ) { component[i].addNotify(); if (component[i].isLightweight ()) { // If we're not lightweight, and we just got a lightweight ... | private void addNotifyContainerChildren() { synchronized (getTreeLock ()) { for (int i = ncomponents; --i >= 0; ) { component[i].addNotify(); if (component[i].isLightweight ()) { // If we're not lightweight, and we just got a lightweight ... | 20,922 |
public boolean areFocusTraversalKeysSet(int id) { if (id != KeyboardFocusManager.FORWARD_TRAVERSAL_KEYS && id != KeyboardFocusManager.BACKWARD_TRAVERSAL_KEYS && id != KeyboardFocusManager.UP_CYCLE_TRAVERSAL_KEYS && id != KeyboardFocusManager.DOWN_CYCLE_TRAVERSAL_KEYS) throw new IllegalAr... | public boolean areFocusTraversalKeysSet (int id) { if (id != KeyboardFocusManager.FORWARD_TRAVERSAL_KEYS && id != KeyboardFocusManager.BACKWARD_TRAVERSAL_KEYS && id != KeyboardFocusManager.UP_CYCLE_TRAVERSAL_KEYS && id != KeyboardFocusManager.DOWN_CYCLE_TRAVERSAL_KEYS) throw new IllegalA... | 20,924 |
public boolean areFocusTraversalKeysSet(int id) { if (id != KeyboardFocusManager.FORWARD_TRAVERSAL_KEYS && id != KeyboardFocusManager.BACKWARD_TRAVERSAL_KEYS && id != KeyboardFocusManager.UP_CYCLE_TRAVERSAL_KEYS && id != KeyboardFocusManager.DOWN_CYCLE_TRAVERSAL_KEYS) throw new IllegalAr... | public boolean areFocusTraversalKeysSet(int id) { if (id != KeyboardFocusManager.FORWARD_TRAVERSAL_KEYS && id != KeyboardFocusManager.BACKWARD_TRAVERSAL_KEYS && id != KeyboardFocusManager.UP_CYCLE_TRAVERSAL_KEYS && id != KeyboardFocusManager.DOWN_CYCLE_TRAVERSAL_KEYS) throw new IllegalAr... | 20,925 |
public Set getFocusTraversalKeys(int id) { if (id != KeyboardFocusManager.FORWARD_TRAVERSAL_KEYS && id != KeyboardFocusManager.BACKWARD_TRAVERSAL_KEYS && id != KeyboardFocusManager.UP_CYCLE_TRAVERSAL_KEYS && id != KeyboardFocusManager.DOWN_CYCLE_TRAVERSAL_KEYS) throw new IllegalArgumentE... | public Set getFocusTraversalKeys (int id) { if (id != KeyboardFocusManager.FORWARD_TRAVERSAL_KEYS && id != KeyboardFocusManager.BACKWARD_TRAVERSAL_KEYS && id != KeyboardFocusManager.UP_CYCLE_TRAVERSAL_KEYS && id != KeyboardFocusManager.DOWN_CYCLE_TRAVERSAL_KEYS) throw new IllegalArgument... | 20,926 |
public Set getFocusTraversalKeys(int id) { if (id != KeyboardFocusManager.FORWARD_TRAVERSAL_KEYS && id != KeyboardFocusManager.BACKWARD_TRAVERSAL_KEYS && id != KeyboardFocusManager.UP_CYCLE_TRAVERSAL_KEYS && id != KeyboardFocusManager.DOWN_CYCLE_TRAVERSAL_KEYS) throw new IllegalArgumentE... | public Set getFocusTraversalKeys(int id) { if (id != KeyboardFocusManager.FORWARD_TRAVERSAL_KEYS && id != KeyboardFocusManager.BACKWARD_TRAVERSAL_KEYS && id != KeyboardFocusManager.UP_CYCLE_TRAVERSAL_KEYS && id != KeyboardFocusManager.DOWN_CYCLE_TRAVERSAL_KEYS) throw new IllegalArgumentE... | 20,927 |
public FocusTraversalPolicy getFocusTraversalPolicy() { return null; } | public FocusTraversalPolicy getFocusTraversalPolicy () { return null; } | 20,928 |
public FocusTraversalPolicy getFocusTraversalPolicy() { return null; } | public FocusTraversalPolicy getFocusTraversalPolicy() { if (!isFocusCycleRoot ()) return null; if (focusTraversalPolicy == null) { Container ancestor = getFocusCycleRootAncestor (); if (ancestor != this) return ancestor.getFocusTraversalPolicy (); else { KeyboardFocusManager manager = KeyboardFocusManager.getCu... | 20,929 |
public boolean isFocusCycleRoot(Container c) { return false; } | public boolean isFocusCycleRoot (Container c) { return false; } | 20,930 |
public boolean isFocusTraversalPolicySet() { return false; } | public boolean isFocusTraversalPolicySet () { return false; } | 20,932 |
public boolean isFocusTraversalPolicySet() { return false; } | public boolean isFocusTraversalPolicySet() { return focusTraversalPolicy == null; } | 20,933 |
public void setFocusCycleRoot(boolean focusCycleRoot) { } | public void setFocusCycleRoot (boolean focusCycleRoot) { } | 20,935 |
public void setFocusTraversalKeys(int id, Set keystrokes) { if (id != KeyboardFocusManager.FORWARD_TRAVERSAL_KEYS && id != KeyboardFocusManager.BACKWARD_TRAVERSAL_KEYS && id != KeyboardFocusManager.UP_CYCLE_TRAVERSAL_KEYS && id != KeyboardFocusManager.DOWN_CYCLE_TRAVERSAL_KEYS) throw new... | public void setFocusTraversalKeys(int id, Set keystrokes) { if (id != KeyboardFocusManager.FORWARD_TRAVERSAL_KEYS && id != KeyboardFocusManager.BACKWARD_TRAVERSAL_KEYS && id != KeyboardFocusManager.UP_CYCLE_TRAVERSAL_KEYS && id != KeyboardFocusManager.DOWN_CYCLE_TRAVERSAL_KEYS) throw new... | 20,937 |
public void setFocusTraversalPolicy(FocusTraversalPolicy policy) { } | public void setFocusTraversalPolicy (FocusTraversalPolicy policy) { } | 20,938 |
public void setFont(Font f) { super.setFont(f); // FIXME, should invalidate all children with font == null } | invalidateTree(); invalidateTree(); public invalidateTree(); void invalidateTree(); setFont(Font invalidateTree(); f) invalidateTree(); invalidateTree(); { invalidateTree(); invalidateTree(); invalidateTree(); invalidateTree(); super.setFont(f); invalidateTree(); invalidateTree(); in... | 20,940 |
public void transferFocusDownCycle() { } | public void transferFocusDownCycle () { } | 20,941 |
void acquireComponentForMouseEvent(MouseEvent me) { int x = me.getX (); int y = me.getY (); Component candidate = mouseEventTarget; while(candidate != null) { if (candidate.isShowing()) { // Convert our point to the candidate's parent's space. Point cp = Swi... | void acquireComponentForMouseEvent(MouseEvent me) { int x = me.getX (); int y = me.getY (); while(candidate != null) { if (candidate.isShowing()) { // Convert our point to the candidate's parent's space. Point cp = SwingUtilities.convertPoint(nativeContainer... | 20,944 |
void acquireComponentForMouseEvent(MouseEvent me) { int x = me.getX (); int y = me.getY (); Component candidate = mouseEventTarget; while(candidate != null) { if (candidate.isShowing()) { // Convert our point to the candidate's parent's space. Point cp = Swi... | void acquireComponentForMouseEvent(MouseEvent me) { int x = me.getX (); int y = me.getY (); Component candidate = mouseEventTarget; Component parent = nativeContainer; Component candidate = null; Point p = me.getPoint(); while (candidate == null && parent != null) { if (candidate.isShowi... | 20,945 |
void acquireComponentForMouseEvent(MouseEvent me) { int x = me.getX (); int y = me.getY (); Component candidate = mouseEventTarget; while(candidate != null) { if (candidate.isShowing()) { // Convert our point to the candidate's parent's space. Point cp = Swi... | void acquireComponentForMouseEvent(MouseEvent me) { int x = me.getX (); int y = me.getY (); Component candidate = mouseEventTarget; while(candidate != null) { if (candidate.isShowing()) { // Convert our point to the candidate's parent's space. Point cp = Swi... | 20,946 |
void acquireComponentForMouseEvent(MouseEvent me) { int x = me.getX (); int y = me.getY (); Component candidate = mouseEventTarget; while(candidate != null) { if (candidate.isShowing()) { // Convert our point to the candidate's parent's space. Point cp = Swi... | void acquireComponentForMouseEvent(MouseEvent me) { int x = me.getX (); int y = me.getY (); Component candidate = mouseEventTarget; while(candidate != null) { if (candidate.isShowing()) { // Convert our point to the candidate's parent's space. Point cp = Swi... | 20,947 |
void acquireComponentForMouseEvent(MouseEvent me) { int x = me.getX (); int y = me.getY (); Component candidate = mouseEventTarget; while(candidate != null) { if (candidate.isShowing()) { // Convert our point to the candidate's parent's space. Point cp = Swi... | void acquireComponentForMouseEvent(MouseEvent me) { int x = me.getX (); int y = me.getY (); Component candidate = mouseEventTarget; while(candidate != null) { if (candidate.isShowing()) { // Convert our point to the candidate's parent's space. Point cp = Swi... | 20,948 |
void acquireComponentForMouseEvent(MouseEvent me) { int x = me.getX (); int y = me.getY (); Component candidate = mouseEventTarget; while(candidate != null) { if (candidate.isShowing()) { // Convert our point to the candidate's parent's space. Point cp = Swi... | void acquireComponentForMouseEvent(MouseEvent me) { int x = me.getX (); int y = me.getY (); Component candidate = mouseEventTarget; while(candidate != null) { if (candidate.isShowing()) { // Convert our point to the candidate's parent's space. Point cp = Swi... | 20,949 |
void acquireComponentForMouseEvent(MouseEvent me) { int x = me.getX (); int y = me.getY (); Component candidate = mouseEventTarget; while(candidate != null) { if (candidate.isShowing()) { // Convert our point to the candidate's parent's space. Point cp = Swi... | void acquireComponentForMouseEvent(MouseEvent me) { int x = me.getX (); int y = me.getY (); Component candidate = mouseEventTarget; while(candidate != null) { if (candidate.isShowing()) { // Convert our point to the candidate's parent's space. Point cp = Swi... | 20,950 |
void acquireComponentForMouseEvent(MouseEvent me) { int x = me.getX (); int y = me.getY (); Component candidate = mouseEventTarget; while(candidate != null) { if (candidate.isShowing()) { // Convert our point to the candidate's parent's space. Point cp = Swi... | void acquireComponentForMouseEvent(MouseEvent me) { int x = me.getX (); int y = me.getY (); Component candidate = mouseEventTarget; while(candidate != null) { if (candidate.isShowing()) { // Convert our point to the candidate's parent's space. Point cp = Swi... | 20,951 |
void acquireComponentForMouseEvent(MouseEvent me) { int x = me.getX (); int y = me.getY (); Component candidate = mouseEventTarget; while(candidate != null) { if (candidate.isShowing()) { // Convert our point to the candidate's parent's space. Point cp = Swi... | void acquireComponentForMouseEvent(MouseEvent me) { int x = me.getX (); int y = me.getY (); Component candidate = mouseEventTarget; while(candidate != null) { if (candidate.isShowing()) { // Convert our point to the candidate's parent's space. Point cp = Swi... | 20,952 |
void acquireComponentForMouseEvent(MouseEvent me) { int x = me.getX (); int y = me.getY (); Component candidate = mouseEventTarget; while(candidate != null) { if (candidate.isShowing()) { // Convert our point to the candidate's parent's space. Point cp = Swi... | void acquireComponentForMouseEvent(MouseEvent me) { int x = me.getX (); int y = me.getY (); Component candidate = mouseEventTarget; while(candidate != null) { if (candidate.isShowing()) { // Convert our point to the candidate's parent's space. Point cp = Swi... | 20,953 |
void acquireComponentForMouseEvent(MouseEvent me) { int x = me.getX (); int y = me.getY (); Component candidate = mouseEventTarget; while(candidate != null) { if (candidate.isShowing()) { // Convert our point to the candidate's parent's space. Point cp = Swi... | void acquireComponentForMouseEvent(MouseEvent me) { int x = me.getX (); int y = me.getY (); Component candidate = mouseEventTarget; while(candidate != null) { if (candidate.isShowing()) { // Convert our point to the candidate's parent's space. Point cp = Swi... | 20,954 |
boolean handleEvent(AWTEvent e) { if ((eventMask & e.getID()) == 0) return false; if (e instanceof MouseEvent) { MouseEvent me = (MouseEvent) e; acquireComponentForMouseEvent(me); // Avoid dispatching an ENTERED event twice. if (mouseEventTarget != null && mouse... | boolean handleEvent(AWTEvent e) { if ((eventMask & e.getID()) == 0) return false; if (e instanceof MouseEvent) { MouseEvent me = (MouseEvent) e; acquireComponentForMouseEvent(me); // Avoid dispatching an ENTERED event twice. if (mouseEventTarget != null && mouse... | 20,956 |
boolean handleEvent(AWTEvent e) { if ((eventMask & e.getID()) == 0) return false; if (e instanceof MouseEvent) { MouseEvent me = (MouseEvent) e; acquireComponentForMouseEvent(me); // Avoid dispatching an ENTERED event twice. if (mouseEventTarget != null && mouse... | boolean handleEvent(AWTEvent e) { if ((eventMask & e.getID()) == 0) return false; if (e instanceof MouseEvent) { MouseEvent me = (MouseEvent) e; acquireComponentForMouseEvent(me); // Avoid dispatching an ENTERED event twice. if (mouseEventTarget != null && mouse... | 20,957 |
protected ServerSocketChannelImpl (SelectorProvider provider) throws IOException { super (provider); serverSocket = new NIOServerSocket (this); configureBlocking(true); } | protected ServerSocketChannelImpl (SelectorProvider provider) throws IOException { super (provider); serverSocket = new NIOServerSocket(this); channel = serverSocket.getPlainSocketImpl().getVMChannel(); configureBlocking(true); } | 20,960 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.