bugged stringlengths 6 599k | fixed stringlengths 10 599k | __index_level_0__ int64 0 1.13M |
|---|---|---|
public SimpleDateFormat() { /* * There does not appear to be a standard API for determining * what the default pattern for a locale is, so use package-scope * variables in DateFormatSymbols to encapsulate this. */ super(); Locale locale = Locale.getDefault(); calendar = new GregorianCal... | public SimpleDateFormat() { /* * There does not appear to be a standard API for determining * what the default pattern for a locale is, so use package-scope * variables in DateFormatSymbols to encapsulate this. */ super(); Locale locale = Locale.getDefault(); calendar = new GregorianCal... | 9,382 |
public final String format (Date date) { StringBuffer sb = new StringBuffer (); format (date, sb, new FieldPosition (MONTH_FIELD)); return sb.toString(); } | public final StringBuffer format (Object obj, StringBuffer buf, FieldPosition pos) { StringBuffer sb = new StringBuffer (); format (date, sb, new FieldPosition (MONTH_FIELD)); return sb.toString(); } | 9,384 |
public final String format (Date date) { StringBuffer sb = new StringBuffer (); format (date, sb, new FieldPosition (MONTH_FIELD)); return sb.toString(); } | public final String format (Date date) { StringBuffer sb = new StringBuffer (); format (date, sb, new FieldPosition (MONTH_FIELD)); return sb.toString(); } | 9,385 |
public void beginDraggingFrame(JComponent frame); | void beginDraggingFrame(JComponent frame); | 9,387 |
public void endDraggingFrame(JComponent frame); | void endDraggingFrame(JComponent frame); | 9,388 |
public void dragFrame(JComponent frame, int x, int y); | void dragFrame(JComponent frame, int x, int y); | 9,389 |
public void setHorizontalAlignment(int alignment) { hori_align = alignment; } | public void setHorizontalAlignment(int alignment) { hori_align = alignment; } | 9,390 |
public void setHorizontalTextPosition(int textPosition) { hori_text_pos = textPosition; } | public void setHorizontalTextPosition(int textPosition) { hori_text_pos = textPosition; } | 9,391 |
public void setText(String text) { this.text = text; revalidate(); repaint(); } | public void setText(String text) { this.text = text; revalidate(); repaint(); } | 9,392 |
getAlignedSizeRequirements(SizeRequirements[] children) { return null; // TODO } | getAlignedSizeRequirements(SizeRequirements[] children) { float minLeft = 0; float minRight = 0; float prefLeft = 0; float prefRight = 0; float maxLeft = 0; float maxRight = 0; for (int i = 0; i < children.length; i++) { float myMinLeft = children[i].minimum * children[i].alignment; float myMinRight = children[i]... | 9,393 |
TemplateNode clone(Stylesheet stylesheet) { return new ApplyImportsNode((children == null) ? null : children.clone(stylesheet), (next == null) ? null : next.clone(stylesheet)); } | TemplateNode clone(Stylesheet stylesheet) { return new ApplyImportsNode((children == null) ? null : children.clone(stylesheet), (next == null) ? null : next.clone(stylesheet)); } | 9,394 |
public MappedBlockDeviceSupport(Device parent, long offset, long length) throws IOException { super(parent.getBus(), "mapped-" + parent.getId()); this.parent = parent; try { this.parentApi = (BlockDeviceAPI)parent.getAPI(BlockDeviceAPI.class); } catch (ApiNotFoundException ex) { throw new IOException("BlockDev... | public MappedBlockDeviceSupport(Device parent, long offset, long length) throws IOException { super(parent.getBus(), "mapped-" + parent.getId()); this.parent = parent; try { this.parentApi = (BlockDeviceAPI)parent.getAPI(BlockDeviceAPI.class); } catch (ApiNotFoundException ex) { final IOException ioe = new IOE... | 9,396 |
public CharBuffer put (char[] src, int offset, int length) { checkArraySize(src.length, offset, length); checkForOverflow(length); for (int i = offset; i < offset + length; i++) put (src [i]); return this; } | public CharBuffer put (CharBuffer src) { checkArraySize(src.length, offset, length); checkForOverflow(length); for (int i = offset; i < offset + length; i++) put (src [i]); return this; } | 9,397 |
public CharBuffer put (char[] src, int offset, int length) { checkArraySize(src.length, offset, length); checkForOverflow(length); for (int i = offset; i < offset + length; i++) put (src [i]); return this; } | public CharBuffer put (char[] src, int offset, int length) { checkArraySize(src.length, offset, length); checkForOverflow(length); for (int i = offset; i < offset + length; i++) put (src [i]); return this; } | 9,398 |
final public static CharBuffer wrap(char[] array, int offset, int length) { return new CharBufferImpl(array, 0, array.length, offset + length, offset, -1, false); } | public static final CharBuffer wrap(char[] array, int offset, int length) { return new CharBufferImpl(array, 0, array.length, offset + length, offset, -1, false); } | 9,399 |
public void installUI(JComponent c) { tree = (JTree) c; configureLayoutCache(); UIDefaults defaults = UIManager.getLookAndFeelDefaults(); tree.setFont(defaults.getFont("Tree.font")); tree.setForeground(defaults.getColor("Tree.foreground")); tree.setBackground(defaults.getColor("Tree.background"... | public void installUI(JComponent c) { tree = (JTree) c; configureLayoutCache(); UIDefaults defaults = UIManager.getLookAndFeelDefaults(); tree.setFont(defaults.getFont("Tree.font")); tree.setForeground(defaults.getColor("Tree.foreground")); tree.setBackground(defaults.getColor("Tree.background"... | 9,400 |
public TreePath(Object element) { // Create Path path = new Object[1]; path[0] = element; } // TreePath() | public TreePath(Object[] path) { // Create Path path = new Object[1]; path[0] = element; } // TreePath() | 9,401 |
public TreePath(Object element) { // Create Path path = new Object[1]; path[0] = element; } // TreePath() | public TreePath(Object element) { // Create Path path = new Object[1]; path[0] = element; } // TreePath() | 9,402 |
public void removeCellEditorListener(CellEditorListener listener); | void removeCellEditorListener(CellEditorListener listener); | 9,403 |
void convertCdataSectionElements(Document doc, Node node, List list) { if (node.getNodeType() == Node.ELEMENT_NODE) { boolean match = false; for (Iterator i = list.iterator(); i.hasNext(); ) { QName qname = (QName) i.next(); if (match(qname, node)) { ... | void convertCdataSectionElements(Document doc, Node node, List list) if (node.getNodeType() == Node.ELEMENT_NODE) boolean match = false; for (Iterator i = list.iterator(); i.hasNext(); ) QName qname = (QName) i.next(); if (match(qname, node)) ... | 9,404 |
void convertCdataSectionElements(Document doc, Node node, List list) { if (node.getNodeType() == Node.ELEMENT_NODE) { boolean match = false; for (Iterator i = list.iterator(); i.hasNext(); ) { QName qname = (QName) i.next(); if (match(qname, node)) { ... | void convertCdataSectionElements(Document doc, Node node, List list) { if (node.getNodeType() == Node.ELEMENT_NODE) { boolean match = false; for (Iterator i = list.iterator(); i.hasNext(); ) { QName qname = (QName) i.next(); if (match(qname, node)) { ... | 9,405 |
public Object getParameter(String name) { if (stylesheet != null) { return stylesheet.bindings.get(new QName(null, name), null, 1, 1); } return null; } | public Object getParameter(String name) if (stylesheet != null) return stylesheet.bindings.get(new QName(null, name), null, 1, 1); } return null; } | 9,406 |
public Object getParameter(String name) { if (stylesheet != null) { return stylesheet.bindings.get(new QName(null, name), null, 1, 1); } return null; } | public Object getParameter(String name) { if (stylesheet != null) { return stylesheet.bindings.get(new QName(null, name), null, 1, 1); return null; | 9,407 |
boolean match(QName qname, Node node) { String ln1 = qname.getLocalPart(); String ln2 = node.getLocalName(); if (ln2 == null) { return ln1.equals(node.getNodeName()); } else { String uri1 = qname.getNamespaceURI(); String uri2 = node.getNamespaceURI(); return (u... | boolean match(QName qname, Node node) String ln1 = qname.getLocalPart(); String ln2 = node.getLocalName(); if (ln2 == null) return ln1.equals(node.getNodeName()); } else String uri1 = qname.getNamespaceURI(); String uri2 = node.getNamespaceURI(); return (uri1... | 9,408 |
boolean match(QName qname, Node node) { String ln1 = qname.getLocalPart(); String ln2 = node.getLocalName(); if (ln2 == null) { return ln1.equals(node.getNodeName()); } else { String uri1 = qname.getNamespaceURI(); String uri2 = node.getNamespaceURI(); return (u... | boolean match(QName qname, Node node) { String ln1 = qname.getLocalPart(); String ln2 = node.getLocalName(); if (ln2 == null) { return ln1.equals(node.getNodeName()); else { String uri1 = qname.getNamespaceURI(); String uri2 = node.getNamespaceURI(); return (ur... | 9,409 |
void reindent(Document doc, Node node, int offset) { if (node.hasChildNodes()) { boolean markupContent = false; boolean textContent = false; List children = new LinkedList(); Node ctx = node.getFirstChild(); while (ctx != null) { switch (ctx.getNodeType(... | void reindent(Document doc, Node node, int offset) if (node.hasChildNodes()) boolean markupContent = false; boolean textContent = false; List children = new LinkedList(); Node ctx = node.getFirstChild(); while (ctx != null) switch (ctx.getNodeType()) ... | 9,410 |
void reindent(Document doc, Node node, int offset) { if (node.hasChildNodes()) { boolean markupContent = false; boolean textContent = false; List children = new LinkedList(); Node ctx = node.getFirstChild(); while (ctx != null) { switch (ctx.getNodeType(... | void reindent(Document doc, Node node, int offset) { if (node.hasChildNodes()) { boolean markupContent = false; boolean textContent = false; List children = new LinkedList(); Node ctx = node.getFirstChild(); while (ctx != null) { switch (ctx.getNodeType(... | 9,411 |
public void setOutputProperties(Properties oformat) throws IllegalArgumentException { if (oformat == null) { outputProperties.clear(); } else { outputProperties.putAll(oformat); } } | public void setOutputProperties(Properties oformat) throws IllegalArgumentException if (oformat == null) outputProperties.clear(); } else outputProperties.putAll(oformat); } } | 9,412 |
public void setOutputProperties(Properties oformat) throws IllegalArgumentException { if (oformat == null) { outputProperties.clear(); } else { outputProperties.putAll(oformat); } } | public void setOutputProperties(Properties oformat) throws IllegalArgumentException { if (oformat == null) { outputProperties.clear(); else { outputProperties.putAll(oformat); | 9,413 |
public void setParameter(String name, Object value) { if (stylesheet != null) { stylesheet.bindings.set(new QName(null, name), value, Bindings.PARAM); } } | public void setParameter(String name, Object value) if (stylesheet != null) stylesheet.bindings.set(new QName(null, name), value, Bindings.PARAM); } } | 9,414 |
public void setParameter(String name, Object value) { if (stylesheet != null) { stylesheet.bindings.set(new QName(null, name), value, Bindings.PARAM); } } | public void setParameter(String name, Object value) { if (stylesheet != null) { stylesheet.bindings.set(new QName(null, name), value, Bindings.PARAM); | 9,415 |
void strip(Node node) throws TransformerConfigurationException { short nt = node.getNodeType(); if (nt == Node.ENTITY_REFERENCE_NODE) { // Replace entity reference with its content Node parent = node.getParentNode(); Node child = node.getFirstChild(); if (child != null) ... | static boolean strip(Stylesheet stylesheet, Node node) throws TransformerConfigurationException { short nt = node.getNodeType(); if (nt == Node.ENTITY_REFERENCE_NODE) { // Replace entity reference with its content Node parent = node.getParentNode(); Node child = node.getFirstChild(... | 9,416 |
void strip(Node node) throws TransformerConfigurationException { short nt = node.getNodeType(); if (nt == Node.ENTITY_REFERENCE_NODE) { // Replace entity reference with its content Node parent = node.getParentNode(); Node child = node.getFirstChild(); if (child != null) ... | void strip(Node node) throws TransformerConfigurationException { short nt = node.getNodeType(); if (nt == Node.ENTITY_REFERENCE_NODE) { // Replace entity reference with its content Node parent = node.getParentNode(); Node child = node.getFirstChild(); if (child != null) ... | 9,417 |
void strip(Node node) throws TransformerConfigurationException { short nt = node.getNodeType(); if (nt == Node.ENTITY_REFERENCE_NODE) { // Replace entity reference with its content Node parent = node.getParentNode(); Node child = node.getFirstChild(); if (child != null) ... | void strip(Node node) throws TransformerConfigurationException { short nt = node.getNodeType(); if (nt == Node.ENTITY_REFERENCE_NODE) { // Replace entity reference with its content Node parent = node.getParentNode(); Node child = node.getFirstChild(); if (child != null) ... | 9,418 |
void strip(Node node) throws TransformerConfigurationException { short nt = node.getNodeType(); if (nt == Node.ENTITY_REFERENCE_NODE) { // Replace entity reference with its content Node parent = node.getParentNode(); Node child = node.getFirstChild(); if (child != null) ... | void strip(Node node) throws TransformerConfigurationException { short nt = node.getNodeType(); if (nt == Node.ENTITY_REFERENCE_NODE) { // Replace entity reference with its content Node parent = node.getParentNode(); Node child = node.getFirstChild(); if (child != null) ... | 9,419 |
void strip(Node node) throws TransformerConfigurationException { short nt = node.getNodeType(); if (nt == Node.ENTITY_REFERENCE_NODE) { // Replace entity reference with its content Node parent = node.getParentNode(); Node child = node.getFirstChild(); if (child != null) ... | void strip(Node node) throws TransformerConfigurationException { short nt = node.getNodeType(); if (nt == Node.ENTITY_REFERENCE_NODE) { // Replace entity reference with its content Node parent = node.getParentNode(); Node child = node.getFirstChild(); if (child != null) ... | 9,420 |
void strip(Node node) throws TransformerConfigurationException { short nt = node.getNodeType(); if (nt == Node.ENTITY_REFERENCE_NODE) { // Replace entity reference with its content Node parent = node.getParentNode(); Node child = node.getFirstChild(); if (child != null) ... | void strip(Node node) throws TransformerConfigurationException { short nt = node.getNodeType(); if (nt == Node.ENTITY_REFERENCE_NODE) { // Replace entity reference with its content Node parent = node.getParentNode(); Node child = node.getFirstChild(); if (child != null) ... | 9,421 |
void strip(Node node) throws TransformerConfigurationException { short nt = node.getNodeType(); if (nt == Node.ENTITY_REFERENCE_NODE) { // Replace entity reference with its content Node parent = node.getParentNode(); Node child = node.getFirstChild(); if (child != null) ... | void strip(Node node) throws TransformerConfigurationException { short nt = node.getNodeType(); if (nt == Node.ENTITY_REFERENCE_NODE) { // Replace entity reference with its content Node parent = node.getParentNode(); Node child = node.getFirstChild(); if (child != null) ... | 9,422 |
void strip(Node node) throws TransformerConfigurationException { short nt = node.getNodeType(); if (nt == Node.ENTITY_REFERENCE_NODE) { // Replace entity reference with its content Node parent = node.getParentNode(); Node child = node.getFirstChild(); if (child != null) ... | void strip(Node node) throws TransformerConfigurationException { short nt = node.getNodeType(); if (nt == Node.ENTITY_REFERENCE_NODE) { // Replace entity reference with its content Node parent = node.getParentNode(); Node child = node.getFirstChild(); if (child != null) ... | 9,423 |
void strip(Node node) throws TransformerConfigurationException { short nt = node.getNodeType(); if (nt == Node.ENTITY_REFERENCE_NODE) { // Replace entity reference with its content Node parent = node.getParentNode(); Node child = node.getFirstChild(); if (child != null) ... | void strip(Node node) throws TransformerConfigurationException { short nt = node.getNodeType(); if (nt == Node.ENTITY_REFERENCE_NODE) { // Replace entity reference with its content Node parent = node.getParentNode(); Node child = node.getFirstChild(); if (child != null) ... | 9,424 |
public void transform(Source xmlSource, Result outputTarget) throws TransformerException { // Get the source tree DOMSource source; synchronized (factory.resolver) { factory.resolver.setUserResolver(uriResolver); factory.resolver.setUserListener(errorListener); source = factory.... | public void transform(Source xmlSource, Result outputTarget) throws TransformerException { // Get the source tree DOMSource source; synchronized (factory.resolver) { factory.resolver.setUserResolver(uriResolver); factory.resolver.setUserListener(errorListener); source = factory.... | 9,425 |
public void transform(Source xmlSource, Result outputTarget) throws TransformerException { // Get the source tree DOMSource source; synchronized (factory.resolver) { factory.resolver.setUserResolver(uriResolver); factory.resolver.setUserListener(errorListener); source = factory.... | public void transform(Source xmlSource, Result outputTarget) throws TransformerException // Get the source tree DOMSource source; synchronized (factory.resolver) factory.resolver.setUserResolver(uriResolver); factory.resolver.setUserListener(errorListener); source = factory.re... | 9,426 |
public void transform(Source xmlSource, Result outputTarget) throws TransformerException { // Get the source tree DOMSource source; synchronized (factory.resolver) { factory.resolver.setUserResolver(uriResolver); factory.resolver.setUserListener(errorListener); source = factory.... | public void transform(Source xmlSource, Result outputTarget) throws TransformerException { // Get the source tree DOMSource source; synchronized (factory.resolver) { factory.resolver.setUserResolver(uriResolver); factory.resolver.setUserListener(errorListener); source = factory.... | 9,427 |
public void transform(Source xmlSource, Result outputTarget) throws TransformerException { // Get the source tree DOMSource source; synchronized (factory.resolver) { factory.resolver.setUserResolver(uriResolver); factory.resolver.setUserListener(errorListener); source = factory.... | public void transform(Source xmlSource, Result outputTarget) throws TransformerException { // Get the source tree DOMSource source; synchronized (factory.resolver) { factory.resolver.setUserResolver(uriResolver); factory.resolver.setUserListener(errorListener); source = factory.... | 9,428 |
public void transform(Source xmlSource, Result outputTarget) throws TransformerException { // Get the source tree DOMSource source; synchronized (factory.resolver) { factory.resolver.setUserResolver(uriResolver); factory.resolver.setUserListener(errorListener); source = factory.... | public void transform(Source xmlSource, Result outputTarget) throws TransformerException { // Get the source tree DOMSource source; synchronized (factory.resolver) { factory.resolver.setUserResolver(uriResolver); factory.resolver.setUserListener(errorListener); source = factory.... | 9,429 |
public void transform(Source xmlSource, Result outputTarget) throws TransformerException { // Get the source tree DOMSource source; synchronized (factory.resolver) { factory.resolver.setUserResolver(uriResolver); factory.resolver.setUserListener(errorListener); source = factory.... | public void transform(Source xmlSource, Result outputTarget) throws TransformerException { // Get the source tree DOMSource source; synchronized (factory.resolver) { factory.resolver.setUserResolver(uriResolver); factory.resolver.setUserListener(errorListener); source = factory.... | 9,430 |
public void transform(Source xmlSource, Result outputTarget) throws TransformerException { // Get the source tree DOMSource source; synchronized (factory.resolver) { factory.resolver.setUserResolver(uriResolver); factory.resolver.setUserListener(errorListener); source = factory.... | public void transform(Source xmlSource, Result outputTarget) throws TransformerException { // Get the source tree DOMSource source; synchronized (factory.resolver) { factory.resolver.setUserResolver(uriResolver); factory.resolver.setUserListener(errorListener); source = factory.... | 9,431 |
public void transform(Source xmlSource, Result outputTarget) throws TransformerException { // Get the source tree DOMSource source; synchronized (factory.resolver) { factory.resolver.setUserResolver(uriResolver); factory.resolver.setUserListener(errorListener); source = factory.... | public void transform(Source xmlSource, Result outputTarget) throws TransformerException { // Get the source tree DOMSource source; synchronized (factory.resolver) { factory.resolver.setUserResolver(uriResolver); factory.resolver.setUserListener(errorListener); source = factory.... | 9,432 |
public void transform(Source xmlSource, Result outputTarget) throws TransformerException { // Get the source tree DOMSource source; synchronized (factory.resolver) { factory.resolver.setUserResolver(uriResolver); factory.resolver.setUserListener(errorListener); source = factory.... | public void transform(Source xmlSource, Result outputTarget) throws TransformerException { // Get the source tree DOMSource source; synchronized (factory.resolver) { factory.resolver.setUserResolver(uriResolver); factory.resolver.setUserListener(errorListener); source = factory.... | 9,433 |
public void transform(Source xmlSource, Result outputTarget) throws TransformerException { // Get the source tree DOMSource source; synchronized (factory.resolver) { factory.resolver.setUserResolver(uriResolver); factory.resolver.setUserListener(errorListener); source = factory.... | public void transform(Source xmlSource, Result outputTarget) throws TransformerException { // Get the source tree DOMSource source; synchronized (factory.resolver) { factory.resolver.setUserResolver(uriResolver); factory.resolver.setUserListener(errorListener); source = factory.... | 9,434 |
void writeStreamResult(Node node, StreamResult sr, int outputMethod, String encoding) throws IOException { OutputStream out = null; boolean created = false; try { out = sr.getOutputStream(); if (out == null) { Writer writer = sr.getWriter(); ... | void writeStreamResult(Node node, StreamResult sr, int outputMethod, String encoding) throws IOException OutputStream out = null; boolean created = false; try out = sr.getOutputStream(); if (out == null) Writer writer = sr.getWriter(); ... | 9,435 |
void writeStreamResult(Node node, StreamResult sr, int outputMethod, String encoding) throws IOException { OutputStream out = null; boolean created = false; try { out = sr.getOutputStream(); if (out == null) { Writer writer = sr.getWriter(); ... | void writeStreamResult(Node node, StreamResult sr, int outputMethod, String encoding) throws IOException { OutputStream out = null; boolean created = false; try { out = sr.getOutputStream(); if (out == null) { Writer writer = sr.getWriter(); ... | 9,436 |
public abstract void setOutputProperties(Properties outputformat) throws IllegalArgumentException; | public abstract void setOutputProperties(Properties oformat) throws IllegalArgumentException; | 9,437 |
public abstract void transform(Source source, Result result) throws TransformerException; | public abstract void transform(Source source, Result result) throws TransformerException; | 9,438 |
public LexicalHandler getLexicalHandler() { return lexhandler; } | public LexicalHandler getLexicalHandler() { return lexhandler; } | 9,439 |
public URLConnection openConnection() throws IOException { return handler.openConnection(this); } | public URLConnection openConnection() throws IOException { return handler.openConnection(this); } | 9,440 |
public String getPath() { int quest = (file == null) ? -1 : file.indexOf('?'); return quest < 0 ? getFile() : file.substring(0, quest); } | public String getPath() { int quest = (file == null) ? -1 : file.indexOf('?'); return quest < 0 ? getFile() : file.substring(0, quest); } | 9,441 |
public static final String toString(byte[] ba, int offset, int length) { char[] buf = new char[length * 2]; for (int i = 0, j = 0, k; i < length;) { k = ba[offset + i++]; buf[j++] = HEX_DIGITS[(k >>> 4) & 0x0F]; buf[j++] = HEX_DIGITS[k & 0x0F]; } return new String(buf); } | public static String toString(byte[] ba) { char[] buf = new char[length * 2]; for (int i = 0, j = 0, k; i < length;) { k = ba[offset + i++]; buf[j++] = HEX_DIGITS[(k >>> 4) & 0x0F]; buf[j++] = HEX_DIGITS[k & 0x0F]; } return new String(buf); } | 9,442 |
public static final String toString(byte[] ba, int offset, int length) { char[] buf = new char[length * 2]; for (int i = 0, j = 0, k; i < length;) { k = ba[offset + i++]; buf[j++] = HEX_DIGITS[(k >>> 4) & 0x0F]; buf[j++] = HEX_DIGITS[k & 0x0F]; } return new String(buf); } | public static final String toString(byte[] ba, int offset, int length) { char[] buf = new char[length * 2]; for (int i = 0, j = 0, k; i < length;) { k = ba[offset + i++]; buf[j++] = HEX_DIGITS[(k >>> 4) & 0x0F]; buf[j++] = HEX_DIGITS[k & 0x0F]; } return new String(buf); } | 9,443 |
public DERValue read() throws IOException { int tag = in.read(); if (tag == -1) throw new EOFException(); encBuf.write(tag); int len = readLength(); DERValue value = null; if ((tag & CONSTRUCTED) == CONSTRUCTED) { in.mark(2048); byte[] encoded = new byte[len]; in.read... | public static DERValue read(byte[] encoded) throws IOException { int tag = in.read(); if (tag == -1) throw new EOFException(); encBuf.write(tag); int len = readLength(); DERValue value = null; if ((tag & CONSTRUCTED) == CONSTRUCTED) { in.mark(2048); byte[] encoded = new byte... | 9,444 |
public DERValue read() throws IOException { int tag = in.read(); if (tag == -1) throw new EOFException(); encBuf.write(tag); int len = readLength(); DERValue value = null; if ((tag & CONSTRUCTED) == CONSTRUCTED) { in.mark(2048); byte[] encoded = new byte[len]; in.read... | public DERValue read() throws IOException { int tag = in.read(); if (tag == -1) throw new EOFException(); encBuf.write(tag); int len = readLength(); DERValue value = null; if ((tag & CONSTRUCTED) == CONSTRUCTED) { in.mark(2048); byte[] encoded = new byte[len]; in.read... | 9,445 |
public static KeyPairGenerator getInstance(String algorithm) throws NoSuchAlgorithmException { Provider[] p = Security.getProviders(); for (int i = 0; i < p.length; i++) { try { return getInstance(algorithm, p[i]); } catch (NoSuchAlgorithmException ignored) {} } throw new NoSuchAlgorith... | public static KeyPairGenerator getInstance(String algorithm) throws NoSuchAlgorithmException { Provider[] p = Security.getProviders(); for (int i = 0; i < p.length; i++) { try { return getInstance(algorithm, p[i]); } catch (NoSuchAlgorithmException e) { } } throw new NoSuchAlgorithmExc... | 9,446 |
public static Signature getInstance(String algorithm) throws NoSuchAlgorithmException { Provider[] p = Security.getProviders(); for (int i = 0; i < p.length; i++) { try { return getInstance(algorithm, p[i]); } catch (NoSuchAlgorithmException ignored) {} }... | public static Signature getInstance(String algorithm) throws NoSuchAlgorithmException { Provider[] p = Security.getProviders(); for (int i = 0; i < p.length; i++) { try { return getInstance(algorithm, p[i]); } catch (NoSuchAlgorithmException e) { } } ... | 9,447 |
public FileInputStream(File file) throws FileNotFoundException { SecurityManager s = System.getSecurityManager(); if (s != null) s.checkRead(file.getPath()); ch = FileChannelImpl.create(file, FileChannelImpl.READ); } | public FileInputStream(String name) throws FileNotFoundException { SecurityManager s = System.getSecurityManager(); if (s != null) s.checkRead(file.getPath()); ch = FileChannelImpl.create(file, FileChannelImpl.READ); } | 9,448 |
public FileInputStream(File file) throws FileNotFoundException { SecurityManager s = System.getSecurityManager(); if (s != null) s.checkRead(file.getPath()); ch = FileChannelImpl.create(file, FileChannelImpl.READ); } | public FileInputStream(File file) throws FileNotFoundException { SecurityManager s = System.getSecurityManager(); if (s != null) s.checkRead(file.getPath()); ch = FileChannelImpl.create(file, FileChannelImpl.READ); } | 9,449 |
public static KeyStore getInstance(String type) throws KeyStoreException { Provider[] p = Security.getProviders(); for (int i = 0; i < p.length; i++) { try { return getInstance(type, p[i]); } catch (KeyStoreException ignore) { } } throw ... | public static KeyStore getInstance(String type) throws KeyStoreException { Provider[] p = Security.getProviders(); for (int i = 0; i < p.length; i++) { try { return getInstance(type, p[i]); } catch (KeyStoreException e) { } } throw new K... | 9,450 |
NumberNode(TemplateNode children, TemplateNode next, Expr value, TemplateNode format, String lang, int letterValue, String groupingSeparator, int groupingSize) { super(children, next, format, lang, letterValue, groupingSeparator, groupingSize); this.value = value; } | NumberNode(TemplateNode children, TemplateNode next, Expr value, TemplateNode format, String lang, int letterValue, String groupingSeparator, int groupingSize) { super(children, next, format, lang, letterValue, groupingSeparator, groupingSize); this.value = value; } | 9,451 |
NumberNode(TemplateNode children, TemplateNode next, Expr value, TemplateNode format, String lang, int letterValue, String groupingSeparator, int groupingSize) { super(children, next, format, lang, letterValue, groupingSeparator, groupingSize); this.value = value; } | NumberNode(TemplateNode children, TemplateNode next, Expr value, TemplateNode format, String lang, int letterValue, String groupingSeparator, int groupingSize) { super(children, next, format, lang, letterValue, groupingSeparator, groupingSize); this.value = value; } | 9,452 |
TemplateNode clone(Stylesheet stylesheet) { return new NumberNode((children == null) ? null : children.clone(stylesheet), (next == null) ? null : next.clone(stylesheet), value.clone(stylesheet), ... | TemplateNode clone(Stylesheet stylesheet) { return new NumberNode((children == null) ? null : children.clone(stylesheet), (next == null) ? null : next.clone(stylesheet), value.clone(stylesheet), ... | 9,453 |
public Iterator iterator() { final int headerOffset = getAttributeOffset() + IndexRoot.SIZE; return new IndexEntryIterator(getFileRecord(), this, headerOffset + getHeader() .getFirstEntryOffset()); } | public Iterator<IndexEntry> iterator() { final int headerOffset = getAttributeOffset() + IndexRoot.SIZE; return new IndexEntryIterator(getFileRecord(), this, headerOffset + getHeader() .getFirstEntryOffset()); } | 9,455 |
protected void doDrawAlphaRaster(Raster raster, int srcX, int srcY, int dstX, int dstY, int width, int height, int color) { final byte[] buf = new byte[width]; final int[] pixels = new int[width]; final int c1 = color & 0xFF; final int c2 = ... | protected void doDrawAlphaRaster(Raster raster, int srcX, int srcY, int dstX, int dstY, int width, int height, int color) { final byte[] buf = new byte[width]; final int[] pixels = new int[width]; final int c1 = color & 0xFF; final int c2 = ... | 9,457 |
protected void doDrawAlphaRaster(Raster raster, int srcX, int srcY, int dstX, int dstY, int width, int height, int color) { final byte[] buf = new byte[width]; final int[] pixels = new int[width]; final int c1 = color & 0xFF; final int c2 = ... | protected void doDrawAlphaRaster(Raster raster, int srcX, int srcY, int dstX, int dstY, int width, int height, int color) { final byte[] buf = new byte[width]; final int[] pixels = new int[width]; final int c1 = color & 0xFF; final int c2 = ... | 9,458 |
protected void doDrawAlphaRaster(Raster raster, int srcX, int srcY, int dstX, int dstY, int width, int height, int color) { final byte[] buf = new byte[width]; final int[] pixels = new int[width]; final int c1 = color & 0xFF; final int c2 = ... | protected void doDrawAlphaRaster(Raster raster, int srcX, int srcY, int dstX, int dstY, int width, int height, int color) { final byte[] buf = new byte[width]; final int[] pixels = new int[width]; final int c1 = color & 0xFF; final int c2 = ... | 9,459 |
protected void doDrawAlphaRaster(Raster raster, int srcX, int srcY, int dstX, int dstY, int width, int height, int color) { final byte[] buf = new byte[width]; final int[] pixels = new int[width]; final int c1 = color & 0xFF; final int c2 = ... | protected void doDrawAlphaRaster(Raster raster, int srcX, int srcY, int dstX, int dstY, int width, int height, int color) { final byte[] buf = new byte[width]; final int[] pixels = new int[width]; final int c1 = color & 0xFF; final int c2 = ... | 9,460 |
public Object getDataElements(int x, int y, int w, int h, Object outData) { return sampleModel.getDataElements(x-sampleModelTranslateX, y-sampleModelTranslateY, w, h, outData, dataBuffer); } | public Object getDataElements(int x, int y, int w, int h, Object outData) { return sampleModel.getDataElements(x-sampleModelTranslateX, y-sampleModelTranslateY, w, h, outData, dataBuffer); } | 9,461 |
public Object getDataElements(int x, int y, int w, int h, Object outData) { return sampleModel.getDataElements(x-sampleModelTranslateX, y-sampleModelTranslateY, w, h, outData, dataBuffer); } | public Object getDataElements(int x, int y, int w, int h, Object outData) { return sampleModel.getDataElements(x-sampleModelTranslateX, y-sampleModelTranslateY, w, h, outData, dataBuffer); } | 9,462 |
public abstract void setInt(int memPtr, int value, int count); | public abstract void setInt(int memPtr, int value); | 9,463 |
public JCheckBoxMenuItem() { // TODO } // JCheckBoxMenuItem() | public JCheckBoxMenuItem() { // TODO } // JCheckBoxMenuItem() | 9,464 |
public AccessibleContext getAccessibleContext() { if (accessibleContext == null) { accessibleContext = new AccessibleJCheckBoxMenuItem(this); } // if return accessibleContext; } // getAccessibleContext() | public AccessibleContext getAccessibleContext() { if (accessibleContext == null) { accessibleContext = new AccessibleJCheckBoxMenuItem(this); } // if return accessibleContext; } // getAccessibleContext() | 9,465 |
public Object[] getSelectedObjects() { return null; // TODO } // getSelectedObjects() | public Object[] getSelectedObjects() { return null; // TODO } // getSelectedObjects() | 9,466 |
public boolean getState() { return false; // TODO } // getState() | public boolean getState() { return false; // TODO } // getState() | 9,467 |
protected String paramString() { return null; // TODO } // paramString() | protected String paramString() { return null; // TODO } // paramString() | 9,468 |
public synchronized void setState(boolean state) { // TODO } // setState() | public synchronized void setState(boolean state) { // TODO } // setState() | 9,469 |
public Object[] getSelectedObjects() { //Returns an array (length 1) containing the label or null if the button is not selected. return null; } | public Object[] getSelectedObjects() { //Returns an array (length 1) containing the label or null if the button is not selected. return null; } | 9,470 |
public static final CertificateFactory getInstance(String type) throws CertificateException { Provider[] p = Security.getProviders (); for (int i = 0; i < p.length; i++) { String classname = p[i].getProperty ("CertificateFactory." + type); if (classname != null) return getInstance (classname, type, p[i]... | public static final CertificateFactory getInstance(String type) throws CertificateException { Provider[] p = Security.getProviders (); for (int i = 0; i < p.length; i++) { String classname = p[i].getProperty ("CertificateFactory." + type); if (classname != null) return getInstance (classname, type, p[i]... | 9,471 |
private void queueEvent() { synchronized (queueLock) { queue++; if (queue == 1) SwingUtilities.invokeLater(new Runnable() { public void run() { drainEvents(); } }); } } | private void queueEvent() { synchronized (queueLock) { queue++; if (queue == 1) SwingUtilities.invokeLater(new Runnable() { public void run() { drainEvents(); } }); } } | 9,472 |
public XMLReader getXMLReader() { return reader; } // getXMLReader() | public XMLReader getXMLReader() { return reader; } // getXMLReader() | 9,473 |
public void setInputSource(InputSource source) { this.inputSource = source; } // setInputSource() | public void setInputSource(InputSource source) { this.inputSource = source; } // setInputSource() | 9,474 |
public void setSystemId(String systemID) { if (inputSource != null) { inputSource.setSystemId(systemID); } } // setSystemId() | public void setSystemId(String systemID) { if (inputSource != null) { inputSource.setSystemId(systemID); } } // setSystemId() | 9,475 |
public void setSystemId(String systemID) { if (inputSource != null) { inputSource.setSystemId(systemID); } } // setSystemId() | public void setSystemId(String systemID) { if (inputSource != null) { inputSource.setSystemId(systemID); // setSystemId() | 9,476 |
public void setXMLReader(XMLReader reader) { this.reader = reader; } // setXMLReader() | public void setXMLReader(XMLReader reader) { this.reader = reader; } // setXMLReader() | 9,477 |
public static InputSource sourceToInputSource (Source in) { InputSource retval; boolean ok = false; if (in instanceof SAXSource) { return ((SAXSource) in).inputSource; } if (in.getSystemId () != null) { retval = new InputSource (in.getSystemId ()); ok = true; } else retval = n... | public static InputSource sourceToInputSource(Source source) { InputSource retval; boolean ok = false; if (in instanceof SAXSource) { return ((SAXSource) in).inputSource; } if (in.getSystemId () != null) { retval = new InputSource (in.getSystemId ()); ok = true; } else retval ... | 9,478 |
public static InputSource sourceToInputSource (Source in) { InputSource retval; boolean ok = false; if (in instanceof SAXSource) { return ((SAXSource) in).inputSource; } if (in.getSystemId () != null) { retval = new InputSource (in.getSystemId ()); ok = true; } else retval = n... | public static InputSource sourceToInputSource (Source in) { InputSource retval; boolean ok = false; if (in instanceof SAXSource) { return ((SAXSource) in).inputSource; } if (in.getSystemId () != null) { retval = new InputSource (in.getSystemId ()); ok = true; } else retval = n... | 9,479 |
public static InputSource sourceToInputSource (Source in) { InputSource retval; boolean ok = false; if (in instanceof SAXSource) { return ((SAXSource) in).inputSource; } if (in.getSystemId () != null) { retval = new InputSource (in.getSystemId ()); ok = true; } else retval = n... | public static InputSource sourceToInputSource (Source in) { InputSource retval; boolean ok = false; if (in instanceof SAXSource) { return ((SAXSource) in).inputSource; } if (in.getSystemId () != null) { retval = new InputSource (in.getSystemId ()); ok = true; } else retval = n... | 9,480 |
public static InputSource sourceToInputSource (Source in) { InputSource retval; boolean ok = false; if (in instanceof SAXSource) { return ((SAXSource) in).inputSource; } if (in.getSystemId () != null) { retval = new InputSource (in.getSystemId ()); ok = true; } else retval = n... | public static InputSource sourceToInputSource (Source in) { InputSource retval; boolean ok = false; if (in instanceof SAXSource) { return ((SAXSource) in).inputSource; } if (in.getSystemId () != null) { retval = new InputSource (in.getSystemId ()); ok = true; } else retval = n... | 9,481 |
public static InputSource sourceToInputSource (Source in) { InputSource retval; boolean ok = false; if (in instanceof SAXSource) { return ((SAXSource) in).inputSource; } if (in.getSystemId () != null) { retval = new InputSource (in.getSystemId ()); ok = true; } else retval = n... | public static InputSource sourceToInputSource (Source in) { InputSource retval; boolean ok = false; if (in instanceof SAXSource) { return ((SAXSource) in).inputSource; } if (in.getSystemId () != null) { retval = new InputSource (in.getSystemId ()); ok = true; } else retval = n... | 9,482 |
public StructMember(String a_name, TypeCode a_type, IDLType a_type_def) { name = a_name; type = a_type; type_def = a_type_def; } | public StructMember() { name = a_name; type = a_type; type_def = a_type_def; } | 9,484 |
public StructMember(String a_name, TypeCode a_type, IDLType a_type_def) { name = a_name; type = a_type; type_def = a_type_def; } | public StructMember(String a_name, TypeCode a_type, IDLType a_type_def) { name = a_name; type = a_type; type_def = a_type_def; } | 9,485 |
public AlreadyBoundException(String s) { super(s); } | public AlreadyBoundException() { super(s); } | 9,486 |
public AlreadyBoundException(String s) { super(s); } | public AlreadyBoundException(String s) { } | 9,487 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.