- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for getbufvar (0.18 sec)
-
src/main/java/jcifs/dcerpc/DcerpcHandle.java
if ( this.state == 0 ) { bind(); } byte[] inB = this.transportContext.getBufferCache().getBuffer(); byte[] out = this.transportContext.getBufferCache().getBuffer(); try { NdrBuffer buf = encodeMessage(msg, out); int off = sendFragments(msg, out, buf);
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jun 30 10:11:57 GMT 2019 - 12.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java
this.index = index; } public int getCapacity() { return buf.length - start; } public int getTailSpace() { return buf.length - index; } public byte[] getBuffer() { return buf; } public int align(int boundary, byte value) { int n = align(boundary); int i = n; while (i > 0) { buf[index - i] = value; i--;
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 20:39:42 GMT 2019 - 6.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/BufferCacheImpl.java
this.cache = new Object[maxBuffers]; this.bufferSize = maxSize; } /** * {@inheritDoc} * * @see jcifs.BufferCache#getBuffer() */ @Override public byte[] getBuffer () { synchronized ( this.cache ) { byte[] buf; if ( this.freeBuffers > 0 ) { for ( int i = 0; i < this.cache.length; i++ ) {
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jan 24 11:40:34 GMT 2021 - 2.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportImpl.java
@Override protected void doSend ( Request request ) throws IOException { CommonServerMessageBlock smb = (CommonServerMessageBlock) request; 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);
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/dcerpc/ndr/NdrBuffer.java
public int getCapacity () { return this.buf.length - this.start; } public int getTailSpace () { return this.buf.length - this.index; } public byte[] getBuffer () { return this.buf; } public int align ( int boundary, byte value ) { int n = align(boundary); int i = n; while ( i > 0 ) {
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 6.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 8.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/BufferCache.java
return buf; } } static void getBuffers( SmbComTransaction req, SmbComTransactionResponse rsp ) { synchronized( cache ) { req.txn_buf = getBuffer(); rsp.txn_buf = getBuffer(); } } static public void releaseBuffer( byte[] buf ) { synchronized( cache ) { if (freeBuffers < MAX_BUFFERS) {
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 2.2K bytes - Viewed (0) -
src/main/java/jcifs/BufferCache.java
* * @author mbechler * @internal */ public interface BufferCache { /** * * @return a buffer from the cache, or a new one */ byte[] getBuffer (); /** * Return a buffer to the cache * * @param buf */ void releaseBuffer ( byte[] buf );
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 1.1K bytes - Viewed (0)