- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 296 for read (0.38 sec)
-
src/main/java/jcifs/smb1/smb1/TransactNamedPipeInputStream.java
result = pipe_buf[beg_idx] & 0xFF; beg_idx = ( beg_idx + 1 ) % pipe_buf.length; } return result; } public int read( byte[] b ) throws IOException { return read( b, 0, b.length ); } public int read( byte[] b, int off, int len ) throws IOException { int result = -1; int i; if( len <= 0 ) { return 0; }
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 4.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbCopyUtil.java
} w.checkException(); if ( read <= 0 ) { break; } w.write(b[ i ], read, fos); } i = i == 1 ? 0 : 1; off += read; } if ( log.isDebugEnabled() ) {
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Tue Jul 07 10:52:42 GMT 2020 - 17.1K bytes - Viewed (0) -
src/main/java/jcifs/netbios/Lmhosts.java
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 6.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/SocketInputStream.java
} public synchronized int read() throws IOException { if( read( tmp, 0, 1 ) < 0 ) { return -1; } return tmp[0] & 0xFF; } public synchronized int read( byte[] b ) throws IOException { return read( b, 0, b.length ); } /* This method will not return until len bytes have been read * or the stream has been closed. */
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 20:39:42 GMT 2019 - 3.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbConstants.java
static final int ATTR_TEMPORARY = 0x100; // access mask encoding static final int FILE_READ_DATA = 0x00000001; // 1 static final int FILE_WRITE_DATA = 0x00000002; // 2 static final int FILE_APPEND_DATA = 0x00000004; // 3 static final int FILE_READ_EA = 0x00000008; // 4 static final int FILE_WRITE_EA = 0x00000010; // 5
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 8.4K bytes - Viewed (0) -
src/main/java/jcifs/pac/ASN1Util.java
int ftag = in.read(); int tag = readTagNumber(in, ftag); if ( tag != expectTag ) { throw new IOException("Unexpected tag " + tag); } int length = readLength(in, limit, false); byte[] content = new byte[length]; in.read(content); return content; }
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Mon Oct 02 12:02:06 GMT 2023 - 6.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComOpenAndX.java
// Access Mode Encoding for desiredAccess private static final int SHARING_COMPATIBILITY = 0x00; private static final int SHARING_DENY_READ_WRITE_EXECUTE = 0x10; private static final int SHARING_DENY_WRITE = 0x20; private static final int SHARING_DENY_READ_EXECUTE = 0x30; private static final int SHARING_DENY_NONE = 0x40; private static final int DO_NOT_CACHE = 0x1000; // bit 12
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 5.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/SessionRetargetResponsePacket.java
return 0; } int readTrailerWireFormat( InputStream in, byte[] buffer, int bufferIndex ) throws IOException { if( in.read( buffer, bufferIndex, length ) != length ) { throw new IOException( "unexpected EOF reading netbios retarget session response" ); } int addr = readInt4( buffer, bufferIndex ); bufferIndex += 4;
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 20:39:42 GMT 2019 - 1.8K bytes - Viewed (0) -
src/test/java/jcifs/tests/OplockTests.java
int flags = SmbConstants.O_CREAT; int sharing = SmbConstants.FILE_SHARE_DELETE | SmbConstants.FILE_SHARE_READ | SmbConstants.FILE_SHARE_WRITE; int access = SmbConstants.FILE_READ_DATA | SmbConstants.FILE_READ_ATTRIBUTES | SmbConstants.FILE_WRITE_ATTRIBUTES | SmbConstants.FILE_WRITE_DATA; int attrs = 0; int options = 0;
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Thu Jan 05 13:09:03 GMT 2023 - 6.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndX.java
ServerMessageBlock andx ) { super( andx ); this.path = name; command = SMB_COM_NT_CREATE_ANDX; desiredAccess = access; desiredAccess |= FILE_READ_DATA | FILE_READ_EA | FILE_READ_ATTRIBUTES; // extFileAttributes this.extFileAttributes = extFileAttributes; // shareAccess this.shareAccess = shareAccess; // createDisposition
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 6.6K bytes - Viewed (0)