PageRenderTime 22ms queryTime 79ms sortTime 18ms getByIdsTime 91ms findMatchingLines 58ms

100+ results results for 'java.net.inetaddress import' (22 ms)

Not the results you expected?
DelegationTokenRenewal.java https://github.com/RS1999ent/hadoop-mapreduce.git | Java | 402 lines
                    
21import java.io.IOException;
                    
22import java.net.InetAddress;
                    
23import java.net.URI;
                    
25import java.util.Collection;
                    
26import java.util.Collections;
                    
27import java.util.Date;
                    
27import java.util.Date;
                    
28import java.util.HashSet;
                    
29import java.util.Iterator;
                    
35import org.apache.commons.logging.LogFactory;
                    
36import org.apache.hadoop.classification.InterfaceAudience;
                    
37import org.apache.hadoop.classification.InterfaceStability;
                    
37import org.apache.hadoop.classification.InterfaceStability;
                    
38import org.apache.hadoop.conf.Configuration;
                    
39import org.apache.hadoop.fs.FileSystem;
                    
                
MemcachedConnector.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 386 lines
                    
2
                    
3import org.jgroups.annotations.ManagedAttribute;
                    
4import org.jgroups.annotations.ManagedOperation;
                    
4import org.jgroups.annotations.ManagedOperation;
                    
5import org.jgroups.util.Util;
                    
6
                    
6
                    
7import javax.management.MBeanRegistrationException;
                    
8import javax.management.MalformedObjectNameException;
                    
9import java.io.*;
                    
10import java.net.InetAddress;
                    
11import java.net.ServerSocket;
                    
11import java.net.ServerSocket;
                    
12import java.net.Socket;
                    
13import java.nio.channels.ClosedSelectorException;
                    
                
IPerf.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 420 lines
                    
2
                    
3import org.jgroups.*;
                    
4import org.jgroups.util.Util;
                    
4import org.jgroups.util.Util;
                    
5import org.jgroups.util.Tuple;
                    
6
                    
6
                    
7import java.nio.ByteBuffer;
                    
8import java.util.*;
                    
9import java.util.concurrent.ConcurrentHashMap;
                    
10import java.util.concurrent.ConcurrentMap;
                    
11import java.util.concurrent.TimeUnit;
                    
14import java.util.concurrent.locks.Condition;
                    
15import java.net.InetAddress;
                    
16import java.text.NumberFormat;
                    
                
Krb5InitCredential.java https://github.com/Morriar/ProxyJDK.git | Java | 359 lines
                    
27
                    
28import org.ietf.jgss.*;
                    
29import sun.security.jgss.GSSCaller;
                    
30import sun.security.jgss.spi.*;
                    
31import sun.security.krb5.*;
                    
32import sun.security.krb5.Config;
                    
33import javax.security.auth.kerberos.*;
                    
34import java.net.InetAddress;
                    
35import java.io.IOException;
                    
35import java.io.IOException;
                    
36import java.util.Date;
                    
37import java.security.AccessController;
                    
37import java.security.AccessController;
                    
38import java.security.AccessControlContext;
                    
39import java.security.PrivilegedExceptionAction;
                    
                
Krb5InitCredential.java https://github.com/ikeji/openjdk7-jdk.git | Java | 359 lines
                    
27
                    
28import org.ietf.jgss.*;
                    
29import sun.security.jgss.GSSCaller;
                    
30import sun.security.jgss.spi.*;
                    
31import sun.security.krb5.*;
                    
32import sun.security.krb5.Config;
                    
33import javax.security.auth.kerberos.*;
                    
34import java.net.InetAddress;
                    
35import java.io.IOException;
                    
35import java.io.IOException;
                    
36import java.util.Date;
                    
37import java.security.AccessController;
                    
37import java.security.AccessController;
                    
38import java.security.AccessControlContext;
                    
39import java.security.PrivilegedExceptionAction;
                    
                
PRUDPPacketHandlerSocks.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 547 lines
                    
27import java.io.DataInputStream;
                    
28import java.io.DataOutputStream;
                    
29import java.io.IOException;
                    
30import java.net.DatagramPacket;
                    
31import java.net.InetAddress;
                    
32import java.net.InetSocketAddress;
                    
34import java.net.Proxy;
                    
35import java.net.Socket;
                    
36
                    
36
                    
37import org.gudy.azureus2.core3.config.COConfigurationManager;
                    
38import org.gudy.azureus2.core3.config.ParameterListener;
                    
48import com.aelitis.net.udp.uc.PRUDPPrimordialHandler;
                    
49import com.aelitis.net.udp.uc.PRUDPRequestHandler;
                    
50
                    
                
StorageLoadBalancer.java https://github.com/angosso/git-cassandra-angosso-angosso.html.git | Java | 371 lines
                    
20
                    
21import java.util.*;
                    
22import java.util.concurrent.ExecutorService;
                    
22import java.util.concurrent.ExecutorService;
                    
23import java.util.concurrent.atomic.AtomicBoolean;
                    
24
                    
24
                    
25import org.apache.cassandra.gms.*;
                    
26
                    
26
                    
27import org.slf4j.Logger;
                    
28import org.slf4j.LoggerFactory;
                    
31
                    
32import java.net.InetAddress;
                    
33import org.apache.cassandra.net.IVerbHandler;
                    
                
NativeSystemInfo.java https://github.com/ccrouch/rhq.git | Java | 355 lines
                    
25import java.io.BufferedReader;
                    
26import java.io.IOException;
                    
27import java.io.InputStreamReader;
                    
27import java.io.InputStreamReader;
                    
28import java.net.InetAddress;
                    
29import java.net.UnknownHostException;
                    
29import java.net.UnknownHostException;
                    
30import java.util.ArrayList;
                    
31import java.util.List;
                    
35import org.hyperic.sigar.FileSystem;
                    
36import org.hyperic.sigar.FileSystemMap;
                    
37import org.hyperic.sigar.Mem;
                    
43import org.hyperic.sigar.SigarException;
                    
44import org.hyperic.sigar.SigarProxy;
                    
45import org.hyperic.sigar.Swap;
                    
                
WebMail.java https://github.com/tledoux/AQuA.git | Java | 399 lines
                    
4import java.io.IOException;
                    
5import java.io.InputStream;
                    
6import java.io.PrintStream;
                    
6import java.io.PrintStream;
                    
7import java.net.InetAddress;
                    
8import java.net.URLEncoder;
                    
13import java.util.Properties;
                    
14import java.util.concurrent.atomic.AtomicInteger;
                    
15
                    
15
                    
16import javax.mail.FetchProfile;
                    
17import javax.mail.Folder;
                    
29import org.archive.io.arc.ARCWriter;
                    
30import org.archive.util.ArchiveUtils;
                    
31
                    
                
AsyncStressTest.java https://github.com/derickbailey/qedserver.git | Java | 371 lines
                    
15import java.io.IOException;
                    
16import java.io.InputStream;
                    
17import java.net.Inet4Address;
                    
17import java.net.Inet4Address;
                    
18import java.net.InetAddress;
                    
19import java.net.Socket;
                    
19import java.net.Socket;
                    
20import java.util.Random;
                    
21import java.util.Timer;
                    
25import javax.servlet.http.HttpServletRequest;
                    
26import javax.servlet.http.HttpServletResponse;
                    
27
                    
34import org.mortbay.util.StringUtil;
                    
35import org.mortbay.util.ajax.Continuation;
                    
36import org.mortbay.util.ajax.ContinuationSupport;
                    
                
NioSctpChannel.java https://gitlab.com/taichu/netty | Java | 403 lines
                    
17
                    
18import com.sun.nio.sctp.Association;
                    
19import com.sun.nio.sctp.MessageInfo;
                    
20import com.sun.nio.sctp.NotificationHandler;
                    
21import com.sun.nio.sctp.SctpChannel;
                    
22import io.netty.buffer.ByteBuf;
                    
25import io.netty.channel.ChannelException;
                    
26import io.netty.channel.ChannelFuture;
                    
27import io.netty.channel.ChannelMetadata;
                    
34import io.netty.channel.sctp.SctpMessage;
                    
35import io.netty.channel.sctp.SctpNotificationHandler;
                    
36import io.netty.channel.sctp.SctpServerChannel;
                    
42import java.io.IOException;
                    
43import java.net.InetAddress;
                    
44import java.net.InetSocketAddress;
                    
                
ConnectionBuffer.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 363 lines
                    
19
                    
20import freecs.*;
                    
21import freecs.content.*;
                    
21import freecs.content.*;
                    
22import freecs.interfaces.*;
                    
23import freecs.util.ObjectBuffer;
                    
23import freecs.util.ObjectBuffer;
                    
24import java.nio.ByteBuffer;
                    
25import java.nio.channels.SelectionKey;
                    
25import java.nio.channels.SelectionKey;
                    
26import java.nio.channels.SocketChannel;
                    
27import freecs.util.TrafficMonitor;
                    
27import freecs.util.TrafficMonitor;
                    
28import java.net.InetAddress;
                    
29
                    
                
HttpConnection.java https://bitbucket.org/aways/android_libcore.git | Java | 343 lines
                    
20import java.io.BufferedInputStream;
                    
21import java.io.IOException;
                    
22import java.io.InputStream;
                    
23import java.io.OutputStream;
                    
24import java.net.InetAddress;
                    
25import java.net.InetSocketAddress;
                    
25import java.net.InetSocketAddress;
                    
26import java.net.Proxy;
                    
27import java.net.ProxySelector;
                    
29import java.net.SocketAddress;
                    
30import java.net.SocketException;
                    
31import java.net.URI;
                    
38import libcore.util.Objects;
                    
39import org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl;
                    
40
                    
                
EventDispatcher.java https://github.com/abollaert/smartlights.git | Java | 360 lines
                    
3import java.io.ByteArrayOutputStream;
                    
4import java.io.IOException;
                    
5import java.net.DatagramPacket;
                    
5import java.net.DatagramPacket;
                    
6import java.net.InetAddress;
                    
7import java.net.MulticastSocket;
                    
7import java.net.MulticastSocket;
                    
8import java.util.HashSet;
                    
9import java.util.Set;
                    
13import be.abollaert.domotics.light.api.ChannelState;
                    
14import be.abollaert.domotics.light.api.DigitalChannelStateChangeListener;
                    
15import be.abollaert.domotics.light.api.DigitalModule;
                    
21import be.abollaert.domotics.light.protocolbuffers.Eventing;
                    
22import be.abollaert.domotics.light.protocolbuffers.Eventing.DigitalInputChannelStateChanged;
                    
23import be.abollaert.domotics.light.protocolbuffers.Eventing.DigitalOutputChannelStateChanged;
                    
                
LPS-121338.patch https://github.com/danielreuther/liferay-portal.git | Patch | 375 lines
                    
9+import java.io.InputStream;
                    
10 import java.net.InetAddress;
                    
11 import java.net.Socket;
                    
11 import java.net.Socket;
                    
12 import java.net.UnknownHostException;
                    
13+import java.security.cert.Certificate;
                    
13+import java.security.cert.Certificate;
                    
14+import java.security.cert.CertificateParsingException;
                    
15+import java.security.cert.X509Certificate;
                    
17+import java.util.Collection;
                    
18+import java.util.Iterator;
                    
19+import java.util.LinkedList;
                    
26+import javax.net.ssl.SSLSession;
                    
27+import javax.net.ssl.SSLSocket;
                    
28 import javax.net.ssl.SSLSocketFactory;
                    
                
AbstractCassandraDaemon.java https://github.com/stephenc/cassandra.git | Java | 412 lines
                    
21import java.io.IOException;
                    
22import java.net.InetAddress;
                    
23import java.net.MalformedURLException;
                    
24import java.net.URL;
                    
25import java.util.Arrays;
                    
26import java.util.concurrent.SynchronousQueue;
                    
26import java.util.concurrent.SynchronousQueue;
                    
27import java.util.concurrent.ThreadPoolExecutor;
                    
28import java.util.concurrent.TimeUnit;
                    
32import org.apache.log4j.PropertyConfigurator;
                    
33import org.slf4j.Logger;
                    
34import org.slf4j.LoggerFactory;
                    
35
                    
36import org.apache.cassandra.concurrent.DebuggableThreadPoolExecutor;
                    
37import org.apache.cassandra.concurrent.NamedThreadFactory;
                    
                
CaptivePortalTracker.java https://bitbucket.org/camcory/base_test.git | Java | 382 lines
                    
23import android.content.BroadcastReceiver;
                    
24import android.content.Context;
                    
25import android.content.Intent;
                    
25import android.content.Intent;
                    
26import android.content.IntentFilter;
                    
27import android.content.res.Resources;
                    
30import android.os.UserHandle;
                    
31import android.os.Message;
                    
32import android.os.RemoteException;
                    
32import android.os.RemoteException;
                    
33import android.provider.Settings;
                    
34import android.telephony.TelephonyManager;
                    
41import java.net.HttpURLConnection;
                    
42import java.net.InetAddress;
                    
43import java.net.Inet4Address;
                    
                
CaptivePortalTracker.java https://bitbucket.org/Lloir/basee.git | Java | 382 lines
                    
23import android.content.BroadcastReceiver;
                    
24import android.content.Context;
                    
25import android.content.Intent;
                    
25import android.content.Intent;
                    
26import android.content.IntentFilter;
                    
27import android.content.res.Resources;
                    
30import android.os.UserHandle;
                    
31import android.os.Message;
                    
32import android.os.RemoteException;
                    
32import android.os.RemoteException;
                    
33import android.provider.Settings;
                    
34import android.telephony.TelephonyManager;
                    
41import java.net.HttpURLConnection;
                    
42import java.net.InetAddress;
                    
43import java.net.Inet4Address;
                    
                
CaptivePortalTracker.java https://bitbucket.org/Lloir/miragebase.git | Java | 382 lines
                    
23import android.content.BroadcastReceiver;
                    
24import android.content.Context;
                    
25import android.content.Intent;
                    
25import android.content.Intent;
                    
26import android.content.IntentFilter;
                    
27import android.content.res.Resources;
                    
30import android.os.UserHandle;
                    
31import android.os.Message;
                    
32import android.os.RemoteException;
                    
32import android.os.RemoteException;
                    
33import android.provider.Settings;
                    
34import android.telephony.TelephonyManager;
                    
41import java.net.HttpURLConnection;
                    
42import java.net.InetAddress;
                    
43import java.net.Inet4Address;
                    
                
CatalogBuilderTest.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 348 lines
                    
21import java.io.File;
                    
22import java.io.FileInputStream;
                    
23import java.io.FileNotFoundException;
                    
23import java.io.FileNotFoundException;
                    
24import java.io.IOException;
                    
25import java.io.InputStream;
                    
25import java.io.InputStream;
                    
26import java.net.InetAddress;
                    
27import java.util.Arrays;
                    
34import org.geotools.coverage.grid.GridEnvelope2D;
                    
35import org.geotools.coverage.grid.GridGeometry2D;
                    
36import org.geotools.coverage.grid.io.AbstractGridFormat;
                    
46import org.junit.Before;
                    
47import org.junit.Test;
                    
48import org.opengis.parameter.GeneralParameterValue;
                    
                
CaptivePortalTracker.java https://gitlab.com/brian0218/rk3066_r-box_android4.2.2_sdk | Java | 382 lines
                    
23import android.content.BroadcastReceiver;
                    
24import android.content.Context;
                    
25import android.content.Intent;
                    
25import android.content.Intent;
                    
26import android.content.IntentFilter;
                    
27import android.content.res.Resources;
                    
30import android.os.UserHandle;
                    
31import android.os.Message;
                    
32import android.os.RemoteException;
                    
32import android.os.RemoteException;
                    
33import android.provider.Settings;
                    
34import android.telephony.TelephonyManager;
                    
41import java.net.HttpURLConnection;
                    
42import java.net.InetAddress;
                    
43import java.net.Inet4Address;
                    
                
CaptivePortalTracker.java https://gitlab.com/brian0218/rk3188_r-box_android4.2.2_sdk | Java | 382 lines
                    
23import android.content.BroadcastReceiver;
                    
24import android.content.Context;
                    
25import android.content.Intent;
                    
25import android.content.Intent;
                    
26import android.content.IntentFilter;
                    
27import android.content.res.Resources;
                    
30import android.os.UserHandle;
                    
31import android.os.Message;
                    
32import android.os.RemoteException;
                    
32import android.os.RemoteException;
                    
33import android.provider.Settings;
                    
34import android.telephony.TelephonyManager;
                    
41import java.net.HttpURLConnection;
                    
42import java.net.InetAddress;
                    
43import java.net.Inet4Address;
                    
                
SessionDriver.java https://github.com/Beckham007/hadoop-20.git | Java | 451 lines
                    
2
                    
3import java.io.IOException;
                    
4import java.util.ArrayList;
                    
4import java.util.ArrayList;
                    
5import java.util.Collections;
                    
6import java.util.LinkedList;
                    
6import java.util.LinkedList;
                    
7import java.util.List;
                    
8import java.net.ServerSocket;
                    
8import java.net.ServerSocket;
                    
9import java.net.Socket;
                    
10import java.net.InetSocketAddress;
                    
11
                    
12import org.apache.commons.logging.Log;
                    
13import org.apache.commons.logging.LogFactory;
                    
                
SnmpSocket.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 329 lines
                    
15
                    
16// JAVA imports
                    
17//
                    
17//
                    
18import java.net.InetAddress;
                    
19import java.net.DatagramPacket;
                    
19import java.net.DatagramPacket;
                    
20import java.net.DatagramSocket;
                    
21import java.net.SocketException;
                    
21import java.net.SocketException;
                    
22import java.io.IOException;
                    
23
                    
23
                    
24// SNMP Runtime imports
                    
25//
                    
                
TestBase.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 332 lines
                    
43
                    
44import java.io.ByteArrayInputStream;
                    
45import java.io.ByteArrayOutputStream;
                    
45import java.io.ByteArrayOutputStream;
                    
46import java.io.File;
                    
47import java.io.FileDescriptor;
                    
47import java.io.FileDescriptor;
                    
48import java.io.FileOutputStream;
                    
49import java.io.InputStream;
                    
49import java.io.InputStream;
                    
50import java.io.PrintStream;
                    
51import java.io.PrintWriter;
                    
51import java.io.PrintWriter;
                    
52import java.net.InetAddress;
                    
53import java.net.URL;
                    
                
PlatformManagerImpl.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 336 lines
                    
23import java.io.File;
                    
24import java.net.InetAddress;
                    
25import java.util.HashSet;
                    
27import org.gudy.azureus2.core3.logging.LogEvent;
                    
28import org.gudy.azureus2.core3.logging.LogIDs;
                    
29import org.gudy.azureus2.core3.logging.Logger;
                    
29import org.gudy.azureus2.core3.logging.Logger;
                    
30import org.gudy.azureus2.core3.util.AEMonitor;
                    
31import org.gudy.azureus2.core3.util.SystemProperties;
                    
183
                    
184	// @see org.gudy.azureus2.platform.PlatformManager#ping(java.net.InetAddress, java.net.InetAddress, org.gudy.azureus2.platform.PlatformManagerPingCallback)
                    
185	public void ping(InetAddress interface_address, InetAddress target,
                    
280
                    
281	// @see org.gudy.azureus2.platform.PlatformManager#traceRoute(java.net.InetAddress, java.net.InetAddress, org.gudy.azureus2.platform.PlatformManagerPingCallback)
                    
282	public void traceRoute(InetAddress interface_address, InetAddress target,
                    
                
Socks5ProxySocketFactory.java https://github.com/joechen2010/IM.git | Java | 358 lines
                    
2
                    
3import java.io.IOException;
                    
4import java.io.InputStream;
                    
5import java.io.OutputStream;
                    
6import java.net.InetAddress;
                    
7import java.net.Socket;
                    
7import java.net.Socket;
                    
8import java.net.UnknownHostException;
                    
9import javax.net.SocketFactory;
                    
                
CaptivePortalTracker.java https://bitbucket.org/androidarmv6/android_frameworks_base.git | Java | 382 lines
                    
23import android.content.BroadcastReceiver;
                    
24import android.content.Context;
                    
25import android.content.Intent;
                    
25import android.content.Intent;
                    
26import android.content.IntentFilter;
                    
27import android.content.res.Resources;
                    
30import android.os.UserHandle;
                    
31import android.os.Message;
                    
32import android.os.RemoteException;
                    
32import android.os.RemoteException;
                    
33import android.provider.Settings;
                    
34import android.telephony.TelephonyManager;
                    
41import java.net.HttpURLConnection;
                    
42import java.net.InetAddress;
                    
43import java.net.Inet4Address;
                    
                
TomcatConnectorComponent.java https://github.com/ccrouch/rhq.git | Java | 253 lines
                    
24
                    
25import java.net.InetAddress;
                    
26import java.net.UnknownHostException;
                    
26import java.net.UnknownHostException;
                    
27import java.util.List;
                    
28import java.util.Set;
                    
29
                    
30import org.apache.commons.logging.Log;
                    
31import org.apache.commons.logging.LogFactory;
                    
31import org.apache.commons.logging.LogFactory;
                    
32import org.mc4j.ems.connection.EmsConnection;
                    
33import org.mc4j.ems.connection.bean.EmsBean;
                    
33import org.mc4j.ems.connection.bean.EmsBean;
                    
34import org.mc4j.ems.connection.bean.attribute.EmsAttribute;
                    
35
                    
                
CaptivePortalTracker.java https://bitbucket.org/ardalanaz/platform_frameworks_base.git | Java | 382 lines
                    
23import android.content.BroadcastReceiver;
                    
24import android.content.Context;
                    
25import android.content.Intent;
                    
25import android.content.Intent;
                    
26import android.content.IntentFilter;
                    
27import android.content.res.Resources;
                    
30import android.os.UserHandle;
                    
31import android.os.Message;
                    
32import android.os.RemoteException;
                    
32import android.os.RemoteException;
                    
33import android.provider.Settings;
                    
34import android.telephony.TelephonyManager;
                    
41import java.net.HttpURLConnection;
                    
42import java.net.InetAddress;
                    
43import java.net.Inet4Address;
                    
                
SecurityUtil.java https://github.com/RS1999ent/hadoop-common.git | Java | 294 lines
                    
19import java.io.IOException;
                    
20import java.net.InetAddress;
                    
21import java.net.URI;
                    
22import java.net.URL;
                    
23import java.net.UnknownHostException;
                    
24import java.security.AccessController;
                    
28import javax.security.auth.kerberos.KerberosPrincipal;
                    
29import javax.security.auth.kerberos.KerberosTicket;
                    
30
                    
30
                    
31import org.apache.commons.logging.Log;
                    
32import org.apache.commons.logging.LogFactory;
                    
40import sun.security.krb5.Credentials;
                    
41import sun.security.krb5.PrincipalName;
                    
42
                    
                
CaptivePortalTracker.java https://bitbucket.org/ProuDroid/frameworks_base.git | Java | 382 lines
                    
23import android.content.BroadcastReceiver;
                    
24import android.content.Context;
                    
25import android.content.Intent;
                    
25import android.content.Intent;
                    
26import android.content.IntentFilter;
                    
27import android.content.res.Resources;
                    
30import android.os.UserHandle;
                    
31import android.os.Message;
                    
32import android.os.RemoteException;
                    
32import android.os.RemoteException;
                    
33import android.provider.Settings;
                    
34import android.telephony.TelephonyManager;
                    
41import java.net.HttpURLConnection;
                    
42import java.net.InetAddress;
                    
43import java.net.Inet4Address;
                    
                
NatTestWindow.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 413 lines
                    
24
                    
25import java.net.InetAddress;
                    
26
                    
26
                    
27import org.eclipse.swt.SWT;
                    
28import org.eclipse.swt.custom.StyledText;
                    
28import org.eclipse.swt.custom.StyledText;
                    
29import org.eclipse.swt.layout.GridData;
                    
30import org.eclipse.swt.layout.GridLayout;
                    
30import org.eclipse.swt.layout.GridLayout;
                    
31import org.eclipse.swt.widgets.*;
                    
32import org.gudy.azureus2.core3.config.COConfigurationManager;
                    
32import org.gudy.azureus2.core3.config.COConfigurationManager;
                    
33import org.gudy.azureus2.core3.internat.MessageText;
                    
34import org.gudy.azureus2.core3.ipchecker.natchecker.NatChecker;
                    
                
AsyncStressTest.java https://github.com/toddlipcon/jetty-hadoop-fix.git | Java | 371 lines
                    
15import java.io.IOException;
                    
16import java.io.InputStream;
                    
17import java.net.Inet4Address;
                    
17import java.net.Inet4Address;
                    
18import java.net.InetAddress;
                    
19import java.net.Socket;
                    
19import java.net.Socket;
                    
20import java.util.Random;
                    
21import java.util.Timer;
                    
25import javax.servlet.http.HttpServletRequest;
                    
26import javax.servlet.http.HttpServletResponse;
                    
27
                    
34import org.mortbay.util.StringUtil;
                    
35import org.mortbay.util.ajax.Continuation;
                    
36import org.mortbay.util.ajax.ContinuationSupport;
                    
                
SmtpSender.java https://github.com/liudidi/android_packages_apps_Email.git | Java | 345 lines
                    
21import com.android.email.mail.AuthenticationFailedException;
                    
22import com.android.email.mail.CertificateValidationException;
                    
23import com.android.email.mail.MessagingException;
                    
23import com.android.email.mail.MessagingException;
                    
24import com.android.email.mail.Sender;
                    
25import com.android.email.mail.Transport;
                    
27
                    
28import android.content.Context;
                    
29import android.util.Config;
                    
29import android.util.Config;
                    
30import android.util.Log;
                    
31import android.util.Base64;
                    
34import java.lang.StringBuilder;
                    
35import java.net.InetAddress;
                    
36import java.net.Inet6Address;
                    
                
GoogleCloudStorageClientSettingsTests.java https://github.com/elasticsearch/elasticsearch.git | Java | 273 lines
                    
13import org.elasticsearch.common.settings.MockSecureSettings;
                    
14import org.elasticsearch.common.settings.Setting;
                    
15import org.elasticsearch.common.settings.Settings;
                    
15import org.elasticsearch.common.settings.Settings;
                    
16import org.elasticsearch.core.TimeValue;
                    
17import org.elasticsearch.core.Tuple;
                    
19
                    
20import java.net.InetAddress;
                    
21import java.net.InetSocketAddress;
                    
27import java.util.ArrayList;
                    
28import java.util.Base64;
                    
29import java.util.Collections;
                    
42import static org.elasticsearch.repositories.gcs.GoogleCloudStorageClientSettings.PROXY_TYPE_SETTING;
                    
43import static org.elasticsearch.repositories.gcs.GoogleCloudStorageClientSettings.READ_TIMEOUT_SETTING;
                    
44import static org.elasticsearch.repositories.gcs.GoogleCloudStorageClientSettings.getClientSettings;
                    
                
CounterColumn.java https://github.com/thepaul/cassandra.git | Java | 382 lines
                    
21import java.nio.ByteBuffer;
                    
22import java.net.InetAddress;
                    
23import java.security.MessageDigest;
                    
23import java.security.MessageDigest;
                    
24import java.util.Collection;
                    
25
                    
25
                    
26import org.slf4j.Logger;
                    
27import org.slf4j.LoggerFactory;
                    
31import org.apache.cassandra.db.context.CounterContext;
                    
32import org.apache.cassandra.db.context.IContext.ContextRelationship;
                    
33import org.apache.cassandra.db.marshal.AbstractType;
                    
39import org.apache.cassandra.utils.Allocator;
                    
40import org.apache.cassandra.service.IWriteResponseHandler;
                    
41import org.apache.cassandra.service.StorageProxy;
                    
                
NetlinkTracker.java https://gitlab.com/AvayKumar/android_frameworks_base | Java | 365 lines
                    
18
                    
19import android.net.LinkAddress;
                    
20import android.net.LinkProperties;
                    
20import android.net.LinkProperties;
                    
21import android.net.RouteInfo;
                    
22import android.util.Log;
                    
23
                    
24import java.net.InetAddress;
                    
25import java.util.ArrayList;
                    
25import java.util.ArrayList;
                    
26import java.util.Arrays;
                    
27import java.util.Collection;
                    
27import java.util.Collection;
                    
28import java.util.Collections;
                    
29import java.util.HashMap;
                    
                
IPAddressRangeManager.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 587 lines
                    
29
                    
30import java.util.*;
                    
31
                    
31
                    
32import java.net.InetAddress;
                    
33import java.net.UnknownHostException;
                    
34
                    
35import org.gudy.azureus2.core3.ipfilter.IpFilterManagerFactory;
                    
36import org.gudy.azureus2.core3.ipfilter.IpRange;
                    
36import org.gudy.azureus2.core3.ipfilter.IpRange;
                    
37import org.gudy.azureus2.core3.logging.*;
                    
38import org.gudy.azureus2.core3.util.*;
                    
38import org.gudy.azureus2.core3.util.*;
                    
39import org.gudy.azureus2.core3.tracker.protocol.PRHelpers;
                    
40
                    
                
CaptivePortalTracker.java https://bitbucket.org/rlyspn/androidrr.git | Java | 382 lines
                    
23import android.content.BroadcastReceiver;
                    
24import android.content.Context;
                    
25import android.content.Intent;
                    
25import android.content.Intent;
                    
26import android.content.IntentFilter;
                    
27import android.content.res.Resources;
                    
30import android.os.UserHandle;
                    
31import android.os.Message;
                    
32import android.os.RemoteException;
                    
32import android.os.RemoteException;
                    
33import android.provider.Settings;
                    
34import android.telephony.TelephonyManager;
                    
41import java.net.HttpURLConnection;
                    
42import java.net.InetAddress;
                    
43import java.net.Inet4Address;
                    
                
WifiConfigurationHelper.java https://gitlab.com/AvayKumar/android_frameworks_base | Java | 364 lines
                    
18
                    
19import android.net.IpConfiguration.IpAssignment;
                    
20import android.net.IpConfiguration.ProxySettings;
                    
21import android.net.LinkAddress;
                    
22import android.net.StaticIpConfiguration;
                    
23import android.net.wifi.WifiConfiguration;
                    
24import android.net.wifi.WifiConfiguration.AuthAlgorithm;
                    
25import android.net.wifi.WifiConfiguration.KeyMgmt;
                    
26import android.net.wifi.WifiEnterpriseConfig;
                    
27
                    
28import org.json.JSONArray;
                    
29import org.json.JSONException;
                    
31
                    
32import java.net.InetAddress;
                    
33import java.net.UnknownHostException;
                    
                
NamingServiceImpl.java https://bitbucket.org/psymes/34cs-st2071.git | Java | 394 lines
                    
3import java.io.IOException;
                    
4import java.net.InetAddress;
                    
5import java.net.UnknownHostException;
                    
7import java.util.Arrays;
                    
8import java.util.Hashtable;
                    
9import java.util.List;
                    
9import java.util.List;
                    
10import java.util.Map;
                    
11import java.util.logging.Level;
                    
13import javax.naming.Context;
                    
14import javax.naming.NamingEnumeration;
                    
15import javax.naming.NamingException;
                    
16import javax.naming.directory.Attribute;
                    
17import javax.naming.directory.Attributes;
                    
18import javax.naming.directory.DirContext;
                    
                
CaptivePortalTracker.java https://bitbucket.org/mlepape/platform-frameworks-base.git | Java | 382 lines
                    
23import android.content.BroadcastReceiver;
                    
24import android.content.Context;
                    
25import android.content.Intent;
                    
25import android.content.Intent;
                    
26import android.content.IntentFilter;
                    
27import android.content.res.Resources;
                    
30import android.os.UserHandle;
                    
31import android.os.Message;
                    
32import android.os.RemoteException;
                    
32import android.os.RemoteException;
                    
33import android.provider.Settings;
                    
34import android.telephony.TelephonyManager;
                    
41import java.net.HttpURLConnection;
                    
42import java.net.InetAddress;
                    
43import java.net.Inet4Address;
                    
                
Krb5InitCredential.java https://gitlab.com/borneywpf/openjdk-7-src | Java | 359 lines
                    
27
                    
28import org.ietf.jgss.*;
                    
29import sun.security.jgss.GSSCaller;
                    
30import sun.security.jgss.spi.*;
                    
31import sun.security.krb5.*;
                    
32import sun.security.krb5.Config;
                    
33import javax.security.auth.kerberos.*;
                    
34import java.net.InetAddress;
                    
35import java.io.IOException;
                    
35import java.io.IOException;
                    
36import java.util.Date;
                    
37import java.security.AccessController;
                    
37import java.security.AccessController;
                    
38import java.security.AccessControlContext;
                    
39import java.security.PrivilegedExceptionAction;
                    
                
CaptivePortalTracker.java https://bitbucket.org/coupgar/base.git | Java | 382 lines
                    
23import android.content.BroadcastReceiver;
                    
24import android.content.Context;
                    
25import android.content.Intent;
                    
25import android.content.Intent;
                    
26import android.content.IntentFilter;
                    
27import android.content.res.Resources;
                    
30import android.os.UserHandle;
                    
31import android.os.Message;
                    
32import android.os.RemoteException;
                    
32import android.os.RemoteException;
                    
33import android.provider.Settings;
                    
34import android.telephony.TelephonyManager;
                    
41import java.net.HttpURLConnection;
                    
42import java.net.InetAddress;
                    
43import java.net.Inet4Address;
                    
                
SctpServerChannelImpl.java https://github.com/Morriar/ProxyJDK.git | Java | 424 lines
                    
26
                    
27import java.net.SocketAddress;
                    
28import java.net.InetSocketAddress;
                    
28import java.net.InetSocketAddress;
                    
29import java.net.InetAddress;
                    
30import java.io.FileDescriptor;
                    
30import java.io.FileDescriptor;
                    
31import java.io.IOException;
                    
32import java.util.Collections;
                    
32import java.util.Collections;
                    
33import java.util.Set;
                    
34import java.util.HashSet;
                    
34import java.util.HashSet;
                    
35import java.nio.channels.SelectionKey;
                    
36import java.nio.channels.ClosedChannelException;
                    
                
HiveAuthFactory.java https://github.com/pkalmegh/hive.git | Java | 331 lines
                    
20import java.io.IOException;
                    
21import java.net.InetAddress;
                    
22import java.net.InetSocketAddress;
                    
22import java.net.InetSocketAddress;
                    
23import java.net.UnknownHostException;
                    
24import java.text.MessageFormat;
                    
24import java.text.MessageFormat;
                    
25import java.util.HashMap;
                    
26import java.util.Map;
                    
33import org.apache.hadoop.hive.shims.ShimLoader;
                    
34import org.apache.hadoop.hive.thrift.HadoopThriftAuthBridge;
                    
35import org.apache.hadoop.security.UserGroupInformation;
                    
43import org.apache.thrift.transport.TTransportException;
                    
44import org.apache.thrift.transport.TTransportFactory;
                    
45import org.slf4j.Logger;
                    
                
ConnectionPoolTest.java https://bitbucket.org/rlyspn/androidrr.git | Java | 391 lines
                    
18import com.google.mockwebserver.MockWebServer;
                    
19import com.squareup.okhttp.internal.RecordingHostnameVerifier;
                    
20import com.squareup.okhttp.internal.SslContextBuilder;
                    
20import com.squareup.okhttp.internal.SslContextBuilder;
                    
21import com.squareup.okhttp.internal.Util;
                    
22import com.squareup.okhttp.internal.mockspdyserver.MockSpdyServer;
                    
23import java.io.IOException;
                    
24import java.net.InetAddress;
                    
25import java.net.InetSocketAddress;
                    
27import java.net.UnknownHostException;
                    
28import java.security.GeneralSecurityException;
                    
29import java.util.Arrays;
                    
36import static org.junit.Assert.assertNotNull;
                    
37import static org.junit.Assert.assertNull;
                    
38import static org.junit.Assert.assertSame;
                    
                
EasyHttpClient.java https://gitlab.com/optlasuta/mobilecloud-14 | Java | 326 lines
                    
28import java.io.ByteArrayOutputStream;
                    
29import java.io.IOException;
                    
30import java.io.InputStream;
                    
30import java.io.InputStream;
                    
31import java.net.InetAddress;
                    
32import java.net.InetSocketAddress;
                    
32import java.net.InetSocketAddress;
                    
33import java.net.Socket;
                    
34import java.net.UnknownHostException;
                    
34import java.net.UnknownHostException;
                    
35import java.security.cert.CertificateException;
                    
36import java.security.cert.X509Certificate;
                    
51import org.apache.http.HttpResponseInterceptor;
                    
52import org.apache.http.HttpVersion;
                    
53import org.apache.http.auth.AuthScope;
                    
                
FetchDNS.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 333 lines
                    
29import java.io.InputStream;
                    
30import java.net.InetAddress;
                    
31import java.net.UnknownHostException;
                    
31import java.net.UnknownHostException;
                    
32import java.security.MessageDigest;
                    
33import java.util.logging.Level;
                    
33import java.util.logging.Level;
                    
34import java.util.logging.Logger;
                    
35import java.util.regex.Matcher;
                    
38import org.archive.crawler.datamodel.CoreAttributeConstants;
                    
39import org.archive.crawler.datamodel.CrawlHost;
                    
40import org.archive.crawler.datamodel.CrawlURI;
                    
40import org.archive.crawler.datamodel.CrawlURI;
                    
41import org.archive.crawler.datamodel.FetchStatusCodes;
                    
42import org.archive.crawler.framework.Processor;
                    
                
ConfigHelper.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 358 lines
                    
46
                    
47import java.net.InetAddress;
                    
48import java.net.UnknownHostException;
                    
49
                    
50import org.exolab.jms.config.types.SchemeType;
                    
51
                    
                
CaptivePortalTracker.java https://bitbucket.org/camcory/base2.0.git | Java | 382 lines
                    
23import android.content.BroadcastReceiver;
                    
24import android.content.Context;
                    
25import android.content.Intent;
                    
25import android.content.Intent;
                    
26import android.content.IntentFilter;
                    
27import android.content.res.Resources;
                    
30import android.os.UserHandle;
                    
31import android.os.Message;
                    
32import android.os.RemoteException;
                    
32import android.os.RemoteException;
                    
33import android.provider.Settings;
                    
34import android.telephony.TelephonyManager;
                    
41import java.net.HttpURLConnection;
                    
42import java.net.InetAddress;
                    
43import java.net.Inet4Address;
                    
                
UMLogger.java https://github.com/msg555/PowerTutor.git | Java | 355 lines
                    
24import edu.umich.PowerTutor.service.ICounterService;
                    
25import edu.umich.PowerTutor.service.UMLoggerService;
                    
26
                    
27import android.app.Activity;
                    
28import android.app.AlertDialog;
                    
29import android.app.Dialog;
                    
30import android.content.ComponentName;
                    
31import android.content.Context;
                    
32import android.content.DialogInterface;
                    
42import android.util.Log;
                    
43import android.view.Menu;
                    
44import android.view.MenuItem;
                    
64import java.net.DatagramSocket;
                    
65import java.net.InetAddress;
                    
66import java.net.UnknownHostException;
                    
                
HttpConnection.java https://gitlab.com/brian0218/rk3066_r-box_android4.2.2_sdk | Java | 373 lines
                    
23import java.io.OutputStream;
                    
24import java.net.InetAddress;
                    
25import java.net.InetSocketAddress;
                    
25import java.net.InetSocketAddress;
                    
26import java.net.Proxy;
                    
27import java.net.ProxySelector;
                    
27import java.net.ProxySelector;
                    
28import java.net.Socket;
                    
29import java.net.SocketAddress;
                    
29import java.net.SocketAddress;
                    
30import java.net.SocketException;
                    
31import java.net.URI;
                    
32import java.net.UnknownHostException;
                    
33import java.util.Arrays;
                    
34import java.util.List;
                    
                
HttpConnection.java https://gitlab.com/brian0218/rk3188_r-box_android4.2.2_sdk | Java | 373 lines
                    
23import java.io.OutputStream;
                    
24import java.net.InetAddress;
                    
25import java.net.InetSocketAddress;
                    
25import java.net.InetSocketAddress;
                    
26import java.net.Proxy;
                    
27import java.net.ProxySelector;
                    
27import java.net.ProxySelector;
                    
28import java.net.Socket;
                    
29import java.net.SocketAddress;
                    
29import java.net.SocketAddress;
                    
30import java.net.SocketException;
                    
31import java.net.URI;
                    
32import java.net.UnknownHostException;
                    
33import java.util.Arrays;
                    
34import java.util.List;
                    
                
SctpServerChannelImpl.java https://github.com/ikeji/openjdk7-jdk.git | Java | 424 lines
                    
26
                    
27import java.net.SocketAddress;
                    
28import java.net.InetSocketAddress;
                    
28import java.net.InetSocketAddress;
                    
29import java.net.InetAddress;
                    
30import java.io.FileDescriptor;
                    
30import java.io.FileDescriptor;
                    
31import java.io.IOException;
                    
32import java.util.Collections;
                    
32import java.util.Collections;
                    
33import java.util.Set;
                    
34import java.util.HashSet;
                    
34import java.util.HashSet;
                    
35import java.nio.channels.SelectionKey;
                    
36import java.nio.channels.ClosedChannelException;
                    
                
HistoryClientService.java https://github.com/lalithsuresh/Scaling-HDFS-NameNode.git | Java | 294 lines
                    
21import java.io.IOException;
                    
22import java.net.InetAddress;
                    
23import java.net.InetSocketAddress;
                    
23import java.net.InetSocketAddress;
                    
24import java.net.UnknownHostException;
                    
25import java.security.AccessControlException;
                    
25import java.security.AccessControlException;
                    
26import java.security.PrivilegedExceptionAction;
                    
27import java.util.Arrays;
                    
27import java.util.Arrays;
                    
28import java.util.Collection;
                    
29
                    
29
                    
30import org.apache.avro.ipc.Server;
                    
31import org.apache.commons.logging.Log;
                    
                
EventClient.java https://github.com/antoniosejas/android-xbmcremote.git | Java | 412 lines
                    
2
                    
3import java.io.FileInputStream;
                    
4import java.io.IOException;
                    
4import java.io.IOException;
                    
5import java.net.InetAddress;
                    
6
                    
6
                    
7import org.xbmc.api.data.IEventClient;
                    
8
                    
8
                    
9import android.util.Log;
                    
10
                    
                
WifiStateChangeService.java https://gitlab.com/khairulazlan-abdhalim/fdroidclient | Java | 259 lines
                    
2
                    
3import android.app.IntentService;
                    
4import android.content.Context;
                    
5import android.content.Intent;
                    
6import android.net.DhcpInfo;
                    
7import android.net.NetworkInfo;
                    
8import android.net.wifi.WifiInfo;
                    
9import android.net.wifi.WifiManager;
                    
10import android.support.v4.content.LocalBroadcastManager;
                    
22import java.net.Inet6Address;
                    
23import java.net.InetAddress;
                    
24import java.net.InterfaceAddress;
                    
26import java.net.SocketException;
                    
27import java.security.cert.Certificate;
                    
28import java.util.Enumeration;
                    
                
BulkRecordWriter.java https://github.com/stephenc/cassandra.git | Java | 351 lines
                    
22import java.io.IOException;
                    
23import java.net.InetAddress;
                    
24import java.nio.ByteBuffer;
                    
24import java.nio.ByteBuffer;
                    
25import java.net.UnknownHostException;
                    
26import java.util.*;
                    
26import java.util.*;
                    
27import java.util.concurrent.TimeUnit;
                    
28import java.util.concurrent.TimeoutException;
                    
35import org.apache.cassandra.dht.Range;
                    
36import org.apache.cassandra.dht.Token;
                    
37import org.apache.cassandra.io.sstable.SSTableLoader;
                    
48import org.slf4j.Logger;
                    
49import org.slf4j.LoggerFactory;
                    
50
                    
                
Socks5ProxySocketFactory.java https://bitbucket.org/Trugath/xabber.git | Java | 358 lines
                    
2
                    
3import java.io.IOException;
                    
4import java.io.InputStream;
                    
5import java.io.OutputStream;
                    
6import java.net.InetAddress;
                    
7import java.net.Socket;
                    
7import java.net.Socket;
                    
8import java.net.UnknownHostException;
                    
9import javax.net.SocketFactory;
                    
                
HttpTemplateDownloader.java https://github.com/rietn/CloudStack.git | Java | 450 lines
                    
21import java.io.BufferedInputStream;
                    
22import java.io.File;
                    
23import java.io.IOException;
                    
24import java.io.InputStream;
                    
25import java.io.RandomAccessFile;
                    
26import java.net.Inet6Address;
                    
26import java.net.Inet6Address;
                    
27import java.net.InetAddress;
                    
28import java.net.URI;
                    
35import org.apache.commons.httpclient.Header;
                    
36import org.apache.commons.httpclient.HttpClient;
                    
37import org.apache.commons.httpclient.HttpException;
                    
49import com.cloud.utils.exception.CloudRuntimeException;
                    
50import com.cloud.utils.Pair;
                    
51
                    
                
SystemPropertiesLoader.java https://github.com/bekkopen/Continuous-Delivery-example.git | Java | 295 lines
                    
3import java.io.File;
                    
4import java.io.FileInputStream;
                    
5import java.io.IOException;
                    
5import java.io.IOException;
                    
6import java.net.InetAddress;
                    
7import java.net.UnknownHostException;
                    
7import java.net.UnknownHostException;
                    
8import java.util.Enumeration;
                    
9import java.util.HashMap;
                    
10import java.util.Map;
                    
11import java.util.Properties;
                    
12import java.util.Set;
                    
12import java.util.Set;
                    
13import java.util.TreeSet;
                    
14
                    
                
FileURL.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 357 lines
                    
46
                    
47import java.io.File;
                    
48import java.io.FileNotFoundException;
                    
48import java.io.FileNotFoundException;
                    
49import java.io.FilePermission;
                    
50import java.io.IOException;
                    
50import java.io.IOException;
                    
51import java.io.InputStream;
                    
52import java.io.OutputStream;
                    
53import java.io.StringReader;
                    
54import java.net.InetAddress;
                    
55import java.net.URL;
                    
55import java.net.URL;
                    
56import java.net.URLConnection;
                    
57import java.net.URLStreamHandler;
                    
                
CustomizableHost.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 366 lines
                    
44
                    
45import org.netbeans.modules.cnd.debugger.common2.utils.IpeUtils;
                    
46import org.netbeans.modules.cnd.debugger.common2.utils.masterdetail.Record;
                    
46import org.netbeans.modules.cnd.debugger.common2.utils.masterdetail.Record;
                    
47import org.netbeans.modules.cnd.debugger.common2.utils.options.OptionSet;
                    
48import org.netbeans.modules.cnd.debugger.common2.utils.options.OptionSetOwner;
                    
48import org.netbeans.modules.cnd.debugger.common2.utils.options.OptionSetOwner;
                    
49import org.netbeans.modules.cnd.debugger.common2.utils.options.OptionValue;
                    
50import org.netbeans.modules.nativeexecution.api.ExecutionEnvironment;
                    
50import org.netbeans.modules.nativeexecution.api.ExecutionEnvironment;
                    
51import org.netbeans.modules.nativeexecution.api.ExecutionEnvironmentFactory;
                    
52import org.openide.nodes.Sheet;
                    
119            try {
                    
120                java.net.InetAddress addr = java.net.InetAddress.getLocalHost();
                    
121                return addr.getHostName();
                    
                
HttpBindServlet.java https://gitlab.com/manoj-makkuboy/magnetism | Java | 342 lines
                    
15import org.jivesoftware.util.Log;
                    
16import org.jivesoftware.util.JiveGlobals;
                    
17import org.jivesoftware.openfire.net.MXParser;
                    
17import org.jivesoftware.openfire.net.MXParser;
                    
18import org.jivesoftware.openfire.auth.UnauthorizedException;
                    
19import org.dom4j.io.XMPPPacketReader;
                    
22import org.dom4j.Element;
                    
23import org.dom4j.DocumentHelper;
                    
24import org.mortbay.util.ajax.ContinuationSupport;
                    
24import org.mortbay.util.ajax.ContinuationSupport;
                    
25import org.apache.commons.lang.StringEscapeUtils;
                    
26
                    
34import java.io.ByteArrayInputStream;
                    
35import java.net.InetAddress;
                    
36import java.net.URLDecoder;
                    
                
HttpBindServlet.java https://gitlab.com/manoj-makkuboy/magnetism | Java | 342 lines
                    
15import org.jivesoftware.util.Log;
                    
16import org.jivesoftware.util.JiveGlobals;
                    
17import org.jivesoftware.openfire.net.MXParser;
                    
17import org.jivesoftware.openfire.net.MXParser;
                    
18import org.jivesoftware.openfire.auth.UnauthorizedException;
                    
19import org.dom4j.io.XMPPPacketReader;
                    
22import org.dom4j.Element;
                    
23import org.dom4j.DocumentHelper;
                    
24import org.mortbay.util.ajax.ContinuationSupport;
                    
24import org.mortbay.util.ajax.ContinuationSupport;
                    
25import org.apache.commons.lang.StringEscapeUtils;
                    
26
                    
34import java.io.ByteArrayInputStream;
                    
35import java.net.InetAddress;
                    
36import java.net.URLDecoder;
                    
                
HttpBindServlet.java https://gitlab.com/manoj-makkuboy/magnetism | Java | 342 lines
                    
15import org.jivesoftware.util.Log;
                    
16import org.jivesoftware.util.JiveGlobals;
                    
17import org.jivesoftware.openfire.net.MXParser;
                    
17import org.jivesoftware.openfire.net.MXParser;
                    
18import org.jivesoftware.openfire.auth.UnauthorizedException;
                    
19import org.dom4j.io.XMPPPacketReader;
                    
22import org.dom4j.Element;
                    
23import org.dom4j.DocumentHelper;
                    
24import org.mortbay.util.ajax.ContinuationSupport;
                    
24import org.mortbay.util.ajax.ContinuationSupport;
                    
25import org.apache.commons.lang.StringEscapeUtils;
                    
26
                    
34import java.io.ByteArrayInputStream;
                    
35import java.net.InetAddress;
                    
36import java.net.URLDecoder;
                    
                
HttpBindServlet.java https://gitlab.com/manoj-makkuboy/magnetism | Java | 342 lines
                    
15import org.jivesoftware.util.Log;
                    
16import org.jivesoftware.util.JiveGlobals;
                    
17import org.jivesoftware.openfire.net.MXParser;
                    
17import org.jivesoftware.openfire.net.MXParser;
                    
18import org.jivesoftware.openfire.auth.UnauthorizedException;
                    
19import org.dom4j.io.XMPPPacketReader;
                    
22import org.dom4j.Element;
                    
23import org.dom4j.DocumentHelper;
                    
24import org.mortbay.util.ajax.ContinuationSupport;
                    
24import org.mortbay.util.ajax.ContinuationSupport;
                    
25import org.apache.commons.lang.StringEscapeUtils;
                    
26
                    
34import java.io.ByteArrayInputStream;
                    
35import java.net.InetAddress;
                    
36import java.net.URLDecoder;
                    
                
AsyncStressTest.java https://bitbucket.org/beginnerjyh/jetty.project.git | Java | 360 lines
                    
22
                    
23import java.io.IOException;
                    
24import java.io.InputStream;
                    
24import java.io.InputStream;
                    
25import java.net.InetAddress;
                    
26import java.net.Socket;
                    
34import javax.servlet.DispatcherType;
                    
35import javax.servlet.ServletException;
                    
36import javax.servlet.http.HttpServletRequest;
                    
36import javax.servlet.http.HttpServletRequest;
                    
37import javax.servlet.http.HttpServletResponse;
                    
38
                    
38
                    
39import org.eclipse.jetty.server.handler.HandlerWrapper;
                    
40import org.eclipse.jetty.toolchain.test.AdvancedRunner;
                    
                
TestMongoDbPatternLayout.java https://github.com/akurdyukov/log4mongo-java.git | Java | 360 lines
                    
17
                    
18import static org.junit.Assert.*;
                    
19
                    
19
                    
20import java.net.InetAddress;
                    
21import java.util.Properties;
                    
22
                    
23import org.apache.log4j.Logger;
                    
24import org.apache.log4j.PropertyConfigurator;
                    
24import org.apache.log4j.PropertyConfigurator;
                    
25import org.junit.After;
                    
26import org.junit.AfterClass;
                    
27import org.junit.Before;
                    
28import org.junit.BeforeClass;
                    
29import org.junit.Test;
                    
                
ProActiveInet.java https://bitbucket.org/lp/programming-multiactivities.git | Java | 421 lines
                    
39import java.net.Inet6Address;
                    
40import java.net.InetAddress;
                    
41import java.net.NetworkInterface;
                    
41import java.net.NetworkInterface;
                    
42import java.net.SocketException;
                    
43import java.net.UnknownHostException;
                    
43import java.net.UnknownHostException;
                    
44import java.util.Enumeration;
                    
45import java.util.LinkedList;
                    
45import java.util.LinkedList;
                    
46import java.util.List;
                    
47
                    
47
                    
48import org.apache.log4j.Logger;
                    
49import org.objectweb.proactive.core.config.CentralPAPropertyRepository;
                    
                
DomainServerMain.java https://github.com/smcgowan/wildfly.git | Java | 232 lines
                    
27import java.io.InputStream;
                    
28import java.io.InterruptedIOException;
                    
29import java.io.PrintStream;
                    
30import java.io.Serializable;
                    
31import java.net.InetAddress;
                    
32import java.net.InetSocketAddress;
                    
32import java.net.InetSocketAddress;
                    
33import java.net.UnknownHostException;
                    
34import java.util.Arrays;
                    
45import org.jboss.logmanager.Level;
                    
46import org.jboss.logmanager.handlers.ConsoleHandler;
                    
47import org.jboss.logmanager.log4j.BridgeRepositorySelector;
                    
48import org.jboss.marshalling.ByteInput;
                    
49import org.jboss.marshalling.MarshallerFactory;
                    
50import org.jboss.marshalling.Marshalling;
                    
                
RTPApplet.java https://github.com/mastahype/PhonoSDK.git | Java | 327 lines
                    
23import com.phono.api.CodecList;
                    
24import com.phono.api.Play;
                    
25import com.phono.api.Share;
                    
25import com.phono.api.Share;
                    
26import java.applet.Applet;
                    
27import java.io.IOException;
                    
31import java.net.Inet6Address;
                    
32import java.net.InetAddress;
                    
33import java.net.NetworkInterface;
                    
33import java.net.NetworkInterface;
                    
34import java.net.SocketException;
                    
35import java.security.AccessControlException;
                    
46import java.util.logging.Logger;
                    
47import netscape.javascript.*;
                    
48
                    
                
SSLCertificateSocketFactory.java https://github.com/richardfickling/android_frameworks_base.git | Java | 352 lines
                    
20
                    
21import android.os.SystemProperties;
                    
22import android.util.Config;
                    
26import java.io.IOException;
                    
27import java.net.InetAddress;
                    
28import java.net.Socket;
                    
34import java.security.cert.Certificate;
                    
35import java.security.cert.X509Certificate;
                    
36
                    
36
                    
37import javax.net.SocketFactory;
                    
38import javax.net.ssl.HostnameVerifier;
                    
50import org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl;
                    
51import org.apache.harmony.xnet.provider.jsse.SSLClientSessionCache;
                    
52
                    
                
SSLCertificateSocketFactory.java https://github.com/gpzero/android_frameworks_base.git | Java | 352 lines
                    
20
                    
21import android.os.SystemProperties;
                    
22import android.util.Config;
                    
26import java.io.IOException;
                    
27import java.net.InetAddress;
                    
28import java.net.Socket;
                    
34import java.security.cert.Certificate;
                    
35import java.security.cert.X509Certificate;
                    
36
                    
36
                    
37import javax.net.SocketFactory;
                    
38import javax.net.ssl.HostnameVerifier;
                    
50import org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl;
                    
51import org.apache.harmony.xnet.provider.jsse.SSLClientSessionCache;
                    
52
                    
                
DLOpenerGoogleDriveManager.java https://github.com/danielreuther/liferay-portal.git | Java | 406 lines
                    
20import com.google.api.client.json.JsonFactory;
                    
21import com.google.api.client.json.jackson2.JacksonFactory;
                    
22import com.google.api.services.drive.Drive;
                    
25import com.liferay.document.library.opener.google.drive.web.internal.background.task.UploadGoogleDriveDocumentBackgroundTaskExecutor;
                    
26import com.liferay.document.library.opener.google.drive.web.internal.constants.DLOpenerGoogleDriveConstants;
                    
27import com.liferay.document.library.opener.google.drive.web.internal.constants.GoogleDriveBackgroundTaskConstants;
                    
37import com.liferay.portal.kernel.model.CompanyConstants;
                    
38import com.liferay.portal.kernel.repository.model.FileEntry;
                    
39import com.liferay.portal.kernel.security.auth.PrincipalException;
                    
40import com.liferay.portal.kernel.service.ServiceContext;
                    
41import com.liferay.portal.kernel.util.FileUtil;
                    
42import com.liferay.portal.kernel.util.HashMapBuilder;
                    
52
                    
53import java.net.InetAddress;
                    
54import java.net.URL;
                    
                
EventClient.java https://github.com/angp/android-xbmcremote.git | Java | 412 lines
                    
2
                    
3import java.io.FileInputStream;
                    
4import java.io.IOException;
                    
4import java.io.IOException;
                    
5import java.net.InetAddress;
                    
6
                    
6
                    
7import org.xbmc.api.data.IEventClient;
                    
8
                    
8
                    
9import android.util.Log;
                    
10
                    
                
SystemKeyspaceMigrator41Test.java https://github.com/thelastpickle/cassandra.git | Java | 267 lines
                    
20
                    
21import java.net.InetAddress;
                    
22import java.nio.ByteBuffer;
                    
22import java.nio.ByteBuffer;
                    
23import java.util.UUID;
                    
24
                    
24
                    
25import com.google.common.collect.ImmutableMap;
                    
26import com.google.common.collect.ImmutableSet;
                    
26import com.google.common.collect.ImmutableSet;
                    
27import org.apache.commons.lang3.StringUtils;
                    
28import org.junit.Test;
                    
29
                    
30import org.apache.cassandra.config.DatabaseDescriptor;
                    
31import org.apache.cassandra.cql3.CQLTester;
                    
                
AccessPointParserHelper.java https://bitbucket.org/camcory/base_test.git | Java | 366 lines
                    
23import org.xml.sax.SAXException;
                    
24import org.xml.sax.helpers.DefaultHandler;
                    
25
                    
25
                    
26import android.net.wifi.WifiConfiguration;
                    
27import android.net.wifi.WifiConfiguration.AuthAlgorithm;
                    
29import android.net.wifi.WifiConfiguration.KeyMgmt;
                    
30import android.net.wifi.WifiConfiguration.ProxySettings;
                    
31import android.net.LinkAddress;
                    
36import java.io.InputStream;
                    
37import java.net.InetAddress;
                    
38import java.net.UnknownHostException;
                    
40import java.util.HashMap;
                    
41import java.util.List;
                    
42
                    
                
RubyUDPSocket.java https://github.com/rkh/jruby.git | Java | 323 lines
                    
31import java.net.ConnectException;
                    
32import java.net.InetAddress;
                    
33import java.net.InetSocketAddress;
                    
33import java.net.InetSocketAddress;
                    
34import java.net.PortUnreachableException;
                    
35import java.net.SocketException;
                    
35import java.net.SocketException;
                    
36import java.net.MulticastSocket;
                    
37import java.net.UnknownHostException;
                    
44import org.jruby.RubyClass;
                    
45import org.jruby.RubyFixnum;
                    
46import org.jruby.RubyModule;
                    
57import org.jruby.util.io.ModeFlags;
                    
58import org.jruby.util.io.ChannelDescriptor;
                    
59
                    
                
DatagramSocketClient.java https://bitbucket.org/ssteinmetz/openesb-components.git | Java | 273 lines
                    
18import java.net.DatagramSocket;
                    
19import java.net.InetAddress;
                    
20import java.net.SocketException;
                    
                
DatagramSocketClient.java https://bitbucket.org/ldassonville/openesb-components.git | Java | 273 lines
                    
18import java.net.DatagramSocket;
                    
19import java.net.InetAddress;
                    
20import java.net.SocketException;
                    
                
AccessPointParserHelper.java https://bitbucket.org/Lloir/basee.git | Java | 366 lines
                    
23import org.xml.sax.SAXException;
                    
24import org.xml.sax.helpers.DefaultHandler;
                    
25
                    
25
                    
26import android.net.wifi.WifiConfiguration;
                    
27import android.net.wifi.WifiConfiguration.AuthAlgorithm;
                    
29import android.net.wifi.WifiConfiguration.KeyMgmt;
                    
30import android.net.wifi.WifiConfiguration.ProxySettings;
                    
31import android.net.LinkAddress;
                    
36import java.io.InputStream;
                    
37import java.net.InetAddress;
                    
38import java.net.UnknownHostException;
                    
40import java.util.HashMap;
                    
41import java.util.List;
                    
42
                    
                
AccessPointParserHelper.java https://bitbucket.org/Lloir/miragebase.git | Java | 366 lines
                    
23import org.xml.sax.SAXException;
                    
24import org.xml.sax.helpers.DefaultHandler;
                    
25
                    
25
                    
26import android.net.wifi.WifiConfiguration;
                    
27import android.net.wifi.WifiConfiguration.AuthAlgorithm;
                    
29import android.net.wifi.WifiConfiguration.KeyMgmt;
                    
30import android.net.wifi.WifiConfiguration.ProxySettings;
                    
31import android.net.LinkAddress;
                    
36import java.io.InputStream;
                    
37import java.net.InetAddress;
                    
38import java.net.UnknownHostException;
                    
40import java.util.HashMap;
                    
41import java.util.List;
                    
42
                    
                
UnchokerUtilTest.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 312 lines
                    
24
                    
25import java.net.InetAddress;
                    
26import java.util.*;
                    
27
                    
28import org.gudy.azureus2.core3.disk.DiskManagerReadRequest;
                    
29import org.gudy.azureus2.core3.peer.PEPeer;
                    
29import org.gudy.azureus2.core3.peer.PEPeer;
                    
30import org.gudy.azureus2.core3.peer.PEPeerListener;
                    
31import org.gudy.azureus2.core3.peer.PEPeerManager;
                    
31import org.gudy.azureus2.core3.peer.PEPeerManager;
                    
32import org.gudy.azureus2.core3.peer.PEPeerStats;
                    
33import org.gudy.azureus2.core3.util.RandomUtils;
                    
33import org.gudy.azureus2.core3.util.RandomUtils;
                    
34import org.gudy.azureus2.plugins.network.Connection;
                    
35
                    
                
AccessPointParserHelper.java https://gitlab.com/brian0218/rk3066_r-box_android4.2.2_sdk | Java | 366 lines
                    
23import org.xml.sax.SAXException;
                    
24import org.xml.sax.helpers.DefaultHandler;
                    
25
                    
25
                    
26import android.net.wifi.WifiConfiguration;
                    
27import android.net.wifi.WifiConfiguration.AuthAlgorithm;
                    
29import android.net.wifi.WifiConfiguration.KeyMgmt;
                    
30import android.net.wifi.WifiConfiguration.ProxySettings;
                    
31import android.net.LinkAddress;
                    
36import java.io.InputStream;
                    
37import java.net.InetAddress;
                    
38import java.net.UnknownHostException;
                    
40import java.util.HashMap;
                    
41import java.util.List;
                    
42
                    
                
AccessPointParserHelper.java https://gitlab.com/brian0218/rk3188_r-box_android4.2.2_sdk | Java | 366 lines
                    
23import org.xml.sax.SAXException;
                    
24import org.xml.sax.helpers.DefaultHandler;
                    
25
                    
25
                    
26import android.net.wifi.WifiConfiguration;
                    
27import android.net.wifi.WifiConfiguration.AuthAlgorithm;
                    
29import android.net.wifi.WifiConfiguration.KeyMgmt;
                    
30import android.net.wifi.WifiConfiguration.ProxySettings;
                    
31import android.net.LinkAddress;
                    
36import java.io.InputStream;
                    
37import java.net.InetAddress;
                    
38import java.net.UnknownHostException;
                    
40import java.util.HashMap;
                    
41import java.util.List;
                    
42
                    
                
XSLTRunner.java https://github.com/JetBrains/intellij-community.git | Java | 323 lines
                    
17
                    
18import org.xml.sax.SAXParseException;
                    
19
                    
19
                    
20import javax.xml.transform.*;
                    
21import javax.xml.transform.stream.StreamResult;
                    
21import javax.xml.transform.stream.StreamResult;
                    
22import javax.xml.transform.stream.StreamSource;
                    
23import java.io.*;
                    
23import java.io.*;
                    
24import java.net.InetAddress;
                    
25import java.net.ServerSocket;
                    
25import java.net.ServerSocket;
                    
26import java.net.Socket;
                    
27import java.net.SocketTimeoutException;
                    
                
ViewState.java https://github.com/navaneethrameshan/appia-byzantine.git | Java | 481 lines
                    
23
                    
24import java.io.Externalizable;
                    
25import java.io.IOException;
                    
25import java.io.IOException;
                    
26import java.io.ObjectInput;
                    
27import java.io.ObjectOutput;
                    
27import java.io.ObjectOutput;
                    
28import java.net.InetAddress;
                    
29import java.net.InetSocketAddress;
                    
29import java.net.InetSocketAddress;
                    
30import java.net.SocketAddress;
                    
31import java.util.List;
                    
31import java.util.List;
                    
32import java.util.ListIterator;
                    
33
                    
                
ColumnFamilyInputFormat.java https://github.com/stephenc/cassandra.git | Java | 327 lines
                    
20import java.io.IOException;
                    
21import java.net.InetAddress;
                    
22import java.nio.ByteBuffer;
                    
22import java.nio.ByteBuffer;
                    
23import java.util.ArrayList;
                    
24import java.util.Collections;
                    
24import java.util.Collections;
                    
25import java.util.List;
                    
26import java.util.Random;
                    
37import org.apache.cassandra.dht.Range;
                    
38import org.apache.cassandra.dht.Token;
                    
39import org.apache.cassandra.thrift.Cassandra;
                    
51import org.apache.hadoop.mapreduce.TaskAttemptID;
                    
52import org.apache.thrift.TException;
                    
53import org.slf4j.Logger;
                    
                
CassandraGameStatusWithSuperColumnRepository.java https://github.com/jdubois/usi2011.git | Java | 308 lines
                    
2
                    
3import static com.google.common.collect.Lists.newArrayList;
                    
4import static java.lang.Math.min;
                    
6import static me.prettyprint.hector.api.factory.HFactory.createSuperSliceQuery;
                    
7import static org.slf4j.LoggerFactory.getLogger;
                    
8import static usi2011.repository.GameStatusRepository.GameStatusSuperColMetadata.GAME_CREATION_TIME;
                    
8import static usi2011.repository.GameStatusRepository.GameStatusSuperColMetadata.GAME_CREATION_TIME;
                    
9import static usi2011.repository.GameStatusRepository.GameStatusSuperColMetadata.NB_TWEET_SENT_FOR_MACHINE;
                    
10import static usi2011.repository.GameStatusRepository.GameStatusSuperColMetadata.NB_USER_LOGGED_FOR_MACHINE;
                    
17
                    
18import java.net.InetAddress;
                    
19import java.util.List;
                    
22import me.prettyprint.cassandra.serializers.LongSerializer;
                    
23import me.prettyprint.cassandra.serializers.StringSerializer;
                    
24import me.prettyprint.hector.api.beans.HColumn;
                    
                
VoipClient.java https://github.com/atmouse/VoiceOverIP.git | Java | 404 lines
                    
3import java.awt.Insets;
                    
4import java.awt.event.ActionEvent;
                    
5import java.awt.event.ActionListener;
                    
6import java.io.BufferedReader;
                    
7import java.io.ByteArrayInputStream;
                    
8import java.io.InputStream;
                    
12import java.net.DatagramSocket;
                    
13import java.net.InetAddress;
                    
14import java.net.Socket;
                    
14import java.net.Socket;
                    
15import java.util.ArrayList;
                    
16
                    
16
                    
17import javax.sound.sampled.AudioFormat;
                    
18import javax.sound.sampled.AudioInputStream;
                    
                
SSLCertificateSocketFactory.java https://github.com/anryl/android_frameworks_base.git | Java | 352 lines
                    
20
                    
21import android.os.SystemProperties;
                    
22import android.util.Config;
                    
26import java.io.IOException;
                    
27import java.net.InetAddress;
                    
28import java.net.Socket;
                    
34import java.security.cert.Certificate;
                    
35import java.security.cert.X509Certificate;
                    
36
                    
36
                    
37import javax.net.SocketFactory;
                    
38import javax.net.ssl.HostnameVerifier;
                    
50import org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl;
                    
51import org.apache.harmony.xnet.provider.jsse.SSLClientSessionCache;
                    
52
                    
                
Monitor.html https://github.com/derickbailey/qedserver.git | HTML | 148 lines
                    
28<a name="18" href="#18">18</a>  
                    
29<a name="19" href="#19">19</a>  <strong class="jxr_keyword">import</strong> java.io.IOException;
                    
30<a name="20" href="#20">20</a>  <strong class="jxr_keyword">import</strong> java.io.InputStreamReader;
                    
31<a name="21" href="#21">21</a>  <strong class="jxr_keyword">import</strong> java.io.LineNumberReader;
                    
32<a name="22" href="#22">22</a>  <strong class="jxr_keyword">import</strong> java.net.InetAddress;
                    
33<a name="23" href="#23">23</a>  <strong class="jxr_keyword">import</strong> java.net.ServerSocket;
                    
33<a name="23" href="#23">23</a>  <strong class="jxr_keyword">import</strong> java.net.ServerSocket;
                    
34<a name="24" href="#24">24</a>  <strong class="jxr_keyword">import</strong> java.net.Socket;
                    
35<a name="25" href="#25">25</a>  <strong class="jxr_keyword">import</strong> java.net.UnknownHostException;
                    
36<a name="26" href="#26">26</a>  
                    
37<a name="27" href="#27">27</a>  <strong class="jxr_keyword">import</strong> org.mortbay.jetty.Server;
                    
38<a name="28" href="#28">28</a>  
                    
                
Socks5ProxySocketFactory.java https://bitbucket.org/ustyugov/jtalk.git | Java | 358 lines
                    
2
                    
3import java.io.IOException;
                    
4import java.io.InputStream;
                    
5import java.io.OutputStream;
                    
6import java.net.InetAddress;
                    
7import java.net.Socket;
                    
7import java.net.Socket;
                    
8import java.net.UnknownHostException;
                    
9import javax.net.SocketFactory;
                    
                
SSLCertificateSocketFactory.java https://github.com/ladios/android_frameworks_base.git | Java | 352 lines
                    
20
                    
21import android.os.SystemProperties;
                    
22import android.util.Config;
                    
26import java.io.IOException;
                    
27import java.net.InetAddress;
                    
28import java.net.Socket;
                    
34import java.security.cert.Certificate;
                    
35import java.security.cert.X509Certificate;
                    
36
                    
36
                    
37import javax.net.SocketFactory;
                    
38import javax.net.ssl.HostnameVerifier;
                    
50import org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl;
                    
51import org.apache.harmony.xnet.provider.jsse.SSLClientSessionCache;
                    
52
                    
                
LolnetIpProtect.java https://bitbucket.org/james137137/lolnetipprotect.git | Java | 301 lines
                    
6
                    
7import java.io.File;
                    
8import java.io.IOException;
                    
8import java.io.IOException;
                    
9import java.net.InetAddress;
                    
10import java.net.UnknownHostException;
                    
10import java.net.UnknownHostException;
                    
11import java.util.List;
                    
12import java.util.logging.Logger;
                    
12import java.util.logging.Logger;
                    
13import org.bukkit.ChatColor;
                    
14import org.bukkit.command.Command;
                    
14import org.bukkit.command.Command;
                    
15import org.bukkit.command.CommandSender;
                    
16import org.bukkit.configuration.file.FileConfiguration;
                    
                
VMPlainSocketImpl.java https://bitbucket.org/pizzafactory/pf-gcc.git | Java | 511 lines
                    
39
                    
40import java.io.IOException;
                    
41import java.net.Inet4Address;
                    
42import java.net.Inet6Address;
                    
43import java.net.InetAddress;
                    
44import java.net.InetSocketAddress;
                    
44import java.net.InetSocketAddress;
                    
45import java.net.NetworkInterface;
                    
46import java.net.SocketException;
                    
46import java.net.SocketException;
                    
47import java.net.SocketOptions;
                    
48
                    
48
                    
49import gnu.classpath.Configuration;
                    
50import gnu.java.nio.VMChannel;
                    
                
ReverseVirtualSocket.java https://github.com/interdroid/smartsockets.git | Java | 445 lines
                    
2
                    
3import ibis.smartsockets.virtual.VirtualSocket;
                    
4import ibis.smartsockets.virtual.modules.AbstractDirectModule;
                    
4import ibis.smartsockets.virtual.modules.AbstractDirectModule;
                    
5import ibis.smartsockets.virtual.modules.direct.DirectVirtualSocket;
                    
6
                    
6
                    
7import java.io.EOFException;
                    
8import java.io.IOException;
                    
9import java.io.InputStream;
                    
10import java.io.OutputStream;
                    
11import java.net.ConnectException;
                    
11import java.net.ConnectException;
                    
12import java.net.InetAddress;
                    
13import java.net.SocketAddress;
                    
                
DataCallState.java https://bitbucket.org/festevezga/xobotos.git | Java | 237 lines
                    
19
                    
20import android.net.LinkAddress;
                    
21import android.net.LinkProperties;
                    
21import android.net.LinkProperties;
                    
22import android.net.NetworkUtils;
                    
23import android.net.RouteInfo;
                    
23import android.net.RouteInfo;
                    
24import android.os.SystemProperties;
                    
25import android.util.Log;
                    
26
                    
27import com.android.internal.telephony.DataConnection.FailCause;
                    
28
                    
29import java.net.Inet4Address;
                    
30import java.net.InetAddress;
                    
31import java.net.UnknownHostException;
                    
                
RemoteDeployer.java https://github.com/smcgowan/wildfly.git | Java | 261 lines
                    
26import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.FAILURE_DESCRIPTION;
                    
27import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.NAME;
                    
28import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.OP;
                    
28import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.OP;
                    
29import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.OPERATION_HEADERS;
                    
30import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.OP_ADDR;
                    
30import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.OP_ADDR;
                    
31import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.OUTCOME;
                    
32import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.READ_ATTRIBUTE_OPERATION;
                    
48import java.io.IOException;
                    
49import java.net.InetAddress;
                    
50import java.net.URL;
                    
50import java.net.URL;
                    
51import java.security.AccessController;
                    
52import java.security.PrivilegedAction;
                    
                
AccessPointParserHelper.java https://bitbucket.org/androidarmv6/android_frameworks_base.git | Java | 366 lines
                    
23import org.xml.sax.SAXException;
                    
24import org.xml.sax.helpers.DefaultHandler;
                    
25
                    
25
                    
26import android.net.wifi.WifiConfiguration;
                    
27import android.net.wifi.WifiConfiguration.AuthAlgorithm;
                    
29import android.net.wifi.WifiConfiguration.KeyMgmt;
                    
30import android.net.wifi.WifiConfiguration.ProxySettings;
                    
31import android.net.LinkAddress;
                    
36import java.io.InputStream;
                    
37import java.net.InetAddress;
                    
38import java.net.UnknownHostException;
                    
40import java.util.HashMap;
                    
41import java.util.List;
                    
42
                    
                
InstanceContainer.java https://github.com/kloni/zookeeper.git | Java | 310 lines
                    
21import java.io.IOException;
                    
22import java.net.InetAddress;
                    
23import java.net.UnknownHostException;
                    
23import java.net.UnknownHostException;
                    
24import java.util.HashMap;
                    
25import java.util.List;
                    
25import java.util.List;
                    
26import java.util.Map;
                    
27
                    
31import org.apache.zookeeper.CreateMode;
                    
32import org.apache.zookeeper.KeeperException;
                    
33import org.apache.zookeeper.WatchedEvent;
                    
39import org.apache.zookeeper.Watcher.Event.KeeperState;
                    
40import org.apache.zookeeper.ZooDefs.Ids;
                    
41import org.apache.zookeeper.data.Stat;
                    
                
TomcatConnectorComponent.java https://github.com/metlos/RHQ-old.git | Java | 289 lines
                    
24
                    
25import java.net.InetAddress;
                    
26import java.net.UnknownHostException;
                    
26import java.net.UnknownHostException;
                    
27import java.util.List;
                    
28import java.util.Set;
                    
29
                    
30import org.apache.commons.logging.Log;
                    
31import org.apache.commons.logging.LogFactory;
                    
31import org.apache.commons.logging.LogFactory;
                    
32import org.mc4j.ems.connection.EmsConnection;
                    
33import org.mc4j.ems.connection.bean.EmsBean;
                    
33import org.mc4j.ems.connection.bean.EmsBean;
                    
34import org.mc4j.ems.connection.bean.attribute.EmsAttribute;
                    
35
                    
                
CookiesTest.java https://gitlab.com/JoshLucid/okhttp | Java | 288 lines
                    
19import java.io.IOException;
                    
20import java.net.CookieHandler;
                    
21import java.net.CookieManager;
                    
21import java.net.CookieManager;
                    
22import java.net.HttpCookie;
                    
23import java.net.HttpURLConnection;
                    
23import java.net.HttpURLConnection;
                    
24import java.net.InetAddress;
                    
25import java.net.URI;
                    
28import java.util.List;
                    
29import java.util.Map;
                    
30import okhttp3.mockwebserver.MockResponse;
                    
37import static org.junit.Assert.assertEquals;
                    
38import static org.junit.Assert.assertNull;
                    
39import static org.junit.Assert.assertTrue;
                    
                
ServiceFacadeSmeny.java https://github.com/kosekma1/cashBob.git | Java | 340 lines
                    
5import cz.cvut.fel.restauracefel.hibernate.Workshift;
                    
6import cz.cvut.fel.restauracefel.library.service.ConfigParser;
                    
7import cz.cvut.fel.restauracefel.hibernate.Role;
                    
7import cz.cvut.fel.restauracefel.hibernate.Role;
                    
8import cz.cvut.fel.restauracefel.hibernate.Template;
                    
9import cz.cvut.fel.restauracefel.hibernate.User;
                    
12import cz.cvut.fel.restauracefel.server.service.controllers.RoleController;
                    
13import cz.cvut.fel.restauracefel.server.service.controllers.ShiftTypeController;
                    
14import cz.cvut.fel.restauracefel.server.service.controllers.TemplateController;
                    
14import cz.cvut.fel.restauracefel.server.service.controllers.TemplateController;
                    
15import cz.cvut.fel.restauracefel.server.service.controllers.UserController;
                    
16import cz.cvut.fel.restauracefel.server.service.controllers.UserRoleController;
                    
18import java.io.FileNotFoundException;
                    
19import java.net.InetAddress;
                    
20import java.rmi.RMISecurityManager;
                    
                
AudioAttachmentServer.java https://gitlab.com/ayham-hassan/Signal-Android | Java | 376 lines
                    
9import org.spongycastle.util.encoders.Hex;
                    
10import org.thoughtcrime.securesms.attachments.Attachment;
                    
11import org.thoughtcrime.securesms.crypto.MasterSecret;
                    
11import org.thoughtcrime.securesms.crypto.MasterSecret;
                    
12import org.thoughtcrime.securesms.mms.PartAuthority;
                    
13import org.thoughtcrime.securesms.util.Util;
                    
17import java.io.ByteArrayInputStream;
                    
18import java.io.IOException;
                    
19import java.io.InputStream;
                    
19import java.io.InputStream;
                    
20import java.io.InputStreamReader;
                    
21import java.io.OutputStream;
                    
21import java.io.OutputStream;
                    
22import java.net.InetAddress;
                    
23import java.net.ServerSocket;
                    
                
SyslogWriter.html https://bitbucket.org/mjdaley1/projectorcontrol.git | HTML | 159 lines
                    
30<a name="20" href="#20">20</a>  
                    
31<a name="21" href="#21">21</a>  <strong class="jxr_keyword">import</strong> java.io.Writer;
                    
32<a name="22" href="#22">22</a>  <strong class="jxr_keyword">import</strong> java.net.DatagramSocket;
                    
32<a name="22" href="#22">22</a>  <strong class="jxr_keyword">import</strong> java.net.DatagramSocket;
                    
33<a name="23" href="#23">23</a>  <strong class="jxr_keyword">import</strong> java.net.InetAddress;
                    
34<a name="24" href="#24">24</a>  <strong class="jxr_keyword">import</strong> java.net.DatagramPacket;
                    
34<a name="24" href="#24">24</a>  <strong class="jxr_keyword">import</strong> java.net.DatagramPacket;
                    
35<a name="25" href="#25">25</a>  <strong class="jxr_keyword">import</strong> java.net.UnknownHostException;
                    
36<a name="26" href="#26">26</a>  <strong class="jxr_keyword">import</strong> java.net.SocketException;
                    
36<a name="26" href="#26">26</a>  <strong class="jxr_keyword">import</strong> java.net.SocketException;
                    
37<a name="27" href="#27">27</a>  <strong class="jxr_keyword">import</strong> java.io.IOException;
                    
38<a name="28" href="#28">28</a>  <strong class="jxr_keyword">import</strong> java.net.URL;
                    
38<a name="28" href="#28">28</a>  <strong class="jxr_keyword">import</strong> java.net.URL;
                    
39<a name="29" href="#29">29</a>  <strong class="jxr_keyword">import</strong> java.net.MalformedURLException;
                    
40<a name="30" href="#30">30</a>  
                    
                
NetworkTopologyDiscoveryServiceImpl.java https://bitbucket.org/psymes/34cs-st2071.git | Java | 432 lines
                    
2
                    
3import java.net.InetAddress;
                    
4import java.net.InterfaceAddress;
                    
4import java.net.InterfaceAddress;
                    
5import java.net.NetworkInterface;
                    
6import java.net.SocketException;
                    
6import java.net.SocketException;
                    
7import java.util.ArrayList;
                    
8import java.util.Arrays;
                    
8import java.util.Arrays;
                    
9import java.util.Collections;
                    
10import java.util.Enumeration;
                    
10import java.util.Enumeration;
                    
11import java.util.HashMap;
                    
12import java.util.List;
                    
                
ParsedInterfaceCriteria.java https://github.com/smcgowan/wildfly.git | Java | 327 lines
                    
26
                    
27import static org.jboss.as.controller.ControllerLogger.SERVER_LOGGER;
                    
28import static org.jboss.as.controller.ControllerMessages.MESSAGES;
                    
30import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.ANY_IPV4_ADDRESS;
                    
31import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.ANY_IPV6_ADDRESS;
                    
32
                    
32
                    
33import java.net.InetAddress;
                    
34import java.net.UnknownHostException;
                    
34import java.net.UnknownHostException;
                    
35import java.util.HashSet;
                    
36import java.util.List;
                    
36import java.util.List;
                    
37import java.util.Set;
                    
38import java.util.regex.Pattern;
                    
                
AccessPointParserHelper.java https://bitbucket.org/ProuDroid/frameworks_base.git | Java | 366 lines
                    
23import org.xml.sax.SAXException;
                    
24import org.xml.sax.helpers.DefaultHandler;
                    
25
                    
25
                    
26import android.net.wifi.WifiConfiguration;
                    
27import android.net.wifi.WifiConfiguration.AuthAlgorithm;
                    
29import android.net.wifi.WifiConfiguration.KeyMgmt;
                    
30import android.net.wifi.WifiConfiguration.ProxySettings;
                    
31import android.net.LinkAddress;
                    
36import java.io.InputStream;
                    
37import java.net.InetAddress;
                    
38import java.net.UnknownHostException;
                    
40import java.util.HashMap;
                    
41import java.util.List;
                    
42
                    
                
DeviceiTunes.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 656 lines
                    
25import java.io.IOException;
                    
26import java.net.InetAddress;
                    
27import java.text.SimpleDateFormat;
                    
27import java.text.SimpleDateFormat;
                    
28import java.util.ArrayList;
                    
29import java.util.Date;
                    
29import java.util.Date;
                    
30import java.util.List;
                    
31import java.util.Map;
                    
34import org.gudy.azureus2.core3.util.AERunnable;
                    
35import org.gudy.azureus2.core3.util.AESemaphore;
                    
36import org.gudy.azureus2.core3.util.AEThread2;
                    
44import com.aelitis.azureus.core.devices.*;
                    
45import com.aelitis.azureus.core.devices.DeviceManager.UnassociatedDevice;
                    
46
                    
                
RConThreadQuery.java https://bitbucket.org/socialsecuritynumber/nahreliant.git | Java | 408 lines
                    
3import java.io.IOException;
                    
4import java.net.DatagramPacket;
                    
5import java.net.DatagramSocket;
                    
5import java.net.DatagramSocket;
                    
6import java.net.InetAddress;
                    
7import java.net.PortUnreachableException;
                    
8import java.net.SocketAddress;
                    
9import java.net.SocketException;
                    
10import java.net.SocketTimeoutException;
                    
10import java.net.SocketTimeoutException;
                    
11import java.net.UnknownHostException;
                    
12import java.util.Date;
                    
12import java.util.Date;
                    
13import java.util.HashMap;
                    
14import java.util.Iterator;
                    
                
ColumnFamilyInputFormat.java https://github.com/thepaul/cassandra.git | Java | 327 lines
                    
20import java.io.IOException;
                    
21import java.net.InetAddress;
                    
22import java.nio.ByteBuffer;
                    
22import java.nio.ByteBuffer;
                    
23import java.util.ArrayList;
                    
24import java.util.Collections;
                    
24import java.util.Collections;
                    
25import java.util.List;
                    
26import java.util.Random;
                    
37import org.apache.cassandra.dht.Range;
                    
38import org.apache.cassandra.dht.Token;
                    
39import org.apache.cassandra.thrift.Cassandra;
                    
51import org.apache.hadoop.mapreduce.TaskAttemptID;
                    
52import org.apache.thrift.TException;
                    
53import org.slf4j.Logger;
                    
                
SSLSocket.java https://github.com/MIPS/libcore.git | Java | 340 lines
                    
20import java.io.IOException;
                    
21import java.net.InetAddress;
                    
22import java.net.Socket;
                    
22import java.net.Socket;
                    
23import java.net.UnknownHostException;
                    
24
                    
                
VMPlainSocketImpl.java https://bitbucket.org/Underworld79/toolchain_gcc-4.8.git | Java | 511 lines
                    
39
                    
40import java.io.IOException;
                    
41import java.net.Inet4Address;
                    
42import java.net.Inet6Address;
                    
43import java.net.InetAddress;
                    
44import java.net.InetSocketAddress;
                    
44import java.net.InetSocketAddress;
                    
45import java.net.NetworkInterface;
                    
46import java.net.SocketException;
                    
46import java.net.SocketException;
                    
47import java.net.SocketOptions;
                    
48
                    
48
                    
49import gnu.classpath.Configuration;
                    
50import gnu.java.nio.VMChannel;
                    
                
STUNService.java https://gitlab.com/manoj-makkuboy/magnetism | Java | 430 lines
                    
9
                    
10import de.javawi.jstun.test.demo.StunServer;
                    
11import org.dom4j.Element;
                    
13import org.jivesoftware.util.Log;
                    
14import org.jivesoftware.util.PropertyEventDispatcher;
                    
15import org.jivesoftware.util.PropertyEventListener;
                    
16import org.jivesoftware.openfire.*;
                    
17import org.jivesoftware.openfire.handler.IQHandler;
                    
18import org.jivesoftware.openfire.auth.UnauthorizedException;
                    
18import org.jivesoftware.openfire.auth.UnauthorizedException;
                    
19import org.jivesoftware.openfire.container.BasicModule;
                    
20import org.xmpp.packet.IQ;
                    
22
                    
23import java.net.InetAddress;
                    
24import java.net.NetworkInterface;
                    
                
STUNService.java https://gitlab.com/manoj-makkuboy/magnetism | Java | 430 lines
                    
9
                    
10import de.javawi.jstun.test.demo.StunServer;
                    
11import org.dom4j.Element;
                    
13import org.jivesoftware.util.Log;
                    
14import org.jivesoftware.util.PropertyEventDispatcher;
                    
15import org.jivesoftware.util.PropertyEventListener;
                    
16import org.jivesoftware.openfire.*;
                    
17import org.jivesoftware.openfire.handler.IQHandler;
                    
18import org.jivesoftware.openfire.auth.UnauthorizedException;
                    
18import org.jivesoftware.openfire.auth.UnauthorizedException;
                    
19import org.jivesoftware.openfire.container.BasicModule;
                    
20import org.xmpp.packet.IQ;
                    
22
                    
23import java.net.InetAddress;
                    
24import java.net.NetworkInterface;
                    
                
STUNService.java https://gitlab.com/manoj-makkuboy/magnetism | Java | 430 lines
                    
9
                    
10import de.javawi.jstun.test.demo.StunServer;
                    
11import org.dom4j.Element;
                    
13import org.jivesoftware.util.Log;
                    
14import org.jivesoftware.util.PropertyEventDispatcher;
                    
15import org.jivesoftware.util.PropertyEventListener;
                    
16import org.jivesoftware.openfire.*;
                    
17import org.jivesoftware.openfire.handler.IQHandler;
                    
18import org.jivesoftware.openfire.auth.UnauthorizedException;
                    
18import org.jivesoftware.openfire.auth.UnauthorizedException;
                    
19import org.jivesoftware.openfire.container.BasicModule;
                    
20import org.xmpp.packet.IQ;
                    
22
                    
23import java.net.InetAddress;
                    
24import java.net.NetworkInterface;
                    
                
STUNService.java https://gitlab.com/manoj-makkuboy/magnetism | Java | 430 lines
                    
9
                    
10import de.javawi.jstun.test.demo.StunServer;
                    
11import org.dom4j.Element;
                    
13import org.jivesoftware.util.Log;
                    
14import org.jivesoftware.util.PropertyEventDispatcher;
                    
15import org.jivesoftware.util.PropertyEventListener;
                    
16import org.jivesoftware.openfire.*;
                    
17import org.jivesoftware.openfire.handler.IQHandler;
                    
18import org.jivesoftware.openfire.auth.UnauthorizedException;
                    
18import org.jivesoftware.openfire.auth.UnauthorizedException;
                    
19import org.jivesoftware.openfire.container.BasicModule;
                    
20import org.xmpp.packet.IQ;
                    
22
                    
23import java.net.InetAddress;
                    
24import java.net.NetworkInterface;
                    
                
HadoopDaemonRemoteCluster.java https://github.com/vicaya/hadoop-patches.git | Java | 404 lines
                    
20
                    
21import java.io.BufferedReader;
                    
22import java.io.File;
                    
22import java.io.File;
                    
23import java.io.FileReader;
                    
24import java.io.IOException;
                    
24import java.io.IOException;
                    
25import java.net.InetAddress;
                    
26import java.util.ArrayList;
                    
26import java.util.ArrayList;
                    
27import java.util.HashMap;
                    
28import java.util.HashSet;
                    
28import java.util.HashSet;
                    
29import java.util.List;
                    
30import java.util.Set;
                    
                
InstanceContainer.java https://github.com/yuvrajm/zookeeper.git | Java | 310 lines
                    
21import java.io.IOException;
                    
22import java.net.InetAddress;
                    
23import java.net.UnknownHostException;
                    
23import java.net.UnknownHostException;
                    
24import java.util.HashMap;
                    
25import java.util.List;
                    
25import java.util.List;
                    
26import java.util.Map;
                    
27
                    
31import org.apache.zookeeper.CreateMode;
                    
32import org.apache.zookeeper.KeeperException;
                    
33import org.apache.zookeeper.WatchedEvent;
                    
39import org.apache.zookeeper.Watcher.Event.KeeperState;
                    
40import org.apache.zookeeper.ZooDefs.Ids;
                    
41import org.apache.zookeeper.data.Stat;
                    
                
WeeklyPlant.java https://github.com/SLGerrick/Project-BudBurst-Mobile.git | Java | 452 lines
                    
2
                    
3import java.io.BufferedReader;
                    
4import java.io.IOException;
                    
5import java.io.InputStreamReader;
                    
6import java.net.InetAddress;
                    
7import java.net.UnknownHostException;
                    
7import java.net.UnknownHostException;
                    
8import java.util.ArrayList;
                    
9import java.util.HashMap;
                    
9import java.util.HashMap;
                    
10import java.util.List;
                    
11
                    
11
                    
12import org.apache.http.HttpResponse;
                    
13import org.apache.http.HttpStatus;
                    
                
SSLCertificateSocketFactory.java https://github.com/capickett/android_frameworks_base.git | Java | 352 lines
                    
20
                    
21import android.os.SystemProperties;
                    
22import android.util.Config;
                    
26import java.io.IOException;
                    
27import java.net.InetAddress;
                    
28import java.net.Socket;
                    
34import java.security.cert.Certificate;
                    
35import java.security.cert.X509Certificate;
                    
36
                    
36
                    
37import javax.net.SocketFactory;
                    
38import javax.net.ssl.HostnameVerifier;
                    
50import org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl;
                    
51import org.apache.harmony.xnet.provider.jsse.SSLClientSessionCache;
                    
52
                    
                
SSLCertificateSocketFactory.java https://github.com/antslava/platform_frameworks_base.git | Java | 352 lines
                    
20
                    
21import android.os.SystemProperties;
                    
22import android.util.Config;
                    
26import java.io.IOException;
                    
27import java.net.InetAddress;
                    
28import java.net.Socket;
                    
34import java.security.cert.Certificate;
                    
35import java.security.cert.X509Certificate;
                    
36
                    
36
                    
37import javax.net.SocketFactory;
                    
38import javax.net.ssl.HostnameVerifier;
                    
50import org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl;
                    
51import org.apache.harmony.xnet.provider.jsse.SSLClientSessionCache;
                    
52
                    
                
HistoryClientService.java https://github.com/vicaya/hadoop-patches.git | Java | 294 lines
                    
21import java.io.IOException;
                    
22import java.net.InetAddress;
                    
23import java.net.InetSocketAddress;
                    
23import java.net.InetSocketAddress;
                    
24import java.net.UnknownHostException;
                    
25import java.security.AccessControlException;
                    
25import java.security.AccessControlException;
                    
26import java.security.PrivilegedExceptionAction;
                    
27import java.util.Arrays;
                    
27import java.util.Arrays;
                    
28import java.util.Collection;
                    
29
                    
29
                    
30import org.apache.avro.ipc.Server;
                    
31import org.apache.commons.logging.Log;
                    
                
SSLCertificateSocketFactory.java https://github.com/mkedwards/frameworks__base.git | Java | 352 lines
                    
20
                    
21import android.os.SystemProperties;
                    
22import android.util.Config;
                    
26import java.io.IOException;
                    
27import java.net.InetAddress;
                    
28import java.net.Socket;
                    
34import java.security.cert.Certificate;
                    
35import java.security.cert.X509Certificate;
                    
36
                    
36
                    
37import javax.net.SocketFactory;
                    
38import javax.net.ssl.HostnameVerifier;
                    
50import org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl;
                    
51import org.apache.harmony.xnet.provider.jsse.SSLClientSessionCache;
                    
52
                    
                
NettyHttpServerTransport.java https://github.com/holdenk/elasticsearch.git | Java | 315 lines
                    
25import org.elasticsearch.common.netty.OpenChannelsHandler;
                    
26import org.elasticsearch.common.network.NetworkService;
                    
27import org.elasticsearch.common.network.NetworkUtils;
                    
27import org.elasticsearch.common.network.NetworkUtils;
                    
28import org.elasticsearch.common.settings.Settings;
                    
29import org.elasticsearch.common.transport.BoundTransportAddress;
                    
37import org.elasticsearch.transport.BindTransportException;
                    
38import org.elasticsearch.transport.netty.NettyInternalESLoggerFactory;
                    
39import org.jboss.netty.bootstrap.ServerBootstrap;
                    
48import java.io.IOException;
                    
49import java.net.InetAddress;
                    
50import java.net.InetSocketAddress;
                    
54import static org.elasticsearch.common.network.NetworkService.TcpSettings.*;
                    
55import static org.elasticsearch.common.util.concurrent.EsExecutors.daemonThreadFactory;
                    
56
                    
                
LiveAudioStream.java https://github.com/dilipgudlur/Localization.git | Java | 419 lines
                    
3import java.awt.image.ImagingOpException;
                    
4import java.io.ByteArrayOutputStream;
                    
5import java.io.IOException;
                    
5import java.io.IOException;
                    
6import java.net.InetAddress;
                    
7import java.util.*;
                    
8
                    
9import javax.sound.sampled.*;
                    
10
                    
10
                    
11import edu.cmu.pandaa.header.RawAudioHeader;
                    
12import edu.cmu.pandaa.header.RawAudioHeader.RawAudioFrame;
                    
12import edu.cmu.pandaa.header.RawAudioHeader.RawAudioFrame;
                    
13import edu.cmu.pandaa.header.StreamHeader;
                    
14import edu.cmu.pandaa.header.StreamHeader.StreamFrame;
                    
                
ConnectionWithServerManager.java https://github.com/jpbarbosa/BetAndUin.git | Java | 393 lines
                    
2
                    
3import java.io.IOException;
                    
4import java.net.DatagramPacket;
                    
5import java.net.DatagramSocket;
                    
6import java.net.InetAddress;
                    
7import java.net.Socket;
                    
7import java.net.Socket;
                    
8import java.net.SocketException;
                    
9
                    
9
                    
10import common.Constants;
                    
11
                    
11
                    
12import messages.MessagesRepository;
                    
13import messages.ReceiveServerMessages;
                    
                
RTPApplet.java https://github.com/loopingrage/PhonoSDK.git | Java | 327 lines
                    
23import com.phono.api.CodecList;
                    
24import com.phono.api.Play;
                    
25import com.phono.api.Share;
                    
25import com.phono.api.Share;
                    
26import java.applet.Applet;
                    
27import java.io.IOException;
                    
31import java.net.Inet6Address;
                    
32import java.net.InetAddress;
                    
33import java.net.NetworkInterface;
                    
33import java.net.NetworkInterface;
                    
34import java.net.SocketException;
                    
35import java.security.AccessControlException;
                    
46import java.util.logging.Logger;
                    
47import netscape.javascript.*;
                    
48
                    
                
HadoopDaemonRemoteCluster.java https://github.com/RS1999ent/hadoop-common.git | Java | 404 lines
                    
20
                    
21import java.io.BufferedReader;
                    
22import java.io.File;
                    
22import java.io.File;
                    
23import java.io.FileReader;
                    
24import java.io.IOException;
                    
24import java.io.IOException;
                    
25import java.net.InetAddress;
                    
26import java.util.ArrayList;
                    
26import java.util.ArrayList;
                    
27import java.util.HashMap;
                    
28import java.util.HashSet;
                    
28import java.util.HashSet;
                    
29import java.util.List;
                    
30import java.util.Set;
                    
                
DiscoveryMulticastThread.java https://bitbucket.org/yigongliu/peerdevicenet.git | Java | 236 lines
                    
20import java.net.DatagramPacket;
                    
21import java.net.InetAddress;
                    
22import java.net.MulticastSocket;
                    
22import java.net.MulticastSocket;
                    
23import java.net.SocketTimeoutException;
                    
24import java.net.UnknownHostException;
                    
24import java.net.UnknownHostException;
                    
25import java.util.concurrent.RejectedExecutionException;
                    
26import java.util.concurrent.ScheduledFuture;
                    
26import java.util.concurrent.ScheduledFuture;
                    
27import java.util.concurrent.TimeUnit;
                    
28
                    
28
                    
29import android.net.wifi.WifiManager;
                    
30import android.net.wifi.WifiManager.MulticastLock;
                    
                
NioDatagramChannel.java https://github.com/com-open-source/netty.git | Java | 358 lines
                    
20import java.io.IOException;
                    
21import java.net.InetAddress;
                    
22import java.net.InetSocketAddress;
                    
22import java.net.InetSocketAddress;
                    
23import java.net.NetworkInterface;
                    
24import java.net.SocketAddress;
                    
24import java.net.SocketAddress;
                    
25import java.nio.channels.DatagramChannel;
                    
26import java.util.Queue;
                    
29
                    
30import org.jboss.netty.buffer.ChannelBuffer;
                    
31import org.jboss.netty.channel.AbstractChannel;
                    
31import org.jboss.netty.channel.AbstractChannel;
                    
32import org.jboss.netty.channel.Channel;
                    
33import org.jboss.netty.channel.ChannelException;
                    
                
StreamingTransferTest.java https://github.com/yuvrajm/cassandra.git | Java | 321 lines
                    
24import static org.apache.cassandra.Util.column;
                    
25import static org.apache.cassandra.Util.addMutation;
                    
26
                    
26
                    
27import java.net.InetAddress;
                    
28import java.util.*;
                    
29
                    
30import org.apache.cassandra.CleanupHelper;
                    
31import org.apache.cassandra.Util;
                    
35import org.apache.cassandra.db.filter.IFilter;
                    
36import org.apache.cassandra.db.filter.QueryFilter;
                    
37import org.apache.cassandra.db.filter.QueryPath;
                    
37import org.apache.cassandra.db.filter.QueryPath;
                    
38import org.apache.cassandra.dht.IPartitioner;
                    
39import org.apache.cassandra.dht.Range;
                    
                
WifiConfigurationHelper.java https://gitlab.com/drgroovestarr/frameworks_base | Java | 364 lines
                    
18
                    
19import android.net.IpConfiguration.IpAssignment;
                    
20import android.net.IpConfiguration.ProxySettings;
                    
21import android.net.LinkAddress;
                    
22import android.net.StaticIpConfiguration;
                    
23import android.net.wifi.WifiConfiguration;
                    
24import android.net.wifi.WifiConfiguration.AuthAlgorithm;
                    
25import android.net.wifi.WifiConfiguration.KeyMgmt;
                    
26import android.net.wifi.WifiEnterpriseConfig;
                    
27
                    
28import org.json.JSONArray;
                    
29import org.json.JSONException;
                    
31
                    
32import java.net.InetAddress;
                    
33import java.net.UnknownHostException;
                    
                
MasterServer.java https://github.com/HyperionRiaz/steam-condenser.git | Java | 341 lines
                    
9
                    
10import java.net.InetAddress;
                    
11import java.net.InetSocketAddress;
                    
11import java.net.InetSocketAddress;
                    
12import java.util.ArrayList;
                    
13import java.util.List;
                    
13import java.util.List;
                    
14import java.util.Map;
                    
15import java.util.Vector;
                    
15import java.util.Vector;
                    
16import java.util.concurrent.TimeoutException;
                    
17
                    
17
                    
18import com.github.koraktor.steamcondenser.exceptions.SteamCondenserException;
                    
19import com.github.koraktor.steamcondenser.steam.packets.A2M_GET_SERVERS_BATCH2_Paket;
                    
                
SSLSocket.java https://github.com/mkedwards/platform__libcore.git | Java | 340 lines
                    
20import java.io.IOException;
                    
21import java.net.InetAddress;
                    
22import java.net.Socket;
                    
22import java.net.Socket;
                    
23import java.net.UnknownHostException;
                    
24
                    
                
NetworkUtils.java https://gitlab.com/amardeep434/nitro_base | Java | 376 lines
                    
19import java.io.FileDescriptor;
                    
20import java.net.InetAddress;
                    
21import java.net.Inet4Address;
                    
21import java.net.Inet4Address;
                    
22import java.net.Inet6Address;
                    
23import java.net.SocketException;
                    
23import java.net.SocketException;
                    
24import java.net.UnknownHostException;
                    
25import java.util.Collection;
                    
25import java.util.Collection;
                    
26import java.util.Locale;
                    
27
                    
27
                    
28import android.os.Parcel;
                    
29import android.util.Log;
                    
                
KeepaliveTracker.java https://gitlab.com/amardeep434/android_frameworks_base_n | Java | 376 lines
                    
21import com.android.server.connectivity.KeepalivePacketData;
                    
22import com.android.server.connectivity.NetworkAgentInfo;
                    
23import android.net.ConnectivityManager;
                    
23import android.net.ConnectivityManager;
                    
24import android.net.ConnectivityManager.PacketKeepalive;
                    
25import android.net.LinkAddress;
                    
32import android.os.Message;
                    
33import android.os.Messenger;
                    
34import android.os.Process;
                    
34import android.os.Process;
                    
35import android.os.RemoteException;
                    
36import android.system.OsConstants;
                    
43import java.net.Inet6Address;
                    
44import java.net.InetAddress;
                    
45import java.util.ArrayList;
                    
                
KeepaliveTracker.java https://gitlab.com/amardeep434/android_frameworks_base | Java | 376 lines
                    
21import com.android.server.connectivity.KeepalivePacketData;
                    
22import com.android.server.connectivity.NetworkAgentInfo;
                    
23import android.net.ConnectivityManager;
                    
23import android.net.ConnectivityManager;
                    
24import android.net.ConnectivityManager.PacketKeepalive;
                    
25import android.net.LinkAddress;
                    
32import android.os.Message;
                    
33import android.os.Messenger;
                    
34import android.os.Process;
                    
34import android.os.Process;
                    
35import android.os.RemoteException;
                    
36import android.system.OsConstants;
                    
43import java.net.Inet6Address;
                    
44import java.net.InetAddress;
                    
45import java.util.ArrayList;
                    
                
SSLCertificateSocketFactory.java https://github.com/semiecho/android_frameworks_base.git | Java | 352 lines
                    
20
                    
21import android.os.SystemProperties;
                    
22import android.util.Config;
                    
26import java.io.IOException;
                    
27import java.net.InetAddress;
                    
28import java.net.Socket;
                    
34import java.security.cert.Certificate;
                    
35import java.security.cert.X509Certificate;
                    
36
                    
36
                    
37import javax.net.SocketFactory;
                    
38import javax.net.ssl.HostnameVerifier;
                    
50import org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl;
                    
51import org.apache.harmony.xnet.provider.jsse.SSLClientSessionCache;
                    
52
                    
                
HttpTemplateDownloader.java https://github.com/legiar/CloudStack.git | Java | 450 lines
                    
21import java.io.BufferedInputStream;
                    
22import java.io.File;
                    
23import java.io.IOException;
                    
24import java.io.InputStream;
                    
25import java.io.RandomAccessFile;
                    
26import java.net.Inet6Address;
                    
26import java.net.Inet6Address;
                    
27import java.net.InetAddress;
                    
28import java.net.URI;
                    
35import org.apache.commons.httpclient.Header;
                    
36import org.apache.commons.httpclient.HttpClient;
                    
37import org.apache.commons.httpclient.HttpException;
                    
49import com.cloud.utils.exception.CloudRuntimeException;
                    
50import com.cloud.utils.Pair;
                    
51
                    
                
HadoopDaemonRemoteCluster.java https://github.com/patrickangeles/hadoop-common.git | Java | 404 lines
                    
20
                    
21import java.io.BufferedReader;
                    
22import java.io.File;
                    
22import java.io.File;
                    
23import java.io.FileReader;
                    
24import java.io.IOException;
                    
24import java.io.IOException;
                    
25import java.net.InetAddress;
                    
26import java.util.ArrayList;
                    
26import java.util.ArrayList;
                    
27import java.util.HashMap;
                    
28import java.util.HashSet;
                    
28import java.util.HashSet;
                    
29import java.util.List;
                    
30import java.util.Set;
                    
                
ConnectionPoolTest.java https://bitbucket.org/codefirex/external_okhttp.git | Java | 391 lines
                    
18import com.google.mockwebserver.MockWebServer;
                    
19import com.squareup.okhttp.internal.RecordingHostnameVerifier;
                    
20import com.squareup.okhttp.internal.SslContextBuilder;
                    
20import com.squareup.okhttp.internal.SslContextBuilder;
                    
21import com.squareup.okhttp.internal.Util;
                    
22import com.squareup.okhttp.internal.mockspdyserver.MockSpdyServer;
                    
23import java.io.IOException;
                    
24import java.net.InetAddress;
                    
25import java.net.InetSocketAddress;
                    
27import java.net.UnknownHostException;
                    
28import java.security.GeneralSecurityException;
                    
29import java.util.Arrays;
                    
36import static org.junit.Assert.assertNotNull;
                    
37import static org.junit.Assert.assertNull;
                    
38import static org.junit.Assert.assertSame;
                    
                
NsdServiceInfo.java https://gitlab.com/drgroovestarr/frameworks_base | Java | 389 lines
                    
18
                    
19import android.annotation.NonNull;
                    
20import android.os.Parcelable;
                    
20import android.os.Parcelable;
                    
21import android.os.Parcel;
                    
22import android.text.TextUtils;
                    
22import android.text.TextUtils;
                    
23import android.util.Base64;
                    
24import android.util.Log;
                    
24import android.util.Log;
                    
25import android.util.ArrayMap;
                    
26
                    
27import java.io.UnsupportedEncodingException;
                    
28import java.net.InetAddress;
                    
29import java.nio.charset.StandardCharsets;
                    
                
HostInfo.java https://github.com/masterpi314/dmix.git | Java | 422 lines
                    
7import java.io.IOException;
                    
8import java.net.DatagramPacket;
                    
9import java.net.Inet4Address;
                    
10import java.net.Inet6Address;
                    
11import java.net.InetAddress;
                    
12import java.net.NetworkInterface;
                    
12import java.net.NetworkInterface;
                    
13import java.net.UnknownHostException;
                    
14import java.util.ArrayList;
                    
14import java.util.ArrayList;
                    
15import java.util.Collection;
                    
16import java.util.List;
                    
16import java.util.List;
                    
17import java.util.logging.Level;
                    
18import java.util.logging.Logger;
                    
                
Main.java https://gitlab.com/sat-metalab/vrpn | Java | 513 lines
                    
3import java.io.IOException;
                    
4import java.net.InetAddress;
                    
5import java.net.NetworkInterface;
                    
7import java.net.SocketException;
                    
8import java.util.ArrayList;
                    
9import java.util.Enumeration;
                    
9import java.util.Enumeration;
                    
10import java.util.List;
                    
11import java.util.Timer;
                    
17import android.content.Context;
                    
18import android.hardware.Sensor;
                    
19import android.hardware.SensorEventListener;
                    
19import android.hardware.SensorEventListener;
                    
20import android.hardware.SensorManager;
                    
21import android.os.Bundle;
                    
                
CassandraGameStatusWithSuperColumnRepository.java https://github.com/obazoud/usi2011.git | Java | 308 lines
                    
2
                    
3import static com.google.common.collect.Lists.newArrayList;
                    
4import static java.lang.Math.min;
                    
6import static me.prettyprint.hector.api.factory.HFactory.createSuperSliceQuery;
                    
7import static org.slf4j.LoggerFactory.getLogger;
                    
8import static usi2011.repository.GameStatusRepository.GameStatusSuperColMetadata.GAME_CREATION_TIME;
                    
8import static usi2011.repository.GameStatusRepository.GameStatusSuperColMetadata.GAME_CREATION_TIME;
                    
9import static usi2011.repository.GameStatusRepository.GameStatusSuperColMetadata.NB_TWEET_SENT_FOR_MACHINE;
                    
10import static usi2011.repository.GameStatusRepository.GameStatusSuperColMetadata.NB_USER_LOGGED_FOR_MACHINE;
                    
17
                    
18import java.net.InetAddress;
                    
19import java.util.List;
                    
22import me.prettyprint.cassandra.serializers.LongSerializer;
                    
23import me.prettyprint.cassandra.serializers.StringSerializer;
                    
24import me.prettyprint.hector.api.beans.HColumn;
                    
                
CassandraGameStatusWithSuperColumnRepository.java https://github.com/jaxio/usi2011.git | Java | 308 lines
                    
2
                    
3import static com.google.common.collect.Lists.newArrayList;
                    
4import static java.lang.Math.min;
                    
6import static me.prettyprint.hector.api.factory.HFactory.createSuperSliceQuery;
                    
7import static org.slf4j.LoggerFactory.getLogger;
                    
8import static usi2011.repository.GameStatusRepository.GameStatusSuperColMetadata.GAME_CREATION_TIME;
                    
8import static usi2011.repository.GameStatusRepository.GameStatusSuperColMetadata.GAME_CREATION_TIME;
                    
9import static usi2011.repository.GameStatusRepository.GameStatusSuperColMetadata.NB_TWEET_SENT_FOR_MACHINE;
                    
10import static usi2011.repository.GameStatusRepository.GameStatusSuperColMetadata.NB_USER_LOGGED_FOR_MACHINE;
                    
17
                    
18import java.net.InetAddress;
                    
19import java.util.List;
                    
22import me.prettyprint.cassandra.serializers.LongSerializer;
                    
23import me.prettyprint.cassandra.serializers.StringSerializer;
                    
24import me.prettyprint.hector.api.beans.HColumn;
                    
                
OpenAPIModelServiceConfigurator.java https://github.com/ochaloup/jboss-as.git | Java | 280 lines
                    
24
                    
25import static org.wildfly.extension.microprofile.openapi.logging.MicroProfileOpenAPILogger.LOGGER;
                    
26
                    
27import java.io.IOException;
                    
28import java.net.InetAddress;
                    
29import java.net.MalformedURLException;
                    
29import java.net.MalformedURLException;
                    
30import java.net.URL;
                    
31import java.util.AbstractMap;
                    
31import java.util.AbstractMap;
                    
32import java.util.ArrayList;
                    
33import java.util.Arrays;
                    
33import java.util.Arrays;
                    
34import java.util.Collection;
                    
35import java.util.Collections;
                    
                
MigrationManager.java https://github.com/yuvrajm/cassandra.git | Java | 243 lines
                    
21import java.io.*;
                    
22import java.net.InetAddress;
                    
23import java.nio.ByteBuffer;
                    
25import java.util.concurrent.ExecutionException;
                    
26import java.util.concurrent.Future;
                    
27import java.util.concurrent.TimeUnit;
                    
28
                    
29import com.google.common.collect.Iterables;
                    
30import com.google.common.collect.MapMaker;
                    
34
                    
35import org.apache.cassandra.concurrent.Stage;
                    
36import org.apache.cassandra.concurrent.StageManager;
                    
36import org.apache.cassandra.concurrent.StageManager;
                    
37import org.apache.cassandra.config.ConfigurationException;
                    
38import org.apache.cassandra.db.Column;
                    
                
SSLCertificateSocketFactory.java https://github.com/Jib-BAOSP/platform_frameworks_base.git | Java | 352 lines
                    
20
                    
21import android.os.SystemProperties;
                    
22import android.util.Config;
                    
26import java.io.IOException;
                    
27import java.net.InetAddress;
                    
28import java.net.Socket;
                    
34import java.security.cert.Certificate;
                    
35import java.security.cert.X509Certificate;
                    
36
                    
36
                    
37import javax.net.SocketFactory;
                    
38import javax.net.ssl.HostnameVerifier;
                    
50import org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl;
                    
51import org.apache.harmony.xnet.provider.jsse.SSLClientSessionCache;
                    
52
                    
                
 

Source

Language