Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 236 for ArrayCopy (0.2 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: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 2.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/TransCallNamedPipe.java

            if(( dst.length - dstIndex ) < pipeDataLen ) {
                if( log.level >= 3 )
                    log.println( "TransCallNamedPipe 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: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.6K bytes
    - Viewed (0)
  3. 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: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 3.5K bytes
    - Viewed (0)
  4. 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: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.1K bytes
    - Viewed (0)
  5. 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: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.1K 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: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXResponse.java

        }
    
    
        @Override
        protected int readBytesWireFormat ( byte[] buffer, int bufferIndex ) {
            int start = bufferIndex;
    
            if ( this.isExtendedSecurity() ) {
                System.arraycopy(buffer, bufferIndex, this.blob, 0, this.blob.length);
                bufferIndex += this.blob.length;
            }
    
            this.nativeOs = readString(buffer, bufferIndex);
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/RegularImmutableList.java

      int internalArrayStart() {
        return 0;
      }
    
      @Override
      int internalArrayEnd() {
        return array.length;
      }
    
      @Override
      int copyIntoArray(@Nullable Object[] dst, int dstOff) {
        System.arraycopy(array, 0, dst, dstOff, array.length);
        return dstOff + array.length;
      }
    
      // The fake cast to E is safe because the creation methods only allow E's
      @Override
      @SuppressWarnings("unchecked")
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Dec 15 20:19:12 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  9. platforms/core-runtime/daemon-services/src/main/java/org/gradle/internal/daemon/clientinput/StdInStream.java

            synchronized (lock) {
                waitForContent();
                if (readPos != buffer.length) {
                    int count = Math.min(length, buffer.length - readPos);
                    System.arraycopy(buffer, readPos, dest, offset, count);
                    readPos += count;
                    return count;
                } else {
                    // Closed
                    return -1;
                }
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:51:37 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  10. 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: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Aug 05 07:13:17 UTC 2018
    - 3.8K bytes
    - Viewed (0)
Back to top