Code examples for FileDescriptor

Codota analyzed 7,668,838 open source code samples to find the most common, credible and clear examples.
You can now enable Codota on your own code to easily search and navigate your Java codebase.
81:	fd = new FileDescriptor(); 
82:	Platform.getNetworkSystem().createStreamSocket(fd, 
-
84:	impl = new PlainServerSocketImpl(fd); 
Full Snippet Info
6
CodeRank
108:	command.append(pipeFd != null ? pipeFd.getInt$() : 0); 
Full Snippet Info
6
CodeRank
53:	* FileChannelImpl doesn't close its fd itself; it calls close on the object it's given. 
54:	*/ 
-
107:	this.channel = new WriteOnlyFileChannel(new FdCloser(this.fd), fd); 
Full Snippet Info
6
CodeRank
53:	FileDescriptor result = new FileDescriptor(); 
54:	setFd(result, fd); 
Full Snippet Info
6
CodeRank
102:	final int errno = native_untagSocketFd(fd); 
-
104:	Log.w(TAG, "untagSocket(" + fd.getInt$() + ") failed with errno " + errno); 
Full Snippet Info
6
CodeRank
105:	command.append(pipeFd != null ? pipeFd.getInt$() : 0); 
Full Snippet Info
5
CodeRank
63:	if(fd.valid()) 
64:	fd.sync(); 
Full Snippet Info
5
CodeRank
35:	import org.apache.harmony.luni.platform.Platform; 
-
43:	private final FileDescriptor fd = new FileDescriptor(); 
Full Snippet Info
5
CodeRank
69:	FileDescriptor fileDescriptor = new FileDescriptor(); 
70:	nativeSetFD(fileDescriptor, mFd); 
Full Snippet Info
5
CodeRank
66:	fd = new FileDescriptor(); 
67:	create(fd, mProtocolType, mInterfaceName); 
Full Snippet Info
5
CodeRank
63:	this.fd = new java.io.FileDescriptor(); 
64:	setFDImpl(fd, handle); 
Full Snippet Info
5
CodeRank
335:	mutableSM.checkRead(new FileDescriptor()); 
Full Snippet Info
5
CodeRank
87:	fd = new FileDescriptor(); 
88:	networkSystem.socket(fd, false); 
Full Snippet Info
5
CodeRank
66:	fd = new FileDescriptor(); 
67:	create(fd, mProtocolType, mInterfaceName); 
Full Snippet Info
4
CodeRank
118:	fd = new FileDescriptor(); 
-
121:	networkSystem.socket(fd, true); 
Full Snippet Info
5
CodeRank
47:	FileDescriptor fd = new FileDescriptor(); 
Full Snippet Info
5
CodeRank
211:	new FileDescriptor())); 
Full Snippet Info
4
CodeRank
38:	fd.sync(); 
Full Snippet Info
5
CodeRank
80:	final int errno = native_tagSocketFd(fd, tag, uid); 
-
82:	Log.i(TAG, "tagSocketFd(" + fd.getInt$() + ", " 
Full Snippet Info
4
CodeRank
76:	fd = new FileDescriptor(); 
Full Snippet Info
5
CodeRank