rem stringlengths 0 477k | add stringlengths 0 313k | context stringlengths 6 599k | meta stringlengths 141 403 |
|---|---|---|---|
return null; | int n = sources.size(); for (int i=0; i<n; i+=1) { Variable src = (Variable) sources.get(i); Operand op = src.simplify(); if (op instanceof StackVariable || op instanceof LocalVariable) { sources.set(i, op); } else { src.getAssignQuad().setDeadCode(false); } } return this; | public Operand simplify() { return null; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/79bb5a92ef7c411cd222bab5d581025bb5cb5184/PhiOperand.java/buggy/core/src/core/org/jnode/vm/compiler/ir/PhiOperand.java |
throw new IllegalArgumentException("Undefined location"); | throw new IllegalArgumentException("Undefined location: " + toString()); | public int getAddressingMode() { if (location instanceof StackLocation) { return Operand.MODE_STACK; } else if (location instanceof RegisterLocation) { return Operand.MODE_REGISTER; } else { throw new IllegalArgumentException("Undefined location"); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/79bb5a92ef7c411cd222bab5d581025bb5cb5184/Variable.java/buggy/core/src/core/org/jnode/vm/compiler/ir/Variable.java |
public UnrecoverableKeyException(String msg) | public UnrecoverableKeyException() | public UnrecoverableKeyException(String msg) { super(msg); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/375948b746a7ee130ddcfdc51ac2e51092612050/UnrecoverableKeyException.java/clean/core/src/classpath/java/java/security/UnrecoverableKeyException.java |
super(msg); | public UnrecoverableKeyException(String msg) { super(msg); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/375948b746a7ee130ddcfdc51ac2e51092612050/UnrecoverableKeyException.java/clean/core/src/classpath/java/java/security/UnrecoverableKeyException.java | |
return out; | char[] resized = new char[out.remaining()]; out.get(resized); return CharBuffer.wrap(resized); | public final CharBuffer decode (ByteBuffer in) throws CharacterCodingException { // XXX: Sun's Javadoc seems to contradict itself saying an // IllegalStateException is thrown "if a decoding operation is already // in progress" and also that "it resets this Decoder". // Should we check to see that the ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b8e637e0e30ba94f0ced0046631656001119747a/CharsetDecoder.java/clean/core/src/classpath/java/java/nio/charset/CharsetDecoder.java |
public AbstractTest() | public AbstractTest(Class configClazz) | public AbstractTest() { super(); ConfigManager.initLog4j(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/71de30cef70ed49559631e899c09522b434db015/AbstractTest.java/clean/fs/src/test/org/jnode/test/support/AbstractTest.java |
this.configClazz = configClazz; | public AbstractTest() { super(); ConfigManager.initLog4j(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/71de30cef70ed49559631e899c09522b434db015/AbstractTest.java/clean/fs/src/test/org/jnode/test/support/AbstractTest.java | |
testConfig = ConfigManager.getInstance().getConfig(getClass(), getName()); | testConfig = ConfigManager.getInstance().getConfig(configClazz, getClass(), getName()); | final protected TestConfig getTestConfig() { if(testConfig == null) { testConfig = ConfigManager.getInstance().getConfig(getClass(), getName()); } return testConfig; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/71de30cef70ed49559631e899c09522b434db015/AbstractTest.java/clean/fs/src/test/org/jnode/test/support/AbstractTest.java |
Category.getRoot().setLevel(Level.FATAL); | public static void initLog4j() { if(!log4jInitialized && OsType.OTHER_OS.isCurrentOS()) { // configure Log4j only if outside of JNode // (because JNode has its own config for Log4j) try { // name must be of... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/71de30cef70ed49559631e899c09522b434db015/ConfigManager.java/buggy/fs/src/test/org/jnode/test/support/ConfigManager.java | |
public TestConfig getConfig(Class clazz, String testName) | public TestConfig getConfig(Class configClazz, Class clazz, String testName) | public TestConfig getConfig(Class clazz, String testName) { TestKey key = new TestKey(clazz, testName); Iterator it = (Iterator) iterators.get(key); if(it == null) { it = configs.iterator(); iterators.put(key, it); } TestConfig cfg = (TestCo... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/71de30cef70ed49559631e899c09522b434db015/ConfigManager.java/buggy/fs/src/test/org/jnode/test/support/ConfigManager.java |
it = configs.iterator(); | List cfgs = (List) configs.get(configClazz); it = cfgs.iterator(); | public TestConfig getConfig(Class clazz, String testName) { TestKey key = new TestKey(clazz, testName); Iterator it = (Iterator) iterators.get(key); if(it == null) { it = configs.iterator(); iterators.put(key, it); } TestConfig cfg = (TestCo... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/71de30cef70ed49559631e899c09522b434db015/ConfigManager.java/buggy/fs/src/test/org/jnode/test/support/ConfigManager.java |
log.info(key+" got config "+cfg); | public TestConfig getConfig(Class clazz, String testName) { TestKey key = new TestKey(clazz, testName); Iterator it = (Iterator) iterators.get(key); if(it == null) { it = configs.iterator(); iterators.put(key, it); } TestConfig cfg = (TestCo... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/71de30cef70ed49559631e899c09522b434db015/ConfigManager.java/buggy/fs/src/test/org/jnode/test/support/ConfigManager.java | |
public Book() { } | Book() { ; } | public Book() { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/Book.java/buggy/core/src/classpath/java/java/awt/print/Book.java |
public void append(Printable printable, PageFormat page_format) { | append(Printable printable, PageFormat page_format) { | public void append(Printable printable, PageFormat page_format) { append(printable, page_format, 1); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/Book.java/buggy/core/src/classpath/java/java/awt/print/Book.java |
} | } | public void append(Printable printable, PageFormat page_format) { append(printable, page_format, 1); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/Book.java/buggy/core/src/classpath/java/java/awt/print/Book.java |
public int getNumberOfPages() { return (printables.size()); } | getNumberOfPages() { return(printables.size()); } | public int getNumberOfPages() { return (printables.size()); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/Book.java/buggy/core/src/classpath/java/java/awt/print/Book.java |
public PageFormat getPageFormat(int page_number) { return ((PageFormat) page_formats.elementAt(page_number)); } | getPageFormat(int page_number) { return((PageFormat)page_formats.elementAt(page_number)); } | public PageFormat getPageFormat(int page_number) { return ((PageFormat) page_formats.elementAt(page_number)); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/Book.java/buggy/core/src/classpath/java/java/awt/print/Book.java |
public Printable getPrintable(int page_number) { return ((Printable) printables.elementAt(page_number)); } | getPrintable(int page_number) { return((Printable)printables.elementAt(page_number)); } | public Printable getPrintable(int page_number) { return ((Printable) printables.elementAt(page_number)); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/Book.java/buggy/core/src/classpath/java/java/awt/print/Book.java |
public void setPage(int page_num, Printable printable, PageFormat page_format) { | setPage(int page_num, Printable printable, PageFormat page_format) { | public void setPage(int page_num, Printable printable, PageFormat page_format) { printables.setElementAt(printable, page_num); page_formats.setElementAt(page_format, page_num); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/Book.java/buggy/core/src/classpath/java/java/awt/print/Book.java |
} | } | public void setPage(int page_num, Printable printable, PageFormat page_format) { printables.setElementAt(printable, page_num); page_formats.setElementAt(page_format, page_num); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/Book.java/buggy/core/src/classpath/java/java/awt/print/Book.java |
public void execute( ParsedArguments cmdLine, InputStream in, PrintStream out, PrintStream err) throws Exception { | public void execute(ParsedArguments cmdLine, InputStream in, PrintStream out, PrintStream err) throws Exception { | public void execute( ParsedArguments cmdLine, InputStream in, PrintStream out, PrintStream err) throws Exception { Class clazz = ARG_CLASS.getClass(cmdLine); TestRunner.run(clazz); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9212be4eb3f1a24c211f963f771f617a6e7e1a5e/TestCommand.java/buggy/shell/src/shell/org/jnode/shell/command/test/TestCommand.java |
Class clazz = ARG_CLASS.getClass(cmdLine); | Class clazz = ARG_CLASS.getClass(cmdLine); | public void execute( ParsedArguments cmdLine, InputStream in, PrintStream out, PrintStream err) throws Exception { Class clazz = ARG_CLASS.getClass(cmdLine); TestRunner.run(clazz); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9212be4eb3f1a24c211f963f771f617a6e7e1a5e/TestCommand.java/buggy/shell/src/shell/org/jnode/shell/command/test/TestCommand.java |
TestRunner.run(clazz); } | JNodeTestRunner.run(clazz); } | public void execute( ParsedArguments cmdLine, InputStream in, PrintStream out, PrintStream err) throws Exception { Class clazz = ARG_CLASS.getClass(cmdLine); TestRunner.run(clazz); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9212be4eb3f1a24c211f963f771f617a6e7e1a5e/TestCommand.java/buggy/shell/src/shell/org/jnode/shell/command/test/TestCommand.java |
public static void main(String[] args) throws Exception { new TestCommand().execute(HELP_INFO.parse(args), System.in, System.out, System.err); } | public static void main(String[] args) throws Exception { new TestCommand().execute(HELP_INFO.parse(args), System.in, System.out, System.err); } | public static void main(String[] args) throws Exception { new TestCommand().execute(HELP_INFO.parse(args), System.in, System.out, System.err); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9212be4eb3f1a24c211f963f771f617a6e7e1a5e/TestCommand.java/buggy/shell/src/shell/org/jnode/shell/command/test/TestCommand.java |
Register refReg, Register indexReg, Register valueReg) { writePUSH(refReg); writePUSH(indexReg); writePUSH(valueReg); invokeJavaMethod(context.getArrayStoreWriteBarrier(), context); | Register refReg, Register indexReg, Register valueReg, Register scratchReg) { final VmWriteBarrier wb = context.getWriteBarrier(); if (wb != null) { os.writeMOV_Const(scratchReg, wb); writePUSH(scratchReg); writePUSH(refReg); writePUSH(indexReg); writePUSH(valueReg); invokeJavaMethod(context.getArrayStoreWriteBarrier()... | public final void writeArrayStoreWriteBarrier(X86CompilerContext context, Register refReg, Register indexReg, Register valueReg) { writePUSH(refReg); writePUSH(indexReg); writePUSH(valueReg); invokeJavaMethod(context.getArrayStoreWriteBarrier(), context); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e4a473e34ef840c188ac5bf477d7d4e303019638/X86CompilerHelper.java/buggy/core/src/core/org/jnode/vm/x86/compiler/X86CompilerHelper.java |
VmInstanceField field, Register refReg, Register valueReg) { | VmInstanceField field, Register refReg, Register valueReg, Register scratchReg) { | public final void writePutfieldWriteBarrier(X86CompilerContext context, VmInstanceField field, Register refReg, Register valueReg) { if (field.isObjectRef()) { writePUSH(refReg); writePUSH(field.getOffset()); writePUSH(valueReg); invokeJavaMethod(context... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e4a473e34ef840c188ac5bf477d7d4e303019638/X86CompilerHelper.java/buggy/core/src/core/org/jnode/vm/x86/compiler/X86CompilerHelper.java |
writePUSH(refReg); writePUSH(field.getOffset()); writePUSH(valueReg); invokeJavaMethod(context.getPutfieldWriteBarrier(), context); | final VmWriteBarrier wb = context.getWriteBarrier(); if (wb != null) { os.writeMOV_Const(scratchReg, wb); writePUSH(scratchReg); writePUSH(refReg); writePUSH(field.getOffset()); writePUSH(valueReg); invokeJavaMethod(context.getPutfieldWriteBarrier(), context); } | public final void writePutfieldWriteBarrier(X86CompilerContext context, VmInstanceField field, Register refReg, Register valueReg) { if (field.isObjectRef()) { writePUSH(refReg); writePUSH(field.getOffset()); writePUSH(valueReg); invokeJavaMethod(context... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e4a473e34ef840c188ac5bf477d7d4e303019638/X86CompilerHelper.java/buggy/core/src/core/org/jnode/vm/x86/compiler/X86CompilerHelper.java |
VmStaticField field, Register valueReg) { | VmStaticField field, Register valueReg, Register scratchReg) { | public final void writePutstaticWriteBarrier(X86CompilerContext context, VmStaticField field, Register valueReg) { if (field.isObjectRef()) { writePUSH(field.getStaticsIndex()); writePUSH(valueReg); invokeJavaMethod(context.getPutstaticWriteBarrier(), context); ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e4a473e34ef840c188ac5bf477d7d4e303019638/X86CompilerHelper.java/buggy/core/src/core/org/jnode/vm/x86/compiler/X86CompilerHelper.java |
writePUSH(field.getStaticsIndex()); writePUSH(valueReg); invokeJavaMethod(context.getPutstaticWriteBarrier(), context); | final VmWriteBarrier wb = context.getWriteBarrier(); if (wb != null) { os.writeMOV_Const(scratchReg, wb); writePUSH(scratchReg); writePUSH(field.getStaticsIndex()); writePUSH(valueReg); invokeJavaMethod(context.getPutstaticWriteBarrier(), context); } | public final void writePutstaticWriteBarrier(X86CompilerContext context, VmStaticField field, Register valueReg) { if (field.isObjectRef()) { writePUSH(field.getStaticsIndex()); writePUSH(valueReg); invokeJavaMethod(context.getPutstaticWriteBarrier(), context); ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e4a473e34ef840c188ac5bf477d7d4e303019638/X86CompilerHelper.java/buggy/core/src/core/org/jnode/vm/x86/compiler/X86CompilerHelper.java |
caretBlinkTimer = new CaretBlinkTimer(); | public JTextComponent() { Keymap defkeymap = getKeymap(DEFAULT_KEYMAP); boolean creatingKeymap = false; if (defkeymap == null) { defkeymap = addKeymap(DEFAULT_KEYMAP, null); defkeymap.setDefaultAction(new DefaultEditorKit.DefaultKeyTypedAction()); creatingKeymap = true; } c... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/74171de2560e91a8fc81940ffc40e047ca41f4a0/JTextComponent.java/buggy/core/src/classpath/javax/javax/swing/text/JTextComponent.java | |
end = Math.max(end, 0); | end = Math.max(end, start); | public void select(int start, int end) { int length = doc.getLength(); start = Math.max(start, 0); start = Math.min(start, length); end = Math.max(end, 0); end = Math.min(end, length); setCaretPosition(start); moveCaretPosition(end); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/74171de2560e91a8fc81940ffc40e047ca41f4a0/JTextComponent.java/buggy/core/src/classpath/javax/javax/swing/text/JTextComponent.java |
caretBlinkTimer.update(); | public void setCaret(Caret newCaret) { if (caret != null) caret.deinstall(this); Caret oldCaret = caret; caret = newCaret; caretBlinkTimer.update(); if (caret != null) caret.install(this); firePropertyChange("caret", oldCaret, newCaret); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/74171de2560e91a8fc81940ffc40e047ca41f4a0/JTextComponent.java/buggy/core/src/classpath/javax/javax/swing/text/JTextComponent.java | |
if (newValue == true) caretBlinkTimer.start(); else { caretBlinkTimer.stop(); caret.setVisible(false); } | public void setEditable(boolean newValue) { if (editable == newValue) return; if (newValue == true) caretBlinkTimer.start(); else { caretBlinkTimer.stop(); caret.setVisible(false); } boolean oldValue = editable; editable = newValue; firePropertyChange("editable", o... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/74171de2560e91a8fc81940ffc40e047ca41f4a0/JTextComponent.java/buggy/core/src/classpath/javax/javax/swing/text/JTextComponent.java | |
StringSelection(String data) { | public StringSelection(String data) { | StringSelection(String data){ this.data = data;} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/099941e739b24ffc71faddc589f984d1cda55549/StringSelection.java/buggy/core/src/classpath/java/java/awt/datatransfer/StringSelection.java |
} | } | StringSelection(String data){ this.data = data;} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/099941e739b24ffc71faddc589f984d1cda55549/StringSelection.java/buggy/core/src/classpath/java/java/awt/datatransfer/StringSelection.java |
public abstract DataFlavor[] getTransferDataFlavors(); | DataFlavor[] getTransferDataFlavors(); | public abstract DataFlavor[] getTransferDataFlavors(); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/Transferable.java/buggy/core/src/classpath/java/java/awt/datatransfer/Transferable.java |
protected Calendar() { | protected Calendar() { | protected Calendar() { this(TimeZone.getDefault(), Locale.getDefault()); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9c8ba1312039f97852fd91c0a945f0d4cc2ee9e6/Calendar.java/buggy/core/src/classpath/java/java/util/Calendar.java |
public boolean after(Object o) { | public boolean after(Object o) { | public boolean after(Object o) { return getTimeInMillis() > ((Calendar) o).getTimeInMillis(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9c8ba1312039f97852fd91c0a945f0d4cc2ee9e6/Calendar.java/buggy/core/src/classpath/java/java/util/Calendar.java |
public boolean before(Object o) { | public boolean before(Object o) { | public boolean before(Object o) { return getTimeInMillis() < ((Calendar) o).getTimeInMillis(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9c8ba1312039f97852fd91c0a945f0d4cc2ee9e6/Calendar.java/buggy/core/src/classpath/java/java/util/Calendar.java |
public final void clear() { | public final void clear() { | public final void clear() { isTimeSet = false; areFieldsSet = false; for (int i = 0; i < FIELD_COUNT; i++) { isSet[i] = false; fields[i] = 0; } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9c8ba1312039f97852fd91c0a945f0d4cc2ee9e6/Calendar.java/buggy/core/src/classpath/java/java/util/Calendar.java |
for (int i = 0; i < FIELD_COUNT; i++) { | for (int i = 0; i < FIELD_COUNT; i++) { | public final void clear() { isTimeSet = false; areFieldsSet = false; for (int i = 0; i < FIELD_COUNT; i++) { isSet[i] = false; fields[i] = 0; } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9c8ba1312039f97852fd91c0a945f0d4cc2ee9e6/Calendar.java/buggy/core/src/classpath/java/java/util/Calendar.java |
public Object clone() { try { | public Object clone() { try { | public Object clone() { try { Calendar cal = (Calendar) super.clone(); cal.fields = (int[]) fields.clone(); cal.isSet = (boolean[]) isSet.clone(); return cal; } catch (CloneNotSupportedException ex) { return null; } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9c8ba1312039f97852fd91c0a945f0d4cc2ee9e6/Calendar.java/buggy/core/src/classpath/java/java/util/Calendar.java |
cal.isSet = (boolean[]) isSet.clone(); | cal.isSet = (boolean[])isSet.clone(); | public Object clone() { try { Calendar cal = (Calendar) super.clone(); cal.fields = (int[]) fields.clone(); cal.isSet = (boolean[]) isSet.clone(); return cal; } catch (CloneNotSupportedException ex) { return null; } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9c8ba1312039f97852fd91c0a945f0d4cc2ee9e6/Calendar.java/buggy/core/src/classpath/java/java/util/Calendar.java |
} catch (CloneNotSupportedException ex) { | } catch (CloneNotSupportedException ex) { | public Object clone() { try { Calendar cal = (Calendar) super.clone(); cal.fields = (int[]) fields.clone(); cal.isSet = (boolean[]) isSet.clone(); return cal; } catch (CloneNotSupportedException ex) { return null; } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9c8ba1312039f97852fd91c0a945f0d4cc2ee9e6/Calendar.java/buggy/core/src/classpath/java/java/util/Calendar.java |
protected void complete() { | protected void complete() { | protected void complete() { if (!isTimeSet) computeTime(); if (!areFieldsSet) computeFields(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9c8ba1312039f97852fd91c0a945f0d4cc2ee9e6/Calendar.java/buggy/core/src/classpath/java/java/util/Calendar.java |
public boolean equals(Object o) { | public boolean equals(Object o) { | public boolean equals(Object o) { return (o instanceof Calendar) && getTimeInMillis() == ((Calendar) o).getTimeInMillis(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9c8ba1312039f97852fd91c0a945f0d4cc2ee9e6/Calendar.java/buggy/core/src/classpath/java/java/util/Calendar.java |
public final int get(int field) { | public int get(int field) { | public final int get(int field) { // If the requested field is invalid, force all fields to be recomputed. if (!isSet[field]) areFieldsSet = false; complete(); return fields[field]; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9c8ba1312039f97852fd91c0a945f0d4cc2ee9e6/Calendar.java/buggy/core/src/classpath/java/java/util/Calendar.java |
public abstract int getActualMaximum(int field); | public int getActualMaximum(int field) { Calendar tmp = (Calendar)clone(); int max = tmp.getLeastMaximum(field); int end = tmp.getMaximum(field); tmp.set(field, max); for (; max < end; max++) { tmp.add(field, 1); if (tmp.get(field) != max + 1) break; } return max; } | public abstract int getActualMaximum(int field); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9c8ba1312039f97852fd91c0a945f0d4cc2ee9e6/Calendar.java/buggy/core/src/classpath/java/java/util/Calendar.java |
public abstract int getActualMinimum(int field); | public int getActualMinimum(int field) { Calendar tmp = (Calendar)clone(); int min = tmp.getGreatestMinimum(field); int end = tmp.getMinimum(field); tmp.set(field, min); for (; min > end; min--) { tmp.add(field, -1); if (tmp.get(field) != min - 1) break; } return min; } | public abstract int getActualMinimum(int field); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9c8ba1312039f97852fd91c0a945f0d4cc2ee9e6/Calendar.java/buggy/core/src/classpath/java/java/util/Calendar.java |
public static synchronized Locale[] getAvailableLocales() { ResourceBundle rb = ResourceBundle.getBundle(bundleName, new Locale("", "")); | public static synchronized Locale[] getAvailableLocales() { ResourceBundle rb = getBundle(new Locale("", "")); | public static synchronized Locale[] getAvailableLocales() { ResourceBundle rb = ResourceBundle.getBundle(bundleName, new Locale("", "")); return (Locale[]) rb.getObject("availableLocales"); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9c8ba1312039f97852fd91c0a945f0d4cc2ee9e6/Calendar.java/buggy/core/src/classpath/java/java/util/Calendar.java |
public int getFirstDayOfWeek() { | public int getFirstDayOfWeek() { | public int getFirstDayOfWeek() { return firstDayOfWeek; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9c8ba1312039f97852fd91c0a945f0d4cc2ee9e6/Calendar.java/buggy/core/src/classpath/java/java/util/Calendar.java |
public static synchronized Calendar getInstance() { | public static synchronized Calendar getInstance() { | public static synchronized Calendar getInstance() { return getInstance(TimeZone.getDefault(), Locale.getDefault()); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9c8ba1312039f97852fd91c0a945f0d4cc2ee9e6/Calendar.java/buggy/core/src/classpath/java/java/util/Calendar.java |
public int getMinimalDaysInFirstWeek() { | public int getMinimalDaysInFirstWeek() { | public int getMinimalDaysInFirstWeek() { return minimalDaysInFirstWeek; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9c8ba1312039f97852fd91c0a945f0d4cc2ee9e6/Calendar.java/buggy/core/src/classpath/java/java/util/Calendar.java |
public final Date getTime() { | public final Date getTime() { | public final Date getTime() { if (!isTimeSet) computeTime(); return new Date(time); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9c8ba1312039f97852fd91c0a945f0d4cc2ee9e6/Calendar.java/buggy/core/src/classpath/java/java/util/Calendar.java |
public long getTimeInMillis() { | public long getTimeInMillis() { | public long getTimeInMillis() { if (!isTimeSet) computeTime(); return time; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9c8ba1312039f97852fd91c0a945f0d4cc2ee9e6/Calendar.java/buggy/core/src/classpath/java/java/util/Calendar.java |
public TimeZone getTimeZone() { | public TimeZone getTimeZone() { | public TimeZone getTimeZone() { return zone; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9c8ba1312039f97852fd91c0a945f0d4cc2ee9e6/Calendar.java/buggy/core/src/classpath/java/java/util/Calendar.java |
public int hashCode() { | public int hashCode() { | public int hashCode() { long time = getTimeInMillis(); return (int) ((time & 0xffffffffL) ^ (time >> 32)); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9c8ba1312039f97852fd91c0a945f0d4cc2ee9e6/Calendar.java/buggy/core/src/classpath/java/java/util/Calendar.java |
protected final int internalGet(int field) { | protected final int internalGet(int field) { | protected final int internalGet(int field) { return fields[field]; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9c8ba1312039f97852fd91c0a945f0d4cc2ee9e6/Calendar.java/buggy/core/src/classpath/java/java/util/Calendar.java |
public boolean isLenient() { | public boolean isLenient() { | public boolean isLenient() { return lenient; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9c8ba1312039f97852fd91c0a945f0d4cc2ee9e6/Calendar.java/buggy/core/src/classpath/java/java/util/Calendar.java |
public final boolean isSet(int field) { | public final boolean isSet(int field) { | public final boolean isSet(int field) { return isSet[field]; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9c8ba1312039f97852fd91c0a945f0d4cc2ee9e6/Calendar.java/buggy/core/src/classpath/java/java/util/Calendar.java |
throws IOException, ClassNotFoundException { | throws IOException, ClassNotFoundException { | private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException { stream.defaultReadObject(); if (!isTimeSet) computeTime(); if (serialVersionOnStream > 1) { // This is my interpretation of the serial number: // Sun wants to remove all fields from the stream someday // and will... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9c8ba1312039f97852fd91c0a945f0d4cc2ee9e6/Calendar.java/buggy/core/src/classpath/java/java/util/Calendar.java |
if (serialVersionOnStream > 1) { | if (serialVersionOnStream > 1) { | private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException { stream.defaultReadObject(); if (!isTimeSet) computeTime(); if (serialVersionOnStream > 1) { // This is my interpretation of the serial number: // Sun wants to remove all fields from the stream someday // and will... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9c8ba1312039f97852fd91c0a945f0d4cc2ee9e6/Calendar.java/buggy/core/src/classpath/java/java/util/Calendar.java |
public final void set(int field, int value) { | public void set(int field, int value) { | public final void set(int field, int value) { isTimeSet = false; fields[field] = value; isSet[field] = true; switch (field) { case YEAR : case MONTH : case DATE : isSet[WEEK_OF_YEAR] = false; isSet[DAY_OF_YEAR] = false; isSet[WEEK_OF_MONTH] = false; isSet[DAY_OF_WEEK] = false; isSet[DAY_OF_WEE... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9c8ba1312039f97852fd91c0a945f0d4cc2ee9e6/Calendar.java/buggy/core/src/classpath/java/java/util/Calendar.java |
switch (field) { case YEAR : case MONTH : case DATE : | switch (field) { case YEAR: case MONTH: case DATE: | public final void set(int field, int value) { isTimeSet = false; fields[field] = value; isSet[field] = true; switch (field) { case YEAR : case MONTH : case DATE : isSet[WEEK_OF_YEAR] = false; isSet[DAY_OF_YEAR] = false; isSet[WEEK_OF_MONTH] = false; isSet[DAY_OF_WEEK] = false; isSet[DAY_OF_WEE... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9c8ba1312039f97852fd91c0a945f0d4cc2ee9e6/Calendar.java/buggy/core/src/classpath/java/java/util/Calendar.java |
case AM_PM : | case AM_PM: | public final void set(int field, int value) { isTimeSet = false; fields[field] = value; isSet[field] = true; switch (field) { case YEAR : case MONTH : case DATE : isSet[WEEK_OF_YEAR] = false; isSet[DAY_OF_YEAR] = false; isSet[WEEK_OF_MONTH] = false; isSet[DAY_OF_WEEK] = false; isSet[DAY_OF_WEE... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9c8ba1312039f97852fd91c0a945f0d4cc2ee9e6/Calendar.java/buggy/core/src/classpath/java/java/util/Calendar.java |
case HOUR_OF_DAY : | case HOUR_OF_DAY: | public final void set(int field, int value) { isTimeSet = false; fields[field] = value; isSet[field] = true; switch (field) { case YEAR : case MONTH : case DATE : isSet[WEEK_OF_YEAR] = false; isSet[DAY_OF_YEAR] = false; isSet[WEEK_OF_MONTH] = false; isSet[DAY_OF_WEEK] = false; isSet[DAY_OF_WEE... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9c8ba1312039f97852fd91c0a945f0d4cc2ee9e6/Calendar.java/buggy/core/src/classpath/java/java/util/Calendar.java |
case HOUR : | case HOUR: | public final void set(int field, int value) { isTimeSet = false; fields[field] = value; isSet[field] = true; switch (field) { case YEAR : case MONTH : case DATE : isSet[WEEK_OF_YEAR] = false; isSet[DAY_OF_YEAR] = false; isSet[WEEK_OF_MONTH] = false; isSet[DAY_OF_WEEK] = false; isSet[DAY_OF_WEE... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9c8ba1312039f97852fd91c0a945f0d4cc2ee9e6/Calendar.java/buggy/core/src/classpath/java/java/util/Calendar.java |
public void setFirstDayOfWeek(int value) { | public void setFirstDayOfWeek(int value) { | public void setFirstDayOfWeek(int value) { firstDayOfWeek = value; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9c8ba1312039f97852fd91c0a945f0d4cc2ee9e6/Calendar.java/buggy/core/src/classpath/java/java/util/Calendar.java |
public void setLenient(boolean lenient) { | public void setLenient(boolean lenient) { | public void setLenient(boolean lenient) { this.lenient = lenient; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9c8ba1312039f97852fd91c0a945f0d4cc2ee9e6/Calendar.java/buggy/core/src/classpath/java/java/util/Calendar.java |
public void setMinimalDaysInFirstWeek(int value) { | public void setMinimalDaysInFirstWeek(int value) { | public void setMinimalDaysInFirstWeek(int value) { minimalDaysInFirstWeek = value; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9c8ba1312039f97852fd91c0a945f0d4cc2ee9e6/Calendar.java/buggy/core/src/classpath/java/java/util/Calendar.java |
public final void setTime(Date date) { | public final void setTime(Date date) { | public final void setTime(Date date) { setTimeInMillis(date.getTime()); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9c8ba1312039f97852fd91c0a945f0d4cc2ee9e6/Calendar.java/buggy/core/src/classpath/java/java/util/Calendar.java |
public void setTimeInMillis(long time) { | public void setTimeInMillis(long time) { | public void setTimeInMillis(long time) { this.time = time; isTimeSet = true; computeFields(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9c8ba1312039f97852fd91c0a945f0d4cc2ee9e6/Calendar.java/buggy/core/src/classpath/java/java/util/Calendar.java |
public void setTimeZone(TimeZone zone) { | public void setTimeZone(TimeZone zone) { | public void setTimeZone(TimeZone zone) { this.zone = zone; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9c8ba1312039f97852fd91c0a945f0d4cc2ee9e6/Calendar.java/buggy/core/src/classpath/java/java/util/Calendar.java |
public String toString() { | public String toString() { | public String toString() { StringBuffer sb = new StringBuffer(); sb.append(getClass().getName()).append('['); sb.append("time="); if (isTimeSet) sb.append(time); else sb.append("?"); sb.append(",zone=" + zone); sb.append(",areFieldsSet=" + areFieldsSet); for (int i = 0; i < FIELD_COUNT; i++) { sb.append(... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9c8ba1312039f97852fd91c0a945f0d4cc2ee9e6/Calendar.java/buggy/core/src/classpath/java/java/util/Calendar.java |
for (int i = 0; i < FIELD_COUNT; i++) { | for (int i = 0; i < FIELD_COUNT; i++) { | public String toString() { StringBuffer sb = new StringBuffer(); sb.append(getClass().getName()).append('['); sb.append("time="); if (isTimeSet) sb.append(time); else sb.append("?"); sb.append(",zone=" + zone); sb.append(",areFieldsSet=" + areFieldsSet); for (int i = 0; i < FIELD_COUNT; i++) { sb.append(... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9c8ba1312039f97852fd91c0a945f0d4cc2ee9e6/Calendar.java/buggy/core/src/classpath/java/java/util/Calendar.java |
private void writeObject(ObjectOutputStream stream) throws IOException { | private void writeObject(ObjectOutputStream stream) throws IOException { | private void writeObject(ObjectOutputStream stream) throws IOException { if (!isTimeSet) computeTime(); stream.defaultWriteObject(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9c8ba1312039f97852fd91c0a945f0d4cc2ee9e6/Calendar.java/buggy/core/src/classpath/java/java/util/Calendar.java |
triggerSize = (int)Math.min(Integer.MAX_VALUE, getTotalMemory() / 5); | triggerSize = (int)Math.min(Integer.MAX_VALUE, getFreeMemory() * GC_TRIGGER_PERCENTAGE); | public void start() { // Create a Heap monitor heapMonitor = new Monitor(); final VmArchitecture arch = Unsafe.getCurrentProcessor().getArchitecture(); final GCManager gcManager = new GCManager(this, arch, statics); this.gcThread = new GCThread(gcManager, heapMonitor); this.finalizerThread = new FinalizerThread(... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/5add1e9b26deeb1dc452b72e8a6c6dd9b3fdd31f/DefaultHeapManager.java/clean/core/src/core/org/jnode/vm/memmgr/def/DefaultHeapManager.java |
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 >>> 32), (byte) (h1 >>> 24), (byte) (h1 >>> 16), (byte) (h1 >>> 8), (byte) h1, ... | 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 >>> 32), (byte)(h1 >>> 24), (byte)(h1 >>> 16), (byte)(h1 >>> 8), (byte) h1, (byte)(h2 >>... | protected byte[] getResult() { 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... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2b9abb5a0b9bbcfe80809713d541a098ef473321/Sha512.java/clean/core/src/classpath/gnu/gnu/java/security/hash/Sha512.java |
int n = (int) (count % BLOCK_SIZE); | int n = (int)(count % BLOCK_SIZE); | protected byte[] padBuffer() { int n = (int) (count % BLOCK_SIZE); int padding = (n < 112) ? (112 - n) : (240 - n); byte[] result = new byte[padding + 16]; // padding is always binary 1 followed by binary 0s result[0] = (byte) 0x80; // save number of bits, casting the long to an array of 8 bytes ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2b9abb5a0b9bbcfe80809713d541a098ef473321/Sha512.java/clean/core/src/classpath/gnu/gnu/java/security/hash/Sha512.java |
protected byte[] padBuffer() { int n = (int) (count % BLOCK_SIZE); int padding = (n < 112) ? (112 - n) : (240 - n); byte[] result = new byte[padding + 16]; // padding is always binary 1 followed by binary 0s result[0] = (byte) 0x80; // save number of bits, casting the long to an array of 8 bytes ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2b9abb5a0b9bbcfe80809713d541a098ef473321/Sha512.java/clean/core/src/classpath/gnu/gnu/java/security/hash/Sha512.java | ||
protected byte[] padBuffer() { int n = (int) (count % BLOCK_SIZE); int padding = (n < 112) ? (112 - n) : (240 - n); byte[] result = new byte[padding + 16]; // padding is always binary 1 followed by binary 0s result[0] = (byte) 0x80; // save number of bits, casting the long to an array of 8 bytes ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2b9abb5a0b9bbcfe80809713d541a098ef473321/Sha512.java/clean/core/src/classpath/gnu/gnu/java/security/hash/Sha512.java | ||
result[padding++] = (byte) (bits >>> 56); result[padding++] = (byte) (bits >>> 48); result[padding++] = (byte) (bits >>> 40); result[padding++] = (byte) (bits >>> 32); result[padding++] = (byte) (bits >>> 24); result[padding++] = (byte) (bits >>> 16); result[padding++] = (byte) (bits >>> 8); result[padding] = (byte) bi... | result[padding++] = (byte)(bits >>> 56); result[padding++] = (byte)(bits >>> 48); result[padding++] = (byte)(bits >>> 40); result[padding++] = (byte)(bits >>> 32); result[padding++] = (byte)(bits >>> 24); result[padding++] = (byte)(bits >>> 16); result[padding++] = (byte)(bits >>> 8); result[padding ] = (byte) bits; | protected byte[] padBuffer() { int n = (int) (count % BLOCK_SIZE); int padding = (n < 112) ? (112 - n) : (240 - n); byte[] result = new byte[padding + 16]; // padding is always binary 1 followed by binary 0s result[0] = (byte) 0x80; // save number of bits, casting the long to an array of 8 bytes ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2b9abb5a0b9bbcfe80809713d541a098ef473321/Sha512.java/clean/core/src/classpath/gnu/gnu/java/security/hash/Sha512.java |
private static final synchronized long[] sha(long hh0, long hh1, long hh2, | private static synchronized final long[] sha(long hh0, long hh1, long hh2, | private static final synchronized long[] sha(long hh0, long hh1, long hh2, long hh3, long hh4, long hh5, long hh6, long hh7, byte[] in, int offset) { long A = hh0; long B = ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2b9abb5a0b9bbcfe80809713d541a098ef473321/Sha512.java/clean/core/src/classpath/gnu/gnu/java/security/hash/Sha512.java |
private static final synchronized long[] sha(long hh0, long hh1, long hh2, long hh3, long hh4, long hh5, long hh6, long hh7, byte[] in, int offset) { long A = hh0; long B = ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2b9abb5a0b9bbcfe80809713d541a098ef473321/Sha512.java/clean/core/src/classpath/gnu/gnu/java/security/hash/Sha512.java | ||
{ w[r] = (long) in[offset++] << 56 | ((long) in[offset++] & 0xFF) << 48 | w[r] = (long) in[offset++] << 56 | ((long) in[offset++] & 0xFF) << 48 | private static final synchronized long[] sha(long hh0, long hh1, long hh2, long hh3, long hh4, long hh5, long hh6, long hh7, byte[] in, int offset) { long A = hh0; long B = ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2b9abb5a0b9bbcfe80809713d541a098ef473321/Sha512.java/clean/core/src/classpath/gnu/gnu/java/security/hash/Sha512.java |
} | private static final synchronized long[] sha(long hh0, long hh1, long hh2, long hh3, long hh4, long hh5, long hh6, long hh7, byte[] in, int offset) { long A = hh0; long B = ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2b9abb5a0b9bbcfe80809713d541a098ef473321/Sha512.java/clean/core/src/classpath/gnu/gnu/java/security/hash/Sha512.java | |
+ (((T2 >>> 1) | (T2 << 63)) ^ ((T2 >>> 8) | (T2 << 56)) ^ (T2 >>> 7)) | + (((T2 >>> 1) | (T2 << 63)) ^ ((T2 >>> 8) | (T2 << 56)) ^ (T2 >>> 7)) | private static final synchronized long[] sha(long hh0, long hh1, long hh2, long hh3, long hh4, long hh5, long hh6, long hh7, byte[] in, int offset) { long A = hh0; long B = ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2b9abb5a0b9bbcfe80809713d541a098ef473321/Sha512.java/clean/core/src/classpath/gnu/gnu/java/security/hash/Sha512.java |
private static final synchronized long[] sha(long hh0, long hh1, long hh2, long hh3, long hh4, long hh5, long hh6, long hh7, byte[] in, int offset) { long A = hh0; long B = ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2b9abb5a0b9bbcfe80809713d541a098ef473321/Sha512.java/clean/core/src/classpath/gnu/gnu/java/security/hash/Sha512.java | ||
+ (((E >>> 14) | (E << 50)) ^ ((E >>> 18) | (E << 46)) ^ ((E >>> 41) | (E << 23))) | + (((E >>> 14) | (E << 50)) ^ ((E >>> 18) | (E << 46)) ^ ((E >>> 41) | (E << 23))) | private static final synchronized long[] sha(long hh0, long hh1, long hh2, long hh3, long hh4, long hh5, long hh6, long hh7, byte[] in, int offset) { long A = hh0; long B = ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2b9abb5a0b9bbcfe80809713d541a098ef473321/Sha512.java/clean/core/src/classpath/gnu/gnu/java/security/hash/Sha512.java |
T2 = (((A >>> 28) | (A << 36)) ^ ((A >>> 34) | (A << 30)) ^ ((A >>> 39) | (A << 25))) | T2 = (((A >>> 28) | (A << 36)) ^ ((A >>> 34) | (A << 30)) ^ ((A >>> 39) | (A << 25))) | private static final synchronized long[] sha(long hh0, long hh1, long hh2, long hh3, long hh4, long hh5, long hh6, long hh7, byte[] in, int offset) { long A = hh0; long B = ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2b9abb5a0b9bbcfe80809713d541a098ef473321/Sha512.java/clean/core/src/classpath/gnu/gnu/java/security/hash/Sha512.java |
return new long[] { hh0 + A, hh1 + B, hh2 + C, hh3 + D, hh4 + E, hh5 + F, hh6 + G, hh7 + H }; | return new long[] { hh0 + A, hh1 + B, hh2 + C, hh3 + D, hh4 + E, hh5 + F, hh6 + G, hh7 + H }; | private static final synchronized long[] sha(long hh0, long hh1, long hh2, long hh3, long hh4, long hh5, long hh6, long hh7, byte[] in, int offset) { long A = hh0; long B = ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2b9abb5a0b9bbcfe80809713d541a098ef473321/Sha512.java/clean/core/src/classpath/gnu/gnu/java/security/hash/Sha512.java |
protected void transform(byte[] in, int offset) { long[] result = sha(h0, h1, h2, h3, h4, h5, h6, h7, in, offset); h0 = result[0]; h1 = result[1]; h2 = result[2]; h3 = result[3]; h4 = result[4]; h5 = result[5]; h6 = result[6]; h7 = result[7]; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2b9abb5a0b9bbcfe80809713d541a098ef473321/Sha512.java/clean/core/src/classpath/gnu/gnu/java/security/hash/Sha512.java | ||
public static void setLookAndFeel(LookAndFeel newLookAndFeel) throws UnsupportedLookAndFeelException { if (newLookAndFeel != null && ! newLookAndFeel.isSupportedLookAndFeel()) throw new UnsupportedLookAndFeelException(newLookAndFeel.getName()); LookAndFeel oldLookAndFeel = currentLookAndFeel; if... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e8a49a412752cdcc88a774cac2de160a23c6f550/UIManager.java/buggy/core/src/classpath/javax/javax/swing/UIManager.java | ||
if (editor != null) editor.setBounds(rectangleForCurrentValue()); | public void layoutContainer(Container parent) { // Position editor component to the left of arrow button if combo box is // editable Insets i = getInsets(); int arrowSize = comboBox.getHeight() - (i.top + i.bottom); int editorWidth = comboBox.getBounds().width - arrowSize; if (edit... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2fe995482ddd93e201e63c55d9ab773c376aa6f3/BasicComboBoxUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicComboBoxUI.java | |
if (editor != null) editor.setBounds(rectangleForCurrentValue()); | public void layoutContainer(Container parent) { // Position editor component to the left of arrow button if combo box is // editable Insets i = getInsets(); int arrowSize = comboBox.getHeight() - (i.top + i.bottom); int editorWidth = comboBox.getBounds().width - arrowSize; if (edit... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2fe995482ddd93e201e63c55d9ab773c376aa6f3/BasicComboBoxUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicComboBoxUI.java | |
int h = comp.getPreferredSize().height; | Dimension d = comp.getPreferredSize(); | protected Dimension getDefaultSize() { Component comp = DEFAULT_RENDERER.getListCellRendererComponent(listBox, " ", -1, false, ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2fe995482ddd93e201e63c55d9ab773c376aa6f3/BasicComboBoxUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicComboBoxUI.java |
return new Dimension(100, h); | return d; | protected Dimension getDefaultSize() { Component comp = DEFAULT_RENDERER.getListCellRendererComponent(listBox, " ", -1, false, ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2fe995482ddd93e201e63c55d9ab773c376aa6f3/BasicComboBoxUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicComboBoxUI.java |
if (comboBox.isEditable() && comboBox.getModel().getSize() == 0) return new Dimension(100, editor.getPreferredSize().height); | protected Dimension getDisplaySize() { if (comboBox.isEditable() && comboBox.getModel().getSize() == 0) return new Dimension(100, editor.getPreferredSize().height); Dimension dim = new Dimension(); ListCellRenderer renderer = comboBox.getRenderer(); ComboBoxModel model = comboBox.getModel(); if (... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2fe995482ddd93e201e63c55d9ab773c376aa6f3/BasicComboBoxUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicComboBoxUI.java | |
ComboBoxModel model = comboBox.getModel(); if (renderer != null && model.getSize() > 0) | if (renderer == null) | protected Dimension getDisplaySize() { if (comboBox.isEditable() && comboBox.getModel().getSize() == 0) return new Dimension(100, editor.getPreferredSize().height); Dimension dim = new Dimension(); ListCellRenderer renderer = comboBox.getRenderer(); ComboBoxModel model = comboBox.getModel(); if (... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2fe995482ddd93e201e63c55d9ab773c376aa6f3/BasicComboBoxUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicComboBoxUI.java |
renderer = DEFAULT_RENDERER; } Object prototype = comboBox.getPrototypeDisplayValue(); if (prototype != null) { Component comp = renderer.getListCellRendererComponent (listBox, prototype, -1, false, false); currentValuePane.add(comp); comp.setFont(comboBox.getFont()); Dimension renderSize = comp.getPreferredSize(); cu... | protected Dimension getDisplaySize() { if (comboBox.isEditable() && comboBox.getModel().getSize() == 0) return new Dimension(100, editor.getPreferredSize().height); Dimension dim = new Dimension(); ListCellRenderer renderer = comboBox.getRenderer(); ComboBoxModel model = comboBox.getModel(); if (... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2fe995482ddd93e201e63c55d9ab773c376aa6f3/BasicComboBoxUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicComboBoxUI.java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.