bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
public void setLayeredPane(JLayeredPane layeredPane) { getRootPane().setLayeredPane(layeredPane); }
public void setLayeredPane(JLayeredPane layeredPane) { getRootPane().setLayeredPane(layeredPane); }
26,504
public void setLayout(LayoutManager manager) { super.setLayout(manager); }
public void setLayout(LayoutManager manager) { super.setLayout(manager); }
26,505
protected void setRootPaneCheckingEnabled(boolean enabled) { checking = enabled; }
protected void setRootPaneCheckingEnabled(boolean enabled) { checking = enabled; }
26,506
public void update(Graphics g) { paint(g); }
public void update(Graphics g) { paint(g); }
26,507
Frame(String title){ super(); this.title = title; // Top-level frames are initially invisible. visible = false;}
Frame(String title){ super(); this.title = title; // Top-level frames are initially invisible. visible = false;}
26,508
Frame(String title){ super(); this.title = title; // Top-level frames are initially invisible. visible = false;}
Frame(String title){ super(); this.title = title; // Top-level frames are initially invisible. visible = false;}
26,509
protected String getPropertyPrefix() { return null; }
protected String getPropertyPrefix() { return "MenuItem"; }
26,510
public void engineInitSign(PrivateKey privateKey) throws InvalidKeyException { HashMap attributes = new HashMap(); attributes.put(BaseSignature.SIGNER_KEY, privateKey); try { adaptee.setupSign(attributes); } catch (IllegalArgumentException x) { throw new InvalidKeyException(S...
public void engineInitSign(PrivateKey privateKey) throws InvalidKeyException { HashMap attributes = new HashMap(); attributes.put(BaseSignature.SIGNER_KEY, privateKey); try { adaptee.setupSign(attributes); } catch (IllegalArgumentException x) { throw new InvalidKeyException(x...
26,511
public void engineInitVerify(PublicKey publicKey) throws InvalidKeyException { HashMap attributes = new HashMap(); attributes.put(BaseSignature.VERIFIER_KEY, publicKey); try { adaptee.setupVerify(attributes); } catch (IllegalArgumentException x) { throw new InvalidKeyExceptio...
public void engineInitVerify(PublicKey publicKey) throws InvalidKeyException { HashMap attributes = new HashMap(); attributes.put(BaseSignature.VERIFIER_KEY, publicKey); try { adaptee.setupVerify(attributes); } catch (IllegalArgumentException x) { throw new InvalidKeyExceptio...
26,512
public byte[] engineSign() throws SignatureException { Object signature = null; try { signature = adaptee.sign(); } catch (IllegalStateException x) { throw new SignatureException(String.valueOf(x)); } byte[] result = codec.encodeSignature(signature); return result; }
public byte[] engineSign() throws SignatureException { Object signature = null; try { signature = adaptee.sign(); } catch (IllegalStateException x) { throw new SignatureException(x.getMessage(), x); } byte[] result = codec.encodeSignature(signature); return result; }
26,513
public byte[] engineSign() throws SignatureException { Object signature = null; try { signature = adaptee.sign(); } catch (IllegalStateException x) { throw new SignatureException(String.valueOf(x)); } byte[] result = codec.encodeSignature(signature); return result; }
publicbyte[]engineSign()throwsSignatureException{Objectsignature=null;try{signature=adaptee.sign();}catch(IllegalStateExceptionx){thrownewSignatureException(String.valueOf(x));}byte[]result=codec.encodeSignature(signature);returnresult;}
26,514
public void engineUpdate(byte b) throws SignatureException { try { adaptee.update(b); } catch (IllegalStateException x) { throw new SignatureException(String.valueOf(x)); } }
public void engineUpdate(byte b) throws SignatureException { try { adaptee.update(b); } catch (IllegalStateException x) { throw new SignatureException(x.getMessage(), x); } }
26,515
public boolean engineVerify(byte[] sigBytes) throws SignatureException { log.entering("SignatureAdapter", "engineVerify"); Object signature = codec.decodeSignature(sigBytes); boolean result = false; try { result = adaptee.verify(signature); } catch (IllegalStateException x) { ...
public boolean engineVerify(byte[] sigBytes) throws SignatureException { if (Configuration.DEBUG) log.entering(this.getClass().getName(), "engineVerify"); Object signature = codec.decodeSignature(sigBytes); boolean result = false; try { result = adaptee.verify(signature); } catch (Ille...
26,516
public boolean engineVerify(byte[] sigBytes) throws SignatureException { log.entering("SignatureAdapter", "engineVerify"); Object signature = codec.decodeSignature(sigBytes); boolean result = false; try { result = adaptee.verify(signature); } catch (IllegalStateException x) { ...
public boolean engineVerify(byte[] sigBytes) throws SignatureException { log.entering("SignatureAdapter", "engineVerify"); Object signature = codec.decodeSignature(sigBytes); boolean result = false; try { result = adaptee.verify(signature); } catch (IllegalStateException x) { ...
26,517
public boolean engineVerify(byte[] sigBytes) throws SignatureException { log.entering("SignatureAdapter", "engineVerify"); Object signature = codec.decodeSignature(sigBytes); boolean result = false; try { result = adaptee.verify(signature); } catch (IllegalStateException x) { ...
public boolean engineVerify(byte[] sigBytes) throws SignatureException { log.entering("SignatureAdapter", "engineVerify"); Object signature = codec.decodeSignature(sigBytes); boolean result = false; try { result = adaptee.verify(signature); } catch (IllegalStateException x) { ...
26,518
public static final ISignature getInstance(String ssa) { if (ssa == null) { return null; } ssa = ssa.trim(); ssa = ssa.toLowerCase(); ISignature result = null; if (ssa.equalsIgnoreCase(Registry.DSA_SIG) || ssa.equals(Registry.DSS_SIG)) { result = new DSSSignature(); }...
public static final ISignature getInstance(String ssa) if (ssa == null) return null; } ssa = ssa.trim(); ssa = ssa.toLowerCase(); ISignature result = null; if (ssa.equalsIgnoreCase(Registry.DSA_SIG) || ssa.equals(Registry.DSS_SIG)) result = new DSSSignature(); } el...
26,519
public static final ISignature getInstance(String ssa) { if (ssa == null) { return null; } ssa = ssa.trim(); ssa = ssa.toLowerCase(); ISignature result = null; if (ssa.equalsIgnoreCase(Registry.DSA_SIG) || ssa.equals(Registry.DSS_SIG)) { result = new DSSSignature(); }...
public static final ISignature getInstance(String ssa) { if (ssa == null) { return null; ssa = ssa.trim(); ssa = ssa.toLowerCase(); ISignature result = null; if (ssa.equalsIgnoreCase(Registry.DSA_SIG) || ssa.equals(Registry.DSS_SIG)) { result = new DSSSignature(); ...
26,520
public static final ISignature getInstance(String ssa) { if (ssa == null) { return null; } ssa = ssa.trim(); ssa = ssa.toLowerCase(); ISignature result = null; if (ssa.equalsIgnoreCase(Registry.DSA_SIG) || ssa.equals(Registry.DSS_SIG)) { result = new DSSSignature(); }...
public static final ISignature getInstance(String ssa) if (ssa == null) return null; } ssa = ssa.trim(); ssa = ssa.toLowerCase(); ISignature result = null; if (ssa.equalsIgnoreCase(Registry.DSA_SIG) || ssa.equals(Registry.DSS_SIG)) result = new DSSSignature(); } el...
26,521
public static final ISignature getInstance(String ssa) { if (ssa == null) { return null; } ssa = ssa.trim(); ssa = ssa.toLowerCase(); ISignature result = null; if (ssa.equalsIgnoreCase(Registry.DSA_SIG) || ssa.equals(Registry.DSS_SIG)) { result = new DSSSignature(); }...
public static final ISignature getInstance(String ssa) { if (ssa == null) { return null; ssa = ssa.trim(); ssa = ssa.toLowerCase(); ISignature result = null; if (ssa.equalsIgnoreCase(Registry.DSA_SIG) || ssa.equals(Registry.DSS_SIG)) { result = new DSSSignature(); ...
26,522
public InvalidParameterException(String msg) { super(msg); }
public InvalidParameterException() { super(msg); }
26,523
public InvalidParameterException(String msg) { super(msg); }
public InvalidParameterException(String msg) { }
26,524
public SignatureException(String msg) { super(msg); }
public SignatureException() { super(msg); }
26,525
public SignatureException(String msg) { super(msg); }
public SignatureException(String msg) { }
26,526
public synchronized void exiting(String sourceClass, String sourceMethod, Object result) { if (isLoggable(Level.FINER)) logp(Level.FINER, sourceClass, sourceMethod, "RETURN {0}", result); }
public synchronized void exiting(String sourceClass, String sourceMethod, Object result) { if (isLoggable(Level.FINER)) logp(Level.FINER, sourceClass, sourceMethod, "RETURN {0}", result); }
26,527
public synchronized void exiting(String sourceClass, String sourceMethod, Object result) { if (isLoggable(Level.FINER)) logp(Level.FINER, sourceClass, sourceMethod, "RETURN {0}", result); }
public synchronized void exiting(String sourceClass, String sourceMethod, Object result) { if (isLoggable(Level.FINER)) logp(Level.FINER, sourceClass, sourceMethod, "RETURN"); }
26,528
public final Class getCategory() { return ReferenceUriSchemesSupported.class; }
public Class getCategory() { return ReferenceUriSchemesSupported.class; }
26,529
public final String getName() { return "reference-uri-schemes-supported"; }
public String getName() { return "reference-uri-schemes-supported"; }
26,530
public boolean isSelected() { return false; }
public boolean isSelected() { return selectionModel.isSelected(); }
26,532
public abstract Object evaluate(Node context, int pos, int len);
public abstract Object evaluate(Node context, int pos, int len);
26,533
public static String stringValue(Node node) { return stringValue(node, false); }
public static String stringValue(Collection nodeSet) { return stringValue(node, false); }
26,534
public static String stringValue(Node node) { return stringValue(node, false); }
public static String stringValue(Node node) { StringBuffer buf = new StringBuffer(); for (Iterator i = nodeSet.iterator(); i.hasNext(); ) { buf.append(stringValue((Node) i.next())); } return buf.toString(); }
26,535
public DecimalFormatSymbols (Locale loc) { ResourceBundle res; try { res = ResourceBundle.getBundle("gnu.java.locale.LocaleInformation", loc, ClassLoader.getSystemClassLoader()); } catch (MissingResourceException x) { res = null; } currencySymbol = safeGetString (res, "currencySymbol...
public DecimalFormatSymbols () { ResourceBundle res; try { res = ResourceBundle.getBundle("gnu.java.locale.LocaleInformation", loc, ClassLoader.getSystemClassLoader()); } catch (MissingResourceException x) { res = null; } currencySymbol = safeGetString (res, "currencySymbol", "$"); ...
26,536
public DecimalFormatSymbols (Locale loc) { ResourceBundle res; try { res = ResourceBundle.getBundle("gnu.java.locale.LocaleInformation", loc, ClassLoader.getSystemClassLoader()); } catch (MissingResourceException x) { res = null; } currencySymbol = safeGetString (res, "currencySymbol...
public DecimalFormatSymbols (Locale loc) { ResourceBundle res; try { res = ResourceBundle.getBundle("gnu.java.locale.LocaleInformation", loc, ClassLoader.getSystemClassLoader()); } catch (MissingResourceException x) { res = null; } currencySymbol = safeGetString (res, "currencySymbol...
26,537
public DecimalFormat (String pattern, DecimalFormatSymbols symbols) { this.symbols = symbols; applyPattern (pattern); }
public DecimalFormat () { this.symbols = symbols; applyPattern (pattern); }
26,538
public DecimalFormat (String pattern, DecimalFormatSymbols symbols) { this.symbols = symbols; applyPattern (pattern); }
public DecimalFormat (String pattern, DecimalFormatSymbols symbols) { this.symbols = symbols; applyPattern (pattern); }
26,539
public final String format (double number) { StringBuffer sbuf = new StringBuffer(50); format (number, sbuf, null); return sbuf.toString(); }
public final String format (long number) { StringBuffer sbuf = new StringBuffer(50); format (number, sbuf, null); return sbuf.toString(); }
26,540
public abstract Document parse(InputSource source) throws SAXException, IOException;
public abstract Document parse(InputSource source) throws SAXException, IOException;
26,541
public static <T> void sort(List<T> l, Comparator<? super T> c) { T[] a = (T[]) l.toArray(); Arrays.sort(a, c); ListIterator<T> i = l.listIterator(); for (int pos = 0, alen = a.length; pos < alen; pos++) { i.next(); i.set(a[pos]); } }
public static <T extends Comparable<? super T>> void sort(List<T> l) { T[] a = (T[]) l.toArray(); Arrays.sort(a, c); ListIterator<T> i = l.listIterator(); for (int pos = 0, alen = a.length; pos < alen; pos++) { i.next(); i.set(a[pos]); } }
26,542
public static <T> void sort(List<T> l, Comparator<? super T> c) { T[] a = (T[]) l.toArray(); Arrays.sort(a, c); ListIterator<T> i = l.listIterator(); for (int pos = 0, alen = a.length; pos < alen; pos++) { i.next(); i.set(a[pos]); } }
public static <T> void sort(List<T> l, Comparator<? super T> c) { T[] a = (T[]) l.toArray(); Arrays.sort(a, c); ListIterator<T> i = l.listIterator(); for (int pos = 0, alen = a.length; pos < alen; pos++) { i.next(); i.set(a[pos]); } }
26,543
public NoSuchElementException(String detail) { super(detail); }
public NoSuchElementException(String detail) { super(detail); }
26,544
public static boolean linesIntersect(double x1, double y1, double x2, double y2, double x3, double y3, double x4, double y4) { double beta = (((y1 - y3) * (x4 - x3) + (x1 - x3) * (y4 - y3)) / ((y2 - y1) * (x4 - x3) + (x2 - x1) * (y4 - y3))); if (beta < 0.0 || beta > 1.0) return false; double alpha = (x1 + beta * ...
public static boolean linesIntersect(double x1, double y1, double x2, double y2, double x3, double y3, double x4, double y4) { double beta = (((y1 - y3) * (x4 - x3) + (x1 - x3) * (y4 - y3)) / ((y2 - y1) * (x4 - x3) + (x2 - x1) * (y4 - y3))); if (beta < 0.0 || beta > 1.0) return false; double alpha = (x1 + beta * ...
26,545
public void run() { running = true; try { sleep(initialDelay); queueEvent(); if (repeats) while (running) { try { sleep(delay); } catch (InterruptedException e) ...
public void run() { try { sleep(initialDelay); queueEvent(); if (repeats) while (running) { try { sleep(delay); } catch (InterruptedException e) ...
26,546
public void run() { running = true; try { sleep(initialDelay); queueEvent(); if (repeats) while (running) { try { sleep(delay); } catch (InterruptedException e) ...
public void run() { running = true; try { synchronized (queueLock) { try { queueLock.wait(initialDelay); } catch (InterruptedException e) { } if (!running) return; queueEvent(); if (repeats) while (running) { try ...
26,547
public void run() { running = true; try { sleep(initialDelay); queueEvent(); if (repeats) while (running) { try { sleep(delay); } catch (InterruptedException e) ...
public void run() { running = true; try { sleep(initialDelay); queueEvent(); if (repeats) while (running) { try { queueLock.wait(delay); } catch (InterruptedExcep...
26,548
public void run() { running = true; try { sleep(initialDelay); queueEvent(); if (repeats) while (running) { try { sleep(delay); } catch (InterruptedException e) ...
public void run() { running = true; try { sleep(initialDelay); queueEvent(); if (repeats) while (running) { try { sleep(delay); } catch (InterruptedException e) ...
26,549
public void run() { running = true; try { sleep(initialDelay); queueEvent(); if (repeats) while (running) { try { sleep(delay); } catch (InterruptedException e) ...
public void run() { running = true; try { sleep(initialDelay); queueEvent(); if (repeats) while (running) { try { sleep(delay); } catch (InterruptedException e) ...
26,550
public void start() { if (isRunning()) return; waker = new Waker(); waker.start(); }
public void start() { synchronized (queueLock) { if (waker != null) return; waker = new Waker(); waker.start(); }
26,551
public void stop() { running = false; if (waker != null) waker.interrupt(); synchronized (queueLock) { queue = 0; } }
public void stop() { running = false; if (waker != null) waker.interrupt(); synchronized (queueLock) { queue = 0; } }
26,553
UTF_16BE() { super("UTF-16BE", null); }
UTF_16BE() { super("UTF-16BE", null); }
26,555
public boolean contains(Charset cs) { return cs instanceof US_ASCII || cs instanceof ISO_8859_1 || cs instanceof UTF_8 || cs instanceof UTF_16BE || cs instanceof UTF_16LE || cs instanceof UTF_16; }
public boolean contains(Charset cs) { return cs instanceof US_ASCII || cs instanceof ISO_8859_1 || cs instanceof UTF_8 || cs instanceof UTF_16BE || cs instanceof UTF_16LE || cs instanceof UTF_16; }
26,556
public CharsetDecoder newDecoder() { return new UTF_16Decoder(this, UTF_16Decoder.BIG_ENDIAN); }
public CharsetDecoder newDecoder() { return new UTF_16Decoder(this, UTF_16Decoder.BIG_ENDIAN); }
26,557
public CharsetEncoder newEncoder() { return new UTF_16Encoder(this, UTF_16Encoder.BIG_ENDIAN, true); }
public CharsetEncoder newEncoder() { return new UTF_16Encoder(this, UTF_16Encoder.BIG_ENDIAN, true); }
26,558
UTF_16Encoder (Charset cs, int byteOrder, boolean useByteOrderMark) { super (cs, 2.0f, useByteOrderMark ? 2.0f : 4.0f, byteOrder == BIG_ENDIAN ? new byte[] { (byte) 0xFF, (byte) 0xFD } : new byte[] { (byte) 0xFD, (byte) 0xFF }); this.byteOrder = byteOrder; this.us...
UTF_16Encoder (Charset cs, int byteOrder, boolean useByteOrderMark) { super (cs, 2.0f, useByteOrderMark ? 4.0f : 2.0f, byteOrder == BIG_ENDIAN ? new byte[] { (byte) 0xFF, (byte) 0xFD } : new byte[] { (byte) 0xFD, (byte) 0xFF }); this.byteOrder = byteOrder; this.us...
26,559
UTF_16Encoder (Charset cs, int byteOrder, boolean useByteOrderMark) { super (cs, 2.0f, useByteOrderMark ? 2.0f : 4.0f, byteOrder == BIG_ENDIAN ? new byte[] { (byte) 0xFF, (byte) 0xFD } : new byte[] { (byte) 0xFD, (byte) 0xFF }); this.byteOrder = byteOrder; this.us...
UTF_16Encoder (Charset cs, int byteOrder, boolean useByteOrderMark) { super (cs, 2.0f, useByteOrderMark ? 2.0f : 4.0f, byteOrder == BIG_ENDIAN ? new byte[] { (byte) 0xFF, (byte) 0xFD } : new byte[] { (byte) 0xFD, (byte) 0xFF }); this.byteOrder = (byteOrder == BIG_END...
26,560
public boolean equals(Object obj) { if (obj instanceof ObjID && this.objNum == ((ObjID) obj).objNum) { return (true); } return (false); }
public boolean equals(Object obj) { if (obj instanceof ObjID) { return (true); } return (false); }
26,561
public boolean equals(Object obj) { if (obj instanceof ObjID && this.objNum == ((ObjID) obj).objNum) { return (true); } return (false); }
public boolean equals(Object obj) { if (obj instanceof ObjID && this.objNum == ((ObjID) obj).objNum) { return (true); } return (false); }
26,562
public boolean equals(Object obj) { if (obj instanceof ObjID && this.objNum == ((ObjID) obj).objNum) { return (true); } return (false); }
public boolean equals(Object obj) { if (obj instanceof ObjID && this.objNum == ((ObjID) obj).objNum) { return (true); } else return false; }
26,563
public int hashCode() { return ((int) objNum); }
public int hashCode() { return space == null ? (int) objNum : space.hashCode() ^ (int) objNum; }
26,564
public String toString() { return ("[objNum: " + objNum + ", " + space + "]"); }
public String toString() { return (objNum + ":" + space); }
26,565
protected AbstractDocument.AbstractElement createDefaultRoot() { BranchElement rootElement = (BranchElement) createBranchElement(null, null); Element[] lines = new Element[1]; lines[0] = createLeafElement(rootElement, null, 0, 1); rootElement.replace(0, 0, lines); return rootElement; }
protected AbstractDocument.AbstractElement createDefaultRoot() { BranchElement rootElement = (BranchElement) createBranchElement(null, null); Element[] lines = new Element[1]; lines[0] = createLeafElement(rootElement, null, 0, 1); rootElement.replace(0, 0, lines); return rootElement; }
26,566
public Codec create_codec(Encoding for_encoding) throws UnknownEncoding { if (for_encoding.format != ENCODING_CDR_ENCAPS.value) throw new UnknownEncoding("Only ENCODING_CDR_ENCAPS is " + "supported by this factory." ); return...
public Codec create_codec(Encoding for_encoding) throws UnknownEncoding { if (for_encoding.format != ENCODING_CDR_ENCAPS.value) throw new UnknownEncoding("Only ENCODING_CDR_ENCAPS is " + "supported by this factory." ); return...
26,567
public Codec create_codec(Encoding for_encoding) throws UnknownEncoding { if (for_encoding.format != ENCODING_CDR_ENCAPS.value) throw new UnknownEncoding("Only ENCODING_CDR_ENCAPS is " + "supported by this factory." ); return...
public Codec create_codec(Encoding for_encoding) throws UnknownEncoding { if (for_encoding.format != ENCODING_CDR_ENCAPS.value) throw new UnknownEncoding("Only ENCODING_CDR_ENCAPS is " + "supported by this factory." ); return...
26,568
public UnknownEncoding(String why) { super(why); }
public UnknownEncoding() { super(why); }
26,569
public UnknownEncoding(String why) { super(why); }
public UnknownEncoding(String why) { }
26,570
public static Component getRoot(Component comp) { Applet app = null; Window win = null; while (comp != null) { if (win == null && comp instanceof Window) win = (Window) comp; else if (comp instanceof Applet) app = (Applet) comp; comp = comp.getParent(); } ...
public static Component getRoot(Component comp) { Applet app = null; Window win = null; while (comp != null) { if (win == null && comp instanceof Window) win = (Window) comp; if (comp instanceof Applet) app = (Applet) comp; comp = comp.getParent(); } if (w...
26,571
protected byte[] getResult() { // apply inverse mu to the context byte[] result = new byte[] { (byte)(H0 >>> 56), (byte)(H0 >>> 48), (byte)(H0 >>> 40), (byte)(H0 >>> 32), (byte)(H0 >>> 24), (byte)(H0 >>> 16), (byte)(H0 >>> 8), (byte) H0, (byte)(H1 >>> 56), (byte)(H1 >>> 48), (byte)(H1 >>> 40), ...
protected byte[] getResult() { // apply inverse mu to the context return new byte[] { (byte)(H0 >>> 56), (byte)(H0 >>> 48), (byte)(H0 >>> 40), (byte)(H0 >>> 32), (byte)(H0 >>> 24), (byte)(H0 >>> 16), (byte)(H0 >>> 8), (byte) H0, (byte)(H1 >>> 56), (byte)(H1 >>> 48), (byte)(H1 >>> 40), (byte)(H1...
26,572
protected byte[] getResult() { // apply inverse mu to the context byte[] result = new byte[] { (byte)(H0 >>> 56), (byte)(H0 >>> 48), (byte)(H0 >>> 40), (byte)(H0 >>> 32), (byte)(H0 >>> 24), (byte)(H0 >>> 16), (byte)(H0 >>> 8), (byte) H0, (byte)(H1 >>> 56), (byte)(H1 >>> 48), (byte)(H1 >>> 40), ...
protected byte[] getResult() { // apply inverse mu to the context byte[] result = new byte[] { (byte)(H0 >>> 56), (byte)(H0 >>> 48), (byte)(H0 >>> 40), (byte)(H0 >>> 32), (byte)(H0 >>> 24), (byte)(H0 >>> 16), (byte)(H0 >>> 8), (byte) H0, (byte)(H1 >>> 56), (byte)(H1 >>> 48), (byte)(H1 >>> 40), ...
26,573
protected byte[] getResult() { // apply inverse mu to the context byte[] result = new byte[] { (byte)(H0 >>> 56), (byte)(H0 >>> 48), (byte)(H0 >>> 40), (byte)(H0 >>> 32), (byte)(H0 >>> 24), (byte)(H0 >>> 16), (byte)(H0 >>> 8), (byte) H0, (byte)(H1 >>> 56), (byte)(H1 >>> 48), (byte)(H1 >>> 40), ...
protected byte[] getResult() { // apply inverse mu to the context byte[] result = new byte[] { (byte)(H0 >>> 56), (byte)(H0 >>> 48), (byte)(H0 >>> 40), (byte)(H0 >>> 32), (byte)(H0 >>> 24), (byte)(H0 >>> 16), (byte)(H0 >>> 8), (byte) H0, (byte)(H1 >>> 56), (byte)(H1 >>> 48), (byte)(H1 >>> 40), ...
26,574
protected byte[] padBuffer() { // [WHIRLPOOL] p. 6: // "...padded with a 1-bit, then with as few 0-bits as necessary to // obtain a bit string whose length is an odd multiple of 256, and // finally with the 256-bit right-justified binary representation of L." // in this implementation we use 'count' a...
protectedbyte[]padBuffer(){//[WHIRLPOOL]p.6://"...paddedwitha1-bit,thenwithasfew0-bitsasnecessaryto//obtainabitstringwhoselengthisanoddmultipleof256,and//finallywiththe256-bitright-justifiedbinaryrepresentationofL."//inthisimplementationweuse'count'asthenumberofbyteshashed//sofar.hencetheminimalnumberofbytesaddedtothem...
26,575
protected byte[] padBuffer() { // [WHIRLPOOL] p. 6: // "...padded with a 1-bit, then with as few 0-bits as necessary to // obtain a bit string whose length is an odd multiple of 256, and // finally with the 256-bit right-justified binary representation of L." // in this implementation we use 'count' a...
protectedbyte[]padBuffer(){//[WHIRLPOOL]p.6://"...paddedwitha1-bit,thenwithasfew0-bitsasnecessaryto//obtainabitstringwhoselengthisanoddmultipleof256,and//finallywiththe256-bitright-justifiedbinaryrepresentationofL."//inthisimplementationweuse'count'asthenumberofbyteshashed//sofar.hencetheminimalnumberofbytesaddedtothem...
26,576
protected byte[] padBuffer() { // [WHIRLPOOL] p. 6: // "...padded with a 1-bit, then with as few 0-bits as necessary to // obtain a bit string whose length is an odd multiple of 256, and // finally with the 256-bit right-justified binary representation of L." // in this implementation we use 'count' a...
protectedbyte[]padBuffer(){//[WHIRLPOOL]p.6://"...paddedwitha1-bit,thenwithasfew0-bitsasnecessaryto//obtainabitstringwhoselengthisanoddmultipleof256,and//finallywiththe256-bitright-justifiedbinaryrepresentationofL."//inthisimplementationweuse'count'asthenumberofbyteshashed//sofar.hencetheminimalnumberofbytesaddedtothem...
26,577
protected byte[] padBuffer() { // [WHIRLPOOL] p. 6: // "...padded with a 1-bit, then with as few 0-bits as necessary to // obtain a bit string whose length is an odd multiple of 256, and // finally with the 256-bit right-justified binary representation of L." // in this implementation we use 'count' a...
protectedbyte[]padBuffer(){//[WHIRLPOOL]p.6://"...paddedwitha1-bit,thenwithasfew0-bitsasnecessaryto//obtainabitstringwhoselengthisanoddmultipleof256,and//finallywiththe256-bitright-justifiedbinaryrepresentationofL."//inthisimplementationweuse'count'asthenumberofbyteshashed//sofar.hencetheminimalnumberofbytesaddedtothem...
26,578
public boolean selfTest() { if (valid == null) valid = Boolean.valueOf(DIGEST0.equals(Util.toString(new Whirlpool().digest()))); return valid.booleanValue(); }
public boolean selfTest() { if (valid == null) { String d = Util.toString(new Whirlpool().digest()); valid = Boolean.valueOf(DIGEST0.equals(d)); } return valid.booleanValue(); }
26,579
protected void transform(byte[] in, int offset) { // apply mu to the input n0 = (in[offset++] & 0xFFL) << 56 | (in[offset++] & 0xFFL) << 48 | (in[offset++] & 0xFFL) << 40 | (in[offset++] & 0xFFL) << 32 | (in[offset++] & 0xFFL) << 24 | (in[offset++] & 0xFFL) << 16 | (in[offse...
protectedvoidtransform(byte[]in,intoffset){//applymutotheinputn0=(in[offset++]&0xFFL)<<56|(in[offset++]&0xFFL)<<48|(in[offset++]&0xFFL)<<40|(in[offset++]&0xFFL)<<32|(in[offset++]&0xFFL)<<24|(in[offset++]&0xFFL)<<16|(in[offset++]&0xFFL)<<8|(in[offset++]&0xFFL);n1=(in[offset++]&0xFFL)<<56|(in[offset++]&0xFFL)<<48|(in[off...
26,580
protected void transform(byte[] in, int offset) { // apply mu to the input n0 = (in[offset++] & 0xFFL) << 56 | (in[offset++] & 0xFFL) << 48 | (in[offset++] & 0xFFL) << 40 | (in[offset++] & 0xFFL) << 32 | (in[offset++] & 0xFFL) << 24 | (in[offset++] & 0xFFL) << 16 | (in[offse...
protectedvoidtransform(byte[]in,intoffset){//applymutotheinputn0=(in[offset++]&0xFFL)<<56|(in[offset++]&0xFFL)<<48|(in[offset++]&0xFFL)<<40|(in[offset++]&0xFFL)<<32|(in[offset++]&0xFFL)<<24|(in[offset++]&0xFFL)<<16|(in[offset++]&0xFFL)<<8|(in[offset++]&0xFFL);n1=(in[offset++]&0xFFL)<<56|(in[offset++]&0xFFL)<<48|(in[off...
26,581
protected void transform(byte[] in, int offset) { // apply mu to the input n0 = (in[offset++] & 0xFFL) << 56 | (in[offset++] & 0xFFL) << 48 | (in[offset++] & 0xFFL) << 40 | (in[offset++] & 0xFFL) << 32 | (in[offset++] & 0xFFL) << 24 | (in[offset++] & 0xFFL) << 16 | (in[offse...
protectedvoidtransform(byte[]in,intoffset){//applymutotheinputn0=(in[offset++]&0xFFL)<<56|(in[offset++]&0xFFL)<<48|(in[offset++]&0xFFL)<<40|(in[offset++]&0xFFL)<<32|(in[offset++]&0xFFL)<<24|(in[offset++]&0xFFL)<<16|(in[offset++]&0xFFL)<<8|(in[offset++]&0xFFL);n1=(in[offset++]&0xFFL)<<56|(in[offset++]&0xFFL)<<48|(in[off...
26,582
protected void transform(byte[] in, int offset) { // apply mu to the input n0 = (in[offset++] & 0xFFL) << 56 | (in[offset++] & 0xFFL) << 48 | (in[offset++] & 0xFFL) << 40 | (in[offset++] & 0xFFL) << 32 | (in[offset++] & 0xFFL) << 24 | (in[offset++] & 0xFFL) << 16 | (in[offse...
protectedvoidtransform(byte[]in,intoffset){//applymutotheinputn0=(in[offset++]&0xFFL)<<56|(in[offset++]&0xFFL)<<48|(in[offset++]&0xFFL)<<40|(in[offset++]&0xFFL)<<32|(in[offset++]&0xFFL)<<24|(in[offset++]&0xFFL)<<16|(in[offset++]&0xFFL)<<8|(in[offset++]&0xFFL);n1=(in[offset++]&0xFFL)<<56|(in[offset++]&0xFFL)<<48|(in[off...
26,583
protected void transform(byte[] in, int offset) { // apply mu to the input n0 = (in[offset++] & 0xFFL) << 56 | (in[offset++] & 0xFFL) << 48 | (in[offset++] & 0xFFL) << 40 | (in[offset++] & 0xFFL) << 32 | (in[offset++] & 0xFFL) << 24 | (in[offset++] & 0xFFL) << 16 | (in[offse...
protectedvoidtransform(byte[]in,intoffset){//applymutotheinputn0=(in[offset++]&0xFFL)<<56|(in[offset++]&0xFFL)<<48|(in[offset++]&0xFFL)<<40|(in[offset++]&0xFFL)<<32|(in[offset++]&0xFFL)<<24|(in[offset++]&0xFFL)<<16|(in[offset++]&0xFFL)<<8|(in[offset++]&0xFFL);n1=(in[offset++]&0xFFL)<<56|(in[offset++]&0xFFL)<<48|(in[off...
26,584
protected void transform(byte[] in, int offset) { // apply mu to the input n0 = (in[offset++] & 0xFFL) << 56 | (in[offset++] & 0xFFL) << 48 | (in[offset++] & 0xFFL) << 40 | (in[offset++] & 0xFFL) << 32 | (in[offset++] & 0xFFL) << 24 | (in[offset++] & 0xFFL) << 16 | (in[offse...
protectedvoidtransform(byte[]in,intoffset){//applymutotheinputn0=(in[offset++]&0xFFL)<<56|(in[offset++]&0xFFL)<<48|(in[offset++]&0xFFL)<<40|(in[offset++]&0xFFL)<<32|(in[offset++]&0xFFL)<<24|(in[offset++]&0xFFL)<<16|(in[offset++]&0xFFL)<<8|(in[offset++]&0xFFL);n1=(in[offset++]&0xFFL)<<56|(in[offset++]&0xFFL)<<48|(in[off...
26,585
protected void transform(byte[] in, int offset) { // apply mu to the input n0 = (in[offset++] & 0xFFL) << 56 | (in[offset++] & 0xFFL) << 48 | (in[offset++] & 0xFFL) << 40 | (in[offset++] & 0xFFL) << 32 | (in[offset++] & 0xFFL) << 24 | (in[offset++] & 0xFFL) << 16 | (in[offse...
protectedvoidtransform(byte[]in,intoffset){//applymutotheinputn0=(in[offset++]&0xFFL)<<56|(in[offset++]&0xFFL)<<48|(in[offset++]&0xFFL)<<40|(in[offset++]&0xFFL)<<32|(in[offset++]&0xFFL)<<24|(in[offset++]&0xFFL)<<16|(in[offset++]&0xFFL)<<8|(in[offset++]&0xFFL);n1=(in[offset++]&0xFFL)<<56|(in[offset++]&0xFFL)<<48|(in[off...
26,586
protected void transform(byte[] in, int offset) { // apply mu to the input n0 = (in[offset++] & 0xFFL) << 56 | (in[offset++] & 0xFFL) << 48 | (in[offset++] & 0xFFL) << 40 | (in[offset++] & 0xFFL) << 32 | (in[offset++] & 0xFFL) << 24 | (in[offset++] & 0xFFL) << 16 | (in[offse...
protectedvoidtransform(byte[]in,intoffset){//applymutotheinputn0=(in[offset++]&0xFFL)<<56|(in[offset++]&0xFFL)<<48|(in[offset++]&0xFFL)<<40|(in[offset++]&0xFFL)<<32|(in[offset++]&0xFFL)<<24|(in[offset++]&0xFFL)<<16|(in[offset++]&0xFFL)<<8|(in[offset++]&0xFFL);n1=(in[offset++]&0xFFL)<<56|(in[offset++]&0xFFL)<<48|(in[off...
26,587
public static String toString(long n) { char[] b = new char[16]; for (int i = 15; i >= 0; i--) { b[i] = HEX_DIGITS[(int) (n & 0x0FL)]; n >>>= 4; } return new String(b); }
public static String toString(byte[] ba) { char[] b = new char[16]; for (int i = 15; i >= 0; i--) { b[i] = HEX_DIGITS[(int) (n & 0x0FL)]; n >>>= 4; } return new String(b); }
26,588
public static String toString(long n) { char[] b = new char[16]; for (int i = 15; i >= 0; i--) { b[i] = HEX_DIGITS[(int) (n & 0x0FL)]; n >>>= 4; } return new String(b); }
public static String toString(long n) { char[] b = new char[16]; for (int i = 15; i >= 0; i--) { b[i] = HEX_DIGITS[(int) (n & 0x0FL)]; n >>>= 4; } return new String(b); }
26,589
public abstract void addPropertyChangeListener(PropertyChangeListener listener);
public abstract void addPropertyChangeListener(PropertyChangeListener listener);
26,590
public abstract String getAsText();
public abstract String getAsText();
26,591
public abstract java.awt.Component getCustomEditor();
public abstract java.awt.Component getCustomEditor();
26,592
public abstract String getJavaInitializationString();
public abstract String getJavaInitializationString();
26,593
public abstract String[] getTags();
public abstract String[] getTags();
26,594
public abstract Object getValue();
public abstract Object getValue();
26,595
public abstract boolean isPaintable();
public abstract boolean isPaintable();
26,596
public abstract void paintValue(java.awt.Graphics g, java.awt.Rectangle bounds);
public abstract void paintValue(java.awt.Graphics g, java.awt.Rectangle bounds);
26,597
public abstract void removePropertyChangeListener(PropertyChangeListener listener);
public abstract void removePropertyChangeListener(PropertyChangeListener listener);
26,598
public abstract void setAsText(String text) throws IllegalArgumentException;
public abstract void setAsText(String text) throws IllegalArgumentException;
26,599
public abstract void setValue(Object value);
public abstract void setValue(Object value);
26,600
public abstract boolean supportsCustomEditor();
public abstract boolean supportsCustomEditor();
26,601
protected AssemblerModule(final Map labels) { this.labels = labels; }
protected AssemblerModule(final Map labels, final Map constants) { this.labels = labels; }
26,602
public static TextHitInfo afterOffset(int offset) { return new TextHitInfo(); }
public static TextHitInfo afterOffset(int offset) { return new TextHitInfo (offset, true); }
26,604
public static TextHitInfo beforeOffset(int offset) { return new TextHitInfo(); }
public static TextHitInfo beforeOffset(int offset) { return new TextHitInfo (offset, false); }
26,605
public int getCharIndex() { return -1; }
public int getCharIndex() { return charIndex; }
26,607
public int getInsertionIndex() { return -1; }
public int getInsertionIndex() { return (leadingEdge ? charIndex : charIndex + 1); }
26,608