bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
protected Signer() { } | protected Signer() { } | 19,156 |
public PrivateKey getPrivateKey() { SecurityManager sm = System.getSecurityManager(); if (sm != null) sm.checkSecurityAccess("getSignerPrivateKey"); return privateKey; } | public PrivateKey getPrivateKey() { SecurityManager sm = System.getSecurityManager(); if (sm != null) sm.checkSecurityAccess("getSignerPrivateKey"); return privateKey; } | 19,157 |
public final void setKeyPair(KeyPair pair) throws InvalidParameterException, KeyException { SecurityManager sm = System.getSecurityManager(); if (sm != null) sm.checkSecurityAccess("setSignerKeyPair"); try { if (pair.getPublic() != null) setPublicKey(pair.getPublic()); else throw new InvalidParameterEx... | public final void setKeyPair(KeyPair pair) throws InvalidParameterException, KeyException { SecurityManager sm = System.getSecurityManager(); if (sm != null) sm.checkSecurityAccess("setSignerKeyPair"); try { if (pair.getPublic() != null) setPublicKey(pair.getPublic()); else throw new InvalidParameterEx... | 19,158 |
public final void setKeyPair(KeyPair pair) throws InvalidParameterException, KeyException { SecurityManager sm = System.getSecurityManager(); if (sm != null) sm.checkSecurityAccess("setSignerKeyPair"); try { if (pair.getPublic() != null) setPublicKey(pair.getPublic()); else throw new InvalidParameterEx... | public final void setKeyPair(KeyPair pair) throws InvalidParameterException, KeyException { SecurityManager sm = System.getSecurityManager(); if (sm != null) sm.checkSecurityAccess("setSignerKeyPair"); try { if (pair.getPublic() != null) setPublicKey(pair.getPublic()); else throw new InvalidParameterEx... | 19,159 |
public final void setKeyPair(KeyPair pair) throws InvalidParameterException, KeyException { SecurityManager sm = System.getSecurityManager(); if (sm != null) sm.checkSecurityAccess("setSignerKeyPair"); try { if (pair.getPublic() != null) setPublicKey(pair.getPublic()); else throw new InvalidParameterEx... | public final void setKeyPair(KeyPair pair) throws InvalidParameterException, KeyException { SecurityManager sm = System.getSecurityManager(); if (sm != null) sm.checkSecurityAccess("setSignerKeyPair"); try { if (pair.getPublic() != null) setPublicKey(pair.getPublic()); else throw new InvalidParameterEx... | 19,160 |
public String toString() { return (getName() + ": " + privateKey); } | public String toString() { return (getName() + ": " + privateKey); } | 19,161 |
public float getHeight(GlyphView view) { Font font = view.getFont(); FontMetrics metrics = view.getContainer().getFontMetrics(font); float height = metrics.getHeight(); return height; } | public float getHeight(GlyphView view) { Font font = view.getFont(); FontMetrics metrics = Toolkit.getDefaultToolkit().getFontMetrics(font); float height = metrics.getHeight(); return height; } | 19,164 |
public float getSpan(GlyphView view, int p0, int p1, TabExpander te, float x) { Element el = view.getElement(); Font font = view.getFont(); FontMetrics fm = view.getContainer().getFontMetrics(font); Segment txt = view.getText(p0, p1); int span = Utilities.getTabbe... | public float getSpan(GlyphView view, int p0, int p1, TabExpander te, float x) { Element el = view.getElement(); Font font = view.getFont(); FontMetrics fm = Toolkit.getDefaultToolkit().getFontMetrics(font); Segment txt = view.getText(p0, p1); int span = Utilities.... | 19,165 |
private void p_invoke() throws SystemException { binaryReply response = submit(); ReplyHeader rh = response.header.create_reply_header(); cdrBufInput input = response.getStream(); input.setOrb(orb); rh.read(input); // The stream must be aligned sinve v1.2, but only once. boolean ... | private void p_invoke() throws SystemException { binaryReply response = submit(); ReplyHeader rh = response.header.create_reply_header(); cdrBufInput input = response.getStream(); input.setOrb(orb); rh.read(input); // The stream must be aligned sinve v1.2, but only once. boolean ... | 19,166 |
private void p_invoke() throws SystemException { binaryReply response = submit(); ReplyHeader rh = response.header.create_reply_header(); cdrBufInput input = response.getStream(); input.setOrb(orb); rh.read(input); // The stream must be aligned sinve v1.2, but only once. boolean ... | private void p_invoke() throws SystemException { binaryReply response = submit(); ReplyHeader rh = response.header.create_reply_header(); cdrBufInput input = response.getStream(); input.setOrb(orb); rh.read(input); // The stream must be aligned sinve v1.2, but only once. boolean ... | 19,167 |
private void p_invoke() throws SystemException { binaryReply response = submit(); ReplyHeader rh = response.header.create_reply_header(); cdrBufInput input = response.getStream(); input.setOrb(orb); rh.read(input); // The stream must be aligned sinve v1.2, but only once. boolean ... | private void p_invoke() throws SystemException { binaryReply response = submit(); ReplyHeader rh = response.header.create_reply_header(); cdrBufInput input = response.getStream(); input.setOrb(orb); rh.read(input); // The stream must be aligned sinve v1.2, but only once. boolean ... | 19,168 |
public synchronized binaryReply submit() { 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 = useVersion(ior.Internet.ve... | public synchronized binaryReply submit() { 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 = useVersion(ior.Internet.ve... | 19,169 |
private void write_parameter_buffer(MessageHeader header, cdrBufOutput request_part ) throws MARSHAL { try { if (header.version.since_inclusive(1, 2)) { request_part.align(8); ... | protected void write_parameter_buffer(MessageHeader header, cdrBufOutput request_part ) throws MARSHAL { try { if (header.version.since_inclusive(1, 2)) { request_part.align(8); ... | 19,170 |
private 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; i < m_args.co... | 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; i < m_args... | 19,171 |
private 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; i < m_args.co... | private 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; i < m_args.co... | 19,172 |
public void visit(Component c, Graphics gfx) { c.paintAll(gfx); } | public void visit(Component c, Graphics gfx) { c.paintAll(gfx); } | 19,173 |
public void visit(Component c, Graphics gfx) { c.paint(gfx); } | public void visit(Component c, Graphics gfx) { c.paint(gfx); } | 19,174 |
public void visit(Component c, Graphics gfx) { c.printAll(gfx); } | public void visit(Component c, Graphics gfx) { c.printAll(gfx); } | 19,175 |
public void visit(Component c, Graphics gfx) { c.print(gfx); } | public void visit(Component c, Graphics gfx) { c.print(gfx); } | 19,176 |
private TTFFontData getFontData(Font font) { if (font instanceof TTFFont) { return ((TTFFont) font).getFontData(); } return null; } | private TTFFontData getFontData(Font font) { if (font instanceof TTFFont) { return ((TTFFont) font).getFontData(); } return null; } | 19,177 |
public FontMetrics getFontMetrics(Font font) { return null; } | public FontMetrics getFontMetrics(Font font) { return null; } | 19,178 |
protected TransformerFactory() { } | protected TransformerFactory() { } | 19,179 |
public static TransformerFactory newInstance() throws TransformerFactoryConfigurationError { try { return (TransformerFactory) ClassStuff.createFactory ( "javax.xml.transform.TransformerFactory", "com.icl.saxon.TransformerFactoryImpl" // "gnu.xml.util.SAXNullTransformerFactory" // "org.apache.xalan.proce... | public static TransformerFactory newInstance() throws TransformerFactoryConfigurationError { try { return (TransformerFactory) ClassStuff.createFactory ( "javax.xml.transform.TransformerFactory", "com.icl.saxon.TransformerFactoryImpl" // "gnu.xml.util.SAXNullTransformerFactory" // "org.apache.xalan.proce... | 19,180 |
public String getAttributeName(int index) { if (current != null) { NamedNodeMap attrs = current.getAttributes(); if (attrs == null) return null; Node attr = attrs.item(index); return attr.getLocalName(); } return super.getAttributeName(index); } | public QName getAttributeName(int index) { if (current != null) { NamedNodeMap attrs = current.getAttributes(); if (attrs == null) return null; Node attr = attrs.item(index); return attr.getLocalName(); } return super.getAttributeName(index); } | 19,181 |
public String getAttributeName(int index) { if (current != null) { NamedNodeMap attrs = current.getAttributes(); if (attrs == null) return null; Node attr = attrs.item(index); return attr.getLocalName(); } return super.getAttributeName(index); } | public String getAttributeName(int index) { if (current != null) { NamedNodeMap attrs = current.getAttributes(); if (attrs == null) return null; Node attr = attrs.item(index); String localName = attr.getLocalName(); String uri = attr.getNamespaceURI(); String prefix = attr... | 19,182 |
public void setInstanceFollowRedirects (boolean follow) { instanceFollowRedirects = follow; } | public void setInstanceFollowRedirects(boolean follow) { instanceFollowRedirects = follow; } | 19,183 |
protected SAXParser() { } | protected SAXParser() { } | 19,184 |
public abstract Object getProperty (String id) throws SAXNotRecognizedException, SAXNotSupportedException; | public abstract Object getProperty (String id) throws SAXNotRecognizedException, SAXNotSupportedException; | 19,185 |
public void parse(InputStream stream, HandlerBase handler) throws SAXException, IOException { parse (new InputSource (stream), handler); } | public void parse(InputStream is, HandlerBase hb) throws SAXException, IOException { parse (new InputSource (stream), handler); } | 19,186 |
public void parse(InputStream stream, HandlerBase handler) throws SAXException, IOException { parse (new InputSource (stream), handler); } | public void parse(InputStream stream, HandlerBase handler) throws SAXException, IOException { parse (new InputSource (stream), handler); } | 19,187 |
public abstract void setProperty (String id, Object value) throws SAXNotRecognizedException, SAXNotSupportedException; | public abstract void setProperty (String id, Object value) throws SAXNotRecognizedException, SAXNotSupportedException; | 19,188 |
public JList() { init(); } | public JList() { init(); } | 19,189 |
void addListSelectionListener(ListSelectionListener listener) { sel_model.addListSelectionListener(listener); } | void addListSelectionListener(ListSelectionListener listener) { sel_model.addListSelectionListener(listener); } | 19,190 |
public AccessibleContext getAccessibleContext() { return null; } | public AccessibleContext getAccessibleContext() { return null; } | 19,191 |
public ListCellRenderer getCellRenderer() { return render; } | public ListCellRenderer getCellRenderer() { return render; } | 19,192 |
public ListModel getModel() { return model; } | public ListModel getModel() { return model; } | 19,193 |
public Dimension getPreferredScrollableViewportSize() { return null; } | public Dimension getPreferredScrollableViewportSize() { return null; } | 19,194 |
public int getScrollableBlockIncrement(Rectangle visibleRect, int orientation, int direction) { return 1; } | public int getScrollableBlockIncrement(Rectangle visibleRect, int orientation, int direction) { return 1; } | 19,195 |
public boolean getScrollableTracksViewportHeight() { return false; } | public boolean getScrollableTracksViewportHeight() { return false; } | 19,196 |
public boolean getScrollableTracksViewportWidth() { return false; } | public boolean getScrollableTracksViewportWidth() { return false; } | 19,197 |
public int getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction) { return 1; } | public int getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction) { return 1; } | 19,198 |
int getSelectedIndex() { return sel_model.getMinSelectionIndex(); } | int getSelectedIndex() { return sel_model.getMinSelectionIndex(); } | 19,199 |
Object getSelectedValue() { int index = getSelectedIndex(); if (index == -1) return null; return getModel().getElementAt(index); } | Object getSelectedValue() { int index = getSelectedIndex(); if (index == -1) return null; return getModel().getElementAt(index); } | 19,200 |
Color getSelectionBackground() { return select_back; } | Color getSelectionBackground() { return select_back; } | 19,201 |
Color getSelectionForeground() { return select_fore; } | Color getSelectionForeground() { return select_fore; } | 19,202 |
public ListUI getUI() { return (ListUI) ui; } | public ListUI getUI() { return (ListUI) ui; } | 19,203 |
public String getUIClassID() { return "JList"; } | public String getUIClassID() { return "JList"; } | 19,204 |
public int getVisibleRowCount() { return visibles; } | public int getVisibleRowCount() { return visibles; } | 19,205 |
void init() { render = new DefaultCellRenderer(); sel_model = new DefaultListSelectionModel(); setModel(new DefaultListModel()); select_back = new Color(0, 0, 255); select_fore = new Color(255, 255, 255); updateUI(); } | void init() { render = new DefaultCellRenderer(); sel_model = new DefaultListSelectionModel(); setModel(new DefaultListModel()); select_back = new Color(0, 0, 255); select_fore = new Color(255, 255, 255); updateUI(); } | 19,206 |
void init() { render = new DefaultCellRenderer(); sel_model = new DefaultListSelectionModel(); setModel(new DefaultListModel()); select_back = new Color(0, 0, 255); select_fore = new Color(255, 255, 255); updateUI(); } | void init() { render = new DefaultCellRenderer(); sel_model = new DefaultListSelectionModel(); setModel(new DefaultListModel()); select_back = new Color(0, 0, 255); select_fore = new Color(255, 255, 255); updateUI(); } | 19,207 |
void init() { render = new DefaultCellRenderer(); sel_model = new DefaultListSelectionModel(); setModel(new DefaultListModel()); select_back = new Color(0, 0, 255); select_fore = new Color(255, 255, 255); updateUI(); } | void init() { render = new DefaultCellRenderer(); sel_model = new DefaultListSelectionModel(); setModel(new DefaultListModel()); select_back = new Color(0, 0, 255); select_fore = new Color(255, 255, 255); updateUI(); } | 19,208 |
void removeListSelectionListener(ListSelectionListener listener) { sel_model.removeListSelectionListener(listener); } | void removeListSelectionListener(ListSelectionListener listener) { sel_model.removeListSelectionListener(listener); } | 19,209 |
public void setCellRenderer(ListCellRenderer cellRenderer) { render = cellRenderer; invalidate(); repaint(); } | public void setCellRenderer(ListCellRenderer cellRenderer) { render = cellRenderer; invalidate(); repaint(); } | 19,210 |
public void setListData(final Object[] listData) { class AL extends AbstractListModel { public int getSize() { return listData.length; } public Object getElementAt(int i) { return listData[i]; } } setModel(new AL()); } | public void setListData(final Object[] listData) { class AL extends AbstractListModel { public int getSize() { return listData.length; } public Object getElementAt(int i) { return listData[i]; } } setModel(new AL()); } | 19,211 |
public Object getElementAt(int i) { return listData[i]; } | public Object getElementAt(int i) { return listData[i]; } | 19,212 |
public int getSize() { return listData.length; } | public int getSize() { return listData.length; } | 19,213 |
public void setModel(ListModel model) { ListDataListener l = new ListDataListener() { public void intervalAdded(ListDataEvent e) { repaint(); } public void intervalRemoved(ListDataEvent e) { repaint(); } public void contentsChanged(ListDataEvent e) { repaint(); } }; this.model = model; model.a... | public void setModel(ListModel model) { ListDataListener l = new ListDataListener() { public void intervalAdded(ListDataEvent e) { repaint(); } public void intervalRemoved(ListDataEvent e) { repaint(); } public void contentsChanged(ListDataEvent e) { repaint(); } }; this.model = model; model.a... | 19,214 |
public void contentsChanged(ListDataEvent e) { repaint(); } | public void contentsChanged(ListDataEvent e) { repaint(); } | 19,215 |
public void intervalAdded(ListDataEvent e) { repaint(); } | public void intervalAdded(ListDataEvent e) { repaint(); } | 19,216 |
public void intervalRemoved(ListDataEvent e) { repaint(); } | public void intervalRemoved(ListDataEvent e) { repaint(); } | 19,217 |
void setSelectedIndex(int a) { sel_model.setSelectionInterval(a, a); } | void setSelectedIndex(int a) { sel_model.setSelectionInterval(a, a); } | 19,218 |
void setSelectionMode(int a) { sel_model.setSelectionMode(a); } | void setSelectionMode(int a) { sel_model.setSelectionMode(a); } | 19,219 |
public void setUI(ListUI ui) { super.setUI(ui); } | public void setUI(ListUI ui) { super.setUI(ui); } | 19,220 |
public void setVisibleRowCount(int visibleRowCount) { visibles = visibleRowCount; invalidate(); repaint(); } | public void setVisibleRowCount(int visibleRowCount) { visibles = visibleRowCount; invalidate(); repaint(); } | 19,221 |
public void updateUI() { setUI((ListUI) UIManager.getUI(this)); } | public void updateUI() { setUI((ListUI) UIManager.getUI(this)); } | 19,222 |
public DefaultTableCellRenderer() { super(); this.noFocusBorder = new EmptyBorder(0, 0, 0, 0); } | public DefaultTableCellRenderer() { super(); } | 19,223 |
public final static VmNormalClass getPrimitiveClass(char type) { switch (type) { case 'Z': return BooleanClass; case 'B': return ByteClass; case 'C': return CharClass; case 'S': return ShortClass; case 'I': return IntClass; case 'F': return FloatClass; case 'J': return LongClass; case 'D': ret... | public final static VmNormalClass getPrimitiveClass(char type) { switch (type) { case 'Z': return BooleanClass; case 'B': return ByteClass; case 'C': return CharClass; case 'S': return ShortClass; case 'I': return IntClass; case 'F': return FloatClass; case 'J': return LongClass; case 'D': ret... | 19,224 |
private final synchronized int decRefCount(boolean forceClose) { refCount--; log.debug("refCount.dec=" + refCount); if ((refCount == 0) || forceClose) { onClose(); if (keyboardHandler != null) { this.keyboardHandler.close(); } if (mouseHandler != null) { this.mouseHandler.close(); } if (graphics !... | private final synchronized int decRefCount(boolean forceClose) { refCount--; log.debug("refCount.dec=" + refCount); if ((refCount == 0) || forceClose) { onClose(); if (keyboardHandler != null) { this.keyboardHandler.close(); } if (mouseHandler != null) { this.mouseHandler.close(); } if (graphics !... | 19,225 |
private final synchronized int decRefCount(boolean forceClose) { refCount--; log.debug("refCount.dec=" + refCount); if ((refCount == 0) || forceClose) { onClose(); if (keyboardHandler != null) { this.keyboardHandler.close(); } if (mouseHandler != null) { this.mouseHandler.close(); } if (graphics !... | private final synchronized int decRefCount(boolean forceClose) { refCount--; log.debug("refCount.dec=" + refCount); if ((refCount == 0) || forceClose) { onClose(); if (keyboardHandler != null) { this.keyboardHandler.close(); } if (mouseHandler != null) { this.mouseHandler.close(); } if (graphics !... | 19,226 |
private final synchronized int decRefCount(boolean forceClose) { refCount--; log.debug("refCount.dec=" + refCount); if ((refCount == 0) || forceClose) { onClose(); if (keyboardHandler != null) { this.keyboardHandler.close(); } if (mouseHandler != null) { this.mouseHandler.close(); } if (graphics !... | private final synchronized int decRefCount(boolean forceClose) { refCount--; log.debug("refCount.dec=" + refCount); if ((refCount == 0) || forceClose) { onClose(); if (keyboardHandler != null) { this.keyboardHandler.close(); } if (mouseHandler != null) { this.mouseHandler.close(); } if (graphics !... | 19,227 |
private final synchronized int decRefCount(boolean forceClose) { refCount--; log.debug("refCount.dec=" + refCount); if ((refCount == 0) || forceClose) { onClose(); if (keyboardHandler != null) { this.keyboardHandler.close(); } if (mouseHandler != null) { this.mouseHandler.close(); } if (graphics !... | private final synchronized int decRefCount(boolean forceClose) { refCount--; log.debug("refCount.dec=" + refCount); if ((refCount == 0) || forceClose) { onClose(); if (keyboardHandler != null) { this.keyboardHandler.close(); } if (mouseHandler != null) { this.mouseHandler.close(); } if (graphics !... | 19,228 |
private final synchronized int decRefCount(boolean forceClose) { refCount--; log.debug("refCount.dec=" + refCount); if ((refCount == 0) || forceClose) { onClose(); if (keyboardHandler != null) { this.keyboardHandler.close(); } if (mouseHandler != null) { this.mouseHandler.close(); } if (graphics !... | private final synchronized int decRefCount(boolean forceClose) { refCount--; log.debug("refCount.dec=" + refCount); if ((refCount == 0) || forceClose) { onClose(); if (keyboardHandler != null) { this.keyboardHandler.close(); } if (mouseHandler != null) { this.mouseHandler.close(); } if (graphics !... | 19,229 |
private final synchronized void doWaitUntilStopped() { while (graphics != null) { try { wait(); } catch (InterruptedException ex) { // Ignore } } } | private final synchronized void doWaitUntilStopped() { while (graphics != null) { try { wait(); } catch (InterruptedException ex) { // Ignore } } } | 19,230 |
private final int incRefCount() { final boolean initialize; final int rc; synchronized (this) { refCount++; rc = refCount; initialize = (refCount == 1); } log.debug("refCount.inc=" + rc); if (initialize) { final JNodeFrameBufferDevice dev = (JNodeFrameBufferDevice) GraphicsEnvironment .getLocalGraphi... | private final int incRefCount() { final boolean initialize; final int rc; synchronized (this) { refCount++; rc = refCount; initialize = (refCount == 1); } log.debug("refCount.inc=" + rc); if (initialize) { final JNodeFrameBufferDevice dev = (JNodeFrameBufferDevice) GraphicsEnvironment .getLocalGraphi... | 19,231 |
public void iterateNativeQueue(EventQueue locked, boolean block) { // TODO Auto-generated method stub } | public void iterateNativeQueue(EventQueue locked, boolean block) { // TODO Auto-generated method stub } | 19,232 |
public void wakeNativeQueue() { // Do nothing } | publicfinal EventQueue q = this.waitingNativeQueue; if (q != null) { synchronized (q) { q.notifyAll(); } } voidfinal EventQueue q = this.waitingNativeQueue; if (q != null) { synchronized (q) { q.notifyAll(); } } wakeNativeQueue()final EventQueue q = this.waitingNativeQueue; if (q != null) { synchronized (q) { q.notify... | 19,233 |
public AccessibleContext getAccessibleContext() { return null; } | public AccessibleContext getAccessibleContext() { if (accessibleContext == null) { if (getEditorKit() instanceof HTMLEditorKit) accessibleContext = new AccessibleJEditorPaneHTML(); else accessibleContext = new AccessibleJEditorPane(); } return accessibleContext; } | 19,234 |
private static final int decode4to3(final byte[] src, final int sOffset, final byte[] dest, final int dOffset) { if (src[sOffset + 2] == EQUALS_SIGN) { // Example: Dk== final int outBuff = ((DECODABET[src[sOffset]] & 0xFF) << 18) | ((DECO... | private static final int decode4to3(final byte[] src, final int sOffset, final byte[] dest, final int dOffset) { if (src[sOffset + 2] == EQUALS_SIGN) { // Example: Dk== final int outBuff = ((DECODABET[src[sOffset]] & 0xFF) << 18) | ((DECO... | 19,236 |
private static final int decode4to3(final byte[] src, final int sOffset, final byte[] dest, final int dOffset) { if (src[sOffset + 2] == EQUALS_SIGN) { // Example: Dk== final int outBuff = ((DECODABET[src[sOffset]] & 0xFF) << 18) | ((DECO... | private static final int decode4to3(final byte[] src, final int sOffset, final byte[] dest, final int dOffset) { if (src[sOffset + 2] == EQUALS_SIGN) { // Example: Dk== final int outBuff = ((DECODABET[src[sOffset]] & 0xFF) << 18) | ((DECO... | 19,237 |
private static final int decode4to3(final byte[] src, final int sOffset, final byte[] dest, final int dOffset) { if (src[sOffset + 2] == EQUALS_SIGN) { // Example: Dk== final int outBuff = ((DECODABET[src[sOffset]] & 0xFF) << 18) | ((DECO... | private static final int decode4to3(final byte[] src, final int sOffset, final byte[] dest, final int dOffset) { if (src[sOffset + 2] == EQUALS_SIGN) { // Example: Dk== final int outBuff = ((DECODABET[src[sOffset]] & 0xFF) << 18) | ((DECO... | 19,238 |
private static final int decode4to3(final byte[] src, final int sOffset, final byte[] dest, final int dOffset) { if (src[sOffset + 2] == EQUALS_SIGN) { // Example: Dk== final int outBuff = ((DECODABET[src[sOffset]] & 0xFF) << 18) | ((DECO... | private static final int decode4to3(final byte[] src, final int sOffset, final byte[] dest, final int dOffset) { if (src[sOffset + 2] == EQUALS_SIGN) { // Example: Dk== final int outBuff = ((DECODABET[src[sOffset]] & 0xFF) << 18) | ((DECO... | 19,239 |
private static final int decode4to3(final byte[] src, final int sOffset, final byte[] dest, final int dOffset) { if (src[sOffset + 2] == EQUALS_SIGN) { // Example: Dk== final int outBuff = ((DECODABET[src[sOffset]] & 0xFF) << 18) | ((DECO... | private static final int decode4to3(final byte[] src, final int sOffset, final byte[] dest, final int dOffset) { if (src[sOffset + 2] == EQUALS_SIGN) { // Example: Dk== final int outBuff = ((DECODABET[src[sOffset]] & 0xFF) << 18) | ((DECO... | 19,240 |
private static final int decode4to3(final byte[] src, final int sOffset, final byte[] dest, final int dOffset) { if (src[sOffset + 2] == EQUALS_SIGN) { // Example: Dk== final int outBuff = ((DECODABET[src[sOffset]] & 0xFF) << 18) | ((DECO... | private static final int decode4to3(final byte[] src, final int sOffset, final byte[] dest, final int dOffset) { if (src[sOffset + 2] == EQUALS_SIGN) { // Example: Dk== final int outBuff = ((DECODABET[src[sOffset]] & 0xFF) << 18) | ((DECO... | 19,241 |
private static final int decode4to3(final byte[] src, final int sOffset, final byte[] dest, final int dOffset) { if (src[sOffset + 2] == EQUALS_SIGN) { // Example: Dk== final int outBuff = ((DECODABET[src[sOffset]] & 0xFF) << 18) | ((DECO... | private static final int decode4to3(final byte[] src, final int sOffset, final byte[] dest, final int dOffset) { if (src[sOffset + 2] == EQUALS_SIGN) { // Example: Dk== final int outBuff = ((DECODABET[src[sOffset]] & 0xFF) << 18) | ((DECO... | 19,242 |
private static final int decode4to3(final byte[] src, final int sOffset, final byte[] dest, final int dOffset) { if (src[sOffset + 2] == EQUALS_SIGN) { // Example: Dk== final int outBuff = ((DECODABET[src[sOffset]] & 0xFF) << 18) | ((DECO... | private static final int decode4to3(final byte[] src, final int sOffset, final byte[] dest, final int dOffset) { if (src[sOffset + 2] == EQUALS_SIGN) { // Example: Dk== final int outBuff = ((DECODABET[src[sOffset]] & 0xFF) << 18) | ((DECO... | 19,243 |
private static final byte[] encode3to4(final byte[] src, final int sOffset, final int numBytes, final byte[] dest, final int dOffset) { // 1 2 3 // 01234567890123456789012345678901 Bit position // -----... | private static final byte[] encode3to4(final byte[] src, final int sOffset, final int numBytes, final byte[] dest, final int dOffset) { // 1 2 3 // 01234567890123456789012345678901 Bit position // -----... | 19,244 |
private static final byte[] encode3to4(final byte[] src, final int sOffset, final int numBytes, final byte[] dest, final int dOffset) { // 1 2 3 // 01234567890123456789012345678901 Bit position // -----... | private static final byte[] encode3to4(final byte[] src, final int sOffset, final int numBytes, final byte[] dest, final int dOffset) { // 1 2 3 // 01234567890123456789012345678901 Bit position // -----... | 19,245 |
private static final byte[] encode3to4(final byte[] src, final int sOffset, final int numBytes, final byte[] dest, final int dOffset) { // 1 2 3 // 01234567890123456789012345678901 Bit position // -----... | private static final byte[] encode3to4(final byte[] src, final int sOffset, final int numBytes, final byte[] dest, final int dOffset) { // 1 2 3 // 01234567890123456789012345678901 Bit position // -----... | 19,246 |
protected void initialize(Class type, Object oldInstance, Object newInstance, Encoder out) { if (type != Object.class) { type = type.getSuperclass(); PersistenceDelegate pd = out.getPersistenceDelegate( oldInstance.getClass().getSuperclass()); pd.initi... | protected void initialize(Class type, Object oldInstance, Object newInstance, Encoder out) { if (type != Object.class) { type = type.getSuperclass(); PersistenceDelegate pd = out.getPersistenceDelegate( oldInstance.getClass().getSuperclass()); pd.initi... | 19,247 |
public ULongSeqHolder(int[] initial_value) { value = initial_value; typecode.setLength(value.length); } | public ULongSeqHolder() { value = initial_value; typecode.setLength(value.length); } | 19,248 |
public ULongSeqHolder(int[] initial_value) { value = initial_value; typecode.setLength(value.length); } | public ULongSeqHolder(int[] initial_value) { value = initial_value; typecode.setLength(value.length); } | 19,249 |
public void connect() throws IOException { try { final PluginManager pluginMgr = (PluginManager) InitialNaming.lookup(PluginManager.NAME); final PluginDescriptor descr = pluginMgr.getRegistry().getPluginDescriptor(pluginId); if (descr == null) { throw new IOException("Plugin " + pluginId + " not found"); }... | public void connect() throws IOException { try { final PluginManager pluginMgr = (PluginManager) InitialNaming.lookup(PluginManager.NAME); final PluginDescriptor descr = pluginMgr.getRegistry().getPluginDescriptor(pluginId); if (descr == null) { throw new IOException("Plugin " + pluginId + " not found"); }... | 19,250 |
insert(MenuItem item, int index){ if (index < 0) throw new IllegalArgumentException("Index is less than zero"); MenuPeer peer = (MenuPeer) getPeer(); if (peer == null) return; int count = getItemCount (); if (index >= count) peer.addItem (item); else { for (int i = count - 1; i >= index; i--) ... | insert(MenuItem item, int index){ if (index < 0) throw new IllegalArgumentException("Index is less than zero"); MenuPeer peer = (MenuPeer) getPeer(); if (peer == null) return; int count = getItemCount (); if (index >= count) peer.addItem (item); else { for (int i = count - 1; i >= index; i--) ... | 19,252 |
insert(MenuItem item, int index){ if (index < 0) throw new IllegalArgumentException("Index is less than zero"); MenuPeer peer = (MenuPeer) getPeer(); if (peer == null) return; int count = getItemCount (); if (index >= count) peer.addItem (item); else { for (int i = count - 1; i >= index; i--) ... | insert(MenuItem item, int index){ if (index < 0) throw new IllegalArgumentException("Index is less than zero"); MenuPeer peer = (MenuPeer) getPeer(); if (peer == null) return; int count = getItemCount (); if (index >= count) add(item); else { for (int i = count - 1; i >= index; i--) peer.de... | 19,253 |
insert(MenuItem item, int index){ if (index < 0) throw new IllegalArgumentException("Index is less than zero"); MenuPeer peer = (MenuPeer) getPeer(); if (peer == null) return; int count = getItemCount (); if (index >= count) peer.addItem (item); else { for (int i = count - 1; i >= index; i--) ... | insert(MenuItem item, int index){ if (index < 0) throw new IllegalArgumentException("Index is less than zero"); MenuPeer peer = (MenuPeer) getPeer(); if (peer == null) return; int count = getItemCount (); if (index >= count) peer.addItem (item); else { for (int i = count - 1; i >= index; i--) ... | 19,254 |
insert(MenuItem item, int index){ if (index < 0) throw new IllegalArgumentException("Index is less than zero"); MenuPeer peer = (MenuPeer) getPeer(); if (peer == null) return; int count = getItemCount (); if (index >= count) peer.addItem (item); else { for (int i = count - 1; i >= index; i--) ... | insert(MenuItem item, int index){ if (index < 0) throw new IllegalArgumentException("Index is less than zero"); MenuPeer peer = (MenuPeer) getPeer(); if (peer == null) return; int count = getItemCount (); if (index >= count) item.addNotify(); peer.addItem(item); else { for (int i = count - 1; i >=... | 19,255 |
insert(MenuItem item, int index){ if (index < 0) throw new IllegalArgumentException("Index is less than zero"); MenuPeer peer = (MenuPeer) getPeer(); if (peer == null) return; int count = getItemCount (); if (index >= count) peer.addItem (item); else { for (int i = count - 1; i >= index; i--) ... | insert(MenuItem item, int index){ if (index < 0) throw new IllegalArgumentException("Index is less than zero"); MenuPeer peer = (MenuPeer) getPeer(); if (peer == null) return; int count = getItemCount (); if (index >= count) peer.addItem (item); else { for (int i = count - 1; i >= index; i--) ... | 19,256 |
insert(MenuItem item, int index){ if (index < 0) throw new IllegalArgumentException("Index is less than zero"); MenuPeer peer = (MenuPeer) getPeer(); if (peer == null) return; int count = getItemCount (); if (index >= count) peer.addItem (item); else { for (int i = count - 1; i >= index; i--) ... | insert(MenuItem item, int index){ if (index < 0) throw new IllegalArgumentException("Index is less than zero"); MenuPeer peer = (MenuPeer) getPeer(); if (peer == null) return; int count = getItemCount (); if (index >= count) peer.addItem (item); else { for (int i = count - 1; i >= index; i--) ... | 19,257 |
remove(int index){ items.removeElementAt(index); MenuPeer mp = (MenuPeer)getPeer(); if (mp != null) mp.delItem(index);} | remove(int index){ MenuItem item = (MenuItem) items.remove(index); MenuPeer mp = (MenuPeer)getPeer(); if (mp != null) mp.delItem(index);} | 19,258 |
remove(int index){ items.removeElementAt(index); MenuPeer mp = (MenuPeer)getPeer(); if (mp != null) mp.delItem(index);} | remove(int index){ items.removeElementAt(index); MenuPeer mp = (MenuPeer)getPeer(); if (mp != null) mp.delItem(index);} | 19,259 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.