bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
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...
22,361
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...
22,362
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...
22,363
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...
22,364
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...
22,365
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...
22,366
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(); }
22,368
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 =...
22,369
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 == '"') { ...
22,370
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...
22,371
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...
22,372
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...
22,373
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...
22,374
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...
22,375
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 ...
22,377
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...
22,378
IfNode(TemplateNode children, TemplateNode next, Expr test) { super(children, next); this.test = test; }
IfNode(Expr test) { super(children, next); this.test = test; }
22,379
IfNode(TemplateNode children, TemplateNode next, Expr test) { super(children, next); this.test = test; }
IfNode(TemplateNode children, TemplateNode next, Expr test) { this.test = test; }
22,380
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)); }
22,381
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");...
22,382
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");...
22,383
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; }
22,384
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); }
22,385
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...
22,386
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() :...
22,387
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() :...
22,388
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...
22,389
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...
22,390
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...
22,391
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; } ...
22,392
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...
22,393
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...
22,394
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(); ...
22,395
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; } ...
22,396
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...
22,398
public VmType getType() { return type; }
public VmType getType() { return type; }
22,400
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...
22,401
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; }
22,402
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; }
22,403
public Box(int a) { setLayout(new BoxLayout(this, a)); }
public Box(int axis) { setLayout(new BoxLayout(this, a)); }
22,404
public Box(int a) { setLayout(new BoxLayout(this, a)); }
public Box(int a) { setLayout(new BoxLayout(this, a)); }
22,405
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); }
22,406
public JToggleButton() { this(null, null); }
public JToggleButton() { this(null, null); }
22,407
public AccessibleContext getAccessibleContext() { //Gets the AccessibleContext associated with this JToggleButton. return null; }
public AccessibleContext getAccessibleContext() { //Gets the AccessibleContext associated with this JToggleButton. return null; }
22,408
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"; }
22,409
protected String paramString() { return "JToggleButton"; }
protected String paramString() { return "JToggleButton"; }
22,410
public void updateUI() { ButtonUI b = (ButtonUI) UIManager.getUI(this); setUI(b); }
public void updateUI() { ButtonUI b = (ButtonUI) UIManager.getUI(this); setUI(b); }
22,411
public AccessibleContext getAccessibleContext() { // Gets the AccessibleContext associated with this JButton. return null; }
public AccessibleContext getAccessibleContext() { // Gets the AccessibleContext associated with this JButton. return null; }
22,412
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(); }
22,413
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(...
22,414
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...
22,415
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...
22,416
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...
22,417
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...
22,418
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...
22,419
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...
22,420
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...
22,421
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...
22,422
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...
22,423
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...
22,424
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...
22,425
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...
22,426
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...
22,427
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...
22,428
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...
22,429
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...
22,430
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...
22,431
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...
22,432
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...
22,433
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...
22,434
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...
22,435
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...
22,436
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...
22,437
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...
22,438
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...
22,439
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...
22,440
protected abstract void engineInit(AlgorithmParameterSpec paramSpec) throws InvalidParameterSpecException;
protected abstract void engineInit(AlgorithmParameterSpec paramSpec) throws InvalidParameterSpecException;
22,441
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")); }
22,442
public JTabbedPane() { }
public JTabbedPane() { }
22,443
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); }
22,444
public Object run() throws IOException { DatagramSocket.setDatagramSocketImplFactory(dsiFactory); return null; }
public Object run() throws IOException { DatagramSocket.setDatagramSocketImplFactory(dsiFactory); return null; }
22,445
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...
22,446
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...
22,447
public DatagramSocketImplFactory getDatagramSocketImplFactory() { return dsiFactory; }
public DatagramSocketImplFactory getDatagramSocketImplFactory() { return dsiFactory; }
22,449
public String getName() { return "udp"; }
public String getName() { return "udp"; }
22,450
public int getProtocolID() { return IPPROTO_UDP; }
public int getProtocolID() { return IPPROTO_UDP; }
22,451
public SocketImplFactory getSocketImplFactory() throws SocketException { throw new SocketException("UDP is packet based"); }
public SocketImplFactory getSocketImplFactory() throws SocketException { throw new SocketException("UDP is packet based"); }
22,452
public Statistics getStatistics() { return stat; }
public Statistics getStatistics() { return stat; }
22,453
public void receive(SocketBuffer skbuf) throws SocketException { stat.ipackets.inc(); final UDPHeader hdr = new UDPHeader(skbuf); if (!hdr.isChecksumOk()) { stat.badsum.inc(); //Syslog.debug("Ignoring invalid UDP packet (" + hdr + "), invalid // checksum"); ...
public void receive(SocketBuffer skbuf) throws SocketException { stat.ipackets.inc(); final UDPHeader hdr = new UDPHeader(skbuf); if (!hdr.isChecksumOk()) { stat.badsum.inc(); //Syslog.debug("Ignoring invalid UDP packet (" + hdr + "), invalid // checksum"); ...
22,454
public void receive(SocketBuffer skbuf) throws SocketException { stat.ipackets.inc(); final UDPHeader hdr = new UDPHeader(skbuf); if (!hdr.isChecksumOk()) { stat.badsum.inc(); //Syslog.debug("Ignoring invalid UDP packet (" + hdr + "), invalid // checksum"); ...
public void receive(SocketBuffer skbuf) throws SocketException { stat.ipackets.inc(); final UDPHeader hdr = new UDPHeader(skbuf); if (!hdr.isChecksumOk()) { stat.badsum.inc(); //Syslog.debug("Ignoring invalid UDP packet (" + hdr + "), invalid // checksum"); ...
22,455
public void receive(SocketBuffer skbuf) throws SocketException { stat.ipackets.inc(); final UDPHeader hdr = new UDPHeader(skbuf); if (!hdr.isChecksumOk()) { stat.badsum.inc(); //Syslog.debug("Ignoring invalid UDP packet (" + hdr + "), invalid // checksum"); ...
public void receive(SocketBuffer skbuf) throws SocketException { stat.ipackets.inc(); final UDPHeader hdr = new UDPHeader(skbuf); if (!hdr.isChecksumOk()) { stat.badsum.inc(); //Syslog.debug("Ignoring invalid UDP packet (" + hdr + "), invalid // checksum"); ...
22,456
public void receive(SocketBuffer skbuf) throws SocketException { stat.ipackets.inc(); final UDPHeader hdr = new UDPHeader(skbuf); if (!hdr.isChecksumOk()) { stat.badsum.inc(); //Syslog.debug("Ignoring invalid UDP packet (" + hdr + "), invalid // checksum"); ...
public void receive(SocketBuffer skbuf) throws SocketException { stat.ipackets.inc(); final UDPHeader hdr = new UDPHeader(skbuf); if (!hdr.isChecksumOk()) { stat.badsum.inc(); //Syslog.debug("Ignoring invalid UDP packet (" + hdr + "), invalid // checksum"); ...
22,457
public void receive(SocketBuffer skbuf) throws SocketException { stat.ipackets.inc(); final UDPHeader hdr = new UDPHeader(skbuf); if (!hdr.isChecksumOk()) { stat.badsum.inc(); //Syslog.debug("Ignoring invalid UDP packet (" + hdr + "), invalid // checksum"); ...
public void receive(SocketBuffer skbuf) throws SocketException { stat.ipackets.inc(); final UDPHeader hdr = new UDPHeader(skbuf); if (!hdr.isChecksumOk()) { stat.badsum.inc(); //Syslog.debug("Ignoring invalid UDP packet (" + hdr + "), invalid // checksum"); ...
22,458
public void receive(SocketBuffer skbuf) throws SocketException { stat.ipackets.inc(); final UDPHeader hdr = new UDPHeader(skbuf); if (!hdr.isChecksumOk()) { stat.badsum.inc(); //Syslog.debug("Ignoring invalid UDP packet (" + hdr + "), invalid // checksum"); ...
public void receive(SocketBuffer skbuf) throws SocketException { stat.ipackets.inc(); final UDPHeader hdr = new UDPHeader(skbuf); if (!hdr.isChecksumOk()) { stat.badsum.inc(); //Syslog.debug("Ignoring invalid UDP packet (" + hdr + "), invalid // checksum"); ...
22,459
public void receive(SocketBuffer skbuf) throws SocketException { stat.ipackets.inc(); final UDPHeader hdr = new UDPHeader(skbuf); if (!hdr.isChecksumOk()) { stat.badsum.inc(); //Syslog.debug("Ignoring invalid UDP packet (" + hdr + "), invalid // checksum"); ...
public void receive(SocketBuffer skbuf) throws SocketException { stat.ipackets.inc(); final UDPHeader hdr = new UDPHeader(skbuf); if (!hdr.isChecksumOk()) { stat.badsum.inc(); //Syslog.debug("Ignoring invalid UDP packet (" + hdr + "), invalid // checksum"); ...
22,460
public void receiveError(SocketBuffer skbuf) throws SocketException { // TODO handle ICMP errors in UDP }
public void receiveError(SocketBuffer skbuf) throws SocketException { // TODO handle ICMP errors in UDP }
22,461
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 ...
22,462
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...
22,463
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: ...
22,465
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: ...
22,466