bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
public PublicKey decodePublicKey(byte[] k) { // magic if (k[0] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[0] || k[1] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[1] || k[2] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[2] || k[3] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[3]) { throw new IllegalArgumentExc... | publicPublicKeydecodePublicKey(byte[]k){//magicif(k[0]!=Registry.MAGIC_RAW_DSS_PUBLIC_KEY[0]||k[1]!=Registry.MAGIC_RAW_DSS_PUBLIC_KEY[1]||k[2]!=Registry.MAGIC_RAW_DSS_PUBLIC_KEY[2]||k[3]!=Registry.MAGIC_RAW_DSS_PUBLIC_KEY[3]){thrownewIllegalArgumentException("magic");}//versionif(k[4]!=0x01){thrownewIllegalArgumentExce... | 31,122 |
public PublicKey decodePublicKey(byte[] k) { // magic if (k[0] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[0] || k[1] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[1] || k[2] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[2] || k[3] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[3]) { throw new IllegalArgumentExc... | publicPublicKeydecodePublicKey(byte[]k){//magicif(k[0]!=Registry.MAGIC_RAW_DSS_PUBLIC_KEY[0]||k[1]!=Registry.MAGIC_RAW_DSS_PUBLIC_KEY[1]||k[2]!=Registry.MAGIC_RAW_DSS_PUBLIC_KEY[2]||k[3]!=Registry.MAGIC_RAW_DSS_PUBLIC_KEY[3]){thrownewIllegalArgumentException("magic");}//versionif(k[4]!=0x01){thrownewIllegalArgumentExce... | 31,123 |
public PublicKey decodePublicKey(byte[] k) { // magic if (k[0] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[0] || k[1] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[1] || k[2] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[2] || k[3] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[3]) { throw new IllegalArgumentExc... | public PublicKey decodePublicKey(byte[] k) { // magic if (k[0] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[0] || k[1] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[1] || k[2] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[2] || k[3] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[3]) { throw new IllegalArgumentExc... | 31,124 |
public PublicKey decodePublicKey(byte[] k) { // magic if (k[0] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[0] || k[1] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[1] || k[2] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[2] || k[3] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[3]) { throw new IllegalArgumentExc... | publicPublicKeydecodePublicKey(byte[]k){//magicif(k[0]!=Registry.MAGIC_RAW_DSS_PUBLIC_KEY[0]||k[1]!=Registry.MAGIC_RAW_DSS_PUBLIC_KEY[1]||k[2]!=Registry.MAGIC_RAW_DSS_PUBLIC_KEY[2]||k[3]!=Registry.MAGIC_RAW_DSS_PUBLIC_KEY[3]){thrownewIllegalArgumentException("magic");}//versionif(k[4]!=0x01){thrownewIllegalArgumentExce... | 31,125 |
public PublicKey decodePublicKey(byte[] k) { // magic if (k[0] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[0] || k[1] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[1] || k[2] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[2] || k[3] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[3]) { throw new IllegalArgumentExc... | public PublicKey decodePublicKey(byte[] k) { // magic if (k[0] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[0] || k[1] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[1] || k[2] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[2] || k[3] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[3]) { throw new IllegalArgumentExc... | 31,126 |
public PublicKey decodePublicKey(byte[] k) { // magic if (k[0] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[0] || k[1] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[1] || k[2] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[2] || k[3] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[3]) { throw new IllegalArgumentExc... | publicPublicKeydecodePublicKey(byte[]k){//magicif(k[0]!=Registry.MAGIC_RAW_DSS_PUBLIC_KEY[0]||k[1]!=Registry.MAGIC_RAW_DSS_PUBLIC_KEY[1]||k[2]!=Registry.MAGIC_RAW_DSS_PUBLIC_KEY[2]||k[3]!=Registry.MAGIC_RAW_DSS_PUBLIC_KEY[3]){thrownewIllegalArgumentException("magic");}//versionif(k[4]!=0x01){thrownewIllegalArgumentExce... | 31,127 |
public PublicKey decodePublicKey(byte[] k) { // magic if (k[0] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[0] || k[1] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[1] || k[2] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[2] || k[3] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[3]) { throw new IllegalArgumentExc... | public PublicKey decodePublicKey(byte[] k) { // magic if (k[0] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[0] || k[1] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[1] || k[2] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[2] || k[3] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[3]) { throw new IllegalArgumentExc... | 31,128 |
public PublicKey decodePublicKey(byte[] k) { // magic if (k[0] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[0] || k[1] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[1] || k[2] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[2] || k[3] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[3]) { throw new IllegalArgumentExc... | publicPublicKeydecodePublicKey(byte[]k){//magicif(k[0]!=Registry.MAGIC_RAW_DSS_PUBLIC_KEY[0]||k[1]!=Registry.MAGIC_RAW_DSS_PUBLIC_KEY[1]||k[2]!=Registry.MAGIC_RAW_DSS_PUBLIC_KEY[2]||k[3]!=Registry.MAGIC_RAW_DSS_PUBLIC_KEY[3]){thrownewIllegalArgumentException("magic");}//versionif(k[4]!=0x01){thrownewIllegalArgumentExce... | 31,129 |
public PublicKey decodePublicKey(byte[] k) { // magic if (k[0] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[0] || k[1] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[1] || k[2] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[2] || k[3] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[3]) { throw new IllegalArgumentExc... | public PublicKey decodePublicKey(byte[] k) { // magic if (k[0] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[0] || k[1] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[1] || k[2] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[2] || k[3] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[3]) { throw new IllegalArgumentExc... | 31,130 |
public PublicKey decodePublicKey(byte[] k) { // magic if (k[0] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[0] || k[1] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[1] || k[2] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[2] || k[3] != Registry.MAGIC_RAW_DSS_PUBLIC_KEY[3]) { throw new IllegalArgumentExc... | publicPublicKeydecodePublicKey(byte[]k){//magicif(k[0]!=Registry.MAGIC_RAW_DSS_PUBLIC_KEY[0]||k[1]!=Registry.MAGIC_RAW_DSS_PUBLIC_KEY[1]||k[2]!=Registry.MAGIC_RAW_DSS_PUBLIC_KEY[2]||k[3]!=Registry.MAGIC_RAW_DSS_PUBLIC_KEY[3]){thrownewIllegalArgumentException("magic");}//versionif(k[4]!=0x01){thrownewIllegalArgumentExce... | 31,131 |
public byte[] encodePrivateKey(PrivateKey key) { if (!(key instanceof DSSPrivateKey)) { throw new IllegalArgumentException("key"); } DSSPrivateKey dssKey = (DSSPrivateKey) key; ByteArrayOutputStream baos = new ByteArrayOutputStream(); // magic baos.write(Registry.MAGIC_RAW_DSS_PRIVATE... | public byte[] encodePrivateKey(PrivateKey key) { if (!(key instanceof DSSPrivateKey)) { throw new IllegalArgumentException("key"); } DSSPrivateKey dssKey = (DSSPrivateKey) key; ByteArrayOutputStream baos = new ByteArrayOutputStream(); // magic baos.write(Registry.MAGIC_RAW_DSS_PRIVATE... | 31,132 |
public byte[] encodePrivateKey(PrivateKey key) { if (!(key instanceof DSSPrivateKey)) { throw new IllegalArgumentException("key"); } DSSPrivateKey dssKey = (DSSPrivateKey) key; ByteArrayOutputStream baos = new ByteArrayOutputStream(); // magic baos.write(Registry.MAGIC_RAW_DSS_PRIVATE... | public byte[] encodePrivateKey(PrivateKey key) { if (!(key instanceof DSSPrivateKey)) { throw new IllegalArgumentException("key"); DSSPrivateKey dssKey = (DSSPrivateKey) key; ByteArrayOutputStream baos = new ByteArrayOutputStream(); // magic baos.write(Registry.MAGIC_RAW_DSS_PRIVATE_K... | 31,133 |
public byte[] encodePrivateKey(PrivateKey key) { if (!(key instanceof DSSPrivateKey)) { throw new IllegalArgumentException("key"); } DSSPrivateKey dssKey = (DSSPrivateKey) key; ByteArrayOutputStream baos = new ByteArrayOutputStream(); // magic baos.write(Registry.MAGIC_RAW_DSS_PRIVATE... | publicbyte[]encodePrivateKey(PrivateKeykey){if(!(keyinstanceofDSSPrivateKey)){thrownewIllegalArgumentException("key");}DSSPrivateKeydssKey=(DSSPrivateKey)key;ByteArrayOutputStreambaos=newByteArrayOutputStream();//magicbaos.write(Registry.MAGIC_RAW_DSS_PRIVATE_KEY[0]);baos.write(Registry.MAGIC_RAW_DSS_PRIVATE_KEY[1]);ba... | 31,134 |
public byte[] encodePrivateKey(PrivateKey key) { if (!(key instanceof DSSPrivateKey)) { throw new IllegalArgumentException("key"); } DSSPrivateKey dssKey = (DSSPrivateKey) key; ByteArrayOutputStream baos = new ByteArrayOutputStream(); // magic baos.write(Registry.MAGIC_RAW_DSS_PRIVATE... | publicbyte[]encodePrivateKey(PrivateKeykey){if(!(keyinstanceofDSSPrivateKey)){thrownewIllegalArgumentException("key");}DSSPrivateKeydssKey=(DSSPrivateKey)key;ByteArrayOutputStreambaos=newByteArrayOutputStream();//magicbaos.write(Registry.MAGIC_RAW_DSS_PRIVATE_KEY[0]);baos.write(Registry.MAGIC_RAW_DSS_PRIVATE_KEY[1]);ba... | 31,135 |
public byte[] encodePrivateKey(PrivateKey key) { if (!(key instanceof DSSPrivateKey)) { throw new IllegalArgumentException("key"); } DSSPrivateKey dssKey = (DSSPrivateKey) key; ByteArrayOutputStream baos = new ByteArrayOutputStream(); // magic baos.write(Registry.MAGIC_RAW_DSS_PRIVATE... | publicbyte[]encodePrivateKey(PrivateKeykey){if(!(keyinstanceofDSSPrivateKey)){thrownewIllegalArgumentException("key");}DSSPrivateKeydssKey=(DSSPrivateKey)key;ByteArrayOutputStreambaos=newByteArrayOutputStream();//magicbaos.write(Registry.MAGIC_RAW_DSS_PRIVATE_KEY[0]);baos.write(Registry.MAGIC_RAW_DSS_PRIVATE_KEY[1]);ba... | 31,136 |
public byte[] encodePrivateKey(PrivateKey key) { if (!(key instanceof DSSPrivateKey)) { throw new IllegalArgumentException("key"); } DSSPrivateKey dssKey = (DSSPrivateKey) key; ByteArrayOutputStream baos = new ByteArrayOutputStream(); // magic baos.write(Registry.MAGIC_RAW_DSS_PRIVATE... | publicbyte[]encodePrivateKey(PrivateKeykey){if(!(keyinstanceofDSSPrivateKey)){thrownewIllegalArgumentException("key");}DSSPrivateKeydssKey=(DSSPrivateKey)key;ByteArrayOutputStreambaos=newByteArrayOutputStream();//magicbaos.write(Registry.MAGIC_RAW_DSS_PRIVATE_KEY[0]);baos.write(Registry.MAGIC_RAW_DSS_PRIVATE_KEY[1]);ba... | 31,137 |
public byte[] encodePrivateKey(PrivateKey key) { if (!(key instanceof DSSPrivateKey)) { throw new IllegalArgumentException("key"); } DSSPrivateKey dssKey = (DSSPrivateKey) key; ByteArrayOutputStream baos = new ByteArrayOutputStream(); // magic baos.write(Registry.MAGIC_RAW_DSS_PRIVATE... | publicbyte[]encodePrivateKey(PrivateKeykey){if(!(keyinstanceofDSSPrivateKey)){thrownewIllegalArgumentException("key");}DSSPrivateKeydssKey=(DSSPrivateKey)key;ByteArrayOutputStreambaos=newByteArrayOutputStream();//magicbaos.write(Registry.MAGIC_RAW_DSS_PRIVATE_KEY[0]);baos.write(Registry.MAGIC_RAW_DSS_PRIVATE_KEY[1]);ba... | 31,138 |
public byte[] encodePrivateKey(PrivateKey key) { if (!(key instanceof DSSPrivateKey)) { throw new IllegalArgumentException("key"); } DSSPrivateKey dssKey = (DSSPrivateKey) key; ByteArrayOutputStream baos = new ByteArrayOutputStream(); // magic baos.write(Registry.MAGIC_RAW_DSS_PRIVATE... | publicbyte[]encodePrivateKey(PrivateKeykey){if(!(keyinstanceofDSSPrivateKey)){thrownewIllegalArgumentException("key");}DSSPrivateKeydssKey=(DSSPrivateKey)key;ByteArrayOutputStreambaos=newByteArrayOutputStream();//magicbaos.write(Registry.MAGIC_RAW_DSS_PRIVATE_KEY[0]);baos.write(Registry.MAGIC_RAW_DSS_PRIVATE_KEY[1]);ba... | 31,139 |
public byte[] encodePrivateKey(PrivateKey key) { if (!(key instanceof DSSPrivateKey)) { throw new IllegalArgumentException("key"); } DSSPrivateKey dssKey = (DSSPrivateKey) key; ByteArrayOutputStream baos = new ByteArrayOutputStream(); // magic baos.write(Registry.MAGIC_RAW_DSS_PRIVATE... | publicbyte[]encodePrivateKey(PrivateKeykey){if(!(keyinstanceofDSSPrivateKey)){thrownewIllegalArgumentException("key");}DSSPrivateKeydssKey=(DSSPrivateKey)key;ByteArrayOutputStreambaos=newByteArrayOutputStream();//magicbaos.write(Registry.MAGIC_RAW_DSS_PRIVATE_KEY[0]);baos.write(Registry.MAGIC_RAW_DSS_PRIVATE_KEY[1]);ba... | 31,140 |
public byte[] encodePublicKey(PublicKey key) { if (!(key instanceof DSSPublicKey)) { throw new IllegalArgumentException("key"); } DSSPublicKey dssKey = (DSSPublicKey) key; ByteArrayOutputStream baos = new ByteArrayOutputStream(); // magic baos.write(Registry.MAGIC_RAW_DSS_PUBLIC_KEY[0... | public byte[] encodePublicKey(PublicKey key) { if (!(key instanceof DSSPublicKey)) { throw new IllegalArgumentException("key"); } DSSPublicKey dssKey = (DSSPublicKey) key; ByteArrayOutputStream baos = new ByteArrayOutputStream(); // magic baos.write(Registry.MAGIC_RAW_DSS_PUBLIC_KEY[0... | 31,141 |
public byte[] encodePublicKey(PublicKey key) { if (!(key instanceof DSSPublicKey)) { throw new IllegalArgumentException("key"); } DSSPublicKey dssKey = (DSSPublicKey) key; ByteArrayOutputStream baos = new ByteArrayOutputStream(); // magic baos.write(Registry.MAGIC_RAW_DSS_PUBLIC_KEY[0... | public byte[] encodePublicKey(PublicKey key) { if (!(key instanceof DSSPublicKey)) { throw new IllegalArgumentException("key"); DSSPublicKey dssKey = (DSSPublicKey) key; ByteArrayOutputStream baos = new ByteArrayOutputStream(); // magic baos.write(Registry.MAGIC_RAW_DSS_PUBLIC_KEY[0])... | 31,142 |
public byte[] encodePublicKey(PublicKey key) { if (!(key instanceof DSSPublicKey)) { throw new IllegalArgumentException("key"); } DSSPublicKey dssKey = (DSSPublicKey) key; ByteArrayOutputStream baos = new ByteArrayOutputStream(); // magic baos.write(Registry.MAGIC_RAW_DSS_PUBLIC_KEY[0... | publicbyte[]encodePublicKey(PublicKeykey){if(!(keyinstanceofDSSPublicKey)){thrownewIllegalArgumentException("key");}DSSPublicKeydssKey=(DSSPublicKey)key;ByteArrayOutputStreambaos=newByteArrayOutputStream();//magicbaos.write(Registry.MAGIC_RAW_DSS_PUBLIC_KEY[0]);baos.write(Registry.MAGIC_RAW_DSS_PUBLIC_KEY[1]);baos.writ... | 31,143 |
public byte[] encodePublicKey(PublicKey key) { if (!(key instanceof DSSPublicKey)) { throw new IllegalArgumentException("key"); } DSSPublicKey dssKey = (DSSPublicKey) key; ByteArrayOutputStream baos = new ByteArrayOutputStream(); // magic baos.write(Registry.MAGIC_RAW_DSS_PUBLIC_KEY[0... | publicbyte[]encodePublicKey(PublicKeykey){if(!(keyinstanceofDSSPublicKey)){thrownewIllegalArgumentException("key");}DSSPublicKeydssKey=(DSSPublicKey)key;ByteArrayOutputStreambaos=newByteArrayOutputStream();//magicbaos.write(Registry.MAGIC_RAW_DSS_PUBLIC_KEY[0]);baos.write(Registry.MAGIC_RAW_DSS_PUBLIC_KEY[1]);baos.writ... | 31,144 |
public byte[] encodePublicKey(PublicKey key) { if (!(key instanceof DSSPublicKey)) { throw new IllegalArgumentException("key"); } DSSPublicKey dssKey = (DSSPublicKey) key; ByteArrayOutputStream baos = new ByteArrayOutputStream(); // magic baos.write(Registry.MAGIC_RAW_DSS_PUBLIC_KEY[0... | publicbyte[]encodePublicKey(PublicKeykey){if(!(keyinstanceofDSSPublicKey)){thrownewIllegalArgumentException("key");}DSSPublicKeydssKey=(DSSPublicKey)key;ByteArrayOutputStreambaos=newByteArrayOutputStream();//magicbaos.write(Registry.MAGIC_RAW_DSS_PUBLIC_KEY[0]);baos.write(Registry.MAGIC_RAW_DSS_PUBLIC_KEY[1]);baos.writ... | 31,145 |
public byte[] encodePublicKey(PublicKey key) { if (!(key instanceof DSSPublicKey)) { throw new IllegalArgumentException("key"); } DSSPublicKey dssKey = (DSSPublicKey) key; ByteArrayOutputStream baos = new ByteArrayOutputStream(); // magic baos.write(Registry.MAGIC_RAW_DSS_PUBLIC_KEY[0... | publicbyte[]encodePublicKey(PublicKeykey){if(!(keyinstanceofDSSPublicKey)){thrownewIllegalArgumentException("key");}DSSPublicKeydssKey=(DSSPublicKey)key;ByteArrayOutputStreambaos=newByteArrayOutputStream();//magicbaos.write(Registry.MAGIC_RAW_DSS_PUBLIC_KEY[0]);baos.write(Registry.MAGIC_RAW_DSS_PUBLIC_KEY[1]);baos.writ... | 31,146 |
public byte[] encodePublicKey(PublicKey key) { if (!(key instanceof DSSPublicKey)) { throw new IllegalArgumentException("key"); } DSSPublicKey dssKey = (DSSPublicKey) key; ByteArrayOutputStream baos = new ByteArrayOutputStream(); // magic baos.write(Registry.MAGIC_RAW_DSS_PUBLIC_KEY[0... | publicbyte[]encodePublicKey(PublicKeykey){if(!(keyinstanceofDSSPublicKey)){thrownewIllegalArgumentException("key");}DSSPublicKeydssKey=(DSSPublicKey)key;ByteArrayOutputStreambaos=newByteArrayOutputStream();//magicbaos.write(Registry.MAGIC_RAW_DSS_PUBLIC_KEY[0]);baos.write(Registry.MAGIC_RAW_DSS_PUBLIC_KEY[1]);baos.writ... | 31,147 |
public byte[] encodePublicKey(PublicKey key) { if (!(key instanceof DSSPublicKey)) { throw new IllegalArgumentException("key"); } DSSPublicKey dssKey = (DSSPublicKey) key; ByteArrayOutputStream baos = new ByteArrayOutputStream(); // magic baos.write(Registry.MAGIC_RAW_DSS_PUBLIC_KEY[0... | publicbyte[]encodePublicKey(PublicKeykey){if(!(keyinstanceofDSSPublicKey)){thrownewIllegalArgumentException("key");}DSSPublicKeydssKey=(DSSPublicKey)key;ByteArrayOutputStreambaos=newByteArrayOutputStream();//magicbaos.write(Registry.MAGIC_RAW_DSS_PUBLIC_KEY[0]);baos.write(Registry.MAGIC_RAW_DSS_PUBLIC_KEY[1]);baos.writ... | 31,148 |
public byte[] encodePublicKey(PublicKey key) { if (!(key instanceof DSSPublicKey)) { throw new IllegalArgumentException("key"); } DSSPublicKey dssKey = (DSSPublicKey) key; ByteArrayOutputStream baos = new ByteArrayOutputStream(); // magic baos.write(Registry.MAGIC_RAW_DSS_PUBLIC_KEY[0... | publicbyte[]encodePublicKey(PublicKeykey){if(!(keyinstanceofDSSPublicKey)){thrownewIllegalArgumentException("key");}DSSPublicKeydssKey=(DSSPublicKey)key;ByteArrayOutputStreambaos=newByteArrayOutputStream();//magicbaos.write(Registry.MAGIC_RAW_DSS_PUBLIC_KEY[0]);baos.write(Registry.MAGIC_RAW_DSS_PUBLIC_KEY[1]);baos.writ... | 31,149 |
public File createFileObject(String path) { return new File(path); } | public File createFileObject(File dir, String filename) { return new File(path); } | 31,150 |
public File createFileObject(String path) { return new File(path); } | public File createFileObject(String path) { return new File(dir, filename); } | 31,151 |
public float getPreferredSpan(int axis) { if (axis != X_AXIS && axis != Y_AXIS) throw new IllegalArgumentException(); // make sure we have the metrics updateMetrics(); float span = 0; Element el = getElement(); switch (axis) { case X_AXIS: span = determineMaxLineLength(); ... | publicfloatgetPreferredSpan(intaxis){if(axis!=X_AXIS&&axis!=Y_AXIS)thrownewIllegalArgumentException();//makesurewehavethemetricsupdateMetrics();floatspan=0;Elementel=getElement();switch(axis){caseX_AXIS:span=determineMaxLineLength();caseY_AXIS:default:span=metrics.getHeight()*el.getElementCount();break;}returnspan;} | 31,158 |
public void bind(SocketAddress bindpoint) throws IOException { if (closed) throw new SocketException("Socket is closed"); if (!(bindpoint instanceof InetSocketAddress)) throw new IllegalArgumentException(); InetSocketAddress tmp = (InetSocketAddress)bindpoint; impl.bind(tmp.getAddress(), tmp.getPort()); } | public void bind(SocketAddress bindpoint) throws IOException { if (closed) throw new SocketException("Socket is closed"); if (!(bindpoint instanceof InetSocketAddress)) throw new IllegalArgumentException(); InetSocketAddress tmp = (InetSocketAddress)bindpoint; impl.bind(tmp.getAddress(), tmp.getPort()); } | 31,159 |
public void bind(SocketAddress bindpoint) throws IOException { if (closed) throw new SocketException("Socket is closed"); if (!(bindpoint instanceof InetSocketAddress)) throw new IllegalArgumentException(); InetSocketAddress tmp = (InetSocketAddress)bindpoint; impl.bind(tmp.getAddress(), tmp.getPort()); } | public void bind(SocketAddress bindpoint) throws IOException { if (closed) throw new SocketException("Socket is closed"); if (!(bindpoint instanceof InetSocketAddress)) throw new IllegalArgumentException(); InetSocketAddress tmp = (InetSocketAddress)bindpoint; impl.bind(tmp.getAddress(), tmp.getPort()); } | 31,160 |
public void bind(SocketAddress bindpoint) throws IOException { if (closed) throw new SocketException("Socket is closed"); if (!(bindpoint instanceof InetSocketAddress)) throw new IllegalArgumentException(); InetSocketAddress tmp = (InetSocketAddress)bindpoint; impl.bind(tmp.getAddress(), tmp.getPort()); } | public void bind(SocketAddress bindpoint) throws IOException { if (closed) throw new SocketException("Socket is closed"); if (!(bindpoint instanceof InetSocketAddress)) throw new IllegalArgumentException(); InetSocketAddress tmp = (InetSocketAddress)bindpoint; impl.bind(tmp.getAddress(), tmp.getPort()); } | 31,161 |
public void connect(SocketAddress endpoint) throws IOException { if (closed) throw new SocketException("Socket is closed"); if (!(endpoint instanceof InetSocketAddress)) throw new IllegalArgumentException("Address type not supported"); if (ch != null && !ch.isBlocking()) throw new IllegalBlockingModeException... | public void connect(SocketAddress endpoint) throws IOException { if (closed) throw new SocketException("Socket is closed"); if (!(endpoint instanceof InetSocketAddress)) throw new IllegalArgumentException("Address type not supported"); if (ch != null && !ch.isBlocking()) throw new IllegalBlockingModeException... | 31,162 |
public SocketChannel getChannel() { return ch; } | public SocketChannel getChannel() { return ch; } | 31,163 |
public boolean getKeepAlive() throws SocketException { if (impl == null) throw new SocketException("Not connected"); Object buf = impl.getOption(SocketOptions.SO_KEEPALIVE); if (buf instanceof Boolean) return (((Boolean)buf).booleanValue()); else throw new SocketException("Internal Error: Unexpected type"); ... | public boolean getKeepAlive() throws SocketException { if (impl == null) throw new SocketException("Not connected"); Object buf = impl.getOption(SocketOptions.SO_KEEPALIVE); if (buf instanceof Boolean) return (((Boolean)buf).booleanValue()); else throw new SocketException("Internal Error: Unexpected type"); ... | 31,164 |
public boolean getKeepAlive() throws SocketException { if (impl == null) throw new SocketException("Not connected"); Object buf = impl.getOption(SocketOptions.SO_KEEPALIVE); if (buf instanceof Boolean) return (((Boolean)buf).booleanValue()); else throw new SocketException("Internal Error: Unexpected type"); ... | public boolean getKeepAlive() throws SocketException { if (impl == null) throw new SocketException("Not connected"); Object buf = impl.getOption(SocketOptions.SO_KEEPALIVE); if (buf instanceof Boolean) return (((Boolean)buf).booleanValue()); else throw new SocketException("Internal Error: Unexpected type"); ... | 31,165 |
public boolean getKeepAlive() throws SocketException { if (impl == null) throw new SocketException("Not connected"); Object buf = impl.getOption(SocketOptions.SO_KEEPALIVE); if (buf instanceof Boolean) return (((Boolean)buf).booleanValue()); else throw new SocketException("Internal Error: Unexpected type"); ... | public boolean getKeepAlive() throws SocketException { if (impl == null) throw new SocketException("Not connected"); Object buf = impl.getOption(SocketOptions.SO_KEEPALIVE); if (buf instanceof Boolean) return (((Boolean)buf).booleanValue()); else throw new SocketException("Internal Error: Unexpected type"); ... | 31,166 |
public InetAddress getLocalAddress() { if (impl == null) return null; InetAddress addr = null; try { addr = (InetAddress)impl.getOption(SocketOptions.SO_BINDADDR); } catch (SocketException e) { // (hopefully) shouldn't happen // throw new java.lang.InternalError // ("Error in PlainSocketImpl.getOpti... | public InetAddress getLocalAddress() { if (impl == null) return null; InetAddress addr = null; try { addr = (InetAddress)impl.getOption(SocketOptions.SO_BINDADDR); } catch (SocketException e) { // (hopefully) shouldn't happen // throw new java.lang.InternalError // ("Error in PlainSocketImpl.getOpti... | 31,167 |
public InetAddress getLocalAddress() { if (impl == null) return null; InetAddress addr = null; try { addr = (InetAddress)impl.getOption(SocketOptions.SO_BINDADDR); } catch (SocketException e) { // (hopefully) shouldn't happen // throw new java.lang.InternalError // ("Error in PlainSocketImpl.getOpti... | public InetAddress getLocalAddress() { if (impl == null) return null; InetAddress addr = null; try { addr = (InetAddress)impl.getOption(SocketOptions.SO_BINDADDR); } catch (SocketException e) { // (hopefully) shouldn't happen // throw new java.lang.InternalError // ("Error in PlainSocketImpl.getOpti... | 31,168 |
public int getLocalPort() { if (impl != null) return impl.getLocalPort(); return -1; } | public int getLocalPort() { if (impl != null) return impl.getLocalPort(); return -1; } | 31,169 |
public SocketAddress getLocalSocketAddress() { InetAddress addr = getLocalAddress(); if (addr == null) return null; return new InetSocketAddress(addr, impl.getLocalPort()); } | public SocketAddress getLocalSocketAddress() { InetAddress addr = getLocalAddress(); if (addr == null) return null; return new InetSocketAddress(addr, impl.getLocalPort()); } | 31,170 |
public SocketAddress getLocalSocketAddress() { InetAddress addr = getLocalAddress(); if (addr == null) return null; return new InetSocketAddress(addr, impl.getLocalPort()); } | public SocketAddress getLocalSocketAddress() { InetAddress addr = getLocalAddress(); if (addr == null) return null; return new InetSocketAddress(addr, impl.getLocalPort()); } | 31,171 |
public SocketAddress getLocalSocketAddress() { InetAddress addr = getLocalAddress(); if (addr == null) return null; return new InetSocketAddress(addr, impl.getLocalPort()); } | public SocketAddress getLocalSocketAddress() { InetAddress addr = getLocalAddress(); if (addr == null) return null; return new InetSocketAddress(addr, impl.getLocalPort()); } | 31,172 |
public boolean getOOBInline() throws SocketException { if (impl == null) throw new SocketException("Not connected"); Object buf = impl.getOption(SocketOptions.SO_OOBINLINE); if (buf instanceof Boolean) return (((Boolean)buf).booleanValue()); else throw new SocketException("Internal Error: Unexpected type"); ... | public boolean getOOBInline() throws SocketException { if (impl == null) throw new SocketException("Not connected"); Object buf = impl.getOption(SocketOptions.SO_OOBINLINE); if (buf instanceof Boolean) return (((Boolean)buf).booleanValue()); else throw new SocketException("Internal Error: Unexpected type"); ... | 31,173 |
public boolean getOOBInline() throws SocketException { if (impl == null) throw new SocketException("Not connected"); Object buf = impl.getOption(SocketOptions.SO_OOBINLINE); if (buf instanceof Boolean) return (((Boolean)buf).booleanValue()); else throw new SocketException("Internal Error: Unexpected type"); ... | public boolean getOOBInline() throws SocketException { if (impl == null) throw new SocketException("Not connected"); Object buf = impl.getOption(SocketOptions.SO_OOBINLINE); if (buf instanceof Boolean) return (((Boolean)buf).booleanValue()); else throw new SocketException("Internal Error: Unexpected type"); ... | 31,174 |
public boolean getOOBInline() throws SocketException { if (impl == null) throw new SocketException("Not connected"); Object buf = impl.getOption(SocketOptions.SO_OOBINLINE); if (buf instanceof Boolean) return (((Boolean)buf).booleanValue()); else throw new SocketException("Internal Error: Unexpected type"); ... | public boolean getOOBInline() throws SocketException { if (impl == null) throw new SocketException("Not connected"); Object buf = impl.getOption(SocketOptions.SO_OOBINLINE); if (buf instanceof Boolean) return (((Boolean)buf).booleanValue()); else throw new SocketException("Internal Error: Unexpected type"); ... | 31,175 |
public int getPort() { if (impl != null) return impl.getPort(); return -1; } | public int getPort() { if (impl != null) return impl.getPort(); return -1; } | 31,176 |
public int getPort() { if (impl != null) return impl.getPort(); return -1; } | public int getPort() { if (impl != null) return impl.getPort(); return -1; } | 31,177 |
public int getReceiveBufferSize() throws SocketException { if (impl == null) throw new SocketException("Not connected"); Object buf = impl.getOption(SocketOptions.SO_RCVBUF); if (buf instanceof Integer) return (((Integer)buf).intValue()); else throw new SocketException("Internal Error: Unexpected type"); } | public int getReceiveBufferSize() throws SocketException { if (impl == null) throw new SocketException("Not connected"); Object buf = impl.getOption(SocketOptions.SO_RCVBUF); if (buf instanceof Integer) return (((Integer)buf).intValue()); else throw new SocketException("Internal Error: Unexpected type"); } | 31,178 |
public int getReceiveBufferSize() throws SocketException { if (impl == null) throw new SocketException("Not connected"); Object buf = impl.getOption(SocketOptions.SO_RCVBUF); if (buf instanceof Integer) return (((Integer)buf).intValue()); else throw new SocketException("Internal Error: Unexpected type"); } | public int getReceiveBufferSize() throws SocketException { if (impl == null) throw new SocketException("Not connected"); Object buf = impl.getOption(SocketOptions.SO_RCVBUF); if (buf instanceof Integer) return (((Integer)buf).intValue()); else throw new SocketException("Internal Error: Unexpected type"); } | 31,179 |
public int getReceiveBufferSize() throws SocketException { if (impl == null) throw new SocketException("Not connected"); Object buf = impl.getOption(SocketOptions.SO_RCVBUF); if (buf instanceof Integer) return (((Integer)buf).intValue()); else throw new SocketException("Internal Error: Unexpected type"); } | public int getReceiveBufferSize() throws SocketException { if (impl == null) throw new SocketException("Not connected"); Object buf = impl.getOption(SocketOptions.SO_RCVBUF); if (buf instanceof Integer) return (((Integer)buf).intValue()); else throw new SocketException("Internal Error: Unexpected type"); } | 31,180 |
public SocketAddress getRemoteSocketAddress() { if (!isConnected()) return null; return new InetSocketAddress(impl.getInetAddress(), impl.getPort()); } | public SocketAddress getRemoteSocketAddress() { if (!isConnected()) return null; return new InetSocketAddress(impl.getInetAddress(), impl.getPort()); } | 31,181 |
public SocketAddress getRemoteSocketAddress() { if (!isConnected()) return null; return new InetSocketAddress(impl.getInetAddress(), impl.getPort()); } | public SocketAddress getRemoteSocketAddress() { if (!isConnected()) return null; return new InetSocketAddress(impl.getInetAddress(), impl.getPort()); } | 31,182 |
public boolean getReuseAddress() throws SocketException { if (impl == null) throw new SocketException("Cannot initialize Socket implementation"); Object reuseaddr = impl.getOption(SocketOptions.SO_REUSEADDR); if (!(reuseaddr instanceof Boolean)) throw new SocketException("Internal Error"); return ((Boolean)reu... | public boolean getReuseAddress() throws SocketException { if (impl == null) throw new SocketException("Cannot initialize Socket implementation"); Object reuseaddr = impl.getOption(SocketOptions.SO_REUSEADDR); if (!(reuseaddr instanceof Boolean)) throw new SocketException("Internal Error"); return ((Boolean)reu... | 31,183 |
public boolean getReuseAddress() throws SocketException { if (impl == null) throw new SocketException("Cannot initialize Socket implementation"); Object reuseaddr = impl.getOption(SocketOptions.SO_REUSEADDR); if (!(reuseaddr instanceof Boolean)) throw new SocketException("Internal Error"); return ((Boolean)reu... | public boolean getReuseAddress() throws SocketException { if (impl == null) throw new SocketException("Cannot initialize Socket implementation"); Object reuseaddr = impl.getOption(SocketOptions.SO_REUSEADDR); if (!(reuseaddr instanceof Boolean)) throw new SocketException("Internal Error"); return ((Boolean)reu... | 31,184 |
public boolean getReuseAddress() throws SocketException { if (impl == null) throw new SocketException("Cannot initialize Socket implementation"); Object reuseaddr = impl.getOption(SocketOptions.SO_REUSEADDR); if (!(reuseaddr instanceof Boolean)) throw new SocketException("Internal Error"); return ((Boolean)reu... | public boolean getReuseAddress() throws SocketException { if (impl == null) throw new SocketException("Cannot initialize Socket implementation"); Object reuseaddr = impl.getOption(SocketOptions.SO_REUSEADDR); if (!(reuseaddr instanceof Boolean)) throw new SocketException("Internal Error"); return ((Boolean)reu... | 31,185 |
public boolean getReuseAddress() throws SocketException { if (impl == null) throw new SocketException("Cannot initialize Socket implementation"); Object reuseaddr = impl.getOption(SocketOptions.SO_REUSEADDR); if (!(reuseaddr instanceof Boolean)) throw new SocketException("Internal Error"); return ((Boolean)reu... | public boolean getReuseAddress() throws SocketException { if (impl == null) throw new SocketException("Cannot initialize Socket implementation"); Object reuseaddr = impl.getOption(SocketOptions.SO_REUSEADDR); if (!(reuseaddr instanceof Boolean)) throw new SocketException("Internal Error"); return ((Boolean)reu... | 31,186 |
public int getSendBufferSize() throws SocketException { if (impl == null) throw new SocketException("Not connected"); Object buf = impl.getOption(SocketOptions.SO_SNDBUF); if (buf instanceof Integer) return (((Integer)buf).intValue()); else throw new SocketException("Internal Error: Unexpected type"); } | public int getSendBufferSize() throws SocketException { if (impl == null) throw new SocketException("Not connected"); Object buf = impl.getOption(SocketOptions.SO_SNDBUF); if (buf instanceof Integer) return (((Integer)buf).intValue()); else throw new SocketException("Internal Error: Unexpected type"); } | 31,187 |
public int getSendBufferSize() throws SocketException { if (impl == null) throw new SocketException("Not connected"); Object buf = impl.getOption(SocketOptions.SO_SNDBUF); if (buf instanceof Integer) return (((Integer)buf).intValue()); else throw new SocketException("Internal Error: Unexpected type"); } | public int getSendBufferSize() throws SocketException { if (impl == null) throw new SocketException("Not connected"); Object buf = impl.getOption(SocketOptions.SO_SNDBUF); if (buf instanceof Integer) return (((Integer)buf).intValue()); else throw new SocketException("Internal Error: Unexpected type"); } | 31,188 |
public int getSendBufferSize() throws SocketException { if (impl == null) throw new SocketException("Not connected"); Object buf = impl.getOption(SocketOptions.SO_SNDBUF); if (buf instanceof Integer) return (((Integer)buf).intValue()); else throw new SocketException("Internal Error: Unexpected type"); } | public int getSendBufferSize() throws SocketException { if (impl == null) throw new SocketException("Not connected"); Object buf = impl.getOption(SocketOptions.SO_SNDBUF); if (buf instanceof Integer) return (((Integer)buf).intValue()); else throw new SocketException("Internal Error: Unexpected type"); } | 31,189 |
public int getSoLinger() throws SocketException { if (impl == null) throw new SocketException("Not connected"); Object linger = impl.getOption(SocketOptions.SO_LINGER); if (linger instanceof Integer) return (((Integer)linger).intValue()); else return -1; } | public int getSoLinger() throws SocketException { if (impl == null) throw new SocketException("Not connected"); Object linger = impl.getOption(SocketOptions.SO_LINGER); if (linger instanceof Integer) return (((Integer)linger).intValue()); else return -1; } | 31,190 |
public int getSoLinger() throws SocketException { if (impl == null) throw new SocketException("Not connected"); Object linger = impl.getOption(SocketOptions.SO_LINGER); if (linger instanceof Integer) return (((Integer)linger).intValue()); else return -1; } | public int getSoLinger() throws SocketException { if (impl == null) throw new SocketException("Not connected"); Object linger = impl.getOption(SocketOptions.SO_LINGER); if (linger instanceof Integer) return (((Integer)linger).intValue()); else return -1; } | 31,191 |
public int getSoLinger() throws SocketException { if (impl == null) throw new SocketException("Not connected"); Object linger = impl.getOption(SocketOptions.SO_LINGER); if (linger instanceof Integer) return (((Integer)linger).intValue()); else return -1; } | public int getSoLinger() throws SocketException { if (impl == null) throw new SocketException("Not connected"); Object linger = impl.getOption(SocketOptions.SO_LINGER); if (linger instanceof Integer) return (((Integer)linger).intValue()); else return -1; } | 31,192 |
public synchronized int getSoTimeout() throws SocketException { if (impl == null) throw new SocketException("Not connected"); Object timeout = impl.getOption(SocketOptions.SO_TIMEOUT); if (timeout instanceof Integer) return (((Integer)timeout).intValue()); else return 0; } | public synchronized int getSoTimeout() throws SocketException { if (impl == null) throw new SocketException("Not connected"); Object timeout = impl.getOption(SocketOptions.SO_TIMEOUT); if (timeout instanceof Integer) return (((Integer)timeout).intValue()); else return 0; } | 31,193 |
public synchronized int getSoTimeout() throws SocketException { if (impl == null) throw new SocketException("Not connected"); Object timeout = impl.getOption(SocketOptions.SO_TIMEOUT); if (timeout instanceof Integer) return (((Integer)timeout).intValue()); else return 0; } | public synchronized int getSoTimeout() throws SocketException { if (impl == null) throw new SocketException("Not connected"); Object timeout = impl.getOption(SocketOptions.SO_TIMEOUT); if (timeout instanceof Integer) return (((Integer)timeout).intValue()); else return 0; } | 31,194 |
public synchronized int getSoTimeout() throws SocketException { if (impl == null) throw new SocketException("Not connected"); Object timeout = impl.getOption(SocketOptions.SO_TIMEOUT); if (timeout instanceof Integer) return (((Integer)timeout).intValue()); else return 0; } | public synchronized int getSoTimeout() throws SocketException { if (impl == null) throw new SocketException("Not connected"); Object timeout = impl.getOption(SocketOptions.SO_TIMEOUT); if (timeout instanceof Integer) return (((Integer)timeout).intValue()); else return 0; } | 31,195 |
public boolean getTcpNoDelay() throws SocketException { if (impl == null) throw new SocketException("Not connected"); Object on = impl.getOption(SocketOptions.TCP_NODELAY); if (on instanceof Boolean) return (((Boolean)on).booleanValue()); else throw new SocketException("Internal Error"); } | public boolean getTcpNoDelay() throws SocketException { if (impl == null) throw new SocketException("Not connected"); Object on = impl.getOption(SocketOptions.TCP_NODELAY); if (on instanceof Boolean) return (((Boolean)on).booleanValue()); else throw new SocketException("Internal Error"); } | 31,196 |
public boolean getTcpNoDelay() throws SocketException { if (impl == null) throw new SocketException("Not connected"); Object on = impl.getOption(SocketOptions.TCP_NODELAY); if (on instanceof Boolean) return (((Boolean)on).booleanValue()); else throw new SocketException("Internal Error"); } | public boolean getTcpNoDelay() throws SocketException { if (impl == null) throw new SocketException("Not connected"); Object on = impl.getOption(SocketOptions.TCP_NODELAY); if (on instanceof Boolean) return (((Boolean)on).booleanValue()); else throw new SocketException("Internal Error"); } | 31,197 |
public boolean getTcpNoDelay() throws SocketException { if (impl == null) throw new SocketException("Not connected"); Object on = impl.getOption(SocketOptions.TCP_NODELAY); if (on instanceof Boolean) return (((Boolean)on).booleanValue()); else throw new SocketException("Internal Error"); } | public boolean getTcpNoDelay() throws SocketException { if (impl == null) throw new SocketException("Not connected"); Object on = impl.getOption(SocketOptions.TCP_NODELAY); if (on instanceof Boolean) return (((Boolean)on).booleanValue()); else throw new SocketException("Internal Error"); } | 31,198 |
public int getTrafficClass() throws SocketException { if (impl == null) throw new SocketException("Cannot initialize Socket implementation"); Object obj = impl.getOption(SocketOptions.IP_TOS); if (obj instanceof Integer) return ((Integer)obj).intValue(); else throw new SocketException("Unexpected type"); } | public int getTrafficClass() throws SocketException { if (impl == null) throw new SocketException("Cannot initialize Socket implementation"); Object obj = impl.getOption(SocketOptions.IP_TOS); if (obj instanceof Integer) return ((Integer)obj).intValue(); else throw new SocketException("Unexpected type"); } | 31,199 |
public int getTrafficClass() throws SocketException { if (impl == null) throw new SocketException("Cannot initialize Socket implementation"); Object obj = impl.getOption(SocketOptions.IP_TOS); if (obj instanceof Integer) return ((Integer)obj).intValue(); else throw new SocketException("Unexpected type"); } | public int getTrafficClass() throws SocketException { if (impl == null) throw new SocketException("Cannot initialize Socket implementation"); Object obj = impl.getOption(SocketOptions.IP_TOS); if (obj instanceof Integer) return ((Integer)obj).intValue(); else throw new SocketException("Unexpected type"); } | 31,200 |
public int getTrafficClass() throws SocketException { if (impl == null) throw new SocketException("Cannot initialize Socket implementation"); Object obj = impl.getOption(SocketOptions.IP_TOS); if (obj instanceof Integer) return ((Integer)obj).intValue(); else throw new SocketException("Unexpected type"); } | public int getTrafficClass() throws SocketException { if (impl == null) throw new SocketException("Cannot initialize Socket implementation"); Object obj = impl.getOption(SocketOptions.IP_TOS); if (obj instanceof Integer) return ((Integer)obj).intValue(); else throw new SocketException("Unexpected type"); } | 31,201 |
public boolean isBound() { return getLocalAddress() != null; } | public boolean isBound() { return getLocalAddress() != null; } | 31,202 |
public boolean isConnected() { return impl.getInetAddress() != null; } | public boolean isConnected() { return impl.getInetAddress() != null; } | 31,203 |
public boolean isInputShutdown() { return inputShutdown; } | public boolean isInputShutdown() { return inputShutdown; } | 31,204 |
public boolean isOutputShutdown() { return outputShutdown; } | public boolean isOutputShutdown() { return outputShutdown; } | 31,205 |
public void sendUrgentData(int data) throws IOException { impl.sendUrgentData(data); } | public void sendUrgentData(int data) throws IOException { impl.sendUrgentData(data); } | 31,206 |
public void setOOBInline(boolean on) throws SocketException { if (impl == null) throw new SocketException("Not connected"); impl.setOption(SocketOptions.SO_OOBINLINE, new Boolean(on)); } | public void setOOBInline(boolean on) throws SocketException { if (impl == null) throw new SocketException("Not connected"); impl.setOption(SocketOptions.SO_OOBINLINE, new Boolean(on)); } | 31,207 |
public void setOOBInline(boolean on) throws SocketException { if (impl == null) throw new SocketException("Not connected"); impl.setOption(SocketOptions.SO_OOBINLINE, new Boolean(on)); } | public void setOOBInline(boolean on) throws SocketException { if (impl == null) throw new SocketException("Not connected"); impl.setOption(SocketOptions.SO_OOBINLINE, new Boolean(on)); } | 31,208 |
public void setReceiveBufferSize(int size) throws SocketException { if (impl == null) throw new SocketException("Not connected"); if (size <= 0) throw new IllegalArgumentException("SO_RCVBUF value must be > 0"); impl.setOption(SocketOptions.SO_RCVBUF, new Integer(size)); } | public void setReceiveBufferSize(int size) throws SocketException { if (impl == null) throw new SocketException("Not connected"); if (size <= 0) throw new IllegalArgumentException("SO_RCVBUF value must be > 0"); impl.setOption(SocketOptions.SO_RCVBUF, new Integer(size)); } | 31,209 |
public void setReceiveBufferSize(int size) throws SocketException { if (impl == null) throw new SocketException("Not connected"); if (size <= 0) throw new IllegalArgumentException("SO_RCVBUF value must be > 0"); impl.setOption(SocketOptions.SO_RCVBUF, new Integer(size)); } | public void setReceiveBufferSize(int size) throws SocketException { if (impl == null) throw new SocketException("Not connected"); if (size <= 0) throw new IllegalArgumentException("SO_RCVBUF value must be > 0"); impl.setOption(SocketOptions.SO_RCVBUF, new Integer(size)); } | 31,210 |
public void setReuseAddress(boolean on) throws SocketException { if (impl == null) throw new SocketException("Cannot initialize Socket implementation"); impl.setOption(SocketOptions.SO_REUSEADDR, new Boolean(on)); } | public void setReuseAddress(boolean on) throws SocketException { if (impl == null) throw new SocketException("Cannot initialize Socket implementation"); impl.setOption(SocketOptions.SO_REUSEADDR, new Boolean(on)); } | 31,211 |
public void setReuseAddress(boolean on) throws SocketException { if (impl == null) throw new SocketException("Cannot initialize Socket implementation"); impl.setOption(SocketOptions.SO_REUSEADDR, new Boolean(on)); } | public void setReuseAddress(boolean on) throws SocketException { if (impl == null) throw new SocketException("Cannot initialize Socket implementation"); impl.setOption(SocketOptions.SO_REUSEADDR, new Boolean(on)); } | 31,212 |
public void setSendBufferSize(int size) throws SocketException { if (impl == null) throw new SocketException("Not connected"); if (size <= 0) throw new IllegalArgumentException("SO_SNDBUF value must be > 0"); impl.setOption(SocketOptions.SO_SNDBUF, new Integer(size)); } | public void setSendBufferSize(int size) throws SocketException { if (impl == null) throw new SocketException("Not connected"); if (size <= 0) throw new IllegalArgumentException("SO_SNDBUF value must be > 0"); impl.setOption(SocketOptions.SO_SNDBUF, new Integer(size)); } | 31,213 |
public void setSendBufferSize(int size) throws SocketException { if (impl == null) throw new SocketException("Not connected"); if (size <= 0) throw new IllegalArgumentException("SO_SNDBUF value must be > 0"); impl.setOption(SocketOptions.SO_SNDBUF, new Integer(size)); } | public void setSendBufferSize(int size) throws SocketException { if (impl == null) throw new SocketException("Not connected"); if (size <= 0) throw new IllegalArgumentException("SO_SNDBUF value must be > 0"); impl.setOption(SocketOptions.SO_SNDBUF, new Integer(size)); } | 31,214 |
public void setSoLinger(boolean on, int linger) throws SocketException { if (impl == null) throw new SocketException("No socket created"); if (on == true) { if (linger < 0) throw new IllegalArgumentException("SO_LINGER must be >= 0"); if (linger > 65535) linger = 65535; impl.setOption(SocketOptions.SO_... | public void setSoLinger(boolean on, int linger) throws SocketException { if (impl == null) throw new SocketException("No socket created"); if (on == true) { if (linger < 0) throw new IllegalArgumentException("SO_LINGER must be >= 0"); if (linger > 65535) linger = 65535; impl.setOption(SocketOptions.SO_... | 31,215 |
public void setSoLinger(boolean on, int linger) throws SocketException { if (impl == null) throw new SocketException("No socket created"); if (on == true) { if (linger < 0) throw new IllegalArgumentException("SO_LINGER must be >= 0"); if (linger > 65535) linger = 65535; impl.setOption(SocketOptions.SO_... | public void setSoLinger(boolean on, int linger) throws SocketException { if (impl == null) throw new SocketException("No socket created"); if (on == true) { if (linger < 0) throw new IllegalArgumentException("SO_LINGER must be >= 0"); if (linger > 65535) linger = 65535; impl.setOption(SocketOptions.SO_... | 31,216 |
public void setSoLinger(boolean on, int linger) throws SocketException { if (impl == null) throw new SocketException("No socket created"); if (on == true) { if (linger < 0) throw new IllegalArgumentException("SO_LINGER must be >= 0"); if (linger > 65535) linger = 65535; impl.setOption(SocketOptions.SO_... | public void setSoLinger(boolean on, int linger) throws SocketException { if (impl == null) throw new SocketException("No socket created"); if (on == true) { if (linger < 0) throw new IllegalArgumentException("SO_LINGER must be >= 0"); if (linger > 65535) linger = 65535; impl.setOption(SocketOptions.SO_... | 31,217 |
public static synchronized void setSocketImplFactory(SocketImplFactory fac) throws IOException { // See if already set if (factory != null) throw new SocketException("SocketImplFactory already defined"); // Check permissions SecurityManager sm = System.getSecurityManager(); if (sm != null) sm.checkSetFactory... | public static synchronized void setSocketImplFactory(SocketImplFactory fac) throws IOException { // See if already set if (factory != null) throw new SocketException("SocketImplFactory already defined"); // Check permissions SecurityManager sm = System.getSecurityManager(); if (sm != null) sm.checkSetFactory... | 31,219 |
public void setTrafficClass(int tc) throws SocketException { if (impl == null) throw new SocketException("Cannot initialize Socket implementation"); if (tc < 0 || tc > 255) throw new IllegalArgumentException(); impl.setOption(SocketOptions.IP_TOS, new Integer(tc)); } | public void setTrafficClass(int tc) throws SocketException { if (impl == null) throw new SocketException("Cannot initialize Socket implementation"); if (tc < 0 || tc > 255) throw new IllegalArgumentException(); impl.setOption(SocketOptions.IP_TOS, new Integer(tc)); } | 31,220 |
public void setTrafficClass(int tc) throws SocketException { if (impl == null) throw new SocketException("Cannot initialize Socket implementation"); if (tc < 0 || tc > 255) throw new IllegalArgumentException(); impl.setOption(SocketOptions.IP_TOS, new Integer(tc)); } | public void setTrafficClass(int tc) throws SocketException { if (impl == null) throw new SocketException("Cannot initialize Socket implementation"); if (tc < 0 || tc > 255) throw new IllegalArgumentException(); impl.setOption(SocketOptions.IP_TOS, new Integer(tc)); } | 31,221 |
public void shutdownInput() throws IOException { if (impl != null) impl.shutdownInput(); inputShutdown = true; } | public void shutdownInput() throws IOException { if (impl != null) impl.shutdownInput(); inputShutdown = true; } | 31,222 |
public void shutdownOutput() throws IOException { if (impl != null) impl.shutdownOutput(); outputShutdown = true; } | public void shutdownOutput() throws IOException { if (impl != null) impl.shutdownOutput(); outputShutdown = true; } | 31,224 |
public String toString() { return ("Socket " + impl); } | public String toString() { return ("Socket " + impl); } | 31,226 |
public void propertyChange(PropertyChangeEvent evt) { JPopupMenu.this.revalidate(); JPopupMenu.this.repaint(); } | public void propertyChange(PropertyChangeEvent evt) { JPopupMenu.this.revalidate(); JPopupMenu.this.repaint(); } | 31,228 |
public void pack() { super.setSize(null); } | public void pack() { if (! SwingUtilities.isEventDispatchThread()) { SwingUtilities.invokeLater(new Runnable() { public void run() { show(); } }); } setSize(getPreferredSize()); } | 31,229 |
public void remove(int index) { super.remove(index); GridBagConstraints constraints = new GridBagConstraints(); constraints.fill = GridBagConstraints.BOTH; constraints.weightx = 100.0; constraints.weighty = 100.0; Component[] items = getComponents(); for (int i = index; i < items.length; i++) ... | public void remove(int index) { super.remove(index); GridBagConstraints constraints = new GridBagConstraints(); constraints.fill = GridBagConstraints.BOTH; constraints.weightx = 100.0; constraints.weighty = 100.0; Component[] items = getComponents(); for (int i = index; i < items.length; i++) ... | 31,230 |
public void setLocation(int x, int y) { if (popupLocation == null) popupLocation = new Point(); popupLocation.x = x; popupLocation.y = y; } | public void setLocation(int x, int y) { if (popupLocation == null) popupLocation = new Point(); popupLocation.x = x; popupLocation.y = y; } | 31,231 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.