bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
public void insert_wstring(String a_x) throws InvalidValue, TypeMismatch { try { if (a_x != null && final_type.length() > 0 && a_x.length() > type().length() ) throw new InvalidValue(a_x.length() + " exceeds bound, " + ... | public void insert_wstring(String a_x) throws InvalidValue, TypeMismatch { try { if (a_x != null && final_type.length() > 0 && a_x.length() > type().length() ) throw new InvalidValue(a_x.length() + " exceeds bound, " + ... | 39,384 |
public EventQueue() { } | public EventQueue() { } | 39,385 |
protected void dispatchEvent(AWTEvent evt) { if (evt instanceof ActiveEvent) { ActiveEvent active_evt = (ActiveEvent) evt; active_evt.dispatch(); } else { Object source = evt.getSource(); if (source instanceof Component) { Component srccmp = (Component) source; srccmp.dispatchEvent(evt); } else if (s... | protected void dispatchEvent(AWTEvent evt) { if (evt instanceof ActiveEvent) { ActiveEvent active_evt = (ActiveEvent) evt; active_evt.dispatch(); } else { Object source = evt.getSource(); if (source instanceof Component) { Component srccmp = (Component) source; srccmp.dispatchEvent(evt); } else if (s... | 39,386 |
protected void dispatchEvent(AWTEvent evt) { if (evt instanceof ActiveEvent) { ActiveEvent active_evt = (ActiveEvent) evt; active_evt.dispatch(); } else { Object source = evt.getSource(); if (source instanceof Component) { Component srccmp = (Component) source; srccmp.dispatchEvent(evt); } else if (s... | protected void dispatchEvent(AWTEvent evt) { if (evt instanceof ActiveEvent) { ActiveEvent active_evt = (ActiveEvent) evt; active_evt.dispatch(); } else { Object source = evt.getSource(); if (source instanceof Component) { Component srccmp = (Component) source; srccmp.dispatchEvent(evt); } else if (s... | 39,387 |
protected void dispatchEvent(AWTEvent evt) { if (evt instanceof ActiveEvent) { ActiveEvent active_evt = (ActiveEvent) evt; active_evt.dispatch(); } else { Object source = evt.getSource(); if (source instanceof Component) { Component srccmp = (Component) source; srccmp.dispatchEvent(evt); } else if (s... | protected void dispatchEvent(AWTEvent evt) { if (evt instanceof ActiveEvent) { ActiveEvent active_evt = (ActiveEvent) evt; active_evt.dispatch(); } else { Object source = evt.getSource(); if (source instanceof Component) { Component srccmp = (Component) source; srccmp.dispatchEvent(evt); } else if (s... | 39,388 |
protected void dispatchEvent(AWTEvent evt) { if (evt instanceof ActiveEvent) { ActiveEvent active_evt = (ActiveEvent) evt; active_evt.dispatch(); } else { Object source = evt.getSource(); if (source instanceof Component) { Component srccmp = (Component) source; srccmp.dispatchEvent(evt); } else if (s... | protected void dispatchEvent(AWTEvent evt) { if (evt instanceof ActiveEvent) { ActiveEvent active_evt = (ActiveEvent) evt; active_evt.dispatch(); } else { Object source = evt.getSource(); if (source instanceof Component) { Component srccmp = (Component) source; srccmp.dispatchEvent(evt); } else if (s... | 39,389 |
public static long getMostRecentEventTime() { // XXX For now, this ONLY does the current time. return System.currentTimeMillis(); } | public static long getMostRecentEventTime() { // XXX For now, this ONLY does the current time. return System.currentTimeMillis(); } | 39,390 |
public synchronized AWTEvent getNextEvent() throws InterruptedException { if (next != null) return next.getNextEvent(); while (next_in == next_out) wait(); AWTEvent res = queue[next_out]; if (++next_out == queue.length) next_out = 0; return res; } | public synchronized AWTEvent getNextEvent() throws InterruptedException { if (next != null) return next.getNextEvent(); while (next_in == next_out) wait(); AWTEvent res = queue[next_out]; if (++next_out == queue.length) next_out = 0; return res; } | 39,392 |
public static void invokeAndWait(Runnable runnable) throws InterruptedException, InvocationTargetException { EventQueue eq = Toolkit.getDefaultToolkit().getSystemEventQueue(); Thread current = Thread.currentThread(); if (current == eq.dispatchThread) throw new Error("Can't call invokeAndWait from event dispatch t... | public static void invokeAndWait(Runnable runnable) throws InterruptedException, InvocationTargetException { EventQueue eq = Toolkit.getDefaultToolkit().getSystemEventQueue(); Thread current = Thread.currentThread(); if (current == eq.dispatchThread) throw new Error("Can't call invokeAndWait from event dispatch t... | 39,393 |
public static void invokeAndWait(Runnable runnable) throws InterruptedException, InvocationTargetException { EventQueue eq = Toolkit.getDefaultToolkit().getSystemEventQueue(); Thread current = Thread.currentThread(); if (current == eq.dispatchThread) throw new Error("Can't call invokeAndWait from event dispatch t... | public static void invokeAndWait(Runnable runnable) throws InterruptedException, InvocationTargetException { EventQueue eq = Toolkit.getDefaultToolkit().getSystemEventQueue(); Thread current = Thread.currentThread(); if (current == eq.dispatchThread) throw new Error("Can't call invokeAndWait from event dispatch t... | 39,394 |
public static void invokeAndWait(Runnable runnable) throws InterruptedException, InvocationTargetException { EventQueue eq = Toolkit.getDefaultToolkit().getSystemEventQueue(); Thread current = Thread.currentThread(); if (current == eq.dispatchThread) throw new Error("Can't call invokeAndWait from event dispatch t... | public static void invokeAndWait(Runnable runnable) throws InterruptedException, InvocationTargetException { EventQueue eq = Toolkit.getDefaultToolkit().getSystemEventQueue(); Thread current = Thread.currentThread(); if (current == eq.dispatchThread) throw new Error("Can't call invokeAndWait from event dispatch t... | 39,395 |
public static void invokeAndWait(Runnable runnable) throws InterruptedException, InvocationTargetException { EventQueue eq = Toolkit.getDefaultToolkit().getSystemEventQueue(); Thread current = Thread.currentThread(); if (current == eq.dispatchThread) throw new Error("Can't call invokeAndWait from event dispatch t... | public static void invokeAndWait(Runnable runnable) throws InterruptedException, InvocationTargetException { EventQueue eq = Toolkit.getDefaultToolkit().getSystemEventQueue(); Thread current = Thread.currentThread(); if (current == eq.dispatchThread) throw new Error("Can't call invokeAndWait from event dispatch t... | 39,396 |
public static void invokeLater(Runnable runnable) { EventQueue eq = Toolkit.getDefaultToolkit().getSystemEventQueue(); InvocationEvent ie = new InvocationEvent(eq, runnable, null, false); eq.postEvent(ie); } | public static void invokeLater(Runnable runnable) { EventQueue eq = Toolkit.getDefaultToolkit().getSystemEventQueue(); InvocationEvent ie = new InvocationEvent(eq, runnable, null, false); eq.postEvent(ie); } | 39,397 |
public static void invokeLater(Runnable runnable) { EventQueue eq = Toolkit.getDefaultToolkit().getSystemEventQueue(); InvocationEvent ie = new InvocationEvent(eq, runnable, null, false); eq.postEvent(ie); } | public static void invokeLater(Runnable runnable) { EventQueue eq = Toolkit.getDefaultToolkit().getSystemEventQueue(); InvocationEvent ie = new InvocationEvent(eq, runnable, null, false); eq.postEvent(ie); } | 39,398 |
public static boolean isDispatchThread() { EventQueue eq = Toolkit.getDefaultToolkit().getSystemEventQueue(); return (Thread.currentThread() == eq.dispatchThread); } | public static boolean isDispatchThread() { EventQueue eq = Toolkit.getDefaultToolkit().getSystemEventQueue(); return (Thread.currentThread() == eq.dispatchThread); } | 39,399 |
public synchronized AWTEvent peekEvent() { if (next != null) return next.peekEvent(); if (next_in != next_out) return queue[next_out]; else return null; } | public synchronized AWTEvent peekEvent() { if (next != null) return next.peekEvent(); if (next_in != next_out) return queue[next_out]; else return null; } | 39,401 |
protected void pop() throws EmptyStackException { if (prev == null) throw new EmptyStackException(); // Don't synchronize both this and prev at the same time, or deadlock could // occur. synchronized (prev) { prev.next = null; } synchronized (this) { int i = next_out; while (i != next_in) { prev.postE... | protected void pop() throws EmptyStackException { if (prev == null) throw new EmptyStackException(); // Don't synchronize both this and prev at the same time, or deadlock could // occur. synchronized (prev) { prev.next = null; } synchronized (this) { int i = next_out; while (i != next_in) { prev.postE... | 39,402 |
protected void pop() throws EmptyStackException { if (prev == null) throw new EmptyStackException(); // Don't synchronize both this and prev at the same time, or deadlock could // occur. synchronized (prev) { prev.next = null; } synchronized (this) { int i = next_out; while (i != next_in) { prev.postE... | protected void pop() throws EmptyStackException { if (prev == null) throw new EmptyStackException(); // Don't synchronize both this and prev at the same time, or deadlock could // occur. synchronized (prev) { prev.next = null; } synchronized (this) { int i = next_out; while (i != next_in) { prev.postE... | 39,403 |
protected void pop() throws EmptyStackException { if (prev == null) throw new EmptyStackException(); // Don't synchronize both this and prev at the same time, or deadlock could // occur. synchronized (prev) { prev.next = null; } synchronized (this) { int i = next_out; while (i != next_in) { prev.postE... | protected void pop() throws EmptyStackException { if (prev == null) throw new EmptyStackException(); // Don't synchronize both this and prev at the same time, or deadlock could // occur. synchronized (prev) { prev.next = null; } synchronized (this) { int i = next_out; while (i != next_in) { prev.postE... | 39,404 |
protected void pop() throws EmptyStackException { if (prev == null) throw new EmptyStackException(); // Don't synchronize both this and prev at the same time, or deadlock could // occur. synchronized (prev) { prev.next = null; } synchronized (this) { int i = next_out; while (i != next_in) { prev.postE... | protected void pop() throws EmptyStackException { if (prev == null) throw new EmptyStackException(); // Don't synchronize both this and prev at the same time, or deadlock could // occur. synchronized (prev) { prev.next = null; } synchronized (this) { int i = next_out; while (i != next_in) { prev.postE... | 39,405 |
public synchronized void postEvent(AWTEvent evt) { if (next != null) { next.postEvent(evt); return; } // FIXME: Security checks? /* Check for any events already on the queue with the same source and ID. */ int i = next_out; while (i != next_in) { AWTEvent qevt = queue[i]; Object src; if (qevt.id =... | public synchronized void postEvent(AWTEvent evt) { if (next != null) { next.postEvent(evt); return; } // FIXME: Security checks? /* Check for any events already on the queue with the same source and ID. */ int i = next_out; while (i != next_in) { AWTEvent qevt = queue[i]; Object src; if (qevt.id =... | 39,407 |
public synchronized void postEvent(AWTEvent evt) { if (next != null) { next.postEvent(evt); return; } // FIXME: Security checks? /* Check for any events already on the queue with the same source and ID. */ int i = next_out; while (i != next_in) { AWTEvent qevt = queue[i]; Object src; if (qevt.id =... | publicsynchronizedvoidpostEvent(AWTEventevt){ if(next!=null){ next.postEvent(evt); return; } //FIXME:Securitychecks? /*Checkforanyeventsalreadyonthequeuewiththesamesource andID.*/ inti=next_out; while(i!=next_in){ AWTEventqevt=queue[i]; Objectsrc; if(qevt.id==evt.id&&(src=qevt.getSource())==evt.getSou... | 39,408 |
public synchronized void postEvent(AWTEvent evt) { if (next != null) { next.postEvent(evt); return; } // FIXME: Security checks? /* Check for any events already on the queue with the same source and ID. */ int i = next_out; while (i != next_in) { AWTEvent qevt = queue[i]; Object src; if (qevt.id =... | public synchronized void postEvent(AWTEvent evt) { if (next != null) { next.postEvent(evt); return; } // FIXME: Security checks? /* Check for any events already on the queue with the same source and ID. */ int i = next_out; while (i != next_in) { AWTEvent qevt = queue[i]; Object src; if (qevt.id =... | 39,409 |
public synchronized void postEvent(AWTEvent evt) { if (next != null) { next.postEvent(evt); return; } // FIXME: Security checks? /* Check for any events already on the queue with the same source and ID. */ int i = next_out; while (i != next_in) { AWTEvent qevt = queue[i]; Object src; if (qevt.id =... | public synchronized void postEvent(AWTEvent evt) { if (next != null) { next.postEvent(evt); return; } // FIXME: Security checks? /* Check for any events already on the queue with the same source and ID. */ int i = next_out; while (i != next_in) { AWTEvent qevt = queue[i]; Object src; if (qevt.id =... | 39,410 |
public synchronized void postEvent(AWTEvent evt) { if (next != null) { next.postEvent(evt); return; } // FIXME: Security checks? /* Check for any events already on the queue with the same source and ID. */ int i = next_out; while (i != next_in) { AWTEvent qevt = queue[i]; Object src; if (qevt.id =... | public synchronized void postEvent(AWTEvent evt) { if (next != null) { next.postEvent(evt); return; } // FIXME: Security checks? /* Check for any events already on the queue with the same source and ID. */ int i = next_out; while (i != next_in) { AWTEvent qevt = queue[i]; Object src; if (qevt.id =... | 39,411 |
public synchronized void postEvent(AWTEvent evt) { if (next != null) { next.postEvent(evt); return; } // FIXME: Security checks? /* Check for any events already on the queue with the same source and ID. */ int i = next_out; while (i != next_in) { AWTEvent qevt = queue[i]; Object src; if (qevt.id =... | public synchronized void postEvent(AWTEvent evt) { if (next != null) { next.postEvent(evt); return; } // FIXME: Security checks? /* Check for any events already on the queue with the same source and ID. */ int i = next_out; while (i != next_in) { AWTEvent qevt = queue[i]; Object src; if (qevt.id =... | 39,412 |
public synchronized void push(EventQueue newEventQueue) { int i = next_out; while (i != next_in) { newEventQueue.postEvent(queue[i]); next_out = i; if (++i == queue.length) i = 0; } next = newEventQueue; newEventQueue.prev = this; } | public synchronized void push(EventQueue newEventQueue) { int i = next_out; while (i != next_in) { newEventQueue.postEvent(queue[i]); next_out = i; if (++i == queue.length) i = 0; } next = newEventQueue; newEventQueue.prev = this; } | 39,413 |
public synchronized void push(EventQueue newEventQueue) { int i = next_out; while (i != next_in) { newEventQueue.postEvent(queue[i]); next_out = i; if (++i == queue.length) i = 0; } next = newEventQueue; newEventQueue.prev = this; } | public synchronized void push(EventQueue newEventQueue) { int i = next_out; while (i != next_in) { newEventQueue.postEvent(queue[i]); next_out = i; if (++i == queue.length) i = 0; } next = newEventQueue; newEventQueue.prev = this; } | 39,414 |
public static View createHTMLView(JComponent c, String html) { // TODO: This might be wrong. Lets see if it turns out good when // the javax.swing.text.html package is in a good shape. HTMLDocument doc = new HTMLDocument(); HTMLEditorKit kit = new HTMLEditorKit(); StringReader reader = new StringReade... | public static View createHTMLView(JComponent c, String html) { // TODO: This might be wrong. Lets see if it turns out good when // the javax.swing.text.html package is in a good shape. HTMLDocument doc = new HTMLDocument(); HTMLEditorKit kit = new HTMLEditorKit(); StringReader reader = new StringReade... | 39,415 |
public static boolean isHTMLString(String s) { // We consider a string to be HTML if it contains both the '<' and '>' // character at least once. return s.contains("<") && s.contains(">"); } | public static boolean isHTMLString(String s) { // We consider a string to be HTML if it contains both the '<' and '>' // character at least once. return (s != null) && s.contains("<") && s.contains(">"); } | 39,416 |
public boolean equals(final Object obj) { if (obj == null) { return false; } if (!(obj instanceof RSAKey)) { return false; } final RSAKey that = (RSAKey) obj; return n.equals(that.getModulus()); } | public boolean equals(final Object obj) if (obj == null) return false; } if (!(obj instanceof RSAKey)) return false; } final RSAKey that = (RSAKey) obj; return n.equals(that.getModulus()); } | 39,417 |
public boolean equals(final Object obj) { if (obj == null) { return false; } if (!(obj instanceof RSAKey)) { return false; } final RSAKey that = (RSAKey) obj; return n.equals(that.getModulus()); } | public boolean equals(final Object obj) { if (obj == null) { return false; } if (!(obj instanceof RSAKey)) { return false; } final RSAKey that = (RSAKey) obj; return n.equals(that.getModulus()); } | 39,418 |
public boolean equals(final Object obj) { if (obj == null) { return false; } if (!(obj instanceof RSAKey)) { return false; } final RSAKey that = (RSAKey) obj; return n.equals(that.getModulus()); } | public boolean equals(final Object obj) { if (obj == null) { return false; if (!(obj instanceof RSAKey)) { return false; final RSAKey that = (RSAKey) obj; return n.equals(that.getModulus()); } | 39,419 |
public String toString() { if (str == null) { String ls = SystemProperties.getProperty("line.separator"); str = new StringBuilder().append(ls) .append("defaultFormat=").append(defaultFormat).append(",").append(ls) .append("n=0x").append(n.toString(16)).append(",").append(l... | public String toString() { if (str == null) { String ls = SystemProperties.getProperty("line.separator"); str = new StringBuilder().append(ls) .append("defaultFormat=").append(defaultFormat).append(",").append(ls) .append("n=0x").append(n.toString(16)).append(",").append(l... | 39,420 |
public DataRun(NTFSNonResidentAttribute attr, int offset, long vcn, long previousLCN) { super(attr, offset); // read first byte in type attribute this.type = getUInt8(0); final int lenlen = type & 0xF; final int clusterlen = type >>> 4; this.size = lenlen + clust... | public DataRun(NTFSNonResidentAttribute attr, int offset, long vcn, long previousLCN) { super(attr, offset); // read first byte in type attribute this.type = getUInt8(0); final int lenlen = type & 0xF; final int clusterlen = type >>> 4; this.size = lenlen + clust... | 39,421 |
public DataRun(NTFSNonResidentAttribute attr, int offset, long vcn, long previousLCN) { super(attr, offset); // read first byte in type attribute this.type = getUInt8(0); final int lenlen = type & 0xF; final int clusterlen = type >>> 4; this.size = lenlen + clust... | public DataRun(NTFSNonResidentAttribute attr, int offset, long vcn, long previousLCN) { super(attr, offset); // read first byte in type attribute this.type = getUInt8(0); final int lenlen = type & 0xF; final int clusterlen = type >>> 4; this.size = lenlen + clust... | 39,422 |
public DataRun(NTFSNonResidentAttribute attr, int offset, long vcn, long previousLCN) { super(attr, offset); // read first byte in type attribute this.type = getUInt8(0); final int lenlen = type & 0xF; final int clusterlen = type >>> 4; this.size = lenlen + clust... | public DataRun(NTFSNonResidentAttribute attr, int offset, long vcn, long previousLCN) { super(attr, offset); // read first byte in type attribute this.type = getUInt8(0); final int lenlen = type & 0xF; final int clusterlen = type >>> 4; this.size = lenlen + clust... | 39,423 |
public DataRun(NTFSNonResidentAttribute attr, int offset, long vcn, long previousLCN) { super(attr, offset); // read first byte in type attribute this.type = getUInt8(0); final int lenlen = type & 0xF; final int clusterlen = type >>> 4; this.size = lenlen + clust... | public DataRun(NTFSNonResidentAttribute attr, int offset, long vcn, long previousLCN) { super(attr, offset); // read first byte in type attribute this.type = getUInt8(0); final int lenlen = type & 0xF; final int clusterlen = type >>> 4; this.size = lenlen + clust... | 39,424 |
public DataRun(NTFSNonResidentAttribute attr, int offset, long vcn, long previousLCN) { super(attr, offset); // read first byte in type attribute this.type = getUInt8(0); final int lenlen = type & 0xF; final int clusterlen = type >>> 4; this.size = lenlen + clust... | public DataRun(NTFSNonResidentAttribute attr, int offset, long vcn, long previousLCN) { super(attr, offset); // read first byte in type attribute this.type = getUInt8(0); final int lenlen = type & 0xF; final int clusterlen = type >>> 4; this.size = lenlen + clust... | 39,425 |
public DataRun(NTFSNonResidentAttribute attr, int offset, long vcn, long previousLCN) { super(attr, offset); // read first byte in type attribute this.type = getUInt8(0); final int lenlen = type & 0xF; final int clusterlen = type >>> 4; this.size = lenlen + clust... | public DataRun(NTFSNonResidentAttribute attr, int offset, long vcn, long previousLCN) { super(attr, offset); // read first byte in type attribute this.type = getUInt8(0); final int lenlen = type & 0xF; final int clusterlen = type >>> 4; this.size = lenlen + clust... | 39,426 |
public int readClusters(long vcn, byte[] dst, int dstOffset, int nrClusters, int clusterSize, NTFSVolume volume) throws IOException { final long myFirstVcn = getFirstVcn(); final int myLength = getLength(); final long myLastVcn = myFirstVcn + myLength - 1; final long r... | public int readClusters(long vcn, byte[] dst, int dstOffset, int nrClusters, int clusterSize, NTFSVolume volume) throws IOException { final long myFirstVcn = getFirstVcn(); final int myLength = getLength(); final long myLastVcn = myFirstVcn + myLength - 1; final long r... | 39,427 |
public int readClusters(long vcn, byte[] dst, int dstOffset, int nrClusters, int clusterSize, NTFSVolume volume) throws IOException { final long myFirstVcn = getFirstVcn(); final int myLength = getLength(); final long myLastVcn = myFirstVcn + myLength - 1; final long r... | public int readClusters(long vcn, byte[] dst, int dstOffset, int nrClusters, int clusterSize, NTFSVolume volume) throws IOException { final long myFirstVcn = getFirstVcn(); final int myLength = getLength(); final long myLastVcn = myFirstVcn + myLength - 1; final long r... | 39,428 |
public int readClusters(long vcn, byte[] dst, int dstOffset, int nrClusters, int clusterSize, NTFSVolume volume) throws IOException { final long myFirstVcn = getFirstVcn(); final int myLength = getLength(); final long myLastVcn = myFirstVcn + myLength - 1; final long r... | public int readClusters(long vcn, byte[] dst, int dstOffset, int nrClusters, int clusterSize, NTFSVolume volume) throws IOException { final long myFirstVcn = getFirstVcn(); final int myLength = getLength(); final long myLastVcn = myFirstVcn + myLength - 1; final long r... | 39,429 |
public int readClusters(long vcn, byte[] dst, int dstOffset, int nrClusters, int clusterSize, NTFSVolume volume) throws IOException { final long myFirstVcn = getFirstVcn(); final int myLength = getLength(); final long myLastVcn = myFirstVcn + myLength - 1; final long r... | public int readClusters(long vcn, byte[] dst, int dstOffset, int nrClusters, int clusterSize, NTFSVolume volume) throws IOException { final long myFirstVcn = getFirstVcn(); final int myLength = getLength(); final long myLastVcn = myFirstVcn + myLength - 1; final long r... | 39,430 |
public int readClusters(long vcn, byte[] dst, int dstOffset, int nrClusters, int clusterSize, NTFSVolume volume) throws IOException { final long myFirstVcn = getFirstVcn(); final int myLength = getLength(); final long myLastVcn = myFirstVcn + myLength - 1; final long r... | public int readClusters(long vcn, byte[] dst, int dstOffset, int nrClusters, int clusterSize, NTFSVolume volume) throws IOException { final long myFirstVcn = getFirstVcn(); final int myLength = getLength(); final long myLastVcn = myFirstVcn + myLength - 1; final long r... | 39,431 |
public int readClusters(long vcn, byte[] dst, int dstOffset, int nrClusters, int clusterSize, NTFSVolume volume) throws IOException { final long myFirstVcn = getFirstVcn(); final int myLength = getLength(); final long myLastVcn = myFirstVcn + myLength - 1; final long r... | public int readClusters(long vcn, byte[] dst, int dstOffset, int nrClusters, int clusterSize, NTFSVolume volume) throws IOException { final long myFirstVcn = getFirstVcn(); final int myLength = getLength(); final long myLastVcn = myFirstVcn + myLength - 1; final long r... | 39,432 |
protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; // The default Look and Feel happens to use these three purple shades // extensively. Color lightPurple = new Color(0xCC, 0xCC, 0xFF); Color midPurple = new Color(0x99, 0x99, 0xCC); Color darkPurple = new Color(0x6... | protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; // The default Look and Feel happens to use these three purple shades // extensively. Color lightPurple = new Color(0xCC, 0xCC, 0xFF); Color midPurple = new Color(0x99, 0x99, 0xCC); Color darkPurple = new Color(0x6... | 39,434 |
protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; // The default Look and Feel happens to use these three purple shades // extensively. Color lightPurple = new Color(0xCC, 0xCC, 0xFF); Color midPurple = new Color(0x99, 0x99, 0xCC); Color darkPurple = new Color(0x6... | protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; // The default Look and Feel happens to use these three purple shades // extensively. Color lightPurple = new Color(0xCC, 0xCC, 0xFF); Color midPurple = new Color(0x99, 0x99, 0xCC); Color darkPurple = new Color(0x6... | 39,435 |
protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; // The default Look and Feel happens to use these three purple shades // extensively. Color lightPurple = new Color(0xCC, 0xCC, 0xFF); Color midPurple = new Color(0x99, 0x99, 0xCC); Color darkPurple = new Color(0x6... | protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; // The default Look and Feel happens to use these three purple shades // extensively. Color lightPurple = new Color(0xCC, 0xCC, 0xFF); Color midPurple = new Color(0x99, 0x99, 0xCC); Color darkPurple = new Color(0x6... | 39,436 |
public int read() throws IOException { byte[] buf = new byte[1]; int len = read(buf, 0, 1); if (len == -1) { return -1; } int ret = (int) buf[0]; if (ret < 0) { ret += 0x100; } return ret; } | public int read() throws IOException { byte[] buf = new byte[1]; int len = read(buf, 0, 1); if (len == -1) { return -1; } int ret = (int) buf[0]; if (ret < 0) { ret += 0x100; } return ret; } | 39,437 |
public void doPass2(BootableHashMap liveVariables) { setDeadCode(true); if (refs[0] instanceof Variable) { Variable v = (Variable) refs[0]; v.setLastUseAddress(this.getAddress()); liveVariables.put(v, v); } } | public void doPass2(BootableHashMap liveVariables) { setDeadCode(true); if (refs[0] instanceof Variable) { Variable v = (Variable) refs[0]; v.setLastUseAddress(this.getAddress()); liveVariables.put(v, v); } } | 39,438 |
public final Class getCategory() { return Media.class; } | public Class getCategory() { return Media.class; } | 39,440 |
public final String getName() { return "media"; } | public String getName() { return "media"; } | 39,441 |
public static void readAttributeSet(ObjectInputStream in, MutableAttributeSet a) throws ClassNotFoundException, IOException { throw new InternalError("not implemented"); } | public static void readAttributeSet(ObjectInputStream in, MutableAttributeSet a) throws ClassNotFoundException, IOException, NotImplementedException { throw new InternalError("not implemented"); } | 39,444 |
public void readAttributes(ObjectInputStream in, MutableAttributeSet a) throws ClassNotFoundException, IOException { throw new InternalError("not implemented"); } | public void readAttributes(ObjectInputStream in, MutableAttributeSet a) throws ClassNotFoundException, IOException, NotImplementedException { throw new InternalError("not implemented"); } | 39,445 |
public static void writeAttributeSet(ObjectOutputStream out, AttributeSet a) throws IOException { throw new InternalError("not implemented"); } | public static void writeAttributeSet(ObjectOutputStream out, AttributeSet a) throws IOException, NotImplementedException { throw new InternalError("not implemented"); } | 39,446 |
public void writeAttributes(ObjectOutputStream out, AttributeSet a) throws IOException { throw new InternalError("not implemented"); } | public void writeAttributes(ObjectOutputStream out, AttributeSet a) throws IOException, NotImplementedException { throw new InternalError("not implemented"); } | 39,447 |
JMenuBar getJMenuBar() { return getRootPane().getJMenuBar(); } | public JMenuBar getJMenuBar() { return getRootPane().getJMenuBar(); } | 39,448 |
void setJMenuBar(JMenuBar menubar) { getRootPane().setJMenuBar(menubar); } | public void setJMenuBar(JMenuBar menubar) { getRootPane().setJMenuBar(menubar); } | 39,449 |
public void run() throws IOException { final byte[] buf = new byte[4096]; final DatagramPacket p = new DatagramPacket(buf, buf.length); while (true) { socket.receive(p); System.out.write(p.getData(), p.getOffset(), p.getLength()); } } | public void run() throws IOException { final byte[] buf = new byte[4096]; final DatagramPacket p = new DatagramPacket(buf, buf.length); while (true) { socket.receive(p); System.out.write(p.getData(), p.getOffset(), p.getLength()); } } | 39,450 |
public int checkImage(Image img, int w, int h, ImageObserver o) { System.err.println("checkImage"); return ImageObserver.ALLBITS; } | public int checkImage(Image img, int w, int h, ImageObserver o) { System.err.println("checkImage"); return ImageObserver.ALLBITS; } | 39,451 |
public Image createImage(ImageProducer producer) { System.err.println("createImage(producer)"); return null; } | public Image createImage(ImageProducer producer) { System.err.println("createImage(producer)"); return null; } | 39,452 |
public VolatileImage createVolatileImage(int width, int height) { // These babies are created by hardware return null; } | public VolatileImage createVolatileImage(int width, int height) { // These babies are created by hardware throw new RuntimeException("Not implemented"); } | 39,453 |
public boolean prepareImage(Image img, int w, int h, ImageObserver o) { System.err.println("prepareImage"); return true; } | public boolean prepareImage(Image img, int w, int h, ImageObserver o) { System.err.println("prepareImage"); return true; } | 39,454 |
public boolean requestFocus(Component lightweightChild, boolean temporary, boolean focusedWindowChangeAllowed, long time) { return true; } | public boolean requestFocus(Component lightweightChild, boolean temporary, boolean focusedWindowChangeAllowed, long time) { return true; } | 39,455 |
abstract public String absolutePath(); | abstract public String absolutePath(); | 39,460 |
abstract public void addNodeChangeListener(NodeChangeListener listener); | abstract public void addNodeChangeListener(NodeChangeListener listener); | 39,461 |
abstract public void addPreferenceChangeListener (PreferenceChangeListener listener); | public abstract void addPreferenceChangeListener (PreferenceChangeListener listener); | 39,462 |
abstract public String[] childrenNames() throws BackingStoreException; | abstract public String[] childrenNames() throws BackingStoreException; | 39,463 |
abstract public void clear() throws BackingStoreException; | abstract public void clear() throws BackingStoreException; | 39,464 |
abstract public void exportNode(OutputStream os) throws BackingStoreException, IOException; | public abstract void exportNode(OutputStream os) throws BackingStoreException, IOException; | 39,465 |
abstract public void exportSubtree(OutputStream os) throws BackingStoreException, IOException; | public abstract void exportSubtree(OutputStream os) throws BackingStoreException, IOException; | 39,466 |
abstract public void flush() throws BackingStoreException; | abstract public void flush() throws BackingStoreException; | 39,467 |
abstract public String get(String key, String defaultVal); | abstract public String get(String key, String defaultVal); | 39,468 |
abstract public boolean getBoolean(String key, boolean defaultVal); | abstract public boolean getBoolean(String key, boolean defaultVal); | 39,469 |
abstract public byte[] getByteArray(String key, byte[] defaultVal); | abstract public byte[] getByteArray(String key, byte[] defaultVal); | 39,470 |
abstract public double getDouble(String key, double defaultVal); | abstract public double getDouble(String key, double defaultVal); | 39,471 |
abstract public float getFloat(String key, float defaultVal); | abstract public float getFloat(String key, float defaultVal); | 39,472 |
abstract public int getInt(String key, int defaultVal); | abstract public int getInt(String key, int defaultVal); | 39,473 |
abstract public long getLong(String key, long defaultVal); | abstract public long getLong(String key, long defaultVal); | 39,474 |
abstract public boolean isUserNode(); | abstract public boolean isUserNode(); | 39,475 |
abstract public String[] keys() throws BackingStoreException; | abstract public String[] keys() throws BackingStoreException; | 39,476 |
abstract public String name(); | abstract public String name(); | 39,477 |
abstract public Preferences node(String path); | abstract public Preferences node(String path); | 39,478 |
abstract public boolean nodeExists(String path) throws BackingStoreException; | public abstract boolean nodeExists(String path) throws BackingStoreException; | 39,479 |
abstract public Preferences parent(); | abstract public Preferences parent(); | 39,480 |
abstract public void put(String key, String value); | abstract public void put(String key, String value); | 39,481 |
abstract public void putBoolean(String key, boolean value); | abstract public void putBoolean(String key, boolean value); | 39,482 |
abstract public void putByteArray(String key, byte[] value); | abstract public void putByteArray(String key, byte[] value); | 39,483 |
abstract public void putDouble(String key, double value); | abstract public void putDouble(String key, double value); | 39,484 |
abstract public void putFloat(String key, float value); | abstract public void putFloat(String key, float value); | 39,485 |
abstract public void putInt(String key, int value); | abstract public void putInt(String key, int value); | 39,486 |
abstract public void putLong(String key, long value); | abstract public void putLong(String key, long value); | 39,487 |
abstract public void remove(String key); | abstract public void remove(String key); | 39,488 |
abstract public void removeNode() throws BackingStoreException; | abstract public void removeNode() throws BackingStoreException; | 39,489 |
abstract public void removeNodeChangeListener(NodeChangeListener listener); | abstract public void removeNodeChangeListener(NodeChangeListener listener); | 39,490 |
abstract public void removePreferenceChangeListener (PreferenceChangeListener listener); | public abstract void removePreferenceChangeListener (PreferenceChangeListener listener); | 39,491 |
abstract public void sync() throws BackingStoreException; | abstract public void sync() throws BackingStoreException; | 39,492 |
abstract public String toString(); | abstract public String toString(); | 39,493 |
private byte[] MGF(byte[] Z, int l) { // 1. If l > (2**32).hLen, output 'mask too long' and stop. if (l < 1 || (l & 0xFFFFFFFFL) > ((hLen & 0xFFFFFFFFL) << 32L)) { throw new IllegalArgumentException("mask too long"); } // 2. Let T be the empty octet string. byte[] result = new byte[l]; ... | private byte[] MGF(byte[] Z, int l) // 1. If l > (2**32).hLen, output 'mask too long' and stop. if (l < 1 || (l & 0xFFFFFFFFL) > ((hLen & 0xFFFFFFFFL) << 32L)) throw new IllegalArgumentException("mask too long"); } // 2. Let T be the empty octet string. byte[] result = new byte[l]; //... | 39,494 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.