rem
stringlengths
0
477k
add
stringlengths
0
313k
context
stringlengths
6
599k
cdrBufOutput buf = new cdrBufOutput(512);
BufferedCdrOutput buf = new BufferedCdrOutput(512);
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; }
return new IOR_contructed_object(orb, ior);
return new IorObject(orb, ior);
public org.omg.CORBA.Object effective_target() { return new IOR_contructed_object(orb, ior); }
return new IOR_contructed_object(orb, m_forward_ior);
return new IorObject(orb, m_forward_ior);
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 streamRequest getParameterStream()
public StreamBasedRequest getParameterStream()
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...
m_parameter_buffer = new streamRequest();
m_parameter_buffer = new StreamBasedRequest();
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...
m_parameter_buffer.setCodeSet(cxCodeSet.negotiate(ior.Internet.CodeSets));
m_parameter_buffer.setCodeSet(CodeSetServiceContext.negotiate(ior.Internet.CodeSets));
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...
cdrBufOutput measure = new cdrBufOutput();
BufferedCdrOutput measure = new BufferedCdrOutput();
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...
cdrBufOutput buf = new cdrBufOutput(512);
BufferedCdrOutput buf = new BufferedCdrOutput(512);
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...
Simple_delegate delegate = (Simple_delegate) impl._get_delegate();
SimpleDelegate delegate = (SimpleDelegate) impl._get_delegate();
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(); ...
binaryReply response = submit();
RawReply response = submit();
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...
cdrBufInput input = response.getStream();
BufferredCdrInput input = response.getStream();
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...
exc.insert_Streamable(new streamReadyHolder(input));
exc.insert_Streamable(new StreamHolder(input));
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...
void readExceptionId(cdrBufInput input)
void readExceptionId(BufferredCdrInput input)
void readExceptionId(cdrBufInput input) { input.mark(2048); m_exception_id = input.read_string(); input.reset(); }
if (orb instanceof Restricted_ORB) m_interceptor = ((Restricted_ORB) orb).iClient;
if (orb instanceof OrbRestricted) m_interceptor = ((OrbRestricted) orb).iClient;
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 synchronized binaryReply submit() throws ForwardRequest
public synchronized RawReply submit() throws ForwardRequest
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...
cdrBufOutput request_part = new cdrBufOutput();
BufferedCdrOutput request_part = new BufferedCdrOutput();
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...
request_part.setCodeSet(cxCodeSet.negotiate(ior.Internet.CodeSets));
request_part.setCodeSet(CodeSetServiceContext.negotiate(ior.Internet.CodeSets));
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...
if (orb instanceof Functional_ORB)
if (orb instanceof OrbFunctional)
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...
Functional_ORB fo = (Functional_ORB) orb;
OrbFunctional fo = (OrbFunctional) orb;
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...
return new binaryReply(orb, response_header, r);
return new RawReply(orb, response_header, r);
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...
socket.setSoTimeout(Functional_ORB.TANDEM_REQUESTS);
socket.setSoTimeout(OrbFunctional.TANDEM_REQUESTS);
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...
cdrBufOutput request_part
BufferedCdrOutput request_part
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);...
cdrBufOutput request_part
BufferedCdrOutput request_part
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; ...
public COMM_FAILURE(String reason, int minor, CompletionStatus completed)
public COMM_FAILURE(String message)
public COMM_FAILURE(String reason, int minor, CompletionStatus completed) { super(reason, minor, completed); }
super(reason, minor, completed);
super(message, 0, CompletionStatus.COMPLETED_NO);
public COMM_FAILURE(String reason, int minor, CompletionStatus completed) { super(reason, minor, completed); }
setPropertiesFromAttributes();
public void changedUpdate(DocumentEvent e, Shape a, ViewFactory f) { super.changedUpdate(e, a, f); StyleSheet ss = getStyleSheet(); attributes = ss.getViewAttributes(this); preferenceChanged(null, true, true); }
return super.getBreakWeight(axis, pos, len);
int weight; if (nowrap) weight = BadBreakWeight; else weight = super.getBreakWeight(axis, pos, len); return weight;
public int getBreakWeight(int axis, float pos, float len) { // FIXME: Implement this. return super.getBreakWeight(axis, pos, len); }
o = atts.getAttribute(CSS.Attribute.WHITE_SPACE); if (o != null && o.equals("nowrap")) nowrap = true; else nowrap = false;
protected void setPropertiesFromAttributes() { super.setPropertiesFromAttributes(); AttributeSet atts = getAttributes(); Object o = atts.getAttribute(CSS.Attribute.TEXT_DECORATION); // Check for underline. boolean b = false; if (o != null && o.toString().contains("underline")) b = true; set...
this.as = 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) topInset = l.getValue(); l = (Length) as.get...
BoxPainter(AttributeSet as) { this.as = as; }
if (!table.isEditing() && table.isEnabled()) { int r = table.getSelectedRow(); int c = table.getSelectedColumn(); if (table.isCellEditable(r, c)) table.editCellAt(r, c); }
public void keyTyped(KeyEvent event) { // Key events should be handled through the InputMap/ActionMap mechanism // since JDK1.3. This class is only there for backwards compatibility. }
byte b1[] = getEncoded(); byte b2[] = x.getEncoded();
byte[] b1 = getEncoded(); byte[] b2 = x.getEncoded();
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...
if (e.getSource() instanceof AbstractButton) { AbstractButton button = (AbstractButton) e.getSource(); if (button.isFocusPainted()) button.repaint(); }
public void focusGained(FocusEvent e) { }
if (button.isFocusPainted()) button.repaint();
public void focusLost(FocusEvent e) { if (e.getSource() instanceof AbstractButton) { AbstractButton button = (AbstractButton) e.getSource(); ButtonModel model = button.getModel(); model.setArmed(false); } }
c.getActionMap().put("pressed", new AbstractAction() { public void actionPerformed(ActionEvent e) { AbstractButton button = (AbstractButton) e.getSource(); ButtonModel model = button.getModel(); model.setArmed(true); model.setPressed(true); } }); c.getActionMap().put("released", new AbstractAction() { public void act...
public void installKeyboardActions(JComponent c) { }
c.getActionMap().put("pressed", null); c.getActionMap().put("released", null);
public void uninstallKeyboardActions(JComponent c) { }
void dispatchEventImpl(AWTEvent e) { if (e.id <= TextEvent.TEXT_LAST && e.id >= TextEvent.TEXT_FIRST && (textListener != null || (eventMask & AWTEvent.TEXT_EVENT_MASK) != 0))
dispatchEventImpl(AWTEvent e) { if (e.id <= TextEvent.TEXT_LAST && e.id >= TextEvent.TEXT_FIRST && (textListener != null || (eventMask & AWTEvent.TEXT_EVENT_MASK) != 0))
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); }
protected void processEvent(AWTEvent event) {
processEvent(AWTEvent event) {
protected void processEvent(AWTEvent event) { if (event instanceof TextEvent) processTextEvent((TextEvent) event); else super.processEvent(event); }
return getClass().getName() + "[" + paramString() + "] on " + source;
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) source).getName (); return string;
public String toString() { return getClass().getName() + "[" + paramString() + "] on " + source; }
public DefaultTextField(DefaultTreeCellEditor value0, Border value1) { }
public DefaultTextField(Border border) { this.border = border; }
public DefaultTextField(DefaultTreeCellEditor value0, Border value1) { // TODO } // DefaultTextField()
public Border getBorder() { return null; }
public Border getBorder() { return border; }
public Border getBorder() { return null; // TODO } // getBorder()
public EditorContainer(DefaultTreeCellEditor value0) { }
public void EditorContainer() { }
public EditorContainer(DefaultTreeCellEditor value0) { // TODO } // EditorContainer()
public void addCellEditorListener(CellEditorListener value0) { }
public void addCellEditorListener(CellEditorListener listener) { listenerList.add(CellEditorListener.class, listener); }
public void addCellEditorListener(CellEditorListener value0) { // TODO } // addCellEditorListener()
public void removeCellEditorListener(CellEditorListener value0) { }
public void removeCellEditorListener(CellEditorListener listener) { listenerList.remove(CellEditorListener.class, listener); }
public void removeCellEditorListener(CellEditorListener value0) { // TODO } // removeCellEditorListener()
if (button.isRolloverEnabled())
if (button.isRolloverEnabled() && ! SwingUtilities.isLeftMouseButton(e))
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() ...
if (model.isPressed() && (e.getModifiersEx() & InputEvent.BUTTON1_DOWN_MASK) != 0)
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() ...
else model.setArmed(false);
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() ...
PrivilegedAction a = new GetPropertyAction("user.name"); String systemUsername =(String) AccessController.doPrivileged(a); a = new GetLocalHostAction();
GetLocalHostAction a = new GetLocalHostAction();
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) ...
password = systemUsername + "@" +
password = SystemProperties.getProperty("user.name") + "@" +
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) ...
String filename = null; int lsi = path.lastIndexOf('/'); if (lsi != -1)
if (connection.changeWorkingDirectory(path))
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); ...
filename = path.substring(lsi + 1); path = path.substring(0, lsi); if (!connection.changeWorkingDirectory(path)) { throw new FileNotFoundException(path); } } if (filename != null && filename.length() > 0) { return this.new ClosingInputStream(connection.retrieve(filename));
return this.new ClosingInputStream(connection.list(null));
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); ...
return this.new ClosingInputStream(connection.list(null));
return this.new ClosingInputStream(connection.retrieve(path));
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); ...
String dir = url.getPath(); String filename = url.getFile(); if (!connection.changeWorkingDirectory(dir)) { throw new FileNotFoundException(dir); } if (filename != null) { return this.new ClosingOutputStream(connection.store(filename)); } else { throw new FileNotFoundException(filename); }
String path = url.getPath(); return this.new ClosingOutputStream(connection.store(path));
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) ...
return "JScrollBar";
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(unitIncrement); return sb.toString();
protected String paramString() { return "JScrollBar"; }
useByteOrderMark ? 4.0f : 2.0f,
useByteOrderMark ? 2.0f : 4.0f,
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...
}
public String toString() { StringBuffer buf = new StringBuffer(); switch (axis) { case ANCESTOR: buf.append("ancestor::"); break; case ANCESTOR_OR_SELF: buf.append("ancestor-or-self::"); break; case ATTRIBUTE: buf.append("attribute::"); break; ...
private final void addBranch(int target) {
private final void addBranch(int target, boolean nextIsSuccessor) {
private final void addBranch(int target) { IRBasicBlock pred = this.currentBlock; IRBasicBlock succ = startBB(target); pred.addSuccessor(succ); succ.addPredecessor(pred); endBB(); }
endBB();
endBB(nextIsSuccessor);
private final void addBranch(int target) { IRBasicBlock pred = this.currentBlock; IRBasicBlock succ = startBB(target); pred.addSuccessor(succ); succ.addPredecessor(pred); endBB(); }
private final void endBB() {
private final void endBB(boolean nextIsSuccessor) {
private final void endBB() { nextIsStartOfBB = true; }
this.nextIsSuccessor = nextIsSuccessor;
private final void endBB() { nextIsStartOfBB = true; }
endBB(); nextIsSuccessor = false;
endBB(false);
public void visit_areturn() { endBB(); nextIsSuccessor = false; }
endBB(); nextIsSuccessor = false;
endBB(false);
public void visit_athrow() { endBB(); nextIsSuccessor = false; }
endBB(); nextIsSuccessor = false;
endBB(false);
public void visit_dreturn() { endBB(); nextIsSuccessor = false; }
endBB(); nextIsSuccessor = false;
endBB(false);
public void visit_freturn() { endBB(); nextIsSuccessor = false; }
addBranch(address); nextIsSuccessor = false;
addBranch(address, false);
public void visit_goto(int address) { addBranch(address); nextIsSuccessor = false; }
addBranch(address);
addBranch(address, true);
public void visit_if_acmpeq(int address) { addBranch(address); }
addBranch(address);
addBranch(address, true);
public void visit_if_acmpne(int address) { addBranch(address); }
addBranch(address);
addBranch(address, true);
public void visit_if_icmpeq(int address) { addBranch(address); }
addBranch(address);
addBranch(address, true);
public void visit_if_icmpge(int address) { addBranch(address); }
addBranch(address);
addBranch(address, true);
public void visit_if_icmpgt(int address) { addBranch(address); }
addBranch(address);
addBranch(address, true);
public void visit_if_icmple(int address) { addBranch(address); }
addBranch(address);
addBranch(address, true);
public void visit_if_icmplt(int address) { addBranch(address); }
addBranch(address);
addBranch(address, true);
public void visit_if_icmpne(int address) { addBranch(address); }
addBranch(address);
addBranch(address, true);
public void visit_ifeq(int address) { addBranch(address); }
addBranch(address);
addBranch(address, true);
public void visit_ifge(int address) { addBranch(address); }
addBranch(address);
addBranch(address, true);
public void visit_ifgt(int address) { addBranch(address); }
addBranch(address);
addBranch(address, true);
public void visit_ifle(int address) { addBranch(address); }
addBranch(address);
addBranch(address, true);
public void visit_iflt(int address) { addBranch(address); }
addBranch(address);
addBranch(address, true);
public void visit_ifne(int address) { addBranch(address); }
addBranch(address);
addBranch(address, true);
public void visit_ifnonnull(int address) { addBranch(address); }
addBranch(address);
addBranch(address, true);
public void visit_ifnull(int address) { addBranch(address); }
endBB(); nextIsSuccessor = false;
endBB(false);
public void visit_ireturn() { endBB(); nextIsSuccessor = false; }
addBranch(address);
addBranch(address, false);
public void visit_jsr(int address) { addBranch(address); }
addBranch(addresses[i]);
addBranch(addresses[i], true);
public void visit_lookupswitch(int defValue, int[] matchValues, int[] addresses) { for (int i = 0; i < addresses.length; i++) { addBranch(addresses[i]); } addBranch(defValue); }
addBranch(defValue);
addBranch(defValue, true);
public void visit_lookupswitch(int defValue, int[] matchValues, int[] addresses) { for (int i = 0; i < addresses.length; i++) { addBranch(addresses[i]); } addBranch(defValue); }
endBB(); nextIsSuccessor = false;
endBB(false);
public void visit_lreturn() { endBB(); nextIsSuccessor = false; }
endBB(); nextIsSuccessor = false;
endBB(false);
public void visit_ret(int index) { endBB(); nextIsSuccessor = false; }
endBB(); nextIsSuccessor = false;
endBB(false);
public void visit_return() { endBB(); nextIsSuccessor = false; }
addBranch(addresses[i]);
addBranch(addresses[i], true);
public void visit_tableswitch(int defValue, int lowValue, int highValue, int[] addresses) { for (int i = 0; i < addresses.length; i++) { addBranch(addresses[i]); } addBranch(defValue); }
addBranch(defValue);
addBranch(defValue, true);
public void visit_tableswitch(int defValue, int lowValue, int highValue, int[] addresses) { for (int i = 0; i < addresses.length; i++) { addBranch(addresses[i]); } addBranch(defValue); }
value.append(line.substring(0, len - 1));
int last = len - 1; if (line.charAt(last) != '\r') ++last; value.append(line.substring(0, last));
public void parse(InputStream in) throws IOException { LineInputStream lin = (in instanceof LineInputStream) ? (LineInputStream) in : new LineInputStream(in); String name = null; StringBuffer value = new StringBuffer(); while (true) { String line = lin.readLine(); if (line ...
value.append(line.substring(di, len - 1));
int last = len - 1; if (line.charAt(last) != '\r') ++last; value.append(line.substring(di, last));
public void parse(InputStream in) throws IOException { LineInputStream lin = (in instanceof LineInputStream) ? (LineInputStream) in : new LineInputStream(in); String name = null; StringBuffer value = new StringBuffer(); while (true) { String line = lin.readLine(); if (line ...
protected AccessibleJCheckBoxMenuItem(JCheckBoxMenuItem component)
protected AccessibleJCheckBoxMenuItem()
protected AccessibleJCheckBoxMenuItem(JCheckBoxMenuItem component) { super(component); // TODO }
super(component);
protected AccessibleJCheckBoxMenuItem(JCheckBoxMenuItem component) { super(component); // TODO }
accessibleContext = new AccessibleJCheckBoxMenuItem(this);
accessibleContext = new AccessibleJCheckBoxMenuItem();
public AccessibleContext getAccessibleContext() { if (accessibleContext == null) accessibleContext = new AccessibleJCheckBoxMenuItem(this); return accessibleContext; }
byte[] anylocal = { 0, 0, 0, 0 }; return addr == anylocal;
return (addr[0] == 0) && (addr[1] == 0) && (addr[2] == 0) && (addr[3] == 0);
public boolean isAnyLocalAddress() { byte[] anylocal = { 0, 0, 0, 0 }; return addr == anylocal; }
public static void write(cdrBufOutput output, Throwable t)
public static void write(BufferedCdrOutput output, Throwable t)
public static void write(cdrBufOutput output, Throwable t) { t.fillInStackTrace(); output.write_Value(t); }
public PartialInputStream(RandomAccessFile raf, long start, long len)
public PartialInputStream(RandomAccessFile raf, int bufferSize) throws IOException
public PartialInputStream(RandomAccessFile raf, long start, long len) { this.raf = raf; filepos = start; end = start + len; }
filepos = start; end = start + len; }
buffer = new byte[bufferSize]; bufferOffset = -buffer.length; pos = buffer.length; end = raf.length(); }
public PartialInputStream(RandomAccessFile raf, long start, long len) { this.raf = raf; filepos = start; end = start + len; }
long amount = end - filepos;
long amount = end - (bufferOffset + pos);
public int available() { long amount = end - filepos; if (amount > Integer.MAX_VALUE) return Integer.MAX_VALUE; return (int) amount; }
if (filepos == end)
if (bufferOffset + pos >= end)
public int read() throws IOException { if (filepos == end) return -1; synchronized (raf) { raf.seek(filepos++); return raf.read(); } }