bugged stringlengths 6 599k | fixed stringlengths 10 599k | __index_level_0__ int64 0 1.13M |
|---|---|---|
public synchronized void onMessage(Message message) { try { count++; TextMessage tm = (TextMessage)message; log.trace("Got message " + tm.getText() + " count=" + count); if (count == 1) { ... | public synchronized void onMessage(Message message) { try { count++; TextMessage tm = (TextMessage)message; log.info("Got message " + tm.getText() + " count=" + count); if (count == 1) { ... | 27,789 |
public synchronized void onMessage(Message message) { try { count++; TextMessage tm = (TextMessage)message; log.trace("Got message " + tm.getText() + " count=" + count); if (count == 1) { ... | public synchronized void onMessage(Message message) { try { count++; TextMessage tm = (TextMessage)message; log.trace("Got message " + tm.getText() + " count=" + count); if (count == 1) { ... | 27,790 |
public synchronized void onMessage(Message message) { try { count++; TextMessage tm = (TextMessage)message; log.trace("Got message " + tm.getText() + " count=" + count); if (count == 1) { ... | public synchronized void onMessage(Message message) { try { count++; TextMessage tm = (TextMessage)message; log.trace("Got message " + tm.getText() + " count=" + count); if (count == 1) { ... | 27,791 |
public synchronized void onMessage(Message message) { try { count++; TextMessage tm = (TextMessage)message; log.trace("Got message " + tm.getText() + " count=" + count); if (count == 1) { ... | public synchronized void onMessage(Message message) { try { count++; TextMessage tm = (TextMessage)message; log.trace("Got message " + tm.getText() + " count=" + count); if (count == 1) { ... | 27,792 |
public synchronized void onMessage(Message message) { try { count++; TextMessage tm = (TextMessage)message; log.trace("Got message " + tm.getText() + " count=" + count); if (count == 1) { ... | public synchronized void onMessage(Message message) { try { count++; TextMessage tm = (TextMessage)message; log.trace("Got message " + tm.getText() + " count=" + count); if (count == 1) { ... | 27,793 |
public synchronized void onMessage(Message message) { try { count++; TextMessage tm = (TextMessage)message; log.trace("Got message " + tm.getText() + " count=" + count); if (count == 1) { ... | public synchronized void onMessage(Message message) { try { count++; TextMessage tm = (TextMessage)message; log.trace("Got message " + tm.getText() + " count=" + count); if (count == 1) { ... | 27,794 |
public synchronized void onMessage(Message message) { try { count++; TextMessage tm = (TextMessage)message; log.trace("Got message " + tm.getText() + " count=" + count); if (count == 1) { ... | public synchronized void onMessage(Message message) { try { count++; TextMessage tm = (TextMessage)message; log.trace("Got message " + tm.getText() + " count=" + count); if (count == 1) { ... | 27,795 |
public void createWorkflow(String name) { WorkflowConfig config = new WorkflowConfig("file", null); config.descriptor = DescriptorFactory.getFactory().createWorkflowDescriptor(); config.descriptor.setName(name); ActionDescriptor initialAction = DescriptorFactory.getFactory().createActionDescriptor(); ... | public void createWorkflow(String name) { WorkflowConfig config = new WorkflowConfig(null, "file", null); config.descriptor = DescriptorFactory.getFactory().createWorkflowDescriptor(); config.descriptor.setName(name); ActionDescriptor initialAction = DescriptorFactory.getFactory().createActionDescriptor(... | 27,796 |
public void importDescriptor(String name, InputStream is) { WorkflowConfig config = new WorkflowConfig("file", name + ".xml"); try { File file = new File(workflowsXML.getParentFile(), name+".xml"); config.url = file.toURL(); config.lastModified = file.lastModified(); workflows.put(name, ... | public void importDescriptor(String name, InputStream is) { WorkflowConfig config = new WorkflowConfig(null, "file", name + ".xml"); try { File file = new File(workflowsXML.getParentFile(), name+".xml"); config.url = file.toURL(); config.lastModified = file.lastModified(); workflows.put(... | 27,797 |
public WorkflowConfig(String type, String location) { if ("URL".equals(type)) { try { url = new URL(location); File file = new File(url.getFile()); if (file.exists()) { lastModified = file.lastModified(); ... | public WorkflowConfig(String basedir, String type, String location) { if ("URL".equals(type)) { try { url = new URL(location); File file = new File(url.getFile()); if (file.exists()) { lastModified = file.l... | 27,798 |
public WorkflowConfig(String type, String location) { if ("URL".equals(type)) { try { url = new URL(location); File file = new File(url.getFile()); if (file.exists()) { lastModified = file.lastModified(); ... | public WorkflowConfig(String type, String location) { if ("URL".equals(type)) { try { url = new URL(location); File file = new File(url.getFile()); if (file.exists()) { lastModified = file.lastModified(); ... | 27,799 |
public WorkflowDescriptor createWorkflowDescriptor() { return new WorkflowDescriptor(); } | public WorkflowDescriptor createWorkflowDescriptor() { return new WorkflowDescriptor(); } | 27,800 |
public WorkflowDescriptor getWorkflow(String name, boolean validate) throws FactoryException { WorkflowConfig c = (WorkflowConfig) workflows.get(name); if (c == null) { throw new FactoryException("Unknown workflow name \"" + name + "\""); } if (c.descriptor != null) { ... | public WorkflowDescriptor getWorkflow(String name, boolean validate) throws FactoryException { WorkflowConfig c = (WorkflowConfig) workflows.get(name); if (c == null) { throw new FactoryException("Unknown workflow name \"" + name + '\"'); } if (c.descriptor != null) { ... | 27,801 |
public void initDone() throws FactoryException { reload = getProperties().getProperty("reload", "false").equals("true"); ClassLoader classLoader = Thread.currentThread().getContextClassLoader(); InputStream is = null; String name = getProperties().getProperty("resource", "workflows.xml")... | public void initDone() throws FactoryException { reload = getProperties().getProperty("reload", "false").equals("true"); ClassLoader classLoader = Thread.currentThread().getContextClassLoader(); InputStream is = null; String name = getProperties().getProperty("resource", "workflows.xml")... | 27,802 |
public void initDone() throws FactoryException { reload = getProperties().getProperty("reload", "false").equals("true"); ClassLoader classLoader = Thread.currentThread().getContextClassLoader(); InputStream is = null; String name = getProperties().getProperty("resource", "workflows.xml")... | public void initDone() throws FactoryException { reload = getProperties().getProperty("reload", "false").equals("true"); ClassLoader classLoader = Thread.currentThread().getContextClassLoader(); InputStream is = null; String name = getProperties().getProperty("resource", "workflows.xml")... | 27,803 |
public void initDone() throws FactoryException { reload = getProperties().getProperty("reload", "false").equals("true"); ClassLoader classLoader = Thread.currentThread().getContextClassLoader(); InputStream is = null; String name = getProperties().getProperty("resource", "workflows.xml")... | public void initDone() throws FactoryException { reload = getProperties().getProperty("reload", "false").equals("true"); ClassLoader classLoader = Thread.currentThread().getContextClassLoader(); InputStream is = null; String name = getProperties().getProperty("resource", "workflows.xml")... | 27,804 |
public void testPaging() throws Exception { Queue p = new Queue(0, ms, pm, true, true, 100, 20, 10, new QueuedExecutor(), null); CoreMessage m = null; m = CoreMessageFactory.createCoreMessage(0); p.handle(null, ms.reference(m), null); m = CoreMessageFactory.createCoreMessage(1); p.han... | public void testPaging() throws Exception { Queue p = new Queue(0, ms, pm, true, true, 100, 20, 10, new QueuedExecutor()); CoreMessage m = null; m = CoreMessageFactory.createCoreMessage(0); p.handle(null, ms.reference(m), null); m = CoreMessageFactory.createCoreMessage(1); p.handle(nu... | 27,805 |
static List getChildContentList(Context c, Content parent) { List inlineList = new LinkedList(); FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; StringBuffer textContent = null; CascadedStyle parentStyle = parent.getStyle(); Element parentEle... | static List getChildContentList(Context c, Content parent) { List inlineList = new LinkedList(); FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; StringBuffer textContent = null; CascadedStyle parentStyle = parent.getStyle(); Element parentEle... | 27,808 |
static List getChildContentList(Context c, Content parent) { List inlineList = new LinkedList(); FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; StringBuffer textContent = null; CascadedStyle parentStyle = parent.getStyle(); Element parentEle... | static List getChildContentList(Context c, Content parent) { List inlineList = new LinkedList(); FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; StringBuffer textContent = null; CascadedStyle parentStyle = parent.getStyle(); Element parentEle... | 27,809 |
static List getChildContentList(Context c, Content parent) { List inlineList = new LinkedList(); FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; StringBuffer textContent = null; CascadedStyle parentStyle = parent.getStyle(); Element parentEle... | static List getChildContentList(Context c, Content parent) { List inlineList = new LinkedList(); FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; StringBuffer textContent = null; CascadedStyle parentStyle = parent.getStyle(); Element parentEle... | 27,810 |
static List getChildContentList(Context c, Content parent) { List inlineList = new LinkedList(); FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; StringBuffer textContent = null; CascadedStyle parentStyle = parent.getStyle(); Element parentEle... | static List getChildContentList(Context c, Content parent) { List inlineList = new LinkedList(); FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; StringBuffer textContent = null; CascadedStyle parentStyle = parent.getStyle(); Element parentEle... | 27,811 |
static List getChildContentList(Context c, Content parent) { List inlineList = new LinkedList(); FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; StringBuffer textContent = null; CascadedStyle parentStyle = parent.getStyle(); Element parentEle... | static List getChildContentList(Context c, Content parent) { List inlineList = new LinkedList(); FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; StringBuffer textContent = null; CascadedStyle parentStyle = parent.getStyle(); Element parentEle... | 27,812 |
static List getChildContentList(Context c, Content parent) { List inlineList = new LinkedList(); FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; StringBuffer textContent = null; CascadedStyle parentStyle = parent.getStyle(); Element parentEle... | static List getChildContentList(Context c, Content parent) { List inlineList = new LinkedList(); FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; StringBuffer textContent = null; CascadedStyle parentStyle = parent.getStyle(); Element parentEle... | 27,813 |
static List getChildContentList(Context c, Content parent) { List inlineList = new LinkedList(); FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; StringBuffer textContent = null; CascadedStyle parentStyle = parent.getStyle(); Element parentEle... | static List getChildContentList(Context c, Content parent) { List inlineList = new LinkedList(); FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; StringBuffer textContent = null; CascadedStyle parentStyle = parent.getStyle(); Element parentEle... | 27,814 |
static List getChildContentList(Context c, Content parent) { List inlineList = new LinkedList(); FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; StringBuffer textContent = null; CascadedStyle parentStyle = parent.getStyle(); Element parentEle... | static List getChildContentList(Context c, Content parent) { List inlineList = new LinkedList(); FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; StringBuffer textContent = null; CascadedStyle parentStyle = parent.getStyle(); Element parentEle... | 27,815 |
static List getChildContentList(Context c, Content parent) { List inlineList = new LinkedList(); FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; StringBuffer textContent = null; CascadedStyle parentStyle = parent.getStyle(); Element parentEle... | static List getChildContentList(Context c, Content parent) { List inlineList = new LinkedList(); FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; StringBuffer textContent = null; CascadedStyle parentStyle = parent.getStyle(); Element parentEle... | 27,816 |
static List getChildContentList(Context c, Content parent) { List inlineList = new LinkedList(); FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; StringBuffer textContent = null; CascadedStyle parentStyle = parent.getStyle(); Element parentEle... | static List getChildContentList(Context c, Content parent) { List inlineList = new LinkedList(); FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; StringBuffer textContent = null; CascadedStyle parentStyle = parent.getStyle(); Element parentEle... | 27,817 |
public static boolean isAbsoluteOrFixed(CascadedStyle style) { IdentValue position = style.getIdent(CSSName.POSITION); return position != null && (position == IdentValue.ABSOLUTE || position == IdentValue.FIXED); } | public static boolean isAbsoluteOrFixed(CalculatedStyle style) { IdentValue position = style.getIdent(CSSName.POSITION); return position != null && (position == IdentValue.ABSOLUTE || position == IdentValue.FIXED); } | 27,818 |
public static boolean isBlockLevel(CascadedStyle style) { if (style == null) { return false; } IdentValue display = style.getIdent(CSSName.DISPLAY); return display != null && (display == IdentValue.BLOCK || display == IdentValue.LIST_ITEM || display == IdentValue.TABLE); } | public static boolean isBlockLevel(CalculatedStyle style) { if (style == null) { return false; } IdentValue display = style.getIdent(CSSName.DISPLAY); return display != null && (display == IdentValue.BLOCK || display == IdentValue.LIST_ITEM || display == IdentValue.TABLE); ... | 27,819 |
public static boolean isFloated(CascadedStyle style) { if (style == null) { return false; } IdentValue floatVal = style.getIdent(CSSName.FLOAT); return floatVal != null && (floatVal == IdentValue.LEFT || floatVal == IdentValue.RIGHT); } | public static boolean isFloated(CalculatedStyle style) { if (style == null) { return false; } IdentValue floatVal = style.getIdent(CSSName.FLOAT); return floatVal != null && (floatVal == IdentValue.LEFT || floatVal == IdentValue.RIGHT); } | 27,820 |
public static boolean isHidden(CascadedStyle style) { IdentValue display = style.getIdent(CSSName.DISPLAY); return display != null && display == IdentValue.NONE; } | public static boolean isHidden(CalculatedStyle style) { IdentValue display = style.getIdent(CSSName.DISPLAY); return display != null && display == IdentValue.NONE; } | 27,821 |
public static boolean isInlineBlock(CascadedStyle style) { IdentValue display = style.getIdent(CSSName.DISPLAY); return display != null && display == IdentValue.INLINE_BLOCK; } | public static boolean isInlineBlock(CalculatedStyle style) { IdentValue display = style.getIdent(CSSName.DISPLAY); return display != null && display == IdentValue.INLINE_BLOCK; } | 27,822 |
public static boolean isListItem(CascadedStyle style) { if (style == null) { return false; } IdentValue display = style.getIdent(CSSName.DISPLAY); return display != null && display == IdentValue.LIST_ITEM; } | public static boolean isListItem(CalculatedStyle style) { if (style == null) { return false; } IdentValue display = style.getIdent(CSSName.DISPLAY); return display != null && display == IdentValue.LIST_ITEM; } | 27,823 |
public static boolean isRunIn(CascadedStyle style) { IdentValue display = style.getIdent(CSSName.DISPLAY); return display != null && display == IdentValue.RUN_IN; } | public static boolean isRunIn(CalculatedStyle style) { IdentValue display = style.getIdent(CSSName.DISPLAY); return display != null && display == IdentValue.RUN_IN; } | 27,824 |
public static boolean isTable(CascadedStyle style) { IdentValue display = style.getIdent(CSSName.DISPLAY); return display != null && display == IdentValue.TABLE; } | public static boolean isTable(CalculatedStyle style) { IdentValue display = style.getIdent(CSSName.DISPLAY); return display != null && display == IdentValue.TABLE; } | 27,825 |
public static boolean isTableDescendant(CascadedStyle style) { IdentValue display = style.getIdent(CSSName.DISPLAY); if (display == null) return false; if (display == IdentValue.TABLE) return false; if (display.toString().startsWith("table")) return true; return false; } | public static boolean isTableDescendant(CalculatedStyle style) { IdentValue display = style.getIdent(CSSName.DISPLAY); if (display == null) return false; if (display == IdentValue.TABLE) return false; if (display.toString().startsWith("table")) return true; return false; } | 27,826 |
public static boolean mayHaveFirstLetter(CascadedStyle style) { // ASK: why use CascadedStyle here, instead of Calculated? (PWW 25-01-05) if (style == null) { return false; }//for DomToplevelNode IdentValue display = style.getIdent(CSSName.DISPLAY); return display != nu... | public static boolean mayHaveFirstLetter(CalculatedStyle style) { // ASK: why use CascadedStyle here, instead of Calculated? (PWW 25-01-05) if (style == null) { return false; }//for DomToplevelNode IdentValue display = style.getIdent(CSSName.DISPLAY); return display != ... | 27,827 |
public static boolean mayHaveFirstLine(CascadedStyle style) { // ASK: why use CascadedStyle here, instead of Calculated? (PWW 25-01-05) if (style == null) { return false; }//for DomToplevelNode IdentValue display = style.getIdent(CSSName.DISPLAY); return display != null... | public static boolean mayHaveFirstLine(CalculatedStyle style) { // ASK: why use CascadedStyle here, instead of Calculated? (PWW 25-01-05) if (style == null) { return false; }//for DomToplevelNode IdentValue display = style.getIdent(CSSName.DISPLAY); return display != nu... | 27,828 |
private void configureURLHandler() { URLHandlerDispatcher dispatcher = new URLHandlerDispatcher(); dispatcher.setDownloader("http", URLHandlerRegistry.getHttp(getRealm(), getHost(), getUsername(), getPasswd())); URLHandlerRegistry.setDefault(dispatcher); } | private void configureURLHandler() { URLHandlerDispatcher dispatcher = new URLHandlerDispatcher(); URLHandler httpHandler = URLHandlerRegistry.getHttp(getRealm(), getHost(), getUsername(), getPasswd()); dispatcher.setDownloader("http", httpHandler); dispatcher.setDownloader("https", httpHandler); ... | 27,829 |
public void setViewport(JViewport v) { if (viewport != null) remove(viewport); viewport = v; add(v); revalidate(); repaint(); } | public void setViewport(JViewport v) { if (viewport != null) remove(viewport); viewport = v; add(v); revalidate(); repaint(); } | 27,830 |
public void setViewportView(Component view) { if (getViewport() == null) { setViewport(createViewport()); } if (view != null) { getViewport().setView(view); } } | public void setViewportView(Component view) { if (getViewport() == null) { setViewport(createViewport()); } if (view != null) { getViewport().setView(view); } } | 27,831 |
JViewport() { setOpaque(true); updateUI(); } | JViewport() { setOpaque(true); updateUI(); } | 27,832 |
public void layout(Graphics2D g2, Dimension dim) { this.dim = dim; panel.setSize(dim); panel.doActualLayout(g2); } | public void layout(Graphics2D g2, Dimension dim) { this.dim = dim; if (dim != null) { panel.setSize(dim); } panel.doActualLayout(g2); } | 27,833 |
public void doActualLayout(Graphics g) { //Uu.p("doActualLayout called"); this.removeAll(); if (g == null) { return; } if (doc == null) { return; }// set up CSS Context c = newContext((Graphics2D) g); synchronized (this) { if (... | public void doActualLayout(Graphics g) { //Uu.p("doActualLayout called"); this.removeAll(); if (g == null) { return; } if (doc == null) { return; }// set up CSS Context c = newContext(pageInfo, (Graphics2D) g); synchronized (this) { ... | 27,834 |
public void doActualLayout(Graphics g) { //Uu.p("doActualLayout called"); this.removeAll(); if (g == null) { return; } if (doc == null) { return; }// set up CSS Context c = newContext((Graphics2D) g); synchronized (this) { if (... | public void doActualLayout(Graphics g) { //Uu.p("doActualLayout called"); this.removeAll(); if (g == null) { return; } if (doc == null) { return; }// set up CSS Context c = newContext((Graphics2D) g); synchronized (this) { if (... | 27,835 |
public void doActualLayout(Graphics g) { //Uu.p("doActualLayout called"); this.removeAll(); if (g == null) { return; } if (doc == null) { return; }// set up CSS Context c = newContext((Graphics2D) g); synchronized (this) { if (... | public void doActualLayout(Graphics g) { //Uu.p("doActualLayout called"); this.removeAll(); if (g == null) { return; } if (doc == null) { return; }// set up CSS Context c = newContext((Graphics2D) g); synchronized (this) { if (... | 27,836 |
public abstract ImageReader createReaderInstance(Object extension) throws IOException; | public abstract ImageReader createReaderInstance(Object extension) throws IOException; | 27,837 |
public abstract ImageWriter createWriterInstance(Object extension) throws IOException; | public abstract ImageWriter createWriterInstance(Object extension) throws IOException; | 27,838 |
public void setInput(Object in) { setInput(in, false, false); } | public void setInput(Object input, boolean seekForwardOnly, boolean ignoreMetadata) { setInput(in, false, false); } | 27,839 |
public void setInput(Object in) { setInput(in, false, false); } | public void setInput(Object in) { Class[] okClasses = originatingProvider.getInputTypes(); if (okClasses == null) { if (!(input instanceof ImageInputStream)) throw new IllegalArgumentException(); } else { boolean classOk = false; for (int i = 0; i < okClasses.length; ++i) if (okClasses[i].isInstance(input)) class... | 27,840 |
public PermissionCollection getPermissions(CodeSource codesource) { final Permissions perms = new Permissions(); perms.add(allPermission); return perms; } | public PermissionCollection getPermissions(CodeSource codesource) { final Permissions perms = new Permissions(); perms.add(allPermission); return perms; } | 27,841 |
public void bind(Name name, Object obj, Attributes attrs) throws NamingException; | void bind(Name name, Object obj, Attributes attrs) throws NamingException; | 27,842 |
public DirContext createSubcontext(Name name, Attributes attrs) throws NamingException; | DirContext createSubcontext(Name name, Attributes attrs) throws NamingException; | 27,843 |
public Attributes getAttributes (String name) throws NamingException; | Attributes getAttributes (String name) throws NamingException; | 27,844 |
public DirContext getSchema(Name name) throws NamingException; | DirContext getSchema(Name name) throws NamingException; | 27,845 |
public DirContext getSchemaClassDefinition(Name name) throws NamingException; | DirContext getSchemaClassDefinition(Name name) throws NamingException; | 27,846 |
public void modifyAttributes(Name name, int mod_op, Attributes attrs) throws NamingException; | void modifyAttributes(Name name, int mod_op, Attributes attrs) throws NamingException; | 27,847 |
public void rebind(Name name, Object obj, Attributes attrs) throws NamingException; | void rebind(Name name, Object obj, Attributes attrs) throws NamingException; | 27,848 |
public NamingEnumeration search(Name name, Attributes matchingAttributes, String[] attributesToReturn) throws NamingException; | NamingEnumeration search(Name name, Attributes matchingAttributes, String[] attributesToReturn) throws NamingException; | 27,849 |
public final int getLineNr() { if (isInterpreted()) { final VmByteCode bc = sfMethod.getBytecode(); if (bc != null) { return bc.getLineNr(sfPc - 1); } else { return -1; } } else { final VmCompiledCode cc = sfMethod.getCompiledCode(); if ((cc != null) && (sfInstructionPointer != null)) { return c... | public final int getLineNr() { if (isInterpreted()) { final VmByteCode bc = sfMethod.getBytecode(); if (bc != null) { return bc.getLineNr(sfPc - 1); } else { return -1; } } else { final VmCompiledCode cc = sfMethod.getCompiledCode(getMagic()); if ((cc != null) && (sfInstructionPointer != null)) { ... | 27,850 |
protected final boolean isInterpreted() { return (sfMagic == MAGIC_INTERPRETED); } | protected final boolean isInterpreted() { return ((sfMagic & MAGIC_MASK) == MAGIC_INTERPRETED); } | 27,851 |
final int getMagic(Address sf) { return Unsafe.getInt(sf, getMagicOffset(sf)) & VmStackFrame.MAGIC_MASK; } | final int getMagic(Address sf) { return Unsafe.getInt(sf, getMagicOffset(sf)); } | 27,852 |
public final VmCompiledCode getCompiledCode() { return compiledCode; } | public final VmCompiledCode getCompiledCode() { return compiledCode; } | 27,853 |
InetAddress() { System.out.println("CLASS: InetAddress: InetAddress()"); } | InetAddress() { System.out.println("CLASS: InetAddress.InetAddress()"); } | 27,855 |
public boolean equals(Object obj) { System.out.println("CLASS: InetAddress: equals()"); if ( (obj != null) && (obj instanceof InetAddress) ) { byte addr[] = ((InetAddress)obj).getAddress(); if ( (addr == address) && (addr.length == address.length) ) return true; } return false; } | public boolean equals(Object obj) { System.out.println("CLASS: InetAddress.equals()"); if ( (obj != null) && (obj instanceof InetAddress) ) { byte addr[] = ((InetAddress)obj).getAddress(); if ( (addr == address) && (addr.length == address.length) ) return true; } return false; } | 27,856 |
public boolean equals(Object obj) { System.out.println("CLASS: InetAddress: equals()"); if ( (obj != null) && (obj instanceof InetAddress) ) { byte addr[] = ((InetAddress)obj).getAddress(); if ( (addr == address) && (addr.length == address.length) ) return true; } return false; } | public boolean equals(Object obj) { System.out.println("CLASS: InetAddress: equals()"); if ( (obj != null) && (obj instanceof InetAddress) ) { byte addr[] = ((InetAddress)obj).getAddress(); if ( addr.length == address.length ) { for (int i = 0; i < address.length; i++) { if (address[i] != addr[i]) { return f... | 27,857 |
public boolean equals(Object obj) { System.out.println("CLASS: InetAddress: equals()"); if ( (obj != null) && (obj instanceof InetAddress) ) { byte addr[] = ((InetAddress)obj).getAddress(); if ( (addr == address) && (addr.length == address.length) ) return true; } return false; } | public boolean equals(Object obj) { System.out.println("CLASS: InetAddress: equals()"); if ( (obj != null) && (obj instanceof InetAddress) ) { byte addr[] = ((InetAddress)obj).getAddress(); if ( (addr == address) && (addr.length == address.length) ) return true; } } return false; } } | 27,858 |
public byte[] getAddress() { System.out.println("CLASS: InetAddress: getAddress()"); return address; } | public byte[] getAddress() { System.out.println("CLASS: InetAddress.getAddress()"); return address; } | 27,859 |
public static InetAddress getAllByName(String host)[] throws UnknownHostException { System.out.println("CLASS: InetAddress: getAllByName("+host+")[]"); if (host == null || host.length() == 0) { throw new UnknownHostException(host == null ? "Null string" : host); } /* check if host is IP address */ byte[] ... | public static InetAddress getAllByName(String host)[] throws UnknownHostException { System.out.println("CLASS: InetAddress.getAllByName("+host+")[]"); if (host == null || host.length() == 0) { throw new UnknownHostException(host == null ? "Null string" : host); } /* check if host is IP address */ byte[] a... | 27,860 |
public static InetAddress getByName(String host) throws UnknownHostException { System.out.println("CLASS: InetAddress: getByName("+host+")"); if ( (host == null) || (host.length() == 0) ) { return loopbackHost; } else { byte[] addr = pton(host); if (addr != null) { return new InetAddress(null, addr); ... | public static InetAddress getByName(String host) throws UnknownHostException { System.out.println("CLASS: InetAddress.getByName("+host+")"); if ( (host == null) || (host.length() == 0) ) { return loopbackHost; } else { byte[] addr = pton(host); if (addr != null) { return new InetAddress(null, addr); }... | 27,861 |
public String getHostAddress() { int len = address.length; /* allocate room for result */ /* defined in <netinet/in.h> INET6_ADDRSTRLEN = 46 */ StringBuffer addrBuffer = new StringBuffer(46); System.out.println("CLASS: InetAddress: getHostAddress()"); /* We have an IPv6 address. * Return full address for n... | public String getHostAddress() { int len = address.length; /* allocate room for result */ /* defined in <netinet/in.h> INET6_ADDRSTRLEN = 46 */ StringBuffer addrBuffer = new StringBuffer(46); System.out.println("CLASS: InetAddress.getHostAddress()"); /* We have an IPv6 address. * Return full address for no... | 27,862 |
public String getHostName() { System.out.println("CLASS: InetAddress: getHostName()"); if (hostName == null) { try { hostName = getHostByAddress(address); } catch (UnknownHostException he) { hostName = getHostAddress(); } } return hostName; } | public String getHostName() { System.out.println("CLASS: InetAddress.getHostName()"); if (hostName == null) { try { hostName = getHostByAddress(address); } catch (UnknownHostException he) { hostName = getHostAddress(); } } return hostName; } | 27,863 |
public static InetAddress getLocalHost() throws UnknownHostException { System.out.println("CLASS: InetAddress: getLocalHost()"); SecurityManager s = System.getSecurityManager(); /* need to check if they are allowed to to do this */ if (localHost == null) { String host = getLocalHostName(); if (s != null) ... | public static InetAddress getLocalHost() throws UnknownHostException { System.out.println("CLASS: InetAddress.getLocalHost()"); SecurityManager s = System.getSecurityManager(); /* need to check if they are allowed to to do this */ if (localHost == null) { String host = getLocalHostName(); if (s != null) {... | 27,864 |
public int hashCode() { System.out.println("CLASS: InetAddress: hashCode()"); int hash = 0; int i = 0; int len = address.length; if (len == 16) { /* only want the last 4 bytes of IPv6 address */ i = len - 4; } for ( ; i < len; i++) hash = (hash << 8) | (address[i] & 0xFF); return hash; } | public int hashCode() { System.out.println("CLASS: InetAddress.hashCode()"); int hash = 0; int i = 0; int len = address.length; if (len == 16) { /* only want the last 4 bytes of IPv6 address */ i = len - 4; } for ( ; i < len; i++) hash = (hash << 8) | (address[i] & 0xFF); return hash; } | 27,865 |
public boolean isMulticastAddress() { System.out.println("CLASS: InetAddress: isMulticastAddress()"); int len = address.length; /* IPv4 address check for class D address */ if (len == 4) return ((address[0] & 0xF0) == 0xE0); /* IPv6 address check */ if (len == 16) return (address[0] == (byte) 0xFF); /... | public boolean isMulticastAddress() { System.out.println("CLASS: InetAddress.isMulticastAddress()"); int len = address.length; /* IPv4 address check for class D address */ if (len == 4) return ((address[0] & 0xF0) == 0xE0); /* IPv6 address check */ if (len == 16) return (address[0] == (byte) 0xFF); /*... | 27,866 |
public String toString() { System.out.println("CLASS: InetAddress: toString()"); return getHostName() + "/" + getHostAddress(); } | public String toString() { System.out.println("CLASS: InetAddress.toString()"); return getHostName() + "/" + getHostAddress(); } | 27,867 |
private static void positionBoxLeft(Context c, Box box) { //Uu.p("positionBoxLeft()"); //Uu.dump_stack(); //Uu.p("calling the new float routine"); //Uu.p("starting box = " + box); BlockFormattingContext bfc = c.getBlockFormattingContext(); Box floater = bfc.newGetLeftFloatX(box); ... | private static void positionBoxLeft(Context c, Box box) { //Uu.p("positionBoxLeft()"); //Uu.dump_stack(); //Uu.p("calling the new float routine"); //Uu.p("starting box = " + box); BlockFormattingContext bfc = c.getBlockFormattingContext(); Box floater = bfc.newGetLeftFloatX(box); ... | 27,868 |
private static void positionBoxLeft(Context c, Box box) { //Uu.p("positionBoxLeft()"); //Uu.dump_stack(); //Uu.p("calling the new float routine"); //Uu.p("starting box = " + box); BlockFormattingContext bfc = c.getBlockFormattingContext(); Box floater = bfc.newGetLeftFloatX(box); ... | private static void positionBoxLeft(Context c, Box box) { //Uu.p("positionBoxLeft()"); //Uu.dump_stack(); //Uu.p("calling the new float routine"); //Uu.p("starting box = " + box); BlockFormattingContext bfc = c.getBlockFormattingContext(); Box floater = bfc.newGetLeftFloatX(box); ... | 27,869 |
private static void positionBoxRight(Context c, Box box) { BlockFormattingContext bfc = c.getBlockFormattingContext(); Box floater = bfc.getRightFloatX(box); if (floater == null) { // Uu.p("floaters are null"); // Uu.p("extents = " + c.getExtents().width); box.x... | private static void positionBoxRight(Context c, Box box) { BlockFormattingContext bfc = c.getBlockFormattingContext(); Box floater = bfc.getRightFloatX(box); if (floater == null) { // Uu.p("floaters are null"); // Uu.p("extents = " + c.getExtents().width); box.x... | 27,870 |
private static void positionBoxRight(Context c, Box box) { BlockFormattingContext bfc = c.getBlockFormattingContext(); Box floater = bfc.getRightFloatX(box); if (floater == null) { // Uu.p("floaters are null"); // Uu.p("extents = " + c.getExtents().width); box.x... | private static void positionBoxRight(Context c, Box box) { BlockFormattingContext bfc = c.getBlockFormattingContext(); Box floater = bfc.getRightFloatX(box); if (floater == null) { // Uu.p("floaters are null"); // Uu.p("extents = " + c.getExtents().width); box.x... | 27,871 |
public static void setupFloat(Context c, Box box, CascadedStyle style) { if (ContentUtil.isFloated(style)) { //Uu.p("==== setup float ===="); //Uu.dump_stack(); IdentValue floatVal = style.getIdent(CSSName.FLOAT); if (floatVal == IdentValue.NONE) { return; ... | public static void setupFloat(Context c, Box box, CascadedStyle style) { if (ContentUtil.isFloated(style)) { //Uu.p("==== setup float ===="); //Uu.dump_stack(); IdentValue floatVal = style.getIdent(CSSName.FLOAT); if (floatVal == IdentValue.NONE) { return; ... | 27,872 |
public boolean selfTest() { if (valid == null) { byte[] key; try { key = "abcdefghijklmnop".getBytes("ASCII"); } catch (UnsupportedEncodingException x) { throw new RuntimeException("ASCII not supported"); } byte[] nonce = n... | public boolean selfTest() { if (valid == null) { byte[] key; try { key = "abcdefghijklmnop".getBytes("ASCII"); } catch (UnsupportedEncodingException x) { throw new RuntimeException("ASCII not supported"); } byte[] nonce = n... | 27,874 |
protected String paramString() { return "JComboBox"; } | protected String paramString() { String superParamStr = super.paramString(); StringBuffer sb = new StringBuffer(); sb.append(",isEditable=").append(isEditable()); sb.append(",lightWeightPopupEnabled=").append(isLightWeightPopupEnabled()); sb.append(",maximumRowCount=").append(getMaximumRowCount()); sb.append(",s... | 27,875 |
public DefaultComboBoxModel(Object[] items) { list = new Vector(Arrays.asList(items)); if (list.size() > 0) selectedItem = list.get(0); } | public DefaultComboBoxModel() { list = new Vector(Arrays.asList(items)); if (list.size() > 0) selectedItem = list.get(0); } | 27,876 |
public DefaultComboBoxModel(Object[] items) { list = new Vector(Arrays.asList(items)); if (list.size() > 0) selectedItem = list.get(0); } | public DefaultComboBoxModel(Object[] items) { list = new Vector(Arrays.asList(items)); if (list.size() > 0) selectedItem = list.get(0); } | 27,877 |
public abstract boolean isPopupVisible(JComboBox combobox); | public abstract boolean isPopupVisible(JComboBox c); | 27,878 |
public abstract void setPopupVisible(JComboBox combobox, boolean visible); | public abstract void setPopupVisible(JComboBox c, boolean visible); | 27,879 |
protected ClusteredPostOffice createClusteredPostOffice(String nodeId, String groupName) throws Exception { MessagePullPolicy pullPolicy = new NullMessagePullPolicy(); FilterFactory ff = new SimpleFilterFactory(); ClusterRouterFactory rf = new DefaultRouterFactory(); DefaultCl... | protected ClusteredPostOffice createClusteredPostOffice(String nodeId, String groupName) throws Exception { MessagePullPolicy pullPolicy = new NullMessagePullPolicy(); FilterFactory ff = new SimpleFilterFactory(); ClusterRouterFactory rf = new DefaultRouterFactory(); DefaultCl... | 27,880 |
protected void routeComplexTopic(boolean persistent) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; ClusteredPostOffice office4 = null; ClusteredPostOffice office5 = null; Clu... | protected void routeComplexTopic(boolean persistent) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; ClusteredPostOffice office4 = null; ClusteredPostOffice office5 = null; Clu... | 27,881 |
protected void routeComplexTopic(boolean persistent) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; ClusteredPostOffice office4 = null; ClusteredPostOffice office5 = null; Clu... | protected void routeComplexTopic(boolean persistent) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; ClusteredPostOffice office4 = null; ClusteredPostOffice office5 = null; Clu... | 27,882 |
protected void routeComplexTopic(boolean persistent) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; ClusteredPostOffice office4 = null; ClusteredPostOffice office5 = null; Clu... | protected void routeComplexTopic(boolean persistent) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; ClusteredPostOffice office4 = null; ClusteredPostOffice office5 = null; Clu... | 27,883 |
protected void routeComplexTopic(boolean persistent) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; ClusteredPostOffice office4 = null; ClusteredPostOffice office5 = null; Clu... | protected void routeComplexTopic(boolean persistent) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; ClusteredPostOffice office4 = null; ClusteredPostOffice office5 = null; Clu... | 27,884 |
protected void routeComplexTopic(boolean persistent) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; ClusteredPostOffice office4 = null; ClusteredPostOffice office5 = null; Clu... | protected void routeComplexTopic(boolean persistent) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; ClusteredPostOffice office4 = null; ClusteredPostOffice office5 = null; Clu... | 27,885 |
protected void routeComplexTopic(boolean persistent) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; ClusteredPostOffice office4 = null; ClusteredPostOffice office5 = null; Clu... | protected void routeComplexTopic(boolean persistent) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; ClusteredPostOffice office4 = null; ClusteredPostOffice office5 = null; Clu... | 27,886 |
protected void routeComplexTopic(boolean persistent) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; ClusteredPostOffice office4 = null; ClusteredPostOffice office5 = null; Clu... | protected void routeComplexTopic(boolean persistent) throws Throwable { ClusteredPostOffice office1 = null; ClusteredPostOffice office2 = null; ClusteredPostOffice office3 = null; ClusteredPostOffice office4 = null; ClusteredPostOffice office5 = null; Clu... | 27,887 |
public void acknowledge(Routable r, Transaction tx) throws Throwable { log.debug(this + " acknowledging " + r); Object[] touple = null; Delivery d = null; for (Iterator i = messages.iterator(); i.hasNext(); ) { Object[] o = (Object[])i.next(); Message m = (Message)o[0]; ... | public void acknowledge(Routable r, Transaction tx) throws Throwable { log.debug(this + " acknowledging " + r); Object[] touple = null; Delivery d = null; for (Iterator i = messages.iterator(); i.hasNext(); ) { Object[] o = (Object[])i.next(); Message m = (Message)o[0]; ... | 27,888 |
public void acknowledge(Routable r, Transaction tx) throws Throwable { log.debug(this + " acknowledging " + r); Object[] touple = null; Delivery d = null; for (Iterator i = messages.iterator(); i.hasNext(); ) { Object[] o = (Object[])i.next(); Message m = (Message)o[0]; ... | public void acknowledge(Routable r, Transaction tx) throws Throwable { log.debug(this + " acknowledging " + r); Object[] touple = null; Delivery d = null; for (Iterator i = messages.iterator(); i.hasNext(); ) { Object[] o = (Object[])i.next(); Message m = (Message)o[0]; ... | 27,889 |
public void setUp() throws Exception { super.setUp(); sc = new ServiceContainer("all"); sc.start(); pm = new JDBCPersistenceManager(sc.getDataSource(), sc.getTransactionManager(), null, true, true, true, 100); pm.... | public void setUp() throws Exception { super.setUp(); sc = new ServiceContainer("all"); sc.start(); pm = new JDBCPersistenceManager(sc.getDataSource(), sc.getTransactionManager(), null, true, true, true, 100); pm.... | 27,890 |
public void tearDown() throws Exception { if (!ServerManagement.isRemote()) { sc.stop(); sc = null; } pm.stop(); tr.stop(); ms.stop(); super.tearDown(); } | public void tearDown() throws Exception { if (!ServerManagement.isRemote()) { sc.stop(); sc = null; } pm.stop(); tr.stop(); ms.stop(); super.tearDown(); } | 27,891 |
public boolean accept(Routable r) { boolean accept = true; if (messageSelector != null) { accept = messageSelector.accept(r); if (trace) { log.trace("message selector " + (accept ? "accepts " : "DOES NOT accept ") + "the message"); } } if (accept) { if (noLoca... | public boolean accept(Routable r) { boolean accept = true; if (this.destination.isQueue()) { accept = messageSelector.accept(r); if (trace) { log.trace("message selector " + (accept ? "accepts " : "DOES NOT accept ") + "the message"); } } if (accept) { if (noL... | 27,892 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.