- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for buffer (0.71 sec)
-
src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponse.java
@Override protected int readBytesWireFormat ( byte[] buffer, int bufferIndex ) throws SMBProtocolDecodingException { int start = bufferIndex; int structureSize = SMBUtil.readInt2(buffer, bufferIndex); if ( structureSize != 16 ) { throw new SMBProtocolDecodingException("Structure size is not 16"); } this.shareType = buffer[ bufferIndex + 2 ]; bufferIndex += 4;
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Mon May 23 14:35:20 GMT 2022 - 6.1K bytes - Viewed (0) -
src/test/java/jcifs/tests/EnumTest.java
// this cannot be reproduced against samba, samba always subtracts // 8 bytes from the output buffer length, probably to mitigate // against this issue public void testEnumBufferSize () throws IOException { CIFSContext ctx = getContext(); int origBufferSize = ctx.getConfig().getMaximumBufferSize(); // odd buffer size that does match the alignment int tryBufferSize = 1023;
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Thu Jan 05 13:09:03 GMT 2023 - 25.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportImpl.java
byte[] buffer = this.getContext().getBufferCache().getBuffer(); try { // synchronize around encode and write so that the ordering for SMB1 signing can be maintained synchronized ( this.outLock ) { int n = smb.encode(buffer, 4); Encdec.enc_uint32be(n & 0xFFFF, buffer, 0); /* 4 byte session message header */
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Wed Jan 18 23:47:00 GMT 2023 - 67K bytes - Viewed (0) -
src/main/java/jcifs/Configuration.java
* * @return receive buffer size, in bytes * @deprecated use getReceiveBufferSize instead */ @Deprecated int getRecieveBufferSize (); /** * * Property <tt>jcifs.smb.client.rcv_buf_size</tt> (int, default 65535) * * @return receive buffer size, in bytes */ int getReceiveBufferSize (); /**
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Thu Jan 05 13:06:39 GMT 2023 - 18K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java
*/ @Override public int decode ( byte[] buffer, int bufferIndex ) throws SMBProtocolDecodingException { int start = this.headerStart = bufferIndex; bufferIndex += readHeaderWireFormat(buffer, bufferIndex); bufferIndex += readAndXWireFormat(buffer, bufferIndex); int len = bufferIndex - start; this.length = len;
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Mon Nov 28 10:56:27 GMT 2022 - 14.3K bytes - Viewed (0) -
src/main/java/jcifs/util/Strings.java
} /** * @param buffer * @param bufferIndex * @param maxLen * @return position of terminating null bytes */ public static int findUNITermination ( byte[] buffer, int bufferIndex, int maxLen ) { int len = 0; while ( buffer[ bufferIndex + len ] != (byte) 0x00 || buffer[ bufferIndex + len + 1 ] != (byte) 0x00 ) { len += 2;
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Mon Mar 13 12:00:57 GMT 2023 - 4.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFile.java
} WriterThread w = new WriterThread(); w.setDaemon(true); try { w.start(); // use commonly acceptable buffer size int bsize = Math.min(sh.getReceiveBufferSize() - 70, dh.getSendBufferSize() - 70); byte[][] b = new byte[2][bsize]; copyRecursive(dest, b, bsize, w, sh, dh);
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Mon Mar 13 12:00:57 GMT 2023 - 81.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFile.java
* incorrect. To handle this properly it is necessary * to redirect the tree to the target server first before * establishing buffer size. These exists() calls facilitate * that. */ resolveDfs(null); /* It is invalid for the source path to be a child of the destination
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Mon Mar 13 12:00:57 GMT 2023 - 107.9K bytes - Viewed (2)