bugged
stringlengths
6
599k
fixed
stringlengths
10
599k
__index_level_0__
int64
0
1.13M
public Response dispatch() throws IOException { if (dispatched) { throw new ProtocolException("request already dispatched"); } final String CRLF = "\r\n"; final String HEADER_SEP = ": "; final String US_ASCII = "US-ASCII"; final String version = connection.getVersion(); Response...
public Response dispatch() throws IOException { if (dispatched) { throw new ProtocolException("request already dispatched"); } final String CRLF = "\r\n"; final String HEADER_SEP = ": "; final String US_ASCII = "US-ASCII"; final String version = connection.getVersion(); Response...
13,955
public Response dispatch() throws IOException { if (dispatched) { throw new ProtocolException("request already dispatched"); } final String CRLF = "\r\n"; final String HEADER_SEP = ": "; final String US_ASCII = "US-ASCII"; final String version = connection.getVersion(); Response...
public Response dispatch() throws IOException { if (dispatched) { throw new ProtocolException("request already dispatched"); } final String CRLF = "\r\n"; final String HEADER_SEP = ": "; final String US_ASCII = "US-ASCII"; final String version = connection.getVersion(); Response...
13,956
public Response dispatch() throws IOException { if (dispatched) { throw new ProtocolException("request already dispatched"); } final String CRLF = "\r\n"; final String HEADER_SEP = ": "; final String US_ASCII = "US-ASCII"; final String version = connection.getVersion(); Response...
public Response dispatch() throws IOException { if (dispatched) { throw new ProtocolException("request already dispatched"); } final String CRLF = "\r\n"; final String HEADER_SEP = ": "; final String US_ASCII = "US-ASCII"; final String version = connection.getVersion(); Response...
13,957
public Response dispatch() throws IOException { if (dispatched) { throw new ProtocolException("request already dispatched"); } final String CRLF = "\r\n"; final String HEADER_SEP = ": "; final String US_ASCII = "US-ASCII"; final String version = connection.getVersion(); Response...
public Response dispatch() throws IOException { if (dispatched) { throw new ProtocolException("request already dispatched"); } final String CRLF = "\r\n"; final String HEADER_SEP = ": "; final String US_ASCII = "US-ASCII"; final String version = connection.getVersion(); Response...
13,958
public Response dispatch() throws IOException { if (dispatched) { throw new ProtocolException("request already dispatched"); } final String CRLF = "\r\n"; final String HEADER_SEP = ": "; final String US_ASCII = "US-ASCII"; final String version = connection.getVersion(); Response...
public Response dispatch() throws IOException { if (dispatched) { throw new ProtocolException("request already dispatched"); } final String CRLF = "\r\n"; final String HEADER_SEP = ": "; final String US_ASCII = "US-ASCII"; final String version = connection.getVersion(); Response...
13,959
String getNonceCount(String nonce) { int nc = connection.getNonceCount(nonce); String hex = Integer.toHexString(nc); StringBuffer buf = new StringBuffer(); for (int i = 8 - hex.length(); i > 0; i--) { buf.append('0'); } buf.append(hex); return buf.toString(); }
String getNonceCount(String nonce) { int nc = connection.getNonceCount(nonce); String hex = Integer.toHexString(nc); StringBuilder buf = new StringBuilder(); for (int i = 8 - hex.length(); i > 0; i--) { buf.append('0'); } buf.append(hex); return buf.toString(); }
13,961
void handleSetCookie(String text) { CookieManager cookieManager = connection.getCookieManager(); if (cookieManager == null) { return; } String name = null; String value = null; String comment = null; String domain = connection.getHostName(); String path = this.path; int lsi =...
void handleSetCookie(String text) { CookieManager cookieManager = connection.getCookieManager(); if (cookieManager == null) { return; } String name = null; String value = null; String comment = null; String domain = connection.getHostName(); String path = this.path; int lsi =...
13,962
Properties parseAuthParams(String text) { int len = text.length(); String key = null; StringBuffer buf = new StringBuffer(); Properties ret = new Properties(); boolean inQuote = false; for (int i = 0; i < len; i++) { char c = text.charAt(i); if (c == '"') { in...
Properties parseAuthParams(String text) { int len = text.length(); String key = null; StringBuilder buf = new StringBuilder(); Properties ret = new Properties(); boolean inQuote = false; for (int i = 0; i < len; i++) { char c = text.charAt(i); if (c == '"') { ...
13,963
Response readResponse(LineInputStream in) throws IOException { String line; int len; // Read response status line line = in.readLine(); if (line == null) { throw new ProtocolException("Peer closed connection"); } if (!line.startsWith("HTTP/")) { throw new Protoco...
Response readResponse(InputStream in) throws IOException { String line; int len; // Read response status line line = in.readLine(); if (line == null) { throw new ProtocolException("Peer closed connection"); } if (!line.startsWith("HTTP/")) { throw new ProtocolExc...
13,964
Response readResponse(LineInputStream in) throws IOException { String line; int len; // Read response status line line = in.readLine(); if (line == null) { throw new ProtocolException("Peer closed connection"); } if (!line.startsWith("HTTP/")) { throw new Protoco...
Response readResponse(LineInputStream in) throws IOException { String line; int len; // Read response status line LineInputStream lis = new LineInputStream(in); line = lis.readLine(); if (line == null) { throw new ProtocolException("Peer closed connection"); } if (!line.sta...
13,965
Response readResponse(LineInputStream in) throws IOException { String line; int len; // Read response status line line = in.readLine(); if (line == null) { throw new ProtocolException("Peer closed connection"); } if (!line.startsWith("HTTP/")) { throw new Protoco...
Response readResponse(LineInputStream in) throws IOException { String line; int len; // Read response status line line = in.readLine(); if (line == null) { throw new ProtocolException("Peer closed connection"); } if (!line.startsWith("HTTP/")) { throw new Protoco...
13,966
Response readResponse(LineInputStream in) throws IOException { String line; int len; // Read response status line line = in.readLine(); if (line == null) { throw new ProtocolException("Peer closed connection"); } if (!line.startsWith("HTTP/")) { throw new Protoco...
Response readResponse(LineInputStream in) throws IOException { String line; int len; // Read response status line line = in.readLine(); if (line == null) { throw new ProtocolException("Peer closed connection"); } if (!line.startsWith("HTTP/")) { throw new Protoco...
13,967
Response readResponse(LineInputStream in) throws IOException { String line; int len; // Read response status line line = in.readLine(); if (line == null) { throw new ProtocolException("Peer closed connection"); } if (!line.startsWith("HTTP/")) { throw new Protoco...
Response readResponse(LineInputStream in) throws IOException { String line; int len; // Read response status line line = in.readLine(); if (line == null) { throw new ProtocolException("Peer closed connection"); } if (!line.startsWith("HTTP/")) { throw new Protoco...
13,968
public void propertyChange(PropertyChangeEvent e) { if (e.getPropertyName() == "accelerator") { InputMap map = SwingUtilities.getUIInputMap(menuItem, JComponent.WHEN_IN_FOCUSED_WINDOW); if (map != null) map.remove((KeyStroke)e.getOldValue()); else map ...
public void propertyChange(PropertyChangeEvent e) { if (e.getPropertyName() == "accelerator") { InputMap map = SwingUtilities.getUIInputMap(menuItem, JComponent.WHEN_IN_FOCUSED_WINDOW); if (map != null) map.remove((KeyStroke)e.getOldValue()); else map ...
13,970
protected void installKeyboardActions() { InputMap focusedWindowMap = SwingUtilities.getUIInputMap(menuItem, JComponent.WHEN_IN_FOCUSED_WINDOW); if (focusedWindowMap == null) focusedWindowMap = new ComponentInputMapUIResource(menuItem); focusedWindowMap.put(menuItem.getAccelerator(), "doClick"); Swi...
protected void installKeyboardActions() { InputMap focusedWindowMap = SwingUtilities.getUIInputMap(menuItem, JComponent.WHEN_IN_FOCUSED_WINDOW); if (focusedWindowMap == null) focusedWindowMap = new ComponentInputMapUIResource(menuItem); KeyStroke accelerator = menuItem.getAccelerator(); if (accelerator...
13,971
IfNode(TemplateNode children, TemplateNode next, Expr test) { super(children, next); this.test = test; }
IfNode(Expr test) { super(children, next); this.test = test; }
13,972
IfNode(TemplateNode children, TemplateNode next, Expr test) { super(children, next); this.test = test; }
IfNode(TemplateNode children, TemplateNode next, Expr test) { this.test = test; }
13,973
TemplateNode clone(Stylesheet stylesheet) { return new IfNode((children == null) ? null : children.clone(stylesheet), (next == null) ? null : next.clone(stylesheet), test.clone(stylesheet)); }
TemplateNode clone(Stylesheet stylesheet) { return new IfNode((children == null) ? null : children.clone(stylesheet), (next == null) ? null : next.clone(stylesheet), test.clone(stylesheet)); }
13,974
boolean includeResource(String href, String parse, String xpointer, String encoding, String accept, String acceptLanguage) { included = false; try { if (xpointer != null) throw new XMLStreamException("xpointer attribute not yet supported");...
boolean includeResource(String href, String parse, String xpointer, String encoding, String accept, String acceptLanguage) { included = false; try { if (xpointer != null) throw new XMLStreamException("xpointer attribute not yet supported");...
13,975
boolean includeResource(String href, String parse, String xpointer, String encoding, String accept, String acceptLanguage) { included = false; try { if (xpointer != null) throw new XMLStreamException("xpointer attribute not yet supported");...
boolean includeResource(String href, String parse, String xpointer, String encoding, String accept, String acceptLanguage) { included = false; try { if (xpointer != null) throw new XMLStreamException("xpointer attribute not yet supported");...
13,976
public static float[] read(InputStream input) { FloatSeqHolder h = new FloatSeqHolder(); h._read(input); return h.value; }
public static float[] read(InputStream input) { FloatSeqHolder h = new FloatSeqHolder(); h._read(input); return h.value; }
13,977
public static void write(OutputStream output, float[] value) { FloatSeqHolder h = new FloatSeqHolder(value); h._write(output); }
public static void write(OutputStream output, float[] value) { FloatSeqHolder h = new FloatSeqHolder(value); h._write(output); }
13,978
public DomLSParser(short mode, String schemaType) throws DOMException { switch (mode) { case DOMImplementationLS.MODE_ASYNCHRONOUS: async = true; break; case DOMImplementationLS.MODE_SYNCHRONOUS: async = false; break; default: throw new DomEx(DOMException....
public DomLSParser(short mode, String schemaType) throws DOMException { switch (mode) { case DOMImplementationLS.MODE_ASYNCHRONOUS: async = true; break; case DOMImplementationLS.MODE_SYNCHRONOUS: async = false; break; default: throw new DomDOMException(DOM...
13,979
private Document doParse(LSInput input) throws DOMException, LSException { // create event sink if (eventSink != null) { throw new LSException(LSException.PARSE_ERR, "parse in progress"); } InputSource source = getInputSource(input); eventSink = (filter == null) ? new SAXEventSink() :...
private Document doParse(LSInput input) throws DOMException, LSException { // create event sink if (eventSink != null) { throw new LSException(LSException.PARSE_ERR, "parse in progress"); } InputSource source = getInputSource(input); eventSink = (filter == null) ? new SAXEventSink() :...
13,980
private InputSource getInputSource(LSInput input) throws LSException { InputSource source = null; String systemId = input.getSystemId(); InputStream in = input.getByteStream(); if (in != null) { source = new InputSource(in); source.setSystemId(systemId); } if (source == null...
private InputSource getInputSource(LSInput input) throws LSException { InputSource source = null; String systemId = input.getSystemId(); InputStream in = input.getByteStream(); if (in != null) { source = new InputSource(in); source.setSystemId(systemId); } if (source == null...
13,981
public Object getParameter(String name) throws DOMException { name = name.toLowerCase(); if ("cdata-sections".equals(name)) { return coalescing ? Boolean.FALSE : Boolean.TRUE; } else if ("comments".equals(name)) { return ignoreComments ? Boolean.FALSE : Boolean.TRUE; } ...
public Object getParameter(String name) throws DOMException { name = name.toLowerCase(); if ("cdata-sections".equals(name)) { return coalescing ? Boolean.FALSE : Boolean.TRUE; } else if ("comments".equals(name)) { return ignoreComments ? Boolean.FALSE : Boolean.TRUE; } ...
13,982
private XMLReader getXMLReader() throws LSException { if (reader == null) { factory.setNamespaceAware(namespaceAware); factory.setValidating(validating); factory.setXIncludeAware(xIncludeAware); try { SAXParser parser = factory.newSAXParser(); rea...
private XMLReader getXMLReader() throws LSException { if (reader == null) { factory.setNamespaceAware(namespaceAware); factory.setValidating(validating); factory.setXIncludeAware(xIncludeAware); try { SAXParser parser = factory.newSAXParser(); rea...
13,983
public void setParameter(String name, Object value) throws DOMException { name = name.toLowerCase(); if ("cdata-sections".equals(name)) { coalescing = !((Boolean) value).booleanValue(); } else if ("comments".equals(name)) { ignoreComments = !((Boolean) value).booleanValue(); ...
public void setParameter(String name, Object value) throws DOMException { name = name.toLowerCase(); if ("cdata-sections".equals(name)) { coalescing = !((Boolean) value).booleanValue(); } else if ("comments".equals(name)) { ignoreComments = !((Boolean) value).booleanValue(); ...
13,984
public int statusAll(boolean load) { int result = 0; MediaEntry e = head; while (e != null) { if (load && e.status == 0) { boolean complete = target.prepareImage(e.image, e); if (complete) e.status = COMPLETE; else e.status = LOADING; } ...
public int statusAll(boolean load) { int result = 0; MediaEntry e = head; while (e != null) { if (load && e.status == 0) { boolean complete = target.prepareImage(e.image, e); if (complete) e.status = COMPLETE; else e.status = LOADING; } ...
13,985
public int statusID(int id, boolean load) { int result = 0; MediaEntry e = head; while (e != null) { if (e.id == id) { if (load && e.status == 0) { boolean complete = target.prepareImage(e.image, e); if (complete) e.status = COMPL...
public int statusID(int id, boolean load) { int result = 0; MediaEntry e = head; while (e != null) { if (e.id == id) { if (load && e.status == 0) { boolean complete = target.prepareImage(e.image, e); if (complete) e.status = COMPL...
13,987
public VmType getType() { return type; }
public VmType<?> getType() { return type; }
13,989
public void setNodeValue(String value) { if (readonly) { throw new DomEx(DomEx.NO_MODIFICATION_ALLOWED_ERR); } if (value == null) { value = ""; } String oldValue = getNodeValue(); while (last != null) { removeChild(last); } // don't create a new node ...
public void setNodeValue(String value) { if (readonly) { throw new DomDOMException(DOMException.NO_MODIFICATION_ALLOWED_ERR); } if (value == null) { value = ""; } String oldValue = getNodeValue(); while (last != null) { removeChild(last); } // don't c...
13,990
public final void setOwnerElement(Element e) { if (parent != null) { throw new DomEx (DomEx.HIERARCHY_REQUEST_ERR); } if (!(e instanceof DomElement)) { throw new DomEx(DomEx.WRONG_DOCUMENT_ERR); } parent = (DomElement) e; depth = parent.depth + 1; }
public final void setOwnerElement(Element e) { if (parent != null) { throw new DomDOMException(DOMException.HIERARCHY_REQUEST_ERR); } if (!(e instanceof DomElement)) { throw new DomEx(DomEx.WRONG_DOCUMENT_ERR); } parent = (DomElement) e; depth = parent.depth + 1; }
13,991
public final void setOwnerElement(Element e) { if (parent != null) { throw new DomEx (DomEx.HIERARCHY_REQUEST_ERR); } if (!(e instanceof DomElement)) { throw new DomEx(DomEx.WRONG_DOCUMENT_ERR); } parent = (DomElement) e; depth = parent.depth + 1; }
public final void setOwnerElement(Element e) { if (parent != null) { throw new DomEx (DomEx.HIERARCHY_REQUEST_ERR); } if (!(e instanceof DomElement)) { throw new DomDOMException(DOMException.WRONG_DOCUMENT_ERR); } parent = (DomElement) e; depth = parent.depth + 1; }
13,992
public Box(int a) { setLayout(new BoxLayout(this, a)); }
public Box(int axis) { setLayout(new BoxLayout(this, a)); }
13,993
public Box(int a) { setLayout(new BoxLayout(this, a)); }
public Box(int a) { setLayout(new BoxLayout(this, axis)); }
13,994
public Object evaluate(Node context, int pos, int len) { Object val = (arg == null) ? null : arg.evaluate(context, pos, len); return _namespace_uri(context, (Collection) val); }
public Object evaluate(Node context, int pos, int len) { Object val = (arg == null) ? Collections.singleton(context) : arg.evaluate(context, pos, len); return _namespace_uri(context, (Collection) val); }
13,995
public String getUIClassID() { //Returns a string that specifies the name of the L&F class that renders this component. return "JToggleButton"; }
public String getUIClassID() { //Returns a string that specifies the name of the L&F class that renders this component. return "JToggleButton"; }
13,996
public AccessibleContext getAccessibleContext() { // Gets the AccessibleContext associated with this JButton. return null; }
public AccessibleContext getAccessibleContext() { // Gets the AccessibleContext associated with this JButton. if (accessibleContext == null) accessibleContext = new AccessibleJButton(); return accessibleContext; }
13,997
protected String paramString() { return "JButton"; }
protected String paramString() { String superParam = super.paramString(); StringBuffer sb = new StringBuffer(41); sb.append(",defaultButton=").append(is_def); sb.append(",defaultCapable=").append(def); return superParam + sb.toString(); }
13,998
public Gnu() { super("GNU", 1.0, "GNU provider v1.0 implementing SHA-1, MD5, DSA, RSA, X.509 Certificates and CRLs, PKIX certificate path validators, Collection cert stores, Diffie-Hellman key agreement"); AccessController.doPrivileged (new PrivilegedAction() { public Object run() { // Note tha...
public Gnu() { super("GNU", 1.0, "GNU provider v1.0 implementing SHA-1, MD5, DSA, RSA, X.509 Certificates and CRLs, PKIX certificate path validators, Collection cert stores, Diffie-Hellman key agreement and key pair generator"); AccessController.doPrivileged (new PrivilegedAction() { public Object run(...
13,999
public Gnu() { super("GNU", 1.0, "GNU provider v1.0 implementing SHA-1, MD5, DSA, RSA, X.509 Certificates and CRLs, PKIX certificate path validators, Collection cert stores, Diffie-Hellman key agreement"); AccessController.doPrivileged (new PrivilegedAction() { public Object run() { // Note tha...
public Gnu() { super("GNU", 1.0, "GNU provider v1.0 implementing SHA-1, MD5, DSA, RSA, X.509 Certificates and CRLs, PKIX certificate path validators, Collection cert stores, Diffie-Hellman key agreement"); AccessController.doPrivileged (new PrivilegedAction() { public Object run() { // Note tha...
14,000
public Gnu() { super("GNU", 1.0, "GNU provider v1.0 implementing SHA-1, MD5, DSA, RSA, X.509 Certificates and CRLs, PKIX certificate path validators, Collection cert stores, Diffie-Hellman key agreement"); AccessController.doPrivileged (new PrivilegedAction() { public Object run() { // Note tha...
public Gnu() { super("GNU", 1.0, "GNU provider v1.0 implementing SHA-1, MD5, DSA, RSA, X.509 Certificates and CRLs, PKIX certificate path validators, Collection cert stores, Diffie-Hellman key agreement"); AccessController.doPrivileged (new PrivilegedAction() { public Object run() { // Note tha...
14,001
public Gnu() { super("GNU", 1.0, "GNU provider v1.0 implementing SHA-1, MD5, DSA, RSA, X.509 Certificates and CRLs, PKIX certificate path validators, Collection cert stores, Diffie-Hellman key agreement"); AccessController.doPrivileged (new PrivilegedAction() { public Object run() { // Note tha...
public Gnu() { super("GNU", 1.0, "GNU provider v1.0 implementing SHA-1, MD5, DSA, RSA, X.509 Certificates and CRLs, PKIX certificate path validators, Collection cert stores, Diffie-Hellman key agreement"); AccessController.doPrivileged (new PrivilegedAction() { public Object run() { // Note tha...
14,002
public Gnu() { super("GNU", 1.0, "GNU provider v1.0 implementing SHA-1, MD5, DSA, RSA, X.509 Certificates and CRLs, PKIX certificate path validators, Collection cert stores, Diffie-Hellman key agreement"); AccessController.doPrivileged (new PrivilegedAction() { public Object run() { // Note tha...
public Gnu() { super("GNU", 1.0, "GNU provider v1.0 implementing SHA-1, MD5, DSA, RSA, X.509 Certificates and CRLs, PKIX certificate path validators, Collection cert stores, Diffie-Hellman key agreement"); AccessController.doPrivileged (new PrivilegedAction() { public Object run() { // Note tha...
14,003
public Object run() { // Note that all implementation class names are referenced by using // Class.getName(). That way when we staticly link the Gnu provider // we automatically get all the implementation classes. // Signature put("Signature.SHA1withDSA", gnu.java.security.provider.DSAS...
public Object run() { // Note that all implementation class names are referenced by using // Class.getName(). That way when we staticly link the Gnu provider // we automatically get all the implementation classes. // Signature put("Signature.SHA1withDSA", gnu.java.security.provider.DSAS...
14,004
public Object run() { // Note that all implementation class names are referenced by using // Class.getName(). That way when we staticly link the Gnu provider // we automatically get all the implementation classes. // Signature put("Signature.SHA1withDSA", gnu.java.security.provider.DSAS...
public Object run() { // Note that all implementation class names are referenced by using // Class.getName(). That way when we staticly link the Gnu provider // we automatically get all the implementation classes. // Signature put("Signature.SHA1withDSA", gnu.java.security.provider.DSAS...
14,005
public Object run() { // Note that all implementation class names are referenced by using // Class.getName(). That way when we staticly link the Gnu provider // we automatically get all the implementation classes. // Signature put("Signature.SHA1withDSA", gnu.java.security.provider.DSAS...
public Object run() { // Note that all implementation class names are referenced by using // Class.getName(). That way when we staticly link the Gnu provider // we automatically get all the implementation classes. // Signature put("Signature.SHA1withDSA", gnu.java.security.provider.DSAS...
14,006
public Object run() { // Note that all implementation class names are referenced by using // Class.getName(). That way when we staticly link the Gnu provider // we automatically get all the implementation classes. // Signature put("Signature.SHA1withDSA", gnu.java.security.provider.DSAS...
public Object run() { // Note that all implementation class names are referenced by using // Class.getName(). That way when we staticly link the Gnu provider // we automatically get all the implementation classes. // Signature put("Signature.SHA1withDSA", gnu.java.security.provider.DSAS...
14,007
protected void installDefaults() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); chooser.setFont(defaults.getFont("ColorChooser.font")); chooser.setForeground(defaults.getColor("ColorChooser.foreground")); chooser.setBackground(defaults.getColor("ColorChooser.background")); }
protected void installDefaults() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); chooser.setFont(defaults.getFont("ColorChooser.font")); chooser.setForeground(defaults.getColor("ColorChooser.foreground")); chooser.setBackground(defaults.getColor("ColorChooser.background")); }
14,008
public void addTab(String name, Icon icon, Component panel) { addTab(name, icon, panel, null); }
public void addTab(String name, Icon icon, Component panel) { addTab(name, icon, panel, null); }
14,009
private synchronized void deliver(UDPHeader hdr, SocketBuffer skbuf) throws SocketException { final Integer lport = new Integer(hdr.getDstPort()); final IPv4Header ipHdr = (IPv4Header) skbuf.getNetworkLayerHeader(); final UDPDatagramSocketImpl socket = (UDPDatagramSocketImpl) sockets...
private synchronized void deliver(UDPHeader hdr, SocketBuffer skbuf) throws SocketException { final Integer lport = new Integer(hdr.getDstPort()); final IPv4Header ipHdr = (IPv4Header) skbuf.getNetworkLayerHeader(); final UDPDatagramSocketImpl socket = (UDPDatagramSocketImpl) sockets...
14,010
private synchronized void deliver(UDPHeader hdr, SocketBuffer skbuf) throws SocketException { final Integer lport = new Integer(hdr.getDstPort()); final IPv4Header ipHdr = (IPv4Header) skbuf.getNetworkLayerHeader(); final UDPDatagramSocketImpl socket = (UDPDatagramSocketImpl) sockets...
private synchronized void deliver(UDPHeader hdr, SocketBuffer skbuf) throws SocketException { final Integer lport = new Integer(hdr.getDstPort()); final IPv4Header ipHdr = (IPv4Header) skbuf.getNetworkLayerHeader(); final UDPDatagramSocketImpl socket = (UDPDatagramSocketImpl) sockets...
14,011
public static AlgorithmParameterGenerator getInstance(String algorithm) throws NoSuchAlgorithmException { Provider[] p = Security.getProviders(); for (int i = 0; i < p.length; i++) try { return getInstance(algorithm, p[i]); } catch (NoSuchAlgorithmException ignored) {} throw ...
public static AlgorithmParameterGenerator getInstance(String algorithm) throws NoSuchAlgorithmException { Provider[] p = Security.getProviders(); for (int i = 0; i < p.length; i++) try { return getInstance(algorithm, p[i]); } catch (NoSuchAlgorithmException e) { } throw new ...
14,013
public void append(StringBuilder sb) { sb.append(name); sb.append(" #"); sb.append(instanceCount); if (objectSize != 0) { sb.append(usage); sb.append(getTotalSize()); } }
public void append(StringBuilder sb) { sb.append(name); sb.append(" #"); sb.append(instanceCount); if (objectSize != 0) { sb.append(usage); long size = getTotalSize(); if (size >= 1024) { sb.append(NumberUtils.size(size) + " (" + getTota...
14,014
public boolean emit(String mnemonic, List<Object> operands, int operandSize) { this.operands = operands; this.operandSize = operandSize; Integer key = (Integer) INSTRUCTION_MAP.get(mnemonic); if (key == null) return false; switch (key.intValue()) { case EMMS_ISN: ...
public boolean emit(String mnemonic, List<Object> operands, int operandSize) { this.operands = operands; this.operandSize = operandSize; Integer key = (Integer) INSTRUCTION_MAP.get(mnemonic); if (key == null) return false; switch (key.intValue()) { case EMMS_ISN: ...
14,016
public boolean emit(String mnemonic, List<Object> operands, int operandSize) { this.operands = operands; this.operandSize = operandSize; Integer key = (Integer) INSTRUCTION_MAP.get(mnemonic); if (key == null) return false; switch (key.intValue()) { case EMMS_ISN: ...
public boolean emit(String mnemonic, List<Object> operands, int operandSize) { this.operands = operands; this.operandSize = operandSize; Integer key = (Integer) INSTRUCTION_MAP.get(mnemonic); if (key == null) return false; switch (key.intValue()) { case EMMS_ISN: ...
14,017
public boolean emit(String mnemonic, List<Object> operands, int operandSize) { this.operands = operands; this.operandSize = operandSize; Integer key = (Integer) INSTRUCTION_MAP.get(mnemonic); if (key == null) return false; switch (key.intValue()) { case EMMS_ISN: ...
public boolean emit(String mnemonic, List<Object> operands, int operandSize) { this.operands = operands; this.operandSize = operandSize; Integer key = (Integer) INSTRUCTION_MAP.get(mnemonic); if (key == null) return false; switch (key.intValue()) { case EMMS_ISN: ...
14,018
public boolean emit(String mnemonic, List<Object> operands, int operandSize) { this.operands = operands; this.operandSize = operandSize; Integer key = (Integer) INSTRUCTION_MAP.get(mnemonic); if (key == null) return false; switch (key.intValue()) { case EMMS_ISN: ...
public boolean emit(String mnemonic, List<Object> operands, int operandSize) { this.operands = operands; this.operandSize = operandSize; Integer key = (Integer) INSTRUCTION_MAP.get(mnemonic); if (key == null) return false; switch (key.intValue()) { case EMMS_ISN: ...
14,019
public boolean emit(String mnemonic, List<Object> operands, int operandSize) { this.operands = operands; this.operandSize = operandSize; Integer key = (Integer) INSTRUCTION_MAP.get(mnemonic); if (key == null) return false; switch (key.intValue()) { case EMMS_ISN: ...
public boolean emit(String mnemonic, List<Object> operands, int operandSize) { this.operands = operands; this.operandSize = operandSize; Integer key = (Integer) INSTRUCTION_MAP.get(mnemonic); if (key == null) return false; switch (key.intValue()) { case EMMS_ISN: ...
14,020
public boolean emit(String mnemonic, List<Object> operands, int operandSize) { this.operands = operands; this.operandSize = operandSize; Integer key = (Integer) INSTRUCTION_MAP.get(mnemonic); if (key == null) return false; switch (key.intValue()) { case EMMS_ISN: ...
public boolean emit(String mnemonic, List<Object> operands, int operandSize) { this.operands = operands; this.operandSize = operandSize; Integer key = (Integer) INSTRUCTION_MAP.get(mnemonic); if (key == null) return false; switch (key.intValue()) { case EMMS_ISN: ...
14,021
public boolean emit(String mnemonic, List<Object> operands, int operandSize) { this.operands = operands; this.operandSize = operandSize; Integer key = (Integer) INSTRUCTION_MAP.get(mnemonic); if (key == null) return false; switch (key.intValue()) { case EMMS_ISN: ...
public boolean emit(String mnemonic, List<Object> operands, int operandSize) { this.operands = operands; this.operandSize = operandSize; Integer key = (Integer) INSTRUCTION_MAP.get(mnemonic); if (key == null) return false; switch (key.intValue()) { case EMMS_ISN: ...
14,022
public boolean emit(String mnemonic, List<Object> operands, int operandSize) { this.operands = operands; this.operandSize = operandSize; Integer key = (Integer) INSTRUCTION_MAP.get(mnemonic); if (key == null) return false; switch (key.intValue()) { case EMMS_ISN: ...
public boolean emit(String mnemonic, List<Object> operands, int operandSize) { this.operands = operands; this.operandSize = operandSize; Integer key = (Integer) INSTRUCTION_MAP.get(mnemonic); if (key == null) return false; switch (key.intValue()) { case EMMS_ISN: ...
14,023
public boolean emit(String mnemonic, List<Object> operands, int operandSize) { this.operands = operands; this.operandSize = operandSize; Integer key = (Integer) INSTRUCTION_MAP.get(mnemonic); if (key == null) return false; switch (key.intValue()) { case EMMS_ISN: ...
public boolean emit(String mnemonic, List<Object> operands, int operandSize) { this.operands = operands; this.operandSize = operandSize; Integer key = (Integer) INSTRUCTION_MAP.get(mnemonic); if (key == null) return false; switch (key.intValue()) { case EMMS_ISN: ...
14,024
public boolean emit(String mnemonic, List<Object> operands, int operandSize) { this.operands = operands; this.operandSize = operandSize; Integer key = (Integer) INSTRUCTION_MAP.get(mnemonic); if (key == null) return false; switch (key.intValue()) { case EMMS_ISN: ...
public boolean emit(String mnemonic, List<Object> operands, int operandSize) { this.operands = operands; this.operandSize = operandSize; Integer key = (Integer) INSTRUCTION_MAP.get(mnemonic); if (key == null) return false; switch (key.intValue()) { case EMMS_ISN: ...
14,025
public boolean emit(String mnemonic, List<Object> operands, int operandSize) { this.operands = operands; this.operandSize = operandSize; Integer key = (Integer) INSTRUCTION_MAP.get(mnemonic); if (key == null) return false; switch (key.intValue()) { case EMMS_ISN: ...
public boolean emit(String mnemonic, List<Object> operands, int operandSize) { this.operands = operands; this.operandSize = operandSize; Integer key = (Integer) INSTRUCTION_MAP.get(mnemonic); if (key == null) return false; switch (key.intValue()) { case EMMS_ISN: ...
14,026
public boolean emit(String mnemonic, List<Object> operands, int operandSize) { this.operands = operands; this.operandSize = operandSize; Integer key = (Integer) INSTRUCTION_MAP.get(mnemonic); if (key == null) return false; switch (key.intValue()) { case EMMS_ISN: ...
public boolean emit(String mnemonic, List<Object> operands, int operandSize) { this.operands = operands; this.operandSize = operandSize; Integer key = (Integer) INSTRUCTION_MAP.get(mnemonic); if (key == null) return false; switch (key.intValue()) { case EMMS_ISN: ...
14,027
public boolean emit(String mnemonic, List<Object> operands, int operandSize) { this.operands = operands; this.operandSize = operandSize; Integer key = (Integer) INSTRUCTION_MAP.get(mnemonic); if (key == null) return false; switch (key.intValue()) { case EMMS_ISN: ...
public boolean emit(String mnemonic, List<Object> operands, int operandSize) { this.operands = operands; this.operandSize = operandSize; Integer key = (Integer) INSTRUCTION_MAP.get(mnemonic); if (key == null) return false; switch (key.intValue()) { case EMMS_ISN: ...
14,028
public void validateInvalidComponents() { // In order to keep the blocking of application threads minimal, we switch // the invalidComponents field with the workInvalidComponents field and // work with the workInvalidComponents field. synchronized(this) { ArrayList swap = invalidComponents; ...
public void validateInvalidComponents() { // In order to keep the blocking of application threads minimal, we switch // the invalidComponents field with the workInvalidComponents field and // work with the workInvalidComponents field. synchronized(this) { ArrayList swap = invalidComponents; ...
14,029
public void installUI(final JComponent c) { super.installUI(c); this.installDefaults((JScrollPane)c); }
public void installUI(final JComponent c) { super.installUI(c); this.installDefaults((JScrollPane)c); }
14,030
public void uninstallUI(final JComponent c) { super.uninstallUI(c); this.uninstallDefaults((JScrollPane)c); }
public void uninstallUI(final JComponent c) { super.uninstallUI(c); this.uninstallDefaults((JScrollPane)c); uninstallListeners((JScrollPane) c); }
14,031
public void waitForIdle () { if (EventQueue.isDispatchThread ()) throw new IllegalThreadStateException ("Robot: waitForIdle called from " + "the event dispatch thread"); EventQueue q = Toolkit.getDefaultToolkit ().getSystemEventQueue (); while (q.peekEvent () != null) { try { wait (...
public void waitForIdle () { if (EventQueue.isDispatchThread ()) throw new IllegalThreadStateException ("Robot: waitForIdle called from " + "the event dispatch thread"); EventQueue q = Toolkit.getDefaultToolkit ().getSystemEventQueue (); while (q.peekEvent () != null) { try { wait (...
14,032
public void waitForIdle () { if (EventQueue.isDispatchThread ()) throw new IllegalThreadStateException ("Robot: waitForIdle called from " + "the event dispatch thread"); EventQueue q = Toolkit.getDefaultToolkit ().getSystemEventQueue (); while (q.peekEvent () != null) { try { wait (...
public void waitForIdle () { if (EventQueue.isDispatchThread ()) throw new IllegalThreadStateException ("Robot: waitForIdle called from " + "the event dispatch thread"); EventQueue q = Toolkit.getDefaultToolkit ().getSystemEventQueue (); while (q.peekEvent () != null) { try { q.invo...
14,033
protected final void defragment() throws UninterruptiblePragma { final int size = getSize(); int offset = headerSize; final Offset sizeOffset = this.sizeOffset; final Offset tibOffset = this.tibOffset; lock(); try { Address firstFreePtr = null; while (...
protected final void defragment() throws UninterruptiblePragma { final int size = getSize(); int offset = headerSize; final Offset sizeOffset = this.sizeOffset; final Offset tibOffset = this.tibOffset; lock(); try { Address firstFreePtr = null; while (...
14,035
protected final void defragment() throws UninterruptiblePragma { final int size = getSize(); int offset = headerSize; final Offset sizeOffset = this.sizeOffset; final Offset tibOffset = this.tibOffset; lock(); try { Address firstFreePtr = null; while (...
protected final void defragment() throws UninterruptiblePragma { final int size = getSize(); int offset = headerSize; final Offset sizeOffset = this.sizeOffset; final Offset tibOffset = this.tibOffset; lock(); try { Address firstFreePtr = null; while (...
14,036
protected final void defragment() throws UninterruptiblePragma { final int size = getSize(); int offset = headerSize; final Offset sizeOffset = this.sizeOffset; final Offset tibOffset = this.tibOffset; lock(); try { Address firstFreePtr = null; while (...
protected final void defragment() throws UninterruptiblePragma { final int size = getSize(); int offset = headerSize; final Offset sizeOffset = this.sizeOffset; final Offset tibOffset = this.tibOffset; lock(); try { Address firstFreePtr = null; while (...
14,037
protected final void defragment() throws UninterruptiblePragma { final int size = getSize(); int offset = headerSize; final Offset sizeOffset = this.sizeOffset; final Offset tibOffset = this.tibOffset; lock(); try { Address firstFreePtr = null; while (...
protected final void defragment() throws UninterruptiblePragma { final int size = getSize(); int offset = headerSize; final Offset sizeOffset = this.sizeOffset; final Offset tibOffset = this.tibOffset; lock(); try { Address firstFreePtr = null; while (...
14,038
protected final void defragment() throws UninterruptiblePragma { final int size = getSize(); int offset = headerSize; final Offset sizeOffset = this.sizeOffset; final Offset tibOffset = this.tibOffset; lock(); try { Address firstFreePtr = null; while (...
protected final void defragment() throws UninterruptiblePragma { final int size = getSize(); int offset = headerSize; final Offset sizeOffset = this.sizeOffset; final Offset tibOffset = this.tibOffset; lock(); try { Address firstFreePtr = null; while (...
14,039
protected void initialize(Address start, Address end, int slotSize) { // Set my variables this.start = start; this.end = end; initializeAbstract(slotSize); this.sizeOffset = Offset.fromIntSignExtend(-((ObjectLayout.HEADER_SLOTS + 1) * slotSize)); this.headerSize = ObjectLay...
protected void initialize(Address start, Address end, int slotSize) { // Set my variables this.start = start; this.end = end; initializeAbstract(slotSize); this.sizeOffset = Offset.fromIntSignExtend(-((ObjectLayout.HEADER_SLOTS + 1) * slotSize)); this.headerSize = ObjectLay...
14,040
protected static VmAbstractHeap setupHeap(HeapHelper helper, Address start, VmNormalClass heapClass, int slotSize) { final int headerSize = ObjectLayout .objectAlign((ObjectLayout.HEADER_SLOTS + 1) * slotSize); final Offset vmtOffset = Offset.fromIntSignExtend(ObjectLayout.TI...
protected static VmAbstractHeap setupHeap(HeapHelper helper, Address start, VmNormalClass heapClass, int slotSize) { final int headerSize = ObjectLayout .objectAlign((ObjectLayout.HEADER_SLOTS + 1) * slotSize); final Offset vmtOffset = Offset.fromIntSignExtend(ObjectLayout.TI...
14,041
protected static VmAbstractHeap setupHeap(HeapHelper helper, Address start, VmNormalClass heapClass, int slotSize) { final int headerSize = ObjectLayout .objectAlign((ObjectLayout.HEADER_SLOTS + 1) * slotSize); final Offset vmtOffset = Offset.fromIntSignExtend(ObjectLayout.TI...
protected static VmAbstractHeap setupHeap(HeapHelper helper, Address start, VmNormalClass heapClass, int slotSize) { final int headerSize = ObjectLayout .objectAlign((ObjectLayout.HEADER_SLOTS + 1) * slotSize); final Offset vmtOffset = Offset.fromIntSignExtend(ObjectLayout.TI...
14,042
protected static VmAbstractHeap setupHeap(HeapHelper helper, Address start, VmNormalClass heapClass, int slotSize) { final int headerSize = ObjectLayout .objectAlign((ObjectLayout.HEADER_SLOTS + 1) * slotSize); final Offset vmtOffset = Offset.fromIntSignExtend(ObjectLayout.TI...
protected static VmAbstractHeap setupHeap(HeapHelper helper, Address start, VmNormalClass heapClass, int slotSize) { final int headerSize = ObjectLayout .objectAlign((ObjectLayout.HEADER_SLOTS + 1) * slotSize); final Offset vmtOffset = Offset.fromIntSignExtend(ObjectLayout.TI...
14,043
protected final void walk(ObjectVisitor visitor, boolean locking, Word flagsMask, Word flagsValue) { // Go through the heap and call visit on each object final int headerSize = this.headerSize; final Offset sizeOffset = this.sizeOffset; final Offset tibOffset = this.tibOffset;...
protected final void walk(ObjectVisitor visitor, boolean locking, Word flagsMask, Word flagsValue) { // Go through the heap and call visit on each object final Word headerSize = Word.fromIntZeroExtend(this.headerSize); final Offset sizeOffset = this.sizeOffset; final Offset ti...
14,044
protected final void walk(ObjectVisitor visitor, boolean locking, Word flagsMask, Word flagsValue) { // Go through the heap and call visit on each object final int headerSize = this.headerSize; final Offset sizeOffset = this.sizeOffset; final Offset tibOffset = this.tibOffset;...
protected final void walk(ObjectVisitor visitor, boolean locking, Word flagsMask, Word flagsValue) { // Go through the heap and call visit on each object final int headerSize = this.headerSize; final Offset sizeOffset = this.sizeOffset; final Offset tibOffset = this.tibOffset;...
14,045
protected final void walk(ObjectVisitor visitor, boolean locking, Word flagsMask, Word flagsValue) { // Go through the heap and call visit on each object final int headerSize = this.headerSize; final Offset sizeOffset = this.sizeOffset; final Offset tibOffset = this.tibOffset;...
protected final void walk(ObjectVisitor visitor, boolean locking, Word flagsMask, Word flagsValue) { // Go through the heap and call visit on each object final int headerSize = this.headerSize; final Offset sizeOffset = this.sizeOffset; final Offset tibOffset = this.tibOffset;...
14,046
protected final void walk(ObjectVisitor visitor, boolean locking, Word flagsMask, Word flagsValue) { // Go through the heap and call visit on each object final int headerSize = this.headerSize; final Offset sizeOffset = this.sizeOffset; final Offset tibOffset = this.tibOffset;...
protected final void walk(ObjectVisitor visitor, boolean locking, Word flagsMask, Word flagsValue) { // Go through the heap and call visit on each object final int headerSize = this.headerSize; final Offset sizeOffset = this.sizeOffset; final Offset tibOffset = this.tibOffset;...
14,047
protected final void walk(ObjectVisitor visitor, boolean locking, Word flagsMask, Word flagsValue) { // Go through the heap and call visit on each object final int headerSize = this.headerSize; final Offset sizeOffset = this.sizeOffset; final Offset tibOffset = this.tibOffset;...
protected final void walk(ObjectVisitor visitor, boolean locking, Word flagsMask, Word flagsValue) { // Go through the heap and call visit on each object final int headerSize = this.headerSize; final Offset sizeOffset = this.sizeOffset; final Offset tibOffset = this.tibOffset;...
14,048
protected final void walk(ObjectVisitor visitor, boolean locking, Word flagsMask, Word flagsValue) { // Go through the heap and call visit on each object final int headerSize = this.headerSize; final Offset sizeOffset = this.sizeOffset; final Offset tibOffset = this.tibOffset;...
protected final void walk(ObjectVisitor visitor, boolean locking, Word flagsMask, Word flagsValue) { // Go through the heap and call visit on each object final int headerSize = this.headerSize; final Offset sizeOffset = this.sizeOffset; final Offset tibOffset = this.tibOffset;...
14,049
protected final void walk(ObjectVisitor visitor, boolean locking, Word flagsMask, Word flagsValue) { // Go through the heap and call visit on each object final int headerSize = this.headerSize; final Offset sizeOffset = this.sizeOffset; final Offset tibOffset = this.tibOffset;...
protected final void walk(ObjectVisitor visitor, boolean locking, Word flagsMask, Word flagsValue) { // Go through the heap and call visit on each object final int headerSize = this.headerSize; final Offset sizeOffset = this.sizeOffset; final Offset tibOffset = this.tibOffset;...
14,050
protected final void walk(ObjectVisitor visitor, boolean locking, Word flagsMask, Word flagsValue) { // Go through the heap and call visit on each object final int headerSize = this.headerSize; final Offset sizeOffset = this.sizeOffset; final Offset tibOffset = this.tibOffset;...
protected final void walk(ObjectVisitor visitor, boolean locking, Word flagsMask, Word flagsValue) { // Go through the heap and call visit on each object final int headerSize = this.headerSize; final Offset sizeOffset = this.sizeOffset; final Offset tibOffset = this.tibOffset;...
14,051
public static void main(String[] args) throws Exception { final String devId = (args.length > 0) ? args[0] : "fb0"; final int count = (args.length > 1) ? Integer.parseInt(args[1]) : 100; final String tests = (args.length > 2) ? args[2] : "plrREQ"; Surface g = null; try { ...
public static void main(String[] args) throws Exception { final String devId = (args.length > 0) ? args[0] : "" ; final int count = (args.length > 1) ? Integer.parseInt(args[1]) : 100; final String tests = (args.length > 2) ? args[2] : "plrREQ"; Surface g = null; try { ...
14,052
public static void main(String[] args) throws Exception { final String devId = (args.length > 0) ? args[0] : "fb0"; final int count = (args.length > 1) ? Integer.parseInt(args[1]) : 100; final String tests = (args.length > 2) ? args[2] : "plrREQ"; Surface g = null; try { ...
public static void main(String[] args) throws Exception { final String devId = (args.length > 0) ? args[0] : "fb0"; final int count = (args.length > 1) ? Integer.parseInt(args[1]) : 100; final String tests = (args.length > 2) ? args[2] : "plrREQ"; Surface g = null; try { ...
14,053
void addHyperlinkListener(HyperlinkListener listener) { }
void addHyperlinkListener(HyperlinkListener listener) { }
14,054
void removeHyperlinkListener(HyperlinkListener listener) { //Removes a hyperlink listener. }
void removeHyperlinkListener(HyperlinkListener listener) { //Removes a hyperlink listener. }
14,055
private static BreakIterator getInstance (String type, Locale loc) { String className; try { ResourceBundle res = ResourceBundle.getBundle("gnu.java.locale.LocaleInformation", loc); className = res.getString(type); } catch (MissingResourceException x) { return null; } try ...
private static BreakIterator getInstance (String type, Locale loc) { String className; try { ResourceBundle res = ResourceBundle.getBundle("gnu.java.locale.LocaleInformation", loc, ClassLoader.getSystemClassLoader()); className = res.getString(type); } catch (MissingResourceException x) ...
14,057
public boolean equals (Object obj) { if (! (obj instanceof FieldPosition)) return false; FieldPosition fp = (FieldPosition) obj; return (field_id == fp.field_id && begin == fp.begin && end == fp.end); }
public boolean equals (Object obj) { if (this == obj) return true; if (obj == null || obj.getClass() != this.getClass()) return false; FieldPosition fp = (FieldPosition) obj; return (field_id == fp.field_id && begin == fp.begin && end == fp.end); }
14,059
public String toString () { return (getClass ().getName () + "[field=" + getField () + ",beginIndex=" + getBeginIndex () + ",endIndex=" + getEndIndex () + "]"); }
public String toString () { return (getClass ().getName () + "[field=" + getField () + ",beginIndex=" + getBeginIndex () + ",endIndex=" + getEndIndex () + "]"); }
14,061
equals(Object obj){ if (obj == this) return(true); else return(false);}
equals(Object obj){ if (obj == this) return(true); else return(false);}
14,062
equals(Object obj){ if (obj == this) return(true); else return(false);}
equals(Object obj){ if (obj == this) return true; else return(false);}
14,063
equals(Object obj){ if (obj == this) return(true); else return(false);}
equals(Object obj){ if (obj == this) return(true); else return(false);}
14,064