bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
public String getText() { return super.getText(); } | public String getText() { return super.getText(); } | 25,567 |
public JTextField(int a) { } | public JTextField(int a) { } | 25,568 |
public static Border createEmptyBorder (int top, int left, int bottom, int right) { return new EmptyBorder (top, left, bottom, right); } | public static Border createEmptyBorder (int top, int left, int bottom, int right) { return new EmptyBorder (top, left, bottom, right); } | 25,569 |
public static Border createEmptyBorder (int top, int left, int bottom, int right) { return new EmptyBorder (top, left, bottom, right); } | public static Border createEmptyBorder (int top, int left, int bottom, int right) { return new EmptyBorder (0, 0, 0, 0); } | 25,570 |
public static BindingType extract(Any any) { try { return ((BindingTypeHolder) any.extract_Streamable()).value; } catch (ClassCastException ex) { throw new BAD_OPERATION("Binding type expected"); } } | public static BindingType extract(Any any) { try { return ((BindingTypeHolder) any.extract_Streamable()).value; } catch (ClassCastException ex) { BAD_OPERATION bad = new BAD_OPERATION("Binding type expected"); bad.initCause(ex); throw bad; } } | 25,571 |
public boolean equals(Object obj) { if (! (obj instanceof BigInteger)) return false; return equals(this, (BigInteger) obj); } | private static boolean equals(BigInteger x, BigInteger y) { if (! (obj instanceof BigInteger)) return false; return equals(this, (BigInteger) obj); } | 25,572 |
public boolean equals(Object obj) { if (! (obj instanceof BigInteger)) return false; return equals(this, (BigInteger) obj); } | public boolean equals(Object obj) { if (x.words == null && y.words == null) return x.ival == y.ival; if (x.words == null || y.words == null || x.ival != y.ival) return false; return equals(this, (BigInteger) obj); } | 25,573 |
public boolean equals(Object obj) { if (! (obj instanceof BigInteger)) return false; return equals(this, (BigInteger) obj); } | public boolean equals(Object obj) { if (! (obj instanceof BigInteger)) return false; for (int i = x.ival; --i >= 0; ) { if (x.words[i] != y.words[i]) return false; } return true; } | 25,574 |
public abstract byte[] getEncoded(int format); | public abstract byte[] getEncoded(int format); | 25,575 |
public byte[] encodePrivateKey(PrivateKey key) { if (! (key instanceof DSSPrivateKey)) throw new IllegalArgumentException("Wrong key type"); DERValue derVersion = new DERValue(DER.INTEGER, BigInteger.ZERO); DERValue derOID = new DERValue(DER.OBJECT_IDENTIFIER, DSA_ALG_OID); DSSPrivateKey pk = (DSSPr... | public byte[] encodePrivateKey(PrivateKey key) { if (! (key instanceof DSSPrivateKey)) throw new InvalidParameterException("Wrong key type"); DERValue derVersion = new DERValue(DER.INTEGER, BigInteger.ZERO); DERValue derOID = new DERValue(DER.OBJECT_IDENTIFIER, DSA_ALG_OID); DSSPrivateKey pk = (DSSP... | 25,576 |
public StringBuilder append(String str) { if (str == null) str = "null"; int len = str.count; ensureCapacity(count + len); str.getChars(0, len, value, count); count += len; return this; } | public StringBuilder append(Object obj) { if (str == null) str = "null"; int len = str.count; ensureCapacity(count + len); str.getChars(0, len, value, count); count += len; return this; } | 25,577 |
public StringBuilder append(String str) { if (str == null) str = "null"; int len = str.count; ensureCapacity(count + len); str.getChars(0, len, value, count); count += len; return this; } | public StringBuilder append(String str) { if (str == null) str = "null"; int len = str.count; ensureCapacity(count + len); str.getChars(0, len, value, count); count += len; return this; } | 25,578 |
public String toString(int radix) { if (words == null) return Integer.toString(ival, radix); if (ival <= 2) return Long.toString(longValue(), radix); int buf_size = ival * (MPN.chars_per_word(radix) + 1); StringBuffer buffer = new StringBuffer(buf_size); format(radix, buffer); return buff... | public String toString() { if (words == null) return Integer.toString(ival, radix); if (ival <= 2) return Long.toString(longValue(), radix); int buf_size = ival * (MPN.chars_per_word(radix) + 1); StringBuffer buffer = new StringBuffer(buf_size); format(radix, buffer); return buffer.toStri... | 25,579 |
public String toString(int radix) { if (words == null) return Integer.toString(ival, radix); if (ival <= 2) return Long.toString(longValue(), radix); int buf_size = ival * (MPN.chars_per_word(radix) + 1); StringBuffer buffer = new StringBuffer(buf_size); format(radix, buffer); return buff... | public String toString(int radix) { if (words == null) return Integer.toString(ival, radix); if (ival <= 2) return Long.toString(longValue(), radix); int buf_size = ival * (MPN.chars_per_word(radix) + 1); StringBuffer buffer = new StringBuffer(buf_size); format(radix, buffer); return buff... | 25,580 |
protected String toExternalForm(URL url) { String protocol; String file; String ref; String authority; protocol = url.getProtocol(); authority = url.getAuthority(); if (authority == null) authority = ""; file = url.getFile(); ref = url.getRef(); // Guess a reasonable size for the str... | protected String toExternalForm(URL url) { String protocol; String file; String ref; String authority; protocol = url.getProtocol(); authority = url.getAuthority(); if (authority == null) authority = ""; file = url.getFile(); ref = url.getRef(); // Guess a reasonable size for the str... | 25,581 |
public int lastIndexOf(int ch, int fromIndex) { if ((char) ch != ch) return -1; if (fromIndex >= count) fromIndex = count - 1; int i = fromIndex + offset; for ( ; fromIndex >= 0; fromIndex--) if (value[i--] == ch) return fromIndex; return -1; } | public int lastIndexOf(int ch) { if ((char) ch != ch) return -1; if (fromIndex >= count) fromIndex = count - 1; int i = fromIndex + offset; for ( ; fromIndex >= 0; fromIndex--) if (value[i--] == ch) return fromIndex; return -1; } | 25,582 |
public int lastIndexOf(int ch, int fromIndex) { if ((char) ch != ch) return -1; if (fromIndex >= count) fromIndex = count - 1; int i = fromIndex + offset; for ( ; fromIndex >= 0; fromIndex--) if (value[i--] == ch) return fromIndex; return -1; } | public int lastIndexOf(int ch, int fromIndex) { if ((char) ch != ch) return -1; if (fromIndex >= count) fromIndex = count - 1; int i = fromIndex + offset; for ( ; fromIndex >= 0; fromIndex--) if (value[i--] == ch) return fromIndex; return -1; } | 25,583 |
public static String guessContentTypeFromStream(InputStream is) throws IOException, NotImplementedException { // See /etc/gnome-vfs-mime-magic or /etc/mime-magic for a reasonable // idea of how to handle this. return "application/octet-stream"; } | public static String guessContentTypeFromStream(InputStream is) throws IOException { // See /etc/gnome-vfs-mime-magic or /etc/mime-magic for a reasonable // idea of how to handle this. return "application/octet-stream"; } | 25,584 |
public static String guessContentTypeFromStream(InputStream is) throws IOException, NotImplementedException { // See /etc/gnome-vfs-mime-magic or /etc/mime-magic for a reasonable // idea of how to handle this. return "application/octet-stream"; } | String result = VMURLConnection.guessContentTypeFromStream(is); if (result == null) public static String guessContentTypeFromStream(InputStream is)String result = VMURLConnection.guessContentTypeFromStream(is); if (result == null) String result = VMURLConnection.guessContentTypeFromStream(is); if (result == null) throw... | 25,585 |
public IllegalStateException(String s) { super(s); } | public IllegalStateException() { super(s); } | 25,587 |
public IllegalStateException(String s) { super(s); } | public IllegalStateException(String s) { } | 25,588 |
public UnknownServiceException(String message) { super(message); } | public UnknownServiceException() { super(message); } | 25,589 |
public UnknownServiceException(String message) { super(message); } | public UnknownServiceException(String message) { } | 25,590 |
public long getTime() { refresh_millis(); return millis; } | public long getTime() { refresh_millis(); return millis; } | 25,592 |
public Locale(String language, String country, String variant) { // During bootstrap, we already know the strings being passed in are // the correct capitalization, and not null. We can't call // String.toUpperCase during this time, since that depends on the // default locale. if (defa... | public Locale(String language, String country, String variant) { // During bootstrap, we already know the strings being passed in are // the correct capitalization, and not null. We can't call // String.toUpperCase during this time, since that depends on the // default locale. if (defa... | 25,593 |
public SimpleDateFormat(String pattern, Locale locale) { super(); calendar = new GregorianCalendar(locale); computeCenturyStart(); tokens = new ArrayList(); formatData = new DateFormatSymbols(locale); compileFormat(pattern); this.pattern = pattern; numberFormat = NumberFormat.getInstance(loc... | public SimpleDateFormat() { super(); calendar = new GregorianCalendar(locale); computeCenturyStart(); tokens = new ArrayList(); formatData = new DateFormatSymbols(locale); compileFormat(pattern); this.pattern = pattern; numberFormat = NumberFormat.getInstance(locale); numberFormat.setGrou... | 25,594 |
public SimpleDateFormat(String pattern, Locale locale) { super(); calendar = new GregorianCalendar(locale); computeCenturyStart(); tokens = new ArrayList(); formatData = new DateFormatSymbols(locale); compileFormat(pattern); this.pattern = pattern; numberFormat = NumberFormat.getInstance(loc... | public SimpleDateFormat(String pattern, Locale locale) { super(); calendar = new GregorianCalendar(locale); computeCenturyStart(); tokens = new ArrayList(); formatData = new DateFormatSymbols(locale); compileFormat(pattern); numberFormat = NumberFormat.getInstance(locale); numberFormat.se... | 25,595 |
public Point(int x, int y) { this.x = x; this.y = y; } | public Point() { this.x = x; this.y = y; } | 25,596 |
public Point(int x, int y) { this.x = x; this.y = y; } | public Point(int x, int y) { this.x = x; this.y = y; } | 25,597 |
public X509Certificate(InputStream encoded) throws CertificateException, IOException { super(); extensions = new HashMap(); try { parse(encoded); } catch (IOException ioe) { debug(ioe); throw ioe; } catch (Exception e) { debug(e); Certific... | public X509Certificate(InputStream encoded) throws CertificateException, IOException { super(); extensions = new HashMap(); try { parse(encoded); } catch (IOException ioe) { logger.log (Component.X509, "", ioe); throw ioe; } catch (Exception e) { ... | 25,598 |
public X509Certificate(InputStream encoded) throws CertificateException, IOException { super(); extensions = new HashMap(); try { parse(encoded); } catch (IOException ioe) { debug(ioe); throw ioe; } catch (Exception e) { debug(e); Certific... | public X509Certificate(InputStream encoded) throws CertificateException, IOException { super(); extensions = new HashMap(); try { parse(encoded); } catch (IOException ioe) { debug(ioe); throw ioe; } catch (Exception e) { logger.log (Component.X50... | 25,599 |
private void doVerify(Signature sig, PublicKey key) throws CertificateException, InvalidKeyException, SignatureException { debug("verifying sig=" + sig + " key=" + key); sig.initVerify(key); sig.update(tbsCertBytes); if (!sig.verify(signature)) { throw new CertificateException("signature not v... | private void doVerify(Signature sig, PublicKey key) throws CertificateException, InvalidKeyException, SignatureException { logger.log (Component.X509, "verifying sig={0} key={1}", new Object[] { sig, key }); sig.initVerify(key); sig.update(tbsCertBytes); if (!sig.verify(signature)) { throw new... | 25,600 |
private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); debug("start Certificate len == " + cert.getLength()); this.encoded = cert.getEncoded(); if (!cert.isConstructed()) { throw new I... | private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); logger.log (Component.X509, "start Certificate len == {0}", new Integer (cert.getLength())); this.encoded = cert.getEncoded(); if (!cert.isCo... | 25,601 |
private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); debug("start Certificate len == " + cert.getLength()); this.encoded = cert.getEncoded(); if (!cert.isConstructed()) { throw new I... | private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); debug("start Certificate len == " + cert.getLength()); this.encoded = cert.getEncoded(); if (!cert.isConstructed()) { throw new I... | 25,602 |
private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); debug("start Certificate len == " + cert.getLength()); this.encoded = cert.getEncoded(); if (!cert.isConstructed()) { throw new I... | private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); debug("start Certificate len == " + cert.getLength()); this.encoded = cert.getEncoded(); if (!cert.isConstructed()) { throw new I... | 25,603 |
private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); debug("start Certificate len == " + cert.getLength()); this.encoded = cert.getEncoded(); if (!cert.isConstructed()) { throw new I... | private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); debug("start Certificate len == " + cert.getLength()); this.encoded = cert.getEncoded(); if (!cert.isConstructed()) { throw new I... | 25,604 |
private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); debug("start Certificate len == " + cert.getLength()); this.encoded = cert.getEncoded(); if (!cert.isConstructed()) { throw new I... | private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); debug("start Certificate len == " + cert.getLength()); this.encoded = cert.getEncoded(); if (!cert.isConstructed()) { throw new I... | 25,605 |
private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); debug("start Certificate len == " + cert.getLength()); this.encoded = cert.getEncoded(); if (!cert.isConstructed()) { throw new I... | private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); debug("start Certificate len == " + cert.getLength()); this.encoded = cert.getEncoded(); if (!cert.isConstructed()) { throw new I... | 25,606 |
private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); debug("start Certificate len == " + cert.getLength()); this.encoded = cert.getEncoded(); if (!cert.isConstructed()) { throw new I... | private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); debug("start Certificate len == " + cert.getLength()); this.encoded = cert.getEncoded(); if (!cert.isConstructed()) { throw new I... | 25,607 |
private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); debug("start Certificate len == " + cert.getLength()); this.encoded = cert.getEncoded(); if (!cert.isConstructed()) { throw new I... | private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); debug("start Certificate len == " + cert.getLength()); this.encoded = cert.getEncoded(); if (!cert.isConstructed()) { throw new I... | 25,608 |
private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); debug("start Certificate len == " + cert.getLength()); this.encoded = cert.getEncoded(); if (!cert.isConstructed()) { throw new I... | private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); debug("start Certificate len == " + cert.getLength()); this.encoded = cert.getEncoded(); if (!cert.isConstructed()) { throw new I... | 25,609 |
private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); debug("start Certificate len == " + cert.getLength()); this.encoded = cert.getEncoded(); if (!cert.isConstructed()) { throw new I... | private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); debug("start Certificate len == " + cert.getLength()); this.encoded = cert.getEncoded(); if (!cert.isConstructed()) { throw new I... | 25,610 |
private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); debug("start Certificate len == " + cert.getLength()); this.encoded = cert.getEncoded(); if (!cert.isConstructed()) { throw new I... | private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); debug("start Certificate len == " + cert.getLength()); this.encoded = cert.getEncoded(); if (!cert.isConstructed()) { throw new I... | 25,611 |
private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); debug("start Certificate len == " + cert.getLength()); this.encoded = cert.getEncoded(); if (!cert.isConstructed()) { throw new I... | private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); debug("start Certificate len == " + cert.getLength()); this.encoded = cert.getEncoded(); if (!cert.isConstructed()) { throw new I... | 25,612 |
private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); debug("start Certificate len == " + cert.getLength()); this.encoded = cert.getEncoded(); if (!cert.isConstructed()) { throw new I... | private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); debug("start Certificate len == " + cert.getLength()); this.encoded = cert.getEncoded(); if (!cert.isConstructed()) { throw new I... | 25,613 |
private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); debug("start Certificate len == " + cert.getLength()); this.encoded = cert.getEncoded(); if (!cert.isConstructed()) { throw new I... | private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); debug("start Certificate len == " + cert.getLength()); this.encoded = cert.getEncoded(); if (!cert.isConstructed()) { throw new I... | 25,614 |
private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); debug("start Certificate len == " + cert.getLength()); this.encoded = cert.getEncoded(); if (!cert.isConstructed()) { throw new I... | private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); debug("start Certificate len == " + cert.getLength()); this.encoded = cert.getEncoded(); if (!cert.isConstructed()) { throw new I... | 25,615 |
private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); debug("start Certificate len == " + cert.getLength()); this.encoded = cert.getEncoded(); if (!cert.isConstructed()) { throw new I... | private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); debug("start Certificate len == " + cert.getLength()); this.encoded = cert.getEncoded(); if (!cert.isConstructed()) { throw new I... | 25,616 |
private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); debug("start Certificate len == " + cert.getLength()); this.encoded = cert.getEncoded(); if (!cert.isConstructed()) { throw new I... | private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); debug("start Certificate len == " + cert.getLength()); this.encoded = cert.getEncoded(); if (!cert.isConstructed()) { throw new I... | 25,617 |
private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); debug("start Certificate len == " + cert.getLength()); this.encoded = cert.getEncoded(); if (!cert.isConstructed()) { throw new I... | private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); debug("start Certificate len == " + cert.getLength()); this.encoded = cert.getEncoded(); if (!cert.isConstructed()) { throw new I... | 25,618 |
private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); debug("start Certificate len == " + cert.getLength()); this.encoded = cert.getEncoded(); if (!cert.isConstructed()) { throw new I... | private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); debug("start Certificate len == " + cert.getLength()); this.encoded = cert.getEncoded(); if (!cert.isConstructed()) { throw new I... | 25,619 |
private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); debug("start Certificate len == " + cert.getLength()); this.encoded = cert.getEncoded(); if (!cert.isConstructed()) { throw new I... | private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); debug("start Certificate len == " + cert.getLength()); this.encoded = cert.getEncoded(); if (!cert.isConstructed()) { throw new I... | 25,620 |
private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); debug("start Certificate len == " + cert.getLength()); this.encoded = cert.getEncoded(); if (!cert.isConstructed()) { throw new I... | private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); debug("start Certificate len == " + cert.getLength()); this.encoded = cert.getEncoded(); if (!cert.isConstructed()) { throw new I... | 25,621 |
private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); debug("start Certificate len == " + cert.getLength()); this.encoded = cert.getEncoded(); if (!cert.isConstructed()) { throw new I... | private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); debug("start Certificate len == " + cert.getLength()); this.encoded = cert.getEncoded(); if (!cert.isConstructed()) { throw new I... | 25,622 |
public OID(String strRep) { this(strRep, false); } | public OID(int[] components) { this(strRep, false); } | 25,623 |
public OID(String strRep) { this(strRep, false); } | public OID(String strRep) { this(components, false); } | 25,624 |
public synchronized void log(Level level, String message, Object param) { StackTraceElement caller = getCallerStackFrame(); logp(level, caller.getClassName(), caller.getMethodName(), message, param); } | public synchronized void log(Level level, String message, Object param) { StackTraceElement caller = getCallerStackFrame(); logp(level, caller.getClassName(), caller.getMethodName(), message, param); } | 25,625 |
public synchronized void log(Level level, String message, Object param) { StackTraceElement caller = getCallerStackFrame(); logp(level, caller.getClassName(), caller.getMethodName(), message, param); } | public synchronized void log(Level level, String message, Object param) { StackTraceElement caller = getCallerStackFrame(); logp(level, caller.getClassName(), caller.getMethodName(), message, param); } | 25,626 |
public CertificateException(String msg) { super(msg); } | public CertificateException() { super(msg); } | 25,627 |
public CertificateException(String msg) { super(msg); } | public CertificateException(String msg) { } | 25,628 |
public final void update(byte[]data) throws SignatureException { if (state != UNINITIALIZED) engineUpdate(data, 0, data.length); else throw new SignatureException(); } | public final void update(byte b) throws SignatureException { if (state != UNINITIALIZED) engineUpdate(data, 0, data.length); else throw new SignatureException(); } | 25,629 |
public final void update(byte[]data) throws SignatureException { if (state != UNINITIALIZED) engineUpdate(data, 0, data.length); else throw new SignatureException(); } | public final void update(byte[]data) throws SignatureException { if (state != UNINITIALIZED) engineUpdate(b); else throw new SignatureException(); } | 25,630 |
public Object clone() { try { return super.clone(); } catch (CloneNotSupportedException ex) { return null; } } | public Object clone() { try { return super.clone(); } catch (CloneNotSupportedException ex) { return null; } } | 25,631 |
public DERReader(InputStream in) { if (!in.markSupported()) this.in = new BufferedInputStream(in, 16384); else this.in = in; encBuf = new ByteArrayOutputStream(2048); } | public DERReader(byte[] in) { if (!in.markSupported()) this.in = new BufferedInputStream(in, 16384); else this.in = in; encBuf = new ByteArrayOutputStream(2048); } | 25,633 |
public DERReader(InputStream in) { if (!in.markSupported()) this.in = new BufferedInputStream(in, 16384); else this.in = in; encBuf = new ByteArrayOutputStream(2048); } | public DERReader(InputStream in) { if (!in.markSupported()) this.in = new BufferedInputStream(in, 16384); else this.in = in; encBuf = new ByteArrayOutputStream(2048); } | 25,634 |
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... | 25,635 |
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... | 25,636 |
public X500DistinguishedName(byte[] encoded) throws IOException { this(new ByteArrayInputStream(encoded)); } | public X500DistinguishedName(String name) { this(new ByteArrayInputStream(encoded)); } | 25,637 |
public X500DistinguishedName(byte[] encoded) throws IOException { this(new ByteArrayInputStream(encoded)); } | public X500DistinguishedName(byte[] encoded) throws IOException { if (name == null) throw new NullPointerException(); try { parseDN(name, true); } catch (Exception e) { parseDN(name, false); } } | 25,638 |
public BitString(byte[] bytes, int offset, int length, int ignoredBits) { this(bytes, offset, length, ignoredBits, false); } | public BitString(byte[] bytes, int ignoredBits, boolean doShift) { this(bytes, offset, length, ignoredBits, false); } | 25,639 |
public BitString(byte[] bytes, int offset, int length, int ignoredBits) { this(bytes, offset, length, ignoredBits, false); } | public BitString(byte[] bytes, int offset, int length, int ignoredBits) { this(bytes, 0, bytes.length, ignoredBits, doShift); } | 25,640 |
public static String hexDump(byte[] buf, String prefix) { return hexDump(buf, 0, buf.length, prefix); } | public static String hexDump(byte[] buf, int off, int len, String prefix) { return hexDump(buf, 0, buf.length, prefix); } | 25,641 |
public static String hexDump(byte[] buf, String prefix) { return hexDump(buf, 0, buf.length, prefix); } | public static String hexDump(byte[] buf, String prefix) { String nl = System.getProperty("line.separator"); StringBuffer str = new StringBuffer(); int i = 0; while (i < len) { str.append(prefix); str.append(Util.formatInt(i+off, 16, 8)); str.append(" "); String s = Util.toHexString(buf, i+off, Math.min(16, len-i... | 25,642 |
public SwingPropertyChangeSupport(Object source) { super(source); this.source = source; this.listeners = new EventListenerList(); this.propertyListeners = new HashMap(); } | public SwingPropertyChangeSupport(Object source) { super(source); this.source = source; this.listeners = new EventListenerList(); this.propertyListeners = new HashMap(); } | 25,643 |
public ArithmeticException(String s) { super(s); } | public ArithmeticException(String s) { super(s); } | 25,644 |
private BufferType ( long offset, ByteBuffer buffer ) { if ( offset < 0 ) throw new IllegalArgumentException ( "offset < 0" ); this.buffer = buffer; this.offset = offset; this.length = buffer.remaining(); this.ofsR = (int)(offset % alignment); this.lst = offset + length; thi... | private BufferType ( long offset, ByteBuffer buffer ) { if ( offset < 0 ) throw new IllegalArgumentException ( "offset < 0" ); this.buffer = buffer; this.offset = offset; this.length = buffer.remaining(); this.ofsR = (int)(offset % alignment); this.lst = offset + length; thi... | 25,645 |
private BufferType ( long offset, ByteBuffer buffer ) { if ( offset < 0 ) throw new IllegalArgumentException ( "offset < 0" ); this.buffer = buffer; this.offset = offset; this.length = buffer.remaining(); this.ofsR = (int)(offset % alignment); this.lst = offset + length; thi... | private BufferType ( long offset, ByteBuffer buffer ) { if ( offset < 0 ) throw new IllegalArgumentException ( "offset < 0" ); this.buffer = buffer; this.offset = offset; this.length = buffer.remaining(); this.ofsR = (int)(offset % alignment); this.lst = offset + length; thi... | 25,646 |
private BufferType ( long offset, ByteBuffer buffer ) { if ( offset < 0 ) throw new IllegalArgumentException ( "offset < 0" ); this.buffer = buffer; this.offset = offset; this.length = buffer.remaining(); this.ofsR = (int)(offset % alignment); this.lst = offset + length; thi... | private BufferType ( long offset, ByteBuffer buffer ) { if ( offset < 0 ) throw new IllegalArgumentException ( "offset < 0" ); this.buffer = buffer; this.offset = offset; this.length = buffer.remaining(); this.ofsR = (int)(offset % alignment); this.lst = offset + length; thi... | 25,647 |
private BufferType ( long offset, ByteBuffer buffer ) { if ( offset < 0 ) throw new IllegalArgumentException ( "offset < 0" ); this.buffer = buffer; this.offset = offset; this.length = buffer.remaining(); this.ofsR = (int)(offset % alignment); this.lst = offset + length; thi... | private BufferType ( long offset, ByteBuffer buffer ) { if ( offset < 0 ) throw new IllegalArgumentException ( "offset < 0" ); this.buffer = buffer; this.offset = offset; this.length = buffer.remaining(); this.ofsR = (int)(offset % alignment); this.lst = offset + length; thi... | 25,648 |
private BufferType ( long offset, ByteBuffer buffer ) { if ( offset < 0 ) throw new IllegalArgumentException ( "offset < 0" ); this.buffer = buffer; this.offset = offset; this.length = buffer.remaining(); this.ofsR = (int)(offset % alignment); this.lst = offset + length; thi... | private BufferType ( long offset, ByteBuffer buffer ) { if ( offset < 0 ) throw new IllegalArgumentException ( "offset < 0" ); this.buffer = buffer; this.offset = offset; this.length = buffer.remaining(); this.ofsR = (int)(offset % alignment); this.lst = offset + length; thi... | 25,649 |
private BufferType ( long offset, ByteBuffer buffer ) { if ( offset < 0 ) throw new IllegalArgumentException ( "offset < 0" ); this.buffer = buffer; this.offset = offset; this.length = buffer.remaining(); this.ofsR = (int)(offset % alignment); this.lst = offset + length; thi... | private BufferType ( long offset, ByteBuffer buffer ) { if ( offset < 0 ) throw new IllegalArgumentException ( "offset < 0" ); this.buffer = buffer; this.offset = offset; this.length = buffer.remaining(); this.ofsR = (int)(offset % alignment); this.lst = offset + length; thi... | 25,650 |
private BufferType ( long offset, ByteBuffer buffer ) { if ( offset < 0 ) throw new IllegalArgumentException ( "offset < 0" ); this.buffer = buffer; this.offset = offset; this.length = buffer.remaining(); this.ofsR = (int)(offset % alignment); this.lst = offset + length; thi... | private BufferType ( long offset, ByteBuffer buffer ) { if ( offset < 0 ) throw new IllegalArgumentException ( "offset < 0" ); this.buffer = buffer; this.offset = offset; this.length = buffer.remaining(); this.ofsR = (int)(offset % alignment); this.lst = offset + length; thi... | 25,651 |
private void copyFrom ( ByteBuffer src, int ofs, int len ) { if ( len <= 0 ) throw new IllegalArgumentException ( "len <= 0, shouldn't happen" ); if ( ofs < 0 ) throw new IllegalArgumentException ( "ofs < 0, shouldn't happen" ); ByteBufferUtils.buffercopy ( src,ofs, buffer,buffer.position(), l... | private void copyFrom ( ByteBuffer src, int ofs, int len ) { if ( len <= 0 ) throw new IllegalArgumentException ( "len <= 0, shouldn't happen" ); if ( ofs < 0 ) throw new IllegalArgumentException ( "ofs < 0, shouldn't happen" ); ByteBufferUtils.buffercopy ( src,ofs, buffer,buffer.position(), l... | 25,652 |
private void copyFrom ( ByteBuffer src, int ofs, int len ) { if ( len <= 0 ) throw new IllegalArgumentException ( "len <= 0, shouldn't happen" ); if ( ofs < 0 ) throw new IllegalArgumentException ( "ofs < 0, shouldn't happen" ); ByteBufferUtils.buffercopy ( src,ofs, buffer,buffer.position(), l... | private void copyFrom ( ByteBuffer src, int ofs, int len ) { if ( len <= 0 ) throw new IllegalArgumentException ( "len <= 0, shouldn't happen" ); if ( ofs < 0 ) throw new IllegalArgumentException ( "ofs < 0, shouldn't happen" ); ByteBufferUtils.buffercopy ( src,ofs, buffer,buffer.position(), l... | 25,653 |
private void copyFrom ( ByteBuffer src, int ofs, int len ) { if ( len <= 0 ) throw new IllegalArgumentException ( "len <= 0, shouldn't happen" ); if ( ofs < 0 ) throw new IllegalArgumentException ( "ofs < 0, shouldn't happen" ); ByteBufferUtils.buffercopy ( src,ofs, buffer,buffer.position(), l... | private void copyFrom ( ByteBuffer src, int ofs, int len ) { if ( len <= 0 ) throw new IllegalArgumentException ( "len <= 0, shouldn't happen" ); if ( ofs < 0 ) throw new IllegalArgumentException ( "ofs < 0, shouldn't happen" ); ByteBufferUtils.buffercopy ( src,ofs, buffer,buffer.position(), l... | 25,654 |
private void copyTo ( ByteBuffer dst, int ofs, int len ) { if ( len <= 0 ) throw new IllegalArgumentException ( "len <= 0, shouldn't happen" ); if ( ofs < 0 ) throw new IllegalArgumentException ( "ofs < 0, shouldn't happen" ); ByteBufferUtils.buffercopy ( buffer,buffer.position(), dst,ofs, len... | private void copyTo ( ByteBuffer dst, int ofs, int len ) { if ( len <= 0 ) throw new IllegalArgumentException ( "len <= 0, shouldn't happen" ); if ( ofs < 0 ) throw new IllegalArgumentException ( "ofs < 0, shouldn't happen" ); ByteBufferUtils.buffercopy ( buffer,buffer.position(), dst,ofs, len... | 25,655 |
private void copyTo ( ByteBuffer dst, int ofs, int len ) { if ( len <= 0 ) throw new IllegalArgumentException ( "len <= 0, shouldn't happen" ); if ( ofs < 0 ) throw new IllegalArgumentException ( "ofs < 0, shouldn't happen" ); ByteBufferUtils.buffercopy ( buffer,buffer.position(), dst,ofs, len... | private void copyTo ( ByteBuffer dst, int ofs, int len ) { if ( len <= 0 ) throw new IllegalArgumentException ( "len <= 0, shouldn't happen" ); if ( ofs < 0 ) throw new IllegalArgumentException ( "ofs < 0, shouldn't happen" ); ByteBufferUtils.buffercopy ( buffer,buffer.position(), dst,ofs, len... | 25,656 |
private void copyTo ( ByteBuffer dst, int ofs, int len ) { if ( len <= 0 ) throw new IllegalArgumentException ( "len <= 0, shouldn't happen" ); if ( ofs < 0 ) throw new IllegalArgumentException ( "ofs < 0, shouldn't happen" ); ByteBufferUtils.buffercopy ( buffer,buffer.position(), dst,ofs, len... | private void copyTo ( ByteBuffer dst, int ofs, int len ) { if ( len <= 0 ) throw new IllegalArgumentException ( "len <= 0, shouldn't happen" ); if ( ofs < 0 ) throw new IllegalArgumentException ( "ofs < 0, shouldn't happen" ); ByteBufferUtils.buffercopy ( buffer,buffer.position(), dst,ofs, len... | 25,657 |
private void limit ( int len ) { if ( len <= 0 ) throw new IllegalArgumentException ( "len <= 0, shouldn't happen" ); buffer.limit ( buffer.position() + len ); } | private void limit ( int len ) { if ( len <= 0 ) throw new IllegalArgumentException ( "len <= 0, shouldn't happen" ); buffer.limit ( buffer.position() + len ); } | 25,658 |
private void restore() { buffer.limit ( length ); } | private void restore() { buffer.limit ( length ); } | 25,659 |
private String toBlockString ( long offset, long length ) { StringBuilder str = new StringBuilder(); switch ( type ) { case EMPTY: str.append ( "Empty" ); break; case CONTAINED: str.append ( "Contained: " ); break; case CROSSED: str.append ( "Crossed: " ); break; case ALIGNED: str.append... | private String toBlockString ( long offset, long length ) { StringBuilder str = new StringBuilder(); switch ( type ) { case EMPTY: str.append ( "Empty" ); break; case CONTAINED: str.append ( "Contained: " ); break; case CROSSED: str.append ( "Crossed: " ); break; case ALIGNED: str.append... | 25,660 |
private String toBlockString ( long offset, long length ) { StringBuilder str = new StringBuilder(); switch ( type ) { case EMPTY: str.append ( "Empty" ); break; case CONTAINED: str.append ( "Contained: " ); break; case CROSSED: str.append ( "Crossed: " ); break; case ALIGNED: str.append... | private String toBlockString ( long offset, long length ) { StringBuilder str = new StringBuilder(); switch ( type ) { case EMPTY: str.append ( "Empty" ); break; case CONTAINED: str.append ( "Contained: " ); break; case CROSSED: str.append ( "Crossed: " ); break; case ALIGNED: str.append... | 25,661 |
private String toBlockString ( long offset, long length ) { StringBuilder str = new StringBuilder(); switch ( type ) { case EMPTY: str.append ( "Empty" ); break; case CONTAINED: str.append ( "Contained: " ); break; case CROSSED: str.append ( "Crossed: " ); break; case ALIGNED: str.append... | private String toBlockString ( long offset, long length ) { StringBuilder str = new StringBuilder(); switch ( type ) { case EMPTY: str.append ( "Empty" ); break; case CONTAINED: str.append ( "Contained: " ); break; case CROSSED: str.append ( "Crossed: " ); break; case ALIGNED: str.append... | 25,662 |
private String toBlockString ( long offset, long length ) { StringBuilder str = new StringBuilder(); switch ( type ) { case EMPTY: str.append ( "Empty" ); break; case CONTAINED: str.append ( "Contained: " ); break; case CROSSED: str.append ( "Crossed: " ); break; case ALIGNED: str.append... | private String toBlockString ( long offset, long length ) { StringBuilder str = new StringBuilder(); switch ( type ) { case EMPTY: str.append ( "Empty" ); break; case CONTAINED: str.append ( "Contained: " ); break; case CROSSED: str.append ( "Crossed: " ); break; case ALIGNED: str.append... | 25,663 |
private String toBlockString ( long offset, long length ) { StringBuilder str = new StringBuilder(); switch ( type ) { case EMPTY: str.append ( "Empty" ); break; case CONTAINED: str.append ( "Contained: " ); break; case CROSSED: str.append ( "Crossed: " ); break; case ALIGNED: str.append... | private String toBlockString ( long offset, long length ) { StringBuilder str = new StringBuilder(); switch ( type ) { case EMPTY: str.append ( "Empty" ); break; case CONTAINED: str.append ( "Contained: " ); break; case CROSSED: str.append ( "Crossed: " ); break; case ALIGNED: str.append... | 25,664 |
private String toBlockString ( long offset, long length ) { StringBuilder str = new StringBuilder(); switch ( type ) { case EMPTY: str.append ( "Empty" ); break; case CONTAINED: str.append ( "Contained: " ); break; case CROSSED: str.append ( "Crossed: " ); break; case ALIGNED: str.append... | private String toBlockString ( long offset, long length ) { StringBuilder str = new StringBuilder(); switch ( type ) { case EMPTY: str.append ( "Empty" ); break; case CONTAINED: str.append ( "Contained: " ); break; case CROSSED: str.append ( "Crossed: " ); break; case ALIGNED: str.append... | 25,665 |
private String toBlockString ( long offset, long length ) { StringBuilder str = new StringBuilder(); switch ( type ) { case EMPTY: str.append ( "Empty" ); break; case CONTAINED: str.append ( "Contained: " ); break; case CROSSED: str.append ( "Crossed: " ); break; case ALIGNED: str.append... | private String toBlockString ( long offset, long length ) { StringBuilder str = new StringBuilder(); switch ( type ) { case EMPTY: str.append ( "Empty" ); break; case CONTAINED: str.append ( "Contained: " ); break; case CROSSED: str.append ( "Crossed: " ); break; case ALIGNED: str.append... | 25,666 |
public String toString() { StringBuilder str = new StringBuilder(); str.append ( "offset[" + offset + "] " + "length[" + length + "] " + "lst[" + lst + "] " + "alignment[" + alignment + "]\n" ); str.append ( "ofsR[" + ofsR + "] " + "lstR[" + lstR + "] " + "start[" + s... | public String toString() { StringBuilder str = new StringBuilder(); str.append ( "offset[" + offset + "] " + "length[" + length + "] " + "lst[" + lst + "] " + "alignment[" + alignment + "]\n" ); str.append ( "ofsR[" + ofsR + "] " + "lstR[" + lstR + "] " + "start[" + s... | 25,667 |
public String toString() { StringBuilder str = new StringBuilder(); str.append ( "offset[" + offset + "] " + "length[" + length + "] " + "lst[" + lst + "] " + "alignment[" + alignment + "]\n" ); str.append ( "ofsR[" + ofsR + "] " + "lstR[" + lstR + "] " + "start[" + s... | public String toString() { StringBuilder str = new StringBuilder(); str.append ( "offset[" + offset + "] " + "length[" + length + "] " + "lst[" + lst + "] " + "alignment[" + alignment + "]\n" ); str.append ( "ofsR[" + ofsR + "] " + "lstR[" + lstR + "] " + "start[" + s... | 25,668 |
private String toTypeString() { StringBuilder str = new StringBuilder(); switch ( type ) { case EMPTY: str.append ( "Empty" ); break; case CONTAINED: str.append ( "Contained[" + start + ":" + length + "]" ); break; case CROSSED: str.append ( "Crossed " ); if ( ofsR != 0 ) str.append (... | private String toTypeString() { StringBuilder str = new StringBuilder(); switch ( type ) { case EMPTY: str.append ( "Empty" ); break; case CONTAINED: str.append ( "Contained[" + start + ":" + length + "]" ); break; case CROSSED: str.append ( "Crossed " ); if ( ofsR != 0 ) str.append (... | 25,669 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.