PageRenderTime 58ms queryTime 66ms sortTime 10ms getByIdsTime 108ms findMatchingLines 69ms

100+ results results for 'java.net.inetaddress import' (58 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;
                    
                
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;
                    
                
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;
                    
                
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
                    
                
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;
                    
                
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
                    
                
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;
                    
                
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//
                    
                
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://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;
                    
                
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;
                    
                
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,
                    
                
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;
                    
                
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;
                    
                
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;
                    
                
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
                    
                
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;
                    
                
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;
                    
                
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;
                    
                
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;
                    
                
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;
                    
                
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
                    
                
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;
                    
                
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;
                    
                
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;
                    
                
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;
                    
                
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;
                    
                
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;
                    
                
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;
                    
                
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
                    
                
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;
                    
                
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;
                    
                
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
                    
                
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
                    
                
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;
                    
                
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;
                    
                
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;
                    
                
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;
                    
                
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;
                    
                
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
                    
                
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
                    
                
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;
                    
                
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();
                    
                
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
                    
                
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;
                    
                
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;
                    
                
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;
                    
                
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
                    
                
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
                    
                
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;
                    
                
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;
                    
                
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;
                    
                
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>  
                    
                
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;
                    
                
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;
                    
                
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>  
                    
                
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;
                    
                
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;
                    
                
ZooKeeperElection.java https://gitlab.com/matticala/apache-camel | Java | 255 lines
                    
18
                    
19import java.net.InetAddress;
                    
20import java.net.UnknownHostException;
                    
20import java.net.UnknownHostException;
                    
21import java.util.ArrayList;
                    
22import java.util.List;
                    
22import java.util.List;
                    
23import java.util.concurrent.CountDownLatch;
                    
24import java.util.concurrent.atomic.AtomicBoolean;
                    
24import java.util.concurrent.atomic.AtomicBoolean;
                    
25import java.util.concurrent.locks.Lock;
                    
26import java.util.concurrent.locks.ReentrantLock;
                    
28
                    
29import org.apache.camel.CamelContext;
                    
30import org.apache.camel.Exchange;
                    
                
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;
                    
                
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;
                    
                
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;
                    
                
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
                    
                
Os.java https://gitlab.com/Atomic-ROM/libcore | Java | 170 lines
                    
21import android.system.StructAddrinfo;
                    
22import android.system.StructFlock;
                    
23import android.system.StructGroupReq;
                    
23import android.system.StructGroupReq;
                    
24import android.system.StructGroupSourceReq;
                    
25import android.system.StructLinger;
                    
28import android.system.StructStat;
                    
29import android.system.StructStatVfs;
                    
30import android.system.StructTimeval;
                    
30import android.system.StructTimeval;
                    
31import android.system.StructUcred;
                    
32import android.system.StructUtsname;
                    
36import java.io.InterruptedIOException;
                    
37import java.net.InetAddress;
                    
38import java.net.InetSocketAddress;
                    
                
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
                    
                
DLOpenerGoogleDriveManager.java https://github.com/vilmospapp/liferay-portal.git | Java | 409 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;
                    
                
DedicatedServer.java https://bitbucket.org/hopper/hopper.git | Java | 451 lines
                    
3import java.io.File;
                    
4import java.io.IOException;
                    
5import java.io.PrintStream;
                    
5import java.io.PrintStream;
                    
6import java.net.InetAddress;
                    
7import java.util.ArrayList;
                    
8import java.util.Collections;
                    
9import java.util.List;
                    
10import java.util.Random;
                    
10import java.util.Random;
                    
11import java.util.logging.Level;
                    
12
                    
12
                    
13import joptsimple.OptionSet;
                    
14
                    
                
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;
                    
                
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;
                    
                
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;
                    
                
CassandraXMLJUnitResultFormatter.java https://github.com/beobal/cassandra.git | Java | 391 lines
                    
21import java.io.BufferedWriter;
                    
22import java.io.IOException;
                    
23import java.io.OutputStream;
                    
25import java.io.Writer;
                    
26import java.net.InetAddress;
                    
27import java.net.UnknownHostException;
                    
27import java.net.UnknownHostException;
                    
28import java.util.Date;
                    
29import java.util.Enumeration;
                    
36import junit.framework.AssertionFailedError;
                    
37import junit.framework.Test;
                    
38
                    
50import org.w3c.dom.Element;
                    
51import org.w3c.dom.Text;
                    
52
                    
                
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;
                    
                
MockProcessManager.java https://github.com/jwulf/jboss-as.git | Java | 328 lines
                    
25import java.io.InputStream;
                    
26import java.net.InetAddress;
                    
27import java.net.Socket;
                    
27import java.net.Socket;
                    
28import java.util.List;
                    
29import java.util.Map;
                    
29import java.util.Map;
                    
30import java.util.concurrent.BlockingQueue;
                    
31import java.util.concurrent.ConcurrentHashMap;
                    
33import java.util.concurrent.LinkedBlockingQueue;
                    
34import java.util.concurrent.TimeUnit;
                    
35import java.util.concurrent.atomic.AtomicInteger;
                    
42import org.jboss.as.process.StreamUtils;
                    
43import org.jboss.as.process.SystemExiter;
                    
44import org.jboss.as.process.ProcessOutputStreamHandler.Master;
                    
                
SocksSocketFactory.html https://gitlab.com/ZZ3F2/MapReduce | HTML | 230 lines
                    
28<span class="sourceLineNo">020</span>import java.io.IOException;<a name="line.20"></a>
                    
29<span class="sourceLineNo">021</span>import java.net.InetAddress;<a name="line.21"></a>
                    
30<span class="sourceLineNo">022</span>import java.net.InetSocketAddress;<a name="line.22"></a>
                    
30<span class="sourceLineNo">022</span>import java.net.InetSocketAddress;<a name="line.22"></a>
                    
31<span class="sourceLineNo">023</span>import java.net.Proxy;<a name="line.23"></a>
                    
32<span class="sourceLineNo">024</span>import java.net.Socket;<a name="line.24"></a>
                    
32<span class="sourceLineNo">024</span>import java.net.Socket;<a name="line.24"></a>
                    
33<span class="sourceLineNo">025</span>import java.net.UnknownHostException;<a name="line.25"></a>
                    
34<span class="sourceLineNo">026</span><a name="line.26"></a>
                    
34<span class="sourceLineNo">026</span><a name="line.26"></a>
                    
35<span class="sourceLineNo">027</span>import javax.net.SocketFactory;<a name="line.27"></a>
                    
36<span class="sourceLineNo">028</span><a name="line.28"></a>
                    
36<span class="sourceLineNo">028</span><a name="line.28"></a>
                    
37<span class="sourceLineNo">029</span>import org.apache.hadoop.classification.InterfaceAudience;<a name="line.29"></a>
                    
38<span class="sourceLineNo">030</span>import org.apache.hadoop.classification.InterfaceStability;<a name="line.30"></a>
                    
                
index_jsp.java https://github.com/jronallo/northwest-digital-archives.git | Java | 388 lines
                    
3import javax.servlet.*;
                    
4import javax.servlet.http.*;
                    
5import javax.servlet.jsp.*;
                    
5import javax.servlet.jsp.*;
                    
6import java.util.Date;
                    
7import java.util.List;
                    
7import java.util.List;
                    
8import java.util.Collection;
                    
9import org.apache.solr.request.SolrRequestHandler;
                    
10import org.apache.solr.core.SolrConfig;
                    
11import org.apache.solr.core.SolrCore;
                    
12import org.apache.solr.schema.IndexSchema;
                    
13import java.io.File;
                    
14import java.net.InetAddress;
                    
15import java.io.StringWriter;
                    
                
RConThreadQuery.java https://bitbucket.org/jarvahf/huzuni-minecraft-griefing-client.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;
                    
                
TestableJettyServer.java https://github.com/dekellum/jetty.git | Java | 209 lines
                    
19import java.io.File;
                    
20import java.io.FileOutputStream;
                    
21import java.io.IOException;
                    
21import java.io.IOException;
                    
22import java.net.InetAddress;
                    
23import java.net.MalformedURLException;
                    
23import java.net.MalformedURLException;
                    
24import java.net.URI;
                    
25import java.net.URL;
                    
26import java.net.UnknownHostException;
                    
27import java.util.ArrayList;
                    
28import java.util.HashMap;
                    
28import java.util.HashMap;
                    
29import java.util.List;
                    
30import java.util.Map;
                    
                
Proxy.java https://bitbucket.org/zielmicha/connectbot.git | Java | 404 lines
                    
1package net.sourceforge.jsocks;
                    
2import java.io.IOException;
                    
3import java.io.InputStream;
                    
3import java.io.InputStream;
                    
4import java.io.InterruptedIOException;
                    
5import java.io.OutputStream;
                    
5import java.io.OutputStream;
                    
6import java.net.InetAddress;
                    
7import java.net.Socket;
                    
7import java.net.Socket;
                    
8import java.net.UnknownHostException;
                    
9
                    
                
CommandLineProgram.java https://gitlab.com/zhuravelchik/picard | Java | 333 lines
                    
28import htsjdk.samtools.SAMFileWriterImpl;
                    
29import htsjdk.samtools.SamReaderFactory;
                    
30import htsjdk.samtools.ValidationStringency;
                    
30import htsjdk.samtools.ValidationStringency;
                    
31import htsjdk.samtools.metrics.Header;
                    
32import htsjdk.samtools.metrics.MetricBase;
                    
37import htsjdk.samtools.util.IOUtil;
                    
38import htsjdk.samtools.util.Log;
                    
39import htsjdk.samtools.util.zip.DeflaterFactory;
                    
45import java.lang.reflect.Field;
                    
46import java.net.InetAddress;
                    
47import java.text.DecimalFormat;
                    
48import java.util.ArrayList;
                    
49import java.util.Date;
                    
50import java.util.List;
                    
                
AbstractClientConnAdapter.java https://github.com/MIPS/external-apache-http.git | Java | 399 lines
                    
33
                    
34import java.io.IOException;
                    
35import java.io.InterruptedIOException;
                    
35import java.io.InterruptedIOException;
                    
36import java.net.InetAddress;
                    
37import java.net.Socket;
                    
37import java.net.Socket;
                    
38import java.util.concurrent.TimeUnit;
                    
39
                    
40import javax.net.ssl.SSLSocket;
                    
41import javax.net.ssl.SSLSession;
                    
42
                    
43import org.apache.http.HttpException;
                    
44import org.apache.http.HttpRequest;
                    
45import org.apache.http.HttpEntityEnclosingRequest;
                    
                
GceUnicastHostsProvider.java https://gitlab.com/sharadag/elasticsearch | Java | 264 lines
                    
24import com.google.api.services.compute.model.NetworkInterface;
                    
25import org.elasticsearch.Version;
                    
26import org.elasticsearch.cloud.gce.GceComputeService;
                    
26import org.elasticsearch.cloud.gce.GceComputeService;
                    
27import org.elasticsearch.cluster.node.DiscoveryNode;
                    
28import org.elasticsearch.common.Strings;
                    
33import org.elasticsearch.common.settings.Setting;
                    
34import org.elasticsearch.common.settings.Setting.Property;
                    
35import org.elasticsearch.common.settings.Settings;
                    
35import org.elasticsearch.common.settings.Settings;
                    
36import org.elasticsearch.common.transport.TransportAddress;
                    
37import org.elasticsearch.common.unit.TimeValue;
                    
41import java.io.IOException;
                    
42import java.net.InetAddress;
                    
43import java.util.ArrayList;
                    
                
SSLCertificateSocketFactory.java https://github.com/doixanh/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
                    
                
ManagedDeployableContainer.java https://github.com/elegar/jboss-as.git | Java | 266 lines
                    
21import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.READ_ATTRIBUTE_OPERATION;
                    
22import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.RESULT;
                    
23import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.SUCCESS;
                    
24
                    
25import java.io.File;
                    
26import java.io.IOException;
                    
28import java.io.InputStreamReader;
                    
29import java.net.InetAddress;
                    
30import java.net.URI;
                    
33import java.security.PrivilegedAction;
                    
34import java.util.ArrayList;
                    
35import java.util.List;
                    
47import org.jboss.as.controller.ControlledProcessState;
                    
48import org.jboss.as.controller.PathAddress;
                    
49import org.jboss.as.controller.operations.common.Util;
                    
                
RequestEntity.java https://gitlab.com/UnderSampled/aard2-build | Java | 398 lines
                    
25import java.io.InputStream;
                    
26import java.net.InetAddress;
                    
27import java.net.InetSocketAddress;
                    
27import java.net.InetSocketAddress;
                    
28import java.net.Socket;
                    
29import java.nio.channels.Channels;
                    
31import java.nio.channels.SocketChannel;
                    
32import java.util.HashMap;
                    
33import java.util.List;
                    
33import java.util.List;
                    
34import java.util.Map;
                    
35
                    
35
                    
36import org.simpleframework.http.ContentType;
                    
37import org.simpleframework.http.Part;
                    
                
HttpServer.java https://github.com/starksm64/node.x.git | Java | 371 lines
                    
15
                    
16import org.jboss.netty.bootstrap.ServerBootstrap;
                    
17import org.jboss.netty.buffer.ChannelBuffer;
                    
17import org.jboss.netty.buffer.ChannelBuffer;
                    
18import org.jboss.netty.channel.Channel;
                    
19import org.jboss.netty.channel.ChannelFactory;
                    
19import org.jboss.netty.channel.ChannelFactory;
                    
20import org.jboss.netty.channel.ChannelHandlerContext;
                    
21import org.jboss.netty.channel.ChannelPipeline;
                    
21import org.jboss.netty.channel.ChannelPipeline;
                    
22import org.jboss.netty.channel.ChannelPipelineFactory;
                    
23import org.jboss.netty.channel.ChannelState;
                    
52import javax.net.ssl.SSLEngine;
                    
53import java.net.InetAddress;
                    
54import java.net.InetSocketAddress;
                    
                
NetworkEngine.java https://github.com/AnthonyNystrom/MobiVU.git | Java | 374 lines
                    
2
                    
3import java.io.File;
                    
4import java.io.FileNotFoundException;
                    
5import java.io.FileOutputStream;
                    
6import java.io.IOException;
                    
7import java.io.InputStream;
                    
7import java.io.InputStream;
                    
8import java.io.OutputStream;
                    
9import java.net.Socket;
                    
10import java.net.UnknownHostException;
                    
11import java.util.*;
                    
12import java.net.DatagramPacket; 
                    
13import java.net.DatagramSocket; 
                    
14import java.net.InetAddress; 
                    
15import java.net.SocketException;
                    
                
DatagramSocketClient.java https://bitbucket.org/rsaqc/openesb-components.git | Java | 273 lines
                    
18import java.net.DatagramSocket;
                    
19import java.net.InetAddress;
                    
20import java.net.SocketException;
                    
                
ElasticsearchClient.java https://gitlab.com/sudarsunkannan/mapkeeper | Java | 353 lines
                    
22import static org.elasticsearch.index.query.QueryBuilders.rangeQuery;
                    
23import static org.elasticsearch.node.NodeBuilder.nodeBuilder;
                    
24
                    
24
                    
25import com.yahoo.ycsb.ByteIterator;
                    
26import com.yahoo.ycsb.DB;
                    
35import org.elasticsearch.client.Client;
                    
36import org.elasticsearch.client.Requests;
                    
37import org.elasticsearch.client.transport.TransportClient;
                    
44
                    
45import java.net.InetAddress;
                    
46import java.net.UnknownHostException;
                    
48import java.util.Map.Entry;
                    
49import java.util.Properties;
                    
50import java.util.Set;
                    
                
URIBuilder.java https://bitbucket.org/lp/programming-multiactivities.git | Java | 436 lines
                    
38
                    
39import java.net.InetAddress;
                    
40import java.net.URI;
                    
40import java.net.URI;
                    
41import java.net.URISyntaxException;
                    
42import java.net.UnknownHostException;
                    
43
                    
44import org.apache.log4j.Logger;
                    
45import org.objectweb.proactive.core.Constants;
                    
45import org.objectweb.proactive.core.Constants;
                    
46import org.objectweb.proactive.core.config.CentralPAPropertyRepository;
                    
47import org.objectweb.proactive.core.remoteobject.AbstractRemoteObjectFactory;
                    
47import org.objectweb.proactive.core.remoteobject.AbstractRemoteObjectFactory;
                    
48import org.objectweb.proactive.core.remoteobject.RemoteObjectFactory;
                    
49import org.objectweb.proactive.core.remoteobject.exception.UnknownProtocolException;
                    
                
BootProfileImpl.java https://bitbucket.org/jsadlo/sag_wedt.git | Java | 442 lines
                    
30
                    
31import java.net.InetAddress;
                    
32
                    
32
                    
33import java.util.Enumeration;    // J2ME CLDC OK
                    
34import java.util.Vector;         // J2ME CLDC OK
                    
34import java.util.Vector;         // J2ME CLDC OK
                    
35import jade.util.leap.List;
                    
36import jade.util.leap.ArrayList;
                    
36import jade.util.leap.ArrayList;
                    
37import jade.util.leap.Iterator;
                    
38import jade.util.leap.Properties;
                    
38import jade.util.leap.Properties;
                    
39import jade.util.ExtendedProperties;
                    
40import jade.util.PropertiesException;
                    
                
ConnectionListenerTest.java https://bitbucket.org/robeden/intrepid.git | Java | 329 lines
                    
27
                    
28import com.starlight.intrepid.auth.SimpleUserContextInfo;
                    
29import javax.annotation.Nonnull;
                    
29import javax.annotation.Nonnull;
                    
30import javax.annotation.Nullable;
                    
31import com.starlight.intrepid.auth.ConnectionArgs;
                    
31import com.starlight.intrepid.auth.ConnectionArgs;
                    
32import com.starlight.intrepid.auth.UserContextInfo;
                    
33import junit.framework.TestCase;
                    
34
                    
35import java.net.InetAddress;
                    
36import java.util.concurrent.BlockingQueue;
                    
36import java.util.concurrent.BlockingQueue;
                    
37import java.util.concurrent.LinkedBlockingQueue;
                    
38import java.util.concurrent.TimeUnit;
                    
                
TCPConnector.scala https://bitbucket.org/osi/wsb-core.git | Scala | 731 lines
                    
2
                    
3import scala.collection.JavaConversions._
                    
4import com.idyria.osi.wsb.core.message._
                    
5import com.idyria.osi.wsb.core.network.protocols.ProtocolHandler
                    
6import com.idyria.osi.wsb.core.broker.MessageBroker
                    
7import com.idyria.osi.wsb.core.network._
                    
7import com.idyria.osi.wsb.core.network._
                    
8import com.idyria.osi.tea.listeners.ListeningSupport
                    
9import scala.io.Source
                    
10import javax.net.ServerSocketFactory
                    
11import java.net.InetSocketAddress
                    
12import java.io.PrintStream
                    
15import java.net.Inet4Address
                    
16import java.net.InetAddress
                    
17import com.idyria.osi.wsb.core.network.connectors.AbstractConnector
                    
                
Bot.java https://github.com/Simoyd/SimpleServer.git | Java | 639 lines
                    
22
                    
23import java.io.BufferedInputStream;
                    
24import java.io.BufferedOutputStream;
                    
25import java.io.DataInputStream;
                    
26import java.io.DataOutputStream;
                    
27import java.io.File;
                    
28import java.io.IOException;
                    
29import java.net.InetAddress;
                    
30import java.net.Socket;
                    
30import java.net.Socket;
                    
31import java.net.UnknownHostException;
                    
32import java.util.concurrent.locks.ReentrantLock;
                    
33
                    
34import simpleserver.Coordinate.Dimension;
                    
35import simpleserver.Position;
                    
                
Server.java https://github.com/Simoyd/SimpleServer.git | Java | 676 lines
                    
24
                    
25import java.io.IOException;
                    
26import java.net.BindException;
                    
26import java.net.BindException;
                    
27import java.net.InetAddress;
                    
28import java.net.ServerSocket;
                    
28import java.net.ServerSocket;
                    
29import java.net.Socket;
                    
30import java.net.UnknownHostException;
                    
46import simpleserver.config.WhiteList;
                    
47import simpleserver.config.data.GlobalData;
                    
48import simpleserver.config.xml.Config;
                    
68import simpleserver.thread.RequestTracker;
                    
69import simpleserver.thread.Statistics;
                    
70import simpleserver.thread.SystemInputQueue;
                    
                
Player.java https://github.com/Simoyd/SimpleServer.git | Java | 855 lines
                    
25import java.io.IOException;
                    
26import java.net.InetAddress;
                    
27import java.net.Socket;
                    
27import java.net.Socket;
                    
28import java.util.Queue;
                    
29import java.util.Timer;
                    
29import java.util.Timer;
                    
30import java.util.TimerTask;
                    
31import java.util.concurrent.ConcurrentLinkedQueue;
                    
37import simpleserver.bot.Giver;
                    
38import simpleserver.bot.Teleporter;
                    
39import simpleserver.command.ExternalCommand;
                    
47import simpleserver.message.AbstractChat;
                    
48import simpleserver.message.Chat;
                    
49import simpleserver.message.GlobalChat;
                    
                
NetworkConnection.java https://bitbucket.org/masoudn/veyohealth.git | Java | 801 lines
                    
42import java.io.IOException;
                    
43import java.net.InetAddress;
                    
44import java.net.InetSocketAddress;
                    
44import java.net.InetSocketAddress;
                    
45import java.net.ServerSocket;
                    
46import java.net.Socket;
                    
46import java.net.Socket;
                    
47import java.net.SocketAddress;
                    
48import java.net.SocketException;
                    
49import java.net.UnknownHostException;
                    
50import java.util.Arrays;
                    
51import java.util.List;
                    
51import java.util.List;
                    
52import java.util.concurrent.Executor;
                    
53import java.util.concurrent.atomic.AtomicInteger;
                    
                
SyslogAppender2.java https://bitbucket.org/masoudn/veyohealth.git | Java | 912 lines
                    
40import java.io.BufferedOutputStream;
                    
41import java.io.ByteArrayOutputStream;
                    
42import java.io.IOException;
                    
44import java.lang.management.ManagementFactory;
                    
45import java.net.DatagramPacket;
                    
46import java.net.DatagramSocket;
                    
46import java.net.DatagramSocket;
                    
47import java.net.InetAddress;
                    
48import java.net.InetSocketAddress;
                    
51import java.net.SocketException;
                    
52import java.net.UnknownHostException;
                    
53import java.security.KeyStore;
                    
53import java.security.KeyStore;
                    
54import java.util.Calendar;
                    
55import java.util.Locale;
                    
                
KitKatPlatformOpenSSLSocketImplAdapter.java https://gitlab.com/cde/debian_android-tools_android-platform-external-conscrypt | Java | 448 lines
                    
19import java.io.FileDescriptor;
                    
20import java.io.IOException;
                    
21import java.io.InputStream;
                    
22import java.io.OutputStream;
                    
23import java.net.InetAddress;
                    
24import java.net.Socket;
                    
24import java.net.Socket;
                    
25import java.net.SocketAddress;
                    
26import java.net.SocketException;
                    
26import java.net.SocketException;
                    
27import java.nio.channels.SocketChannel;
                    
28import java.security.PrivateKey;
                    
28import java.security.PrivateKey;
                    
29import java.security.cert.CertificateEncodingException;
                    
30import java.security.cert.CertificateException;
                    
                
DiagnosticSnapshotService.java https://github.com/beobal/cassandra.git | Java | 199 lines
                    
20
                    
21import java.net.InetAddress;
                    
22import java.time.LocalDate;
                    
22import java.time.LocalDate;
                    
23import java.time.format.DateTimeFormatter;
                    
24import java.util.concurrent.*;
                    
24import java.util.concurrent.*;
                    
25import java.util.concurrent.atomic.AtomicLong;
                    
26
                    
26
                    
27import com.google.common.annotations.VisibleForTesting;
                    
28import com.google.common.base.Preconditions;
                    
28import com.google.common.base.Preconditions;
                    
29import org.slf4j.Logger;
                    
30import org.slf4j.LoggerFactory;
                    
                
UntypedResultSet.java https://github.com/beobal/cassandra.git | Java | 459 lines
                    
20
                    
21import java.net.InetAddress;
                    
22import java.nio.ByteBuffer;
                    
22import java.nio.ByteBuffer;
                    
23import java.util.*;
                    
24
                    
24
                    
25import com.google.common.annotations.VisibleForTesting;
                    
26
                    
26
                    
27import org.apache.cassandra.schema.ColumnMetadata;
                    
28import org.apache.cassandra.cql3.statements.SelectStatement;
                    
28import org.apache.cassandra.cql3.statements.SelectStatement;
                    
29import org.apache.cassandra.db.*;
                    
30import org.apache.cassandra.db.marshal.*;
                    
                
HttpRoute.java https://github.com/steveclark7/Test1.git | Java | 410 lines
                    
29
                    
30import java.net.InetAddress;
                    
31
                    
31
                    
32import org.apache.http.annotation.Immutable;
                    
33import org.apache.http.util.LangUtils;
                    
34
                    
35import org.apache.http.HttpHost;
                    
36
                    
                
SmtpSender.java https://gitlab.com/Atomic-ROM/packages_apps_Email | Java | 353 lines
                    
22import com.android.email.DebugUtils;
                    
23import com.android.email.mail.Sender;
                    
24import com.android.email.mail.internet.AuthenticationCache;
                    
24import com.android.email.mail.internet.AuthenticationCache;
                    
25import com.android.emailcommon.Logging;
                    
26import com.android.emailcommon.internet.Rfc822Output;
                    
26import com.android.emailcommon.internet.Rfc822Output;
                    
27import com.android.emailcommon.mail.Address;
                    
28import com.android.emailcommon.mail.AuthenticationFailedException;
                    
29import com.android.emailcommon.mail.CertificateValidationException;
                    
30import com.android.emailcommon.mail.MessagingException;
                    
31import com.android.emailcommon.provider.Account;
                    
39import java.net.Inet6Address;
                    
40import java.net.InetAddress;
                    
41
                    
                
ERXRemoteNotificationCenter.java https://bitbucket.org/molequedeideias/wonder.git | Java | 339 lines
                    
3import java.io.ByteArrayInputStream;
                    
4import java.io.ByteArrayOutputStream;
                    
5import java.io.DataInputStream;
                    
5import java.io.DataInputStream;
                    
6import java.io.DataOutputStream;
                    
7import java.io.IOException;
                    
8import java.net.DatagramPacket;
                    
9import java.net.InetAddress;
                    
10import java.net.InetSocketAddress;
                    
10import java.net.InetSocketAddress;
                    
11import java.net.MulticastSocket;
                    
12import java.net.NetworkInterface;
                    
12import java.net.NetworkInterface;
                    
13import java.net.SocketException;
                    
14import java.net.UnknownHostException;
                    
                
UUIDGen.java https://github.com/thepaul/cassandra.git | Java | 262 lines
                    
19
                    
20import java.net.InetAddress;
                    
21import java.nio.ByteBuffer;
                    
21import java.nio.ByteBuffer;
                    
22import java.security.MessageDigest;
                    
23import java.security.NoSuchAlgorithmException;
                    
23import java.security.NoSuchAlgorithmException;
                    
24import java.util.HashMap;
                    
25import java.util.Map;
                    
25import java.util.Map;
                    
26import java.util.Random;
                    
27import java.util.UUID;
                    
38
                    
39    // placement of this singleton is important.  It needs to be instantiated *AFTER* the other statics.
                    
40    private static final UUIDGen instance = new UUIDGen();
                    
                
HintedHandOffManager.java https://github.com/cchandler/cassandra.git | Java | 300 lines
                    
21import java.io.IOException;
                    
22import java.net.InetAddress;
                    
23import java.net.UnknownHostException;
                    
24import java.util.Collection;
                    
25import java.util.concurrent.ExecutorService;
                    
26import java.util.concurrent.TimeoutException;
                    
27
                    
28import org.apache.cassandra.db.IClock;
                    
29import org.apache.commons.lang.ArrayUtils;
                    
34import org.apache.cassandra.db.filter.QueryFilter;
                    
35import org.apache.cassandra.db.filter.QueryPath;
                    
36import org.apache.cassandra.gms.FailureDetector;
                    
46
                    
47import static com.google.common.base.Charsets.UTF_8;
                    
48
                    
                
JMXTarget.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 384 lines
                    
23
                    
24import java.net.InetAddress;
                    
25import java.net.URI;
                    
25import java.net.URI;
                    
26import java.net.URL;
                    
27import java.net.URLDecoder;
                    
27import java.net.URLDecoder;
                    
28import java.net.UnknownHostException;
                    
29import java.util.ArrayList;
                    
29import java.util.ArrayList;
                    
30import java.util.Hashtable;
                    
31import java.util.List;
                    
31import java.util.List;
                    
32import java.util.Properties;
                    
33import java.util.StringTokenizer;
                    
                
SSLSocketFactory.java https://gitlab.com/Atomic-ROM/packages_apps_Email | Java | 405 lines
                    
39import org.apache.http.conn.ssl.BrowserCompatHostnameVerifier;
                    
40import org.apache.http.conn.ssl.StrictHostnameVerifier;
                    
41import org.apache.http.conn.ssl.X509HostnameVerifier;
                    
41import org.apache.http.conn.ssl.X509HostnameVerifier;
                    
42import org.apache.http.params.HttpConnectionParams;
                    
43import org.apache.http.params.HttpParams;
                    
44
                    
45import javax.net.ssl.HttpsURLConnection;
                    
46import javax.net.ssl.KeyManager;
                    
52import java.io.IOException;
                    
53import java.net.InetAddress;
                    
54import java.net.InetSocketAddress;
                    
130 *       Import the PKCS#7 file containg the complete certificate chain
                    
131 *       <pre>keytool -import -alias "my client key" -file mycert.p7 -keystore my.keystore</pre>
                    
132 *      </p>
                    
                
DistTutorial.java https://github.com/dukeboard/kevoree-extra.git | Java | 265 lines
                    
39import java.io.IOException;
                    
40import java.net.InetAddress;
                    
41import java.net.InetSocketAddress;
                    
42import java.util.Iterator;
                    
43import java.util.Map;
                    
44import java.util.Vector;
                    
45
                    
46import org.mpisws.p2p.transport.TransportLayerListener;
                    
47import org.mpisws.p2p.transport.commonapi.CommonAPITransportLayerImpl;
                    
49import org.mpisws.p2p.transport.priority.PriorityTransportLayer;
                    
50import org.mpisws.p2p.transport.priority.PriorityTransportLayerListener;
                    
51
                    
59import rice.pastry.socket.SocketPastryNodeFactory;
                    
60import rice.pastry.standard.RandomNodeIdFactory;
                    
61
                    
                
SnmpMsg.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 465 lines
                    
13
                    
14import com.sun.jmx.snmp.SnmpSecurityParameters;
                    
15// java imports
                    
17import java.util.Vector;
                    
18import java.net.InetAddress;
                    
19
                    
19
                    
20// import debug stuff
                    
21//
                    
21//
                    
22import com.sun.jmx.trace.Trace;
                    
23
                    
23
                    
24import com.sun.jmx.snmp.SnmpStatusException;
                    
25/**
                    
                
MailMessage.java https://bitbucket.org/kaendfinger/apache-ant.git | Java | 526 lines
                    
28
                    
29import java.io.IOException;
                    
30import java.io.PrintStream;
                    
30import java.io.PrintStream;
                    
31import java.io.BufferedOutputStream;
                    
32import java.io.OutputStream;
                    
33import java.net.Socket;
                    
34import java.net.InetAddress;
                    
35import java.util.Vector;
                    
35import java.util.Vector;
                    
36import java.util.Enumeration;
                    
37
                    
                
DnsTest.java https://gitlab.com/brian0218/rk3188_rk3066_r-box_android4.4.2_sdk | Java | 244 lines
                    
18
                    
19import android.os.SystemClock;
                    
20import android.test.AndroidTestCase;
                    
20import android.test.AndroidTestCase;
                    
21import android.util.Log;
                    
22
                    
22
                    
23import java.net.Inet4Address;
                    
24import java.net.Inet6Address;
                    
24import java.net.Inet6Address;
                    
25import java.net.InetAddress;
                    
26import java.net.UnknownHostException;
                    
26import java.net.UnknownHostException;
                    
27import java.util.ArrayList;
                    
28
                    
                
StandardSocketFactory.java https://bitbucket.org/jairomontecinos/nasaworldwindjava.git | Java | 478 lines
                    
27
                    
28import java.io.IOException;
                    
29import java.lang.reflect.Constructor;
                    
29import java.lang.reflect.Constructor;
                    
30import java.lang.reflect.InvocationTargetException;
                    
31import java.lang.reflect.Method;
                    
31import java.lang.reflect.Method;
                    
32import java.net.InetAddress;
                    
33import java.net.InetSocketAddress;
                    
33import java.net.InetSocketAddress;
                    
34import java.net.Socket;
                    
35import java.net.SocketAddress;
                    
35import java.net.SocketAddress;
                    
36import java.net.SocketException;
                    
37import java.net.UnknownHostException;
                    
                
ProxySocketFactoryTest.java https://gitlab.com/vincent.hsu/cyberduck | Java | 213 lines
                    
23import ch.cyberduck.core.proxy.ProxySocketFactory;
                    
24import ch.cyberduck.core.socket.DefaultSocketConfigurator;
                    
25import ch.cyberduck.core.socket.SocketConfigurator;
                    
25import ch.cyberduck.core.socket.SocketConfigurator;
                    
26import ch.cyberduck.core.ssl.TrustManagerHostnameCallback;
                    
27import ch.cyberduck.test.IntegrationTest;
                    
32
                    
33import java.io.IOException;
                    
34import java.net.ConnectException;
                    
36import java.net.Inet6Address;
                    
37import java.net.InetAddress;
                    
38import java.net.InetSocketAddress;
                    
40import java.net.Socket;
                    
41import java.net.SocketException;
                    
42import java.util.Arrays;
                    
                
NetworkInterfaceService.java https://github.com/tomathome/jboss-as.git | Java | 267 lines
                    
25import java.net.Inet6Address;
                    
26import java.net.InetAddress;
                    
27import java.net.NetworkInterface;
                    
28import java.net.SocketException;
                    
29import java.net.UnknownHostException;
                    
30import java.util.ArrayList;
                    
30import java.util.ArrayList;
                    
31import java.util.Collection;
                    
32import java.util.Collections;
                    
33import java.util.Enumeration;
                    
34import java.util.HashSet;
                    
35import java.util.Set;
                    
37import org.jboss.as.controller.interfaces.InterfaceCriteria;
                    
38import org.jboss.as.controller.interfaces.ParsedInterfaceCriteria;
                    
39import org.jboss.as.network.NetworkInterfaceBinding;
                    
                
UdpTransport.java https://bitbucket.org/serkancng/serkancng.git | Java | 332 lines
                    
17import java.io.IOException;
                    
18import java.net.DatagramPacket;
                    
19import java.net.DatagramSocket;
                    
19import java.net.DatagramSocket;
                    
20import java.net.InetAddress;
                    
21import java.net.InetSocketAddress;
                    
22import java.net.MulticastSocket;
                    
23import java.net.SocketException;
                    
24import java.net.UnknownHostException;
                    
24import java.net.UnknownHostException;
                    
25import java.util.Map;
                    
26
                    
26
                    
27import org.apache.log4j.Logger;
                    
28import org.portico.bindings.ptalk.Common;
                    
                
AccessCheck.java https://github.com/sks9602/MyFramework.git | Java | 313 lines
                    
3import java.io.File;
                    
4import java.io.FileInputStream;
                    
5import java.io.FileNotFoundException;
                    
7import java.io.IOException;
                    
8import java.io.InputStream;
                    
9import java.io.OutputStream;
                    
10import java.io.UnsupportedEncodingException;
                    
11import java.net.InetAddress;
                    
12import java.net.URL;
                    
17
                    
18import org.apache.poi.hssf.usermodel.HSSFCell;
                    
19import org.apache.poi.hssf.usermodel.HSSFCellStyle;
                    
19import org.apache.poi.hssf.usermodel.HSSFCellStyle;
                    
20import org.apache.poi.hssf.usermodel.HSSFFont;
                    
21import org.apache.poi.hssf.usermodel.HSSFRichTextString;
                    
                
NodeStatusUpdaterImpl.java https://github.com/bmahe/hadoop-common.git | Java | 294 lines
                    
20
                    
21import java.net.InetAddress;
                    
22import java.net.InetSocketAddress;
                    
22import java.net.InetSocketAddress;
                    
23import java.util.ArrayList;
                    
24import java.util.Iterator;
                    
24import java.util.Iterator;
                    
25import java.util.List;
                    
26import java.util.Map.Entry;
                    
27
                    
28import org.apache.avro.AvroRuntimeException;
                    
29import org.apache.commons.logging.Log;
                    
29import org.apache.commons.logging.Log;
                    
30import org.apache.commons.logging.LogFactory;
                    
31import org.apache.hadoop.NodeHealthCheckerService;
                    
                
 

Source

Language