Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 195 for arrayCopy (0.08 sec)

  1. src/main/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponse.java

            bufferIndex += 4;
            this.messageLength = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            this.data = new byte[len - 16];
            if ( this.data.length > 0 ) {
                System.arraycopy(buffer, bufferIndex, this.data, 0, this.data.length);
            }
            return bufferIndex - start;
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 2.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/TransTransactNamedPipe.java

            if(( dst.length - dstIndex ) < pipeDataLen ) {
                if( log.level >= 3 )
                    log.println( "TransTransactNamedPipe data too long for buffer" );
                return 0;
            }
            System.arraycopy( pipeData, pipeDataOff, dst, dstIndex, pipeDataLen );
            return pipeDataLen;
        }
        int readParametersWireFormat( byte[] buffer, int bufferIndex, int len ) {
            return 0;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/io/Smb2ReadResponse.java

            if ( this.dataLength + this.outputBufferOffset > this.outputBuffer.length ) {
                throw new SMBProtocolDecodingException("Buffer to small for read response");
            }
            System.arraycopy(buffer, dataStart, this.outputBuffer, this.outputBufferOffset, this.dataLength);
            bufferIndex = Math.max(bufferIndex, dataStart + this.dataLength);
            return bufferIndex - start;
        }
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 07:13:17 UTC 2018
    - 3.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/ntlmssp/Type1Message.java

                            0xffffffff);
                }
                byte[] type1 = new byte[hostInfo ?
                        (32 + domain.length + workstation.length) : 16];
                System.arraycopy(NTLMSSP_SIGNATURE, 0, type1, 0, 8);
                writeULong(type1, 8, 1);
                writeULong(type1, 12, flags);
                if (hostInfo) {
                    writeSecurityBuffer(type1, 16, 32, domain);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/NetServerEnum2.java

            } catch( UnsupportedEncodingException uee ) {
                return 0;
            }
    
            writeInt2( subCommand & 0xFF, dst, dstIndex );
            dstIndex += 2;
            System.arraycopy( descr, 0, dst, dstIndex, descr.length );
            dstIndex += descr.length;
            writeInt2( 0x0001, dst, dstIndex );
            dstIndex += 2;
            writeInt2( maxDataCount, dst, dstIndex );
            dstIndex += 2;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 3.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/lock/Smb2LockRequest.java

            dstIndex += 4;
            SMBUtil.writeInt4( ( ( this.lockSequenceNumber & 0xF ) << 28 ) | ( this.lockSequenceIndex & 0x0FFFFFFF ), dst, dstIndex);
            dstIndex += 4;
            System.arraycopy(this.fileId, 0, dst, dstIndex, 16);
            dstIndex += 16;
    
            for ( Smb2Lock l : this.locks ) {
                dstIndex += l.encode(dst, dstIndex);
            }
            return dstIndex - start;
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/trans/TransCallNamedPipe.java

            if ( ( dst.length - dstIndex ) < this.pipeDataLen ) {
                log.debug("TransCallNamedPipe data too long for buffer");
                return 0;
            }
            System.arraycopy(this.pipeData, this.pipeDataOff, dst, dstIndex, this.pipeDataLen);
            return this.pipeDataLen;
        }
    
    
        @Override
        protected int readParametersWireFormat ( byte[] buffer, int bufferIndex, int len ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/trans/TransTransactNamedPipe.java

            if ( ( dst.length - dstIndex ) < this.pipeDataLen ) {
                log.debug("TransTransactNamedPipe data too long for buffer");
                return 0;
            }
            System.arraycopy(this.pipeData, this.pipeDataOff, dst, dstIndex, this.pipeDataLen);
            return this.pipeDataLen;
        }
    
    
        @Override
        protected int readParametersWireFormat ( byte[] buffer, int bufferIndex, int len ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/SourceSinkFactories.java

          if (initialBytes == null) {
            return checkNotNull(bytes);
          } else {
            byte[] result = new byte[initialBytes.length + bytes.length];
            System.arraycopy(initialBytes, 0, result, 0, initialBytes.length);
            System.arraycopy(bytes, 0, result, initialBytes.length, bytes.length);
            return result;
          }
        }
    
        @Override
        public byte[] getSinkContents() throws IOException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java

            if ( this.parameterCount > 0 ) {
                System.arraycopy(this.txn_buf, this.bufParameterOffset, dst, this.headerStart + this.parameterOffset, this.parameterCount);
                end = Math.max(end, this.headerStart + this.parameterOffset + this.parameterCount + this.pad2);
            }
    
            if ( this.dataCount > 0 ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun May 17 13:43:42 UTC 2020
    - 13.2K bytes
    - Viewed (0)
Back to top