bugged stringlengths 6 599k | fixed stringlengths 10 599k | __index_level_0__ int64 0 1.13M |
|---|---|---|
public void setModel(ComboBoxModel newDataModel) { if (this.dataModel == newDataModel) return; if (this.dataModel != null) // remove all listeners currently registered with the model. dataModel.removeListDataListener(this); ComboBoxModel oldDataModel = this.dataModel; this.dataModel = newD... | public void setModel(ComboBoxModel newDataModel) { if(dataModel != null) { if (dataModel == newDataModel) return; if (this.dataModel != null) // remove all listeners currently registered with the model. dataModel.removeListDataListener(this); ComboBoxModel oldDataModel = this.dataModel; t... | 23,457 |
public void setModel(ComboBoxModel newDataModel) { if (this.dataModel == newDataModel) return; if (this.dataModel != null) // remove all listeners currently registered with the model. dataModel.removeListDataListener(this); ComboBoxModel oldDataModel = this.dataModel; this.dataModel = newD... | public void setModel(ComboBoxModel newDataModel) { if (this.dataModel == newDataModel) return; // remove all listeners currently registered with the model. dataModel.removeListDataListener(this); ComboBoxModel oldDataModel = this.dataModel; this.dataModel = newDataModel; // regis... | 23,458 |
public void setModel(ComboBoxModel newDataModel) { if (this.dataModel == newDataModel) return; if (this.dataModel != null) // remove all listeners currently registered with the model. dataModel.removeListDataListener(this); ComboBoxModel oldDataModel = this.dataModel; this.dataModel = newD... | public void setModel(ComboBoxModel newDataModel) { if (this.dataModel == newDataModel) return; if (this.dataModel != null) // remove all listeners currently registered with the model. dataModel.removeListDataListener(this); ComboBoxModel oldDataModel = this.dataModel; this.dataModel = newD... | 23,459 |
public void setModel(ComboBoxModel newDataModel) { if (this.dataModel == newDataModel) return; if (this.dataModel != null) // remove all listeners currently registered with the model. dataModel.removeListDataListener(this); ComboBoxModel oldDataModel = this.dataModel; this.dataModel = newD... | public void setModel(ComboBoxModel newDataModel) { if (this.dataModel == newDataModel) return; if (this.dataModel != null) // remove all listeners currently registered with the model. dataModel.removeListDataListener(this); ComboBoxModel oldDataModel = this.dataModel; this.dataModel = newD... | 23,460 |
public void setModel(ComboBoxModel newDataModel) { if (this.dataModel == newDataModel) return; if (this.dataModel != null) // remove all listeners currently registered with the model. dataModel.removeListDataListener(this); ComboBoxModel oldDataModel = this.dataModel; this.dataModel = newD... | public void setModel(ComboBoxModel newDataModel) { if (this.dataModel == newDataModel) return; if (this.dataModel != null) // remove all listeners currently registered with the model. dataModel.removeListDataListener(this); ComboBoxModel oldDataModel = this.dataModel; this.dataModel = newD... | 23,461 |
public void setPrototypeDisplayValue(Object prototypeDisplayValue) { this.prototypeDisplayValue = prototypeDisplayValue; } | public void setPrototypeDisplayValue(Object newPrototypeDisplayValue) { this.prototypeDisplayValue = prototypeDisplayValue; } | 23,462 |
public void setPrototypeDisplayValue(Object prototypeDisplayValue) { this.prototypeDisplayValue = prototypeDisplayValue; } | public void setPrototypeDisplayValue(Object prototypeDisplayValue) { prototypeDisplayValue = newPrototypeDisplayValue; } | 23,463 |
public void setRenderer(ListCellRenderer aRenderer) { if (this.renderer != aRenderer) { ListCellRenderer oldRenderer = this.renderer; this.renderer = aRenderer; firePropertyChange(RENDERER_CHANGED_PROPERTY, oldRenderer, this.renderer); } } | public void setRenderer(ListCellRenderer aRenderer) { if (renderer != aRenderer) { ListCellRenderer oldRenderer = this.renderer; this.renderer = aRenderer; firePropertyChange(RENDERER_CHANGED_PROPERTY, oldRenderer, this.renderer); } } | 23,464 |
public void setRenderer(ListCellRenderer aRenderer) { if (this.renderer != aRenderer) { ListCellRenderer oldRenderer = this.renderer; this.renderer = aRenderer; firePropertyChange(RENDERER_CHANGED_PROPERTY, oldRenderer, this.renderer); } } | public void setRenderer(ListCellRenderer aRenderer) { if (this.renderer != aRenderer) { ListCellRenderer oldRenderer = this.renderer; this.renderer = aRenderer; firePropertyChange(RENDERER_CHANGED_PROPERTY, oldRenderer, this.renderer); } } | 23,465 |
public void setRenderer(ListCellRenderer aRenderer) { if (this.renderer != aRenderer) { ListCellRenderer oldRenderer = this.renderer; this.renderer = aRenderer; firePropertyChange(RENDERER_CHANGED_PROPERTY, oldRenderer, this.renderer); } } | public void setRenderer(ListCellRenderer aRenderer) { if (this.renderer != aRenderer) { ListCellRenderer oldRenderer = this.renderer; this.renderer = aRenderer; firePropertyChange(RENDERER_CHANGED_PROPERTY, oldRenderer, renderer); } } | 23,466 |
public void setSelectedIndex(int index) { // FIXME: if index == -1 then nothing should be selected setSelectedItem(dataModel.getElementAt(index)); } | public void setSelectedIndex(int index) { // FIXME: if index == -1 then nothing should be selected if(index < -1 || index >= dataModel.getSize()) { throw new IllegalArgumentException("illegal index: " + index); } else { setSelectedItem((index == -1) ? null : dataModel.getElementAt(index)); } } | 23,467 |
public Info(String name, String vendor, String desc, String vers) { this.name = name; this.description = desc; this.vendor = vendor; this.version = vers; } | protected Info(String name, String vendor, String desc, String vers) { this.name = name; this.description = desc; this.vendor = vendor; this.version = vers; } | 23,468 |
public String toString() { return ("name=" + name + "; description=" + description + "; vendor=" + vendor + "; version=" + version); } | public final String toString() { return ("name=" + name + "; description=" + description + "; vendor=" + vendor + "; version=" + version); } | 23,469 |
public final void invokeJavaMethod(String signature) { os.writeCALL(Register.EAX, context.getVmMethodNativeCodeField() .getOffset()); //writeJumpTableCALL(X86JumpTable.VM_INVOKE_OFS); final char ch = signature.charAt(signature.length() - 1); if (ch == 'V') { /**... | public final void invokeJavaMethod(String signature) { os.writeCALL(Register.EAX, context.getVmMethodNativeCodeField() .getOffset()); //writeJumpTableCALL(X86JumpTable.VM_INVOKE_OFS); final char ch = signature.charAt(signature.length() - 1); if (ch == 'V') { /**... | 23,470 |
protected void handleEndTag(TagElement tag) { String name = tag.getHTMLTag().toString(); String nname = cursor.getNodeName(); // Closing the current tag. if (nname != null && nname.equalsIgnoreCase(name)) { cursor = cursor.getParentNode(); } else { Node nCursor = cursor.ge... | protected void handleEndTag(TagElement tag) { String name = tag.getHTMLTag().toString(); String nname = cursor.getNodeName(); // Closing the current tag. if (nname != null && nname.equalsIgnoreCase(name)) { cursor = cursor.getParentNode(); } else { Node nCursor = cursor.ge... | 23,471 |
public Dimension getPreferredSize(JComponent c) { TableColumnModel cmod = header.getColumnModel(); TableCellRenderer defaultRend = header.getDefaultRenderer(); int ncols = cmod.getColumnCount(); Dimension ret = new Dimension(0,0); int spacing = 0; if (header.getTable() != null && header... | public Dimension getPreferredSize(JComponent c) { TableColumnModel cmod = header.getColumnModel(); TableCellRenderer defaultRend = header.getDefaultRenderer(); int ncols = cmod.getColumnCount(); Dimension ret = new Dimension(0,0); int spacing = 0; if (header.getTable() != null && header... | 23,473 |
boolean match(CharIndexed input, REMatch mymatch) { return negative ? matchN(input, mymatch) : matchP(input, mymatch); } | boolean match(CharIndexed input, REMatch mymatch) { REMatch tryMatch; boolean tryOnly; if (addition == null) { tryMatch = mymatch; tryOnly = false; } else { tryMatch = (REMatch) mymatch.clone(); tryOnly = true; } boolean b = negative ? matchN(input, tryMatch, tryOnly) : matchP(input, tryMatch, tryOnly); if (ad... | 23,476 |
private boolean matchN(CharIndexed input, REMatch mymatch) { if (input.charAt(mymatch.index) == CharIndexed.OUT_OF_BOUNDS) return false; REMatch newMatch = null; REMatch last = null; REToken tk; for (int i=0; i < options.size(); i++) { tk = (REToken) options.elementAt(i); REMatch tryMatch = (RE... | private boolean matchN(CharIndexed input, REMatch mymatch, boolean tryOnly) { if (input.charAt(mymatch.index) == CharIndexed.OUT_OF_BOUNDS) return false; REMatch newMatch = null; REMatch last = null; REToken tk; for (int i=0; i < options.size(); i++) { tk = (REToken) options.elementAt(i); REMat... | 23,477 |
private boolean matchP(CharIndexed input, REMatch mymatch) { REMatch.REMatchList newMatch = new REMatch.REMatchList(); REToken tk; for (int i=0; i < options.size(); i++) { // In order that the backtracking can work, // each option must be chained to the next token. // But the chain method has some side eff... | private boolean matchP(CharIndexed input, REMatch mymatch, boolean tryOnly) { REMatch.REMatchList newMatch = new REMatch.REMatchList(); REToken tk; for (int i=0; i < options.size(); i++) { // In order that the backtracking can work, // each option must be chained to the next token. // But the chain method ... | 23,479 |
public final Class getCategory() { return ColorSupported.class; } | public Class getCategory() { return ColorSupported.class; } | 23,481 |
public final String getName() { return "color-supported"; } | public String getName() { return "color-supported"; } | 23,482 |
public static void main(String[] args) throws Exception { ParsedArguments cmdLine = HELP_INFO.parse(args); final String filename = ARG_CLASS.getValue(cmdLine); final int level = PARAM_LEVEL.isSet(cmdLine) ? ARG_LEVEL.getInteger(cmdLine) : 0; final VmType type = VmSystem.getSystemClassLoader().loadClass(filename, t... | public static void main(String[] args) throws Exception { ParsedArguments cmdLine = HELP_INFO.parse(args); final String className = ARG_CLASS.getValue(cmdLine); final int level = PARAM_LEVEL.isSet(cmdLine) ? ARG_LEVEL.getInteger(cmdLine) : 0; final VmType type = VmSystem.getSystemClassLoader().loadClass(filename, ... | 23,483 |
public static void main(String[] args) throws Exception { ParsedArguments cmdLine = HELP_INFO.parse(args); final String filename = ARG_CLASS.getValue(cmdLine); final int level = PARAM_LEVEL.isSet(cmdLine) ? ARG_LEVEL.getInteger(cmdLine) : 0; final VmType type = VmSystem.getSystemClassLoader().loadClass(filename, t... | public static void main(String[] args) throws Exception { ParsedArguments cmdLine = HELP_INFO.parse(args); final String filename = ARG_CLASS.getValue(cmdLine); final int level = PARAM_LEVEL.isSet(cmdLine) ? ARG_LEVEL.getInteger(cmdLine) : 0; final ClassLoader cl = Thread.currentThread().getContextClassLoader(); fi... | 23,484 |
public DynAny copy() { if (holder != null) { cdrBufOutput buffer = new cdrBufOutput(); holder._write(buffer); gnuDynAny other; try { other = new gnuDynAny((Streamable) (holder.getClass().newInstance()), official_type, fin... | public DynAny copy() { if (holder != null) { BufferedCdrOutput buffer = new BufferedCdrOutput(); holder._write(buffer); gnuDynAny other; try { other = new gnuDynAny((Streamable) (holder.getClass().newInstance()), official... | 23,485 |
public DynAny current_component() throws TypeMismatch { throw new TypeMismatch("Not applicable for " + typeNamer.nameIt(final_type) ); } | public DynAny current_component() throws TypeMismatch { throw new TypeMismatch("Not applicable for " + TypeKindNamer.nameIt(final_type) ); } | 23,486 |
public boolean equal(DynAny other) { if (other instanceof abstractDynAny) { if (other instanceof gnuDynAny) { gnuDynAny x = (gnuDynAny) other; if (!x.holder.getClass().equals(holder.getClass())) return false; cdrBufOutput b1 = new cdrBufOutput(); ... | public boolean equal(DynAny other) { if (other instanceof AbstractAny) { if (other instanceof gnuDynAny) { gnuDynAny x = (gnuDynAny) other; if (!x.holder.getClass().equals(holder.getClass())) return false; cdrBufOutput b1 = new cdrBufOutput(); ... | 23,487 |
public boolean equal(DynAny other) { if (other instanceof abstractDynAny) { if (other instanceof gnuDynAny) { gnuDynAny x = (gnuDynAny) other; if (!x.holder.getClass().equals(holder.getClass())) return false; cdrBufOutput b1 = new cdrBufOutput(); ... | public boolean equal(DynAny other) { if (other instanceof abstractDynAny) { if (other instanceof gnuDynAny) { gnuDynAny x = (gnuDynAny) other; if (!x.holder.getClass().equals(holder.getClass())) return false; BufferedCdrOutput b1 = new BufferedCdr... | 23,488 |
public boolean equal(DynAny other) { if (other instanceof abstractDynAny) { if (other instanceof gnuDynAny) { gnuDynAny x = (gnuDynAny) other; if (!x.holder.getClass().equals(holder.getClass())) return false; cdrBufOutput b1 = new cdrBufOutput(); ... | public boolean equal(DynAny other) { if (other instanceof abstractDynAny) { if (other instanceof gnuDynAny) { gnuDynAny x = (gnuDynAny) other; if (!x.holder.getClass().equals(holder.getClass())) return false; cdrBufOutput b1 = new cdrBufOutput(); ... | 23,489 |
public void from_any(Any an_any) throws TypeMismatch, InvalidValue { checkType(official_type, an_any.type()); Streamable a_holder = an_any.extract_Streamable(); if (a_holder == null) { throw new InvalidValue(ISNULL); } else if (a_holder instanceof universalHolder) { holder = ... | public void from_any(Any an_any) throws TypeMismatch, InvalidValue { checkType(official_type, an_any.type()); Streamable a_holder = an_any.extract_Streamable(); if (a_holder == null) { throw new InvalidValue(ISNULL); } else if (a_holder instanceof GeneralHolder) { holder = ho... | 23,490 |
public void from_any(Any an_any) throws TypeMismatch, InvalidValue { checkType(official_type, an_any.type()); Streamable a_holder = an_any.extract_Streamable(); if (a_holder == null) { throw new InvalidValue(ISNULL); } else if (a_holder instanceof universalHolder) { holder = ... | public void from_any(Any an_any) throws TypeMismatch, InvalidValue { checkType(official_type, an_any.type()); Streamable a_holder = an_any.extract_Streamable(); if (a_holder == null) { throw new InvalidValue(ISNULL); } else if (a_holder instanceof universalHolder) { holder = ... | 23,491 |
public void from_any(Any an_any) throws TypeMismatch, InvalidValue { checkType(official_type, an_any.type()); Streamable a_holder = an_any.extract_Streamable(); if (a_holder == null) { throw new InvalidValue(ISNULL); } else if (a_holder instanceof universalHolder) { holder = ... | public void from_any(Any an_any) throws TypeMismatch, InvalidValue { checkType(official_type, an_any.type()); Streamable a_holder = an_any.extract_Streamable(); if (a_holder == null) { throw new InvalidValue(ISNULL); } else if (a_holder instanceof universalHolder) { holder = ... | 23,492 |
public void from_any(Any an_any) throws TypeMismatch, InvalidValue { checkType(official_type, an_any.type()); Streamable a_holder = an_any.extract_Streamable(); if (a_holder == null) { throw new InvalidValue(ISNULL); } else if (a_holder instanceof universalHolder) { holder = ... | public void from_any(Any an_any) throws TypeMismatch, InvalidValue { checkType(official_type, an_any.type()); Streamable a_holder = an_any.extract_Streamable(); if (a_holder == null) { throw new InvalidValue(ISNULL); } else if (a_holder instanceof universalHolder) { holder = ... | 23,493 |
void endResizing() { TableColumnModel model = header.getColumnModel(); int n = model.getColumnCount(); if (n > 2) { TableColumn c; for (int i = 0; i < n; i++) { c = model.getColumn(i); c.setPreferredWidth(c.getWidth()); } ... | void endResizing() { TableColumnModel model = header.getColumnModel(); int n = model.getColumnCount(); if (n > 2) { TableColumn c; for (int i = 0; i < n; i++) { c = model.getColumn(i); c.setPreferredWidth(c.getWidth()); } ... | 23,494 |
public void mouseMoved(MouseEvent e) { // When dragging, the functionality is handled by the mouseDragged. if (e.getButton() == 0 && header.getResizingAllowed()) { TableColumnModel model = header.getColumnModel(); int n = model.getColumnCount(); if (n < 2) /... | public void mouseMoved(MouseEvent e) { // When dragging, the functionality is handled by the mouseDragged. if (e.getButton() == 0 && header.getResizingAllowed()) { TableColumnModel model = header.getColumnModel(); int n = model.getColumnCount(); if (n < 2) /... | 23,495 |
public void doPass2(BootableHashMap liveVariables) { } | public void doPass2() { } | 23,496 |
public String toString() { return getAddress() + ": goto " + getTargetAddress(); } | public String toString() { return getAddress() + ": goto " + getTargetBlock(); } | 23,497 |
public BranchQuad(int address, IRBasicBlock block, int targetAddress) { super(address, block); this.targetAddress = targetAddress; } | public BranchQuad(int address, IRBasicBlock block, int targetAddress) { super(address, block); Iterator it = block.getSuccessors().iterator(); while (it.hasNext()) { IRBasicBlock succ = (IRBasicBlock) it.next(); if (succ.getStartPC() == targetAddress) { targetBlock = succ; break; } } if (targetBlock == null) { throw... | 23,498 |
public int getTargetAddress() { return targetAddress; } | public int getTargetAddress() { return targetBlock.getStartPC(); } | 23,499 |
public TaggedProfile effective_profile() { cdrBufOutput buf = new cdrBufOutput(512); buf.setOrb(orb); ior.Internet.write(buf); TaggedProfile p = new TaggedProfile(); p.tag = TAG_INTERNET_IOP.value; p.profile_data = buf.buffer.toByteArray(); return p; } | public TaggedProfile effective_profile() { BufferedCdrOutput buf = new BufferedCdrOutput(512); buf.setOrb(orb); ior.Internet.write(buf); TaggedProfile p = new TaggedProfile(); p.tag = TAG_INTERNET_IOP.value; p.profile_data = buf.buffer.toByteArray(); return p; } | 23,500 |
public org.omg.CORBA.Object effective_target() { return new IOR_contructed_object(orb, ior); } | public org.omg.CORBA.Object effective_target() { return new IorObject(orb, ior); } | 23,501 |
public org.omg.CORBA.Object forward_reference() { if (m_forwarding_target != null) return m_forwarding_target; if (m_forward_ior != null) return new IOR_contructed_object(orb, m_forward_ior); else return null; } | public org.omg.CORBA.Object forward_reference() { if (m_forwarding_target != null) return m_forwarding_target; if (m_forward_ior != null) return new IorObject(orb, m_forward_ior); else return null; } | 23,502 |
public streamRequest getParameterStream() { m_parameter_buffer = new streamRequest(); m_parameter_buffer.request = this; m_parameter_buffer.setVersion(ior.Internet.version); m_parameter_buffer.setCodeSet(cxCodeSet.negotiate(ior.Internet.CodeSets)); m_parameter_buffer.setOrb(orb); m_parameter_buffer... | public StreamBasedRequest getParameterStream() { m_parameter_buffer = new streamRequest(); m_parameter_buffer.request = this; m_parameter_buffer.setVersion(ior.Internet.version); m_parameter_buffer.setCodeSet(cxCodeSet.negotiate(ior.Internet.CodeSets)); m_parameter_buffer.setOrb(orb); m_parameter_b... | 23,503 |
public streamRequest getParameterStream() { m_parameter_buffer = new streamRequest(); m_parameter_buffer.request = this; m_parameter_buffer.setVersion(ior.Internet.version); m_parameter_buffer.setCodeSet(cxCodeSet.negotiate(ior.Internet.CodeSets)); m_parameter_buffer.setOrb(orb); m_parameter_buffer... | public streamRequest getParameterStream() { m_parameter_buffer = new StreamBasedRequest(); m_parameter_buffer.request = this; m_parameter_buffer.setVersion(ior.Internet.version); m_parameter_buffer.setCodeSet(cxCodeSet.negotiate(ior.Internet.CodeSets)); m_parameter_buffer.setOrb(orb); m_parameter_b... | 23,504 |
public streamRequest getParameterStream() { m_parameter_buffer = new streamRequest(); m_parameter_buffer.request = this; m_parameter_buffer.setVersion(ior.Internet.version); m_parameter_buffer.setCodeSet(cxCodeSet.negotiate(ior.Internet.CodeSets)); m_parameter_buffer.setOrb(orb); m_parameter_buffer... | public streamRequest getParameterStream() { m_parameter_buffer = new streamRequest(); m_parameter_buffer.request = this; m_parameter_buffer.setVersion(ior.Internet.version); m_parameter_buffer.setCodeSet(CodeSetServiceContext.negotiate(ior.Internet.CodeSets)); m_parameter_buffer.setOrb(orb); m_para... | 23,505 |
public streamRequest getParameterStream() { m_parameter_buffer = new streamRequest(); m_parameter_buffer.request = this; m_parameter_buffer.setVersion(ior.Internet.version); m_parameter_buffer.setCodeSet(cxCodeSet.negotiate(ior.Internet.CodeSets)); m_parameter_buffer.setOrb(orb); m_parameter_buffer... | public streamRequest getParameterStream() { m_parameter_buffer = new streamRequest(); m_parameter_buffer.request = this; m_parameter_buffer.setVersion(ior.Internet.version); m_parameter_buffer.setCodeSet(cxCodeSet.negotiate(ior.Internet.CodeSets)); m_parameter_buffer.setOrb(orb); m_parameter_buffer... | 23,506 |
public TaggedComponent get_effective_component(int id) throws BAD_PARAM { if (id == TAG_CODE_SETS.value) { // Codesets are encoded separately. cdrBufOutput buf = new cdrBufOutput(512); buf.setOrb(orb); ior.Internet.CodeSets.write(buf); TaggedComponent t = new TaggedCompo... | public TaggedComponent get_effective_component(int id) throws BAD_PARAM { if (id == TAG_CODE_SETS.value) { // Codesets are encoded separately. BufferedCdrOutput buf = new BufferedCdrOutput(512); buf.setOrb(orb); ior.Internet.CodeSets.write(buf); TaggedComponent t = new T... | 23,507 |
public synchronized void invoke() throws BAD_INV_ORDER { waitWhileBusy(); complete = false; running = true; if (ior == null) throw new BAD_INV_ORDER("Set IOR property first"); try { Forwardings: while (true) { try { p_invoke(); ... | public synchronized void invoke() throws BAD_INV_ORDER { waitWhileBusy(); complete = false; running = true; if (ior == null) throw new BAD_INV_ORDER("Set IOR property first"); try { Forwardings: while (true) { try { p_invoke(); ... | 23,508 |
private void p_invoke() throws SystemException, ForwardRequest { binaryReply response = submit(); if (m_rph == null) m_rph = response.header.create_reply_header(); cdrBufInput input = response.getStream(); input.setOrb(orb); m_rph.read(input); // The stream must be aligned sinve v1.2, but o... | private void p_invoke() throws SystemException, ForwardRequest { RawReply response = submit(); if (m_rph == null) m_rph = response.header.create_reply_header(); cdrBufInput input = response.getStream(); input.setOrb(orb); m_rph.read(input); // The stream must be aligned sinve v1.2, but only... | 23,509 |
private void p_invoke() throws SystemException, ForwardRequest { binaryReply response = submit(); if (m_rph == null) m_rph = response.header.create_reply_header(); cdrBufInput input = response.getStream(); input.setOrb(orb); m_rph.read(input); // The stream must be aligned sinve v1.2, but o... | private void p_invoke() throws SystemException, ForwardRequest { binaryReply response = submit(); if (m_rph == null) m_rph = response.header.create_reply_header(); BufferredCdrInput input = response.getStream(); input.setOrb(orb); m_rph.read(input); // The stream must be aligned sinve v1.2,... | 23,510 |
private void p_invoke() throws SystemException, ForwardRequest { binaryReply response = submit(); if (m_rph == null) m_rph = response.header.create_reply_header(); cdrBufInput input = response.getStream(); input.setOrb(orb); m_rph.read(input); // The stream must be aligned sinve v1.2, but o... | private void p_invoke() throws SystemException, ForwardRequest { binaryReply response = submit(); if (m_rph == null) m_rph = response.header.create_reply_header(); cdrBufInput input = response.getStream(); input.setOrb(orb); m_rph.read(input); // The stream must be aligned sinve v1.2, but o... | 23,511 |
void readExceptionId(cdrBufInput input) { input.mark(2048); m_exception_id = input.read_string(); input.reset(); } | void readExceptionId(BufferredCdrInput input) { input.mark(2048); m_exception_id = input.read_string(); input.reset(); } | 23,512 |
public void setORB(ORB an_orb) { orb = an_orb; // Take the interceptor from the ORB. if (orb instanceof Restricted_ORB) m_interceptor = ((Restricted_ORB) orb).iClient; if (m_interceptor != null && orb instanceof ORB_1_4) { m_slots = ((ORB_1_4) orb).ic_current.clone_slots(); } } | public void setORB(ORB an_orb) { orb = an_orb; // Take the interceptor from the ORB. if (orb instanceof Restricted_ORB) m_interceptor = ((Restricted_ORB) orb).iClient; if (m_interceptor != null && orb instanceof ORB_1_4) { m_slots = ((ORB_1_4) orb).ic_current.clone_slots(); } } | 23,513 |
public synchronized binaryReply submit() throws ForwardRequest { gnu.CORBA.GIOP.MessageHeader header = new gnu.CORBA.GIOP.MessageHeader(); header.setBigEndian(Big_endian); // The byte order will be Big Endian by default. header.message_type = gnu.CORBA.GIOP.MessageHeader.REQUEST; header.version = useV... | public synchronized RawReply submit() throws ForwardRequest { gnu.CORBA.GIOP.MessageHeader header = new gnu.CORBA.GIOP.MessageHeader(); header.setBigEndian(Big_endian); // The byte order will be Big Endian by default. header.message_type = gnu.CORBA.GIOP.MessageHeader.REQUEST; header.version = useVers... | 23,514 |
public synchronized binaryReply submit() throws ForwardRequest { gnu.CORBA.GIOP.MessageHeader header = new gnu.CORBA.GIOP.MessageHeader(); header.setBigEndian(Big_endian); // The byte order will be Big Endian by default. header.message_type = gnu.CORBA.GIOP.MessageHeader.REQUEST; header.version = useV... | public synchronized binaryReply submit() throws ForwardRequest { gnu.CORBA.GIOP.MessageHeader header = new gnu.CORBA.GIOP.MessageHeader(); header.setBigEndian(Big_endian); // The byte order will be Big Endian by default. header.message_type = gnu.CORBA.GIOP.MessageHeader.REQUEST; header.version = useV... | 23,515 |
public synchronized binaryReply submit() throws ForwardRequest { gnu.CORBA.GIOP.MessageHeader header = new gnu.CORBA.GIOP.MessageHeader(); header.setBigEndian(Big_endian); // The byte order will be Big Endian by default. header.message_type = gnu.CORBA.GIOP.MessageHeader.REQUEST; header.version = useV... | public synchronized binaryReply submit() throws ForwardRequest { gnu.CORBA.GIOP.MessageHeader header = new gnu.CORBA.GIOP.MessageHeader(); header.setBigEndian(Big_endian); // The byte order will be Big Endian by default. header.message_type = gnu.CORBA.GIOP.MessageHeader.REQUEST; header.version = useV... | 23,516 |
public synchronized binaryReply submit() throws ForwardRequest { gnu.CORBA.GIOP.MessageHeader header = new gnu.CORBA.GIOP.MessageHeader(); header.setBigEndian(Big_endian); // The byte order will be Big Endian by default. header.message_type = gnu.CORBA.GIOP.MessageHeader.REQUEST; header.version = useV... | public synchronized binaryReply submit() throws ForwardRequest { gnu.CORBA.GIOP.MessageHeader header = new gnu.CORBA.GIOP.MessageHeader(); header.setBigEndian(Big_endian); // The byte order will be Big Endian by default. header.message_type = gnu.CORBA.GIOP.MessageHeader.REQUEST; header.version = useV... | 23,517 |
public synchronized binaryReply submit() throws ForwardRequest { gnu.CORBA.GIOP.MessageHeader header = new gnu.CORBA.GIOP.MessageHeader(); header.setBigEndian(Big_endian); // The byte order will be Big Endian by default. header.message_type = gnu.CORBA.GIOP.MessageHeader.REQUEST; header.version = useV... | public synchronized binaryReply submit() throws ForwardRequest { gnu.CORBA.GIOP.MessageHeader header = new gnu.CORBA.GIOP.MessageHeader(); header.setBigEndian(Big_endian); // The byte order will be Big Endian by default. header.message_type = gnu.CORBA.GIOP.MessageHeader.REQUEST; header.version = useV... | 23,518 |
public synchronized binaryReply submit() throws ForwardRequest { gnu.CORBA.GIOP.MessageHeader header = new gnu.CORBA.GIOP.MessageHeader(); header.setBigEndian(Big_endian); // The byte order will be Big Endian by default. header.message_type = gnu.CORBA.GIOP.MessageHeader.REQUEST; header.version = useV... | public synchronized binaryReply submit() throws ForwardRequest { gnu.CORBA.GIOP.MessageHeader header = new gnu.CORBA.GIOP.MessageHeader(); header.setBigEndian(Big_endian); // The byte order will be Big Endian by default. header.message_type = gnu.CORBA.GIOP.MessageHeader.REQUEST; header.version = useV... | 23,519 |
public synchronized binaryReply submit() throws ForwardRequest { gnu.CORBA.GIOP.MessageHeader header = new gnu.CORBA.GIOP.MessageHeader(); header.setBigEndian(Big_endian); // The byte order will be Big Endian by default. header.message_type = gnu.CORBA.GIOP.MessageHeader.REQUEST; header.version = useV... | public synchronized binaryReply submit() throws ForwardRequest { gnu.CORBA.GIOP.MessageHeader header = new gnu.CORBA.GIOP.MessageHeader(); header.setBigEndian(Big_endian); // The byte order will be Big Endian by default. header.message_type = gnu.CORBA.GIOP.MessageHeader.REQUEST; header.version = useV... | 23,520 |
protected void write_parameter_buffer(MessageHeader header, cdrBufOutput request_part ) throws MARSHAL { try { if (header.version.since_inclusive(1, 2)) { request_part.align(8); } m_parameter_buffer.buffer.writeTo(request_part);... | protected void write_parameter_buffer(MessageHeader header, BufferedCdrOutput request_part ) throws MARSHAL { try { if (header.version.since_inclusive(1, 2)) { request_part.align(8); } m_parameter_buffer.buffer.writeTo(request_p... | 23,521 |
protected void write_parameters(MessageHeader header, cdrBufOutput request_part ) throws MARSHAL { // Align after 1.2, but only once. boolean align = header.version.since_inclusive(1, 2); NamedValue para; try { // Write parameters now. for (int i = 0; ... | protected void write_parameters(MessageHeader header, BufferedCdrOutput request_part ) throws MARSHAL { // Align after 1.2, but only once. boolean align = header.version.since_inclusive(1, 2); NamedValue para; try { // Write parameters now. for (int i ... | 23,522 |
public COMM_FAILURE(String reason, int minor, CompletionStatus completed) { super(reason, minor, completed); } | public COMM_FAILURE(String message) { super(reason, minor, completed); } | 23,523 |
public COMM_FAILURE(String reason, int minor, CompletionStatus completed) { super(reason, minor, completed); } | public COMM_FAILURE(String reason, int minor, CompletionStatus completed) { super(message, 0, CompletionStatus.COMPLETED_NO); } | 23,524 |
public int getBreakWeight(int axis, float pos, float len) { // FIXME: Implement this. return super.getBreakWeight(axis, pos, len); } | public int getBreakWeight(int axis, float pos, float len) { // FIXME: Implement this. int weight; if (nowrap) weight = BadBreakWeight; else weight = super.getBreakWeight(axis, pos, len); return weight; } | 23,526 |
BoxPainter(AttributeSet as) { this.as = as; } | BoxPainter(AttributeSet as) { Length l = (Length) as.getAttribute(CSS.Attribute.MARGIN_LEFT); if (l != null) leftInset = l.getValue(); l = (Length) as.getAttribute(CSS.Attribute.MARGIN_RIGHT); if (l != null) rightInset = l.getValue(); l = (Length) as.getAttribute(CSS.Attribute.MARGIN_TOP); if (l != null) to... | 23,528 |
public boolean equals(Object other) { if( other instanceof Certificate ) { try { Certificate x = (Certificate) other; if( getEncoded().length != x.getEncoded().length ) return false; byte b1[] = getEncoded(); byte b2[] = x.getEncoded(); for( int i = 0; i < b1.length; i++ ) if( b1[i] != b2[i] ) return... | public boolean equals(Object other) { if( other instanceof Certificate ) { try { Certificate x = (Certificate) other; if( getEncoded().length != x.getEncoded().length ) return false; byte b1[] = getEncoded(); byte b2[] = x.getEncoded(); for( int i = 0; i < b1.length; i++ ) if( b1[i] != b2[i] ) return... | 23,530 |
void dispatchEventImpl(AWTEvent e) { if (e.id <= TextEvent.TEXT_LAST && e.id >= TextEvent.TEXT_FIRST && (textListener != null || (eventMask & AWTEvent.TEXT_EVENT_MASK) != 0)) processEvent(e); else super.dispatchEventImpl(e); } | void dispatchEventImpl(AWTEvent e) { if (e.id <= TextEvent.TEXT_LAST && e.id >= TextEvent.TEXT_FIRST && (textListener != null || (eventMask & AWTEvent.TEXT_EVENT_MASK) != 0)) processEvent(e); else super.dispatchEventImpl(e); } | 23,535 |
protected void processEvent(AWTEvent event) { if (event instanceof TextEvent) processTextEvent((TextEvent) event); else super.processEvent(event); } | processEvent(AWTEvent event) { if (event instanceof TextEvent) processTextEvent((TextEvent) event); else super.processEvent(event); } | 23,536 |
public String toString() { return getClass().getName() + "[" + paramString() + "] on " + source; } | public String toString() { String string = null; if (source instanceof Component) string = getClass ().getName () + "[" + paramString () + "] on " + ((Component) source).getName (); else if (source instanceof MenuComponent) string = getClass ().getName () + "[" + paramString () + "] on " + ((MenuComponent) sourc... | 23,537 |
public DefaultTextField(DefaultTreeCellEditor value0, Border value1) { // TODO } // DefaultTextField() | public DefaultTextField(DefaultTreeCellEditor value0, Border value1) { // TODO } // DefaultTextField() | 23,538 |
public Border getBorder() { return null; // TODO } // getBorder() | public Border getBorder() { return null; // TODO } // getBorder() | 23,539 |
public EditorContainer(DefaultTreeCellEditor value0) { // TODO } // EditorContainer() | public EditorContainer(DefaultTreeCellEditor value0) { // TODO } // EditorContainer() | 23,540 |
public void addCellEditorListener(CellEditorListener value0) { // TODO } // addCellEditorListener() | public void addCellEditorListener(CellEditorListener value0) { // TODO } // addCellEditorListener() | 23,541 |
public void removeCellEditorListener(CellEditorListener value0) { // TODO } // removeCellEditorListener() | public void removeCellEditorListener(CellEditorListener value0) { // TODO } // removeCellEditorListener() | 23,542 |
public void mouseEntered(MouseEvent e) { if (e.getSource() instanceof AbstractButton) { AbstractButton button = (AbstractButton) e.getSource(); ButtonModel model = button.getModel(); if (button.isRolloverEnabled()) model.setRollover(true); if (model.isPressed() ... | public void mouseEntered(MouseEvent e) { if (e.getSource() instanceof AbstractButton) { AbstractButton button = (AbstractButton) e.getSource(); ButtonModel model = button.getModel(); if (button.isRolloverEnabled() && ! SwingUtilities.isLeftMouseButton(e)) model.setRollover(true)... | 23,543 |
public void mouseEntered(MouseEvent e) { if (e.getSource() instanceof AbstractButton) { AbstractButton button = (AbstractButton) e.getSource(); ButtonModel model = button.getModel(); if (button.isRolloverEnabled()) model.setRollover(true); if (model.isPressed() ... | public void mouseEntered(MouseEvent e) { if (e.getSource() instanceof AbstractButton) { AbstractButton button = (AbstractButton) e.getSource(); ButtonModel model = button.getModel(); if (button.isRolloverEnabled()) model.setRollover(true); if (model.isPressed() ... | 23,544 |
public void mouseEntered(MouseEvent e) { if (e.getSource() instanceof AbstractButton) { AbstractButton button = (AbstractButton) e.getSource(); ButtonModel model = button.getModel(); if (button.isRolloverEnabled()) model.setRollover(true); if (model.isPressed() ... | public void mouseEntered(MouseEvent e) { if (e.getSource() instanceof AbstractButton) { AbstractButton button = (AbstractButton) e.getSource(); ButtonModel model = button.getModel(); if (button.isRolloverEnabled()) model.setRollover(true); if (model.isPressed() ... | 23,545 |
public void connect() throws IOException { if (connected) { return; } String host = url.getHost(); int port = url.getPort(); String username = url.getUserInfo(); String password = null; if (username != null) { int ci = username.indexOf(':'); if (ci != -1) ... | public void connect() throws IOException { if (connected) { return; } String host = url.getHost(); int port = url.getPort(); String username = url.getUserInfo(); String password = null; if (username != null) { int ci = username.indexOf(':'); if (ci != -1) ... | 23,546 |
public void connect() throws IOException { if (connected) { return; } String host = url.getHost(); int port = url.getPort(); String username = url.getUserInfo(); String password = null; if (username != null) { int ci = username.indexOf(':'); if (ci != -1) ... | public void connect() throws IOException { if (connected) { return; } String host = url.getHost(); int port = url.getPort(); String username = url.getUserInfo(); String password = null; if (username != null) { int ci = username.indexOf(':'); if (ci != -1) ... | 23,547 |
public InputStream getInputStream() throws IOException { if (!connected) { connect(); } String path = url.getPath(); String filename = null; int lsi = path.lastIndexOf('/'); if (lsi != -1) { filename = path.substring(lsi + 1); path = path.substring(0, lsi); ... | public InputStream getInputStream() throws IOException { if (!connected) { connect(); } String path = url.getPath(); String filename = null; int lsi = path.lastIndexOf('/'); if (lsi != -1) { filename = path.substring(lsi + 1); path = path.substring(0, lsi); ... | 23,548 |
public InputStream getInputStream() throws IOException { if (!connected) { connect(); } String path = url.getPath(); String filename = null; int lsi = path.lastIndexOf('/'); if (lsi != -1) { filename = path.substring(lsi + 1); path = path.substring(0, lsi); ... | public InputStream getInputStream() throws IOException { if (!connected) { connect(); } String path = url.getPath(); String filename = null; int lsi = path.lastIndexOf('/'); if (lsi != -1) { filename = path.substring(lsi + 1); path = path.substring(0, lsi); ... | 23,549 |
public InputStream getInputStream() throws IOException { if (!connected) { connect(); } String path = url.getPath(); String filename = null; int lsi = path.lastIndexOf('/'); if (lsi != -1) { filename = path.substring(lsi + 1); path = path.substring(0, lsi); ... | public InputStream getInputStream() throws IOException { if (!connected) { connect(); } String path = url.getPath(); String filename = null; int lsi = path.lastIndexOf('/'); if (lsi != -1) { filename = path.substring(lsi + 1); path = path.substring(0, lsi); ... | 23,550 |
public OutputStream getOutputStream() throws IOException { if (!connected) { connect(); } String dir = url.getPath(); String filename = url.getFile(); if (!connection.changeWorkingDirectory(dir)) { throw new FileNotFoundException(dir); } if (filename != null) ... | public OutputStream getOutputStream() throws IOException { if (!connected) { connect(); } String dir = url.getPath(); String filename = url.getFile(); if (!connection.changeWorkingDirectory(dir)) { throw new FileNotFoundException(dir); } if (filename != null) ... | 23,551 |
protected String paramString() { return "JScrollBar"; } | protected String paramString() { StringBuffer sb = new StringBuffer(super.paramString()); sb.append(",blockIncrement=").append(blockIncrement); sb.append(",orientation="); if (this.orientation == JScrollBar.HORIZONTAL) sb.append("HORIZONTAL"); else sb.append("VERTICAL"); sb.append(",unitIncrement=").append(unitIn... | 23,552 |
UTF_16Encoder (Charset cs, int byteOrder, boolean useByteOrderMark) { super (cs, 2.0f, useByteOrderMark ? 4.0f : 2.0f, byteOrder == BIG_ENDIAN ? new byte[] { (byte) 0xFF, (byte) 0xFD } : new byte[] { (byte) 0xFD, (byte) 0xFF }); this.byteOrder = byteOrder; this.us... | UTF_16Encoder (Charset cs, int byteOrder, boolean useByteOrderMark) { super (cs, 2.0f, useByteOrderMark ? 2.0f : 4.0f, byteOrder == BIG_ENDIAN ? new byte[] { (byte) 0xFF, (byte) 0xFD } : new byte[] { (byte) 0xFD, (byte) 0xFF }); this.byteOrder = byteOrder; this.us... | 23,553 |
private final void addBranch(int target) { IRBasicBlock pred = this.currentBlock; IRBasicBlock succ = startBB(target); pred.addSuccessor(succ); succ.addPredecessor(pred); endBB(); } | private final void addBranch(int target, boolean nextIsSuccessor) { IRBasicBlock pred = this.currentBlock; IRBasicBlock succ = startBB(target); pred.addSuccessor(succ); succ.addPredecessor(pred); endBB(); } | 23,555 |
private final void addBranch(int target) { IRBasicBlock pred = this.currentBlock; IRBasicBlock succ = startBB(target); pred.addSuccessor(succ); succ.addPredecessor(pred); endBB(); } | private final void addBranch(int target) { IRBasicBlock pred = this.currentBlock; IRBasicBlock succ = startBB(target); pred.addSuccessor(succ); succ.addPredecessor(pred); endBB(nextIsSuccessor); } | 23,556 |
private final void endBB() { nextIsStartOfBB = true; } | private final void endBB(boolean nextIsSuccessor) { nextIsStartOfBB = true; } | 23,557 |
public void visit_areturn() { endBB(); nextIsSuccessor = false; } | public void visit_areturn() { endBB(); nextIsSuccessor = false; } | 23,559 |
public void visit_athrow() { endBB(); nextIsSuccessor = false; } | public void visit_athrow() { endBB(); nextIsSuccessor = false; } | 23,560 |
public void visit_dreturn() { endBB(); nextIsSuccessor = false; } | public void visit_dreturn() { endBB(); nextIsSuccessor = false; } | 23,561 |
public void visit_freturn() { endBB(); nextIsSuccessor = false; } | public void visit_freturn() { endBB(); nextIsSuccessor = false; } | 23,562 |
public void visit_goto(int address) { addBranch(address); nextIsSuccessor = false; } | public void visit_goto(int address) { addBranch(address); nextIsSuccessor = false; } | 23,563 |
public void visit_if_acmpeq(int address) { addBranch(address); } | public void visit_if_acmpeq(int address) { addBranch(address, true); } | 23,564 |
public void visit_if_acmpne(int address) { addBranch(address); } | public void visit_if_acmpne(int address) { addBranch(address, true); } | 23,565 |
public void visit_if_icmpeq(int address) { addBranch(address); } | public void visit_if_icmpeq(int address) { addBranch(address, true); } | 23,566 |
public void visit_if_icmpge(int address) { addBranch(address); } | public void visit_if_icmpge(int address) { addBranch(address, true); } | 23,567 |
public void visit_if_icmpgt(int address) { addBranch(address); } | public void visit_if_icmpgt(int address) { addBranch(address, true); } | 23,568 |
public void visit_if_icmple(int address) { addBranch(address); } | public void visit_if_icmple(int address) { addBranch(address, true); } | 23,569 |
public void visit_if_icmplt(int address) { addBranch(address); } | public void visit_if_icmplt(int address) { addBranch(address, true); } | 23,570 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.