Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 194 for arraycopy (0.21 sec)

  1. guava-testlib/src/com/google/common/collect/testing/TestMapEntrySetGenerator.java

        return SampleElements.mapEntries(keys, values);
      }
    
      @Override
      public Set<Entry<K, V>> create(Object... elements) {
        Entry<K, V>[] entries = createArray(elements.length);
        System.arraycopy(elements, 0, entries, 0, elements.length);
        return createFromEntries(entries);
      }
    
      public abstract Set<Entry<K, V>> createFromEntries(Entry<K, V>[] entries);
    
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndX.java

                if ( isExternalAuth(pwAuth) ) {
                    dst[ dstIndex++ ] = (byte) 0x00;
                }
                else {
                    System.arraycopy(this.password, 0, dst, dstIndex, this.passwordLength);
                    dstIndex += this.passwordLength;
                }
            }
            else {
                // no password in tree connect
    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)
  3. src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequest.java

            dst[ dstIndex + 3 ] = this.queryFlags;
            dstIndex += 4;
            SMBUtil.writeInt4(this.fileIndex, dst, dstIndex);
            dstIndex += 4;
            System.arraycopy(this.fileId, 0, dst, dstIndex, 16);
            dstIndex += 16;
    
            int fnOffsetOffset = dstIndex;
            int fnLengthOffset = dstIndex + 2;
            dstIndex += 4;
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 14 10:41:31 GMT 2021
    - 6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/ntlmssp/NtlmMessage.java

        static byte[] readSecurityBuffer ( byte[] src, int index ) {
            int length = readUShort(src, index);
            int offset = readULong(src, index + 4);
            byte[] buffer = new byte[length];
            System.arraycopy(src, offset, buffer, 0, length);
            return buffer;
        }
    
    
        static void writeULong ( byte[] dest, int offset, int ulong ) {
            dest[ offset ] = (byte) ( ulong & 0xff );
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 5.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopy.java

        /**
         * {@inheritDoc}
         *
         * @see jcifs.Encodable#encode(byte[], int)
         */
        @Override
        public int encode ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
    
            System.arraycopy(this.sourceKey, 0, dst, dstIndex, 24);
            dstIndex += 24;
    
            SMBUtil.writeInt4(this.chunks.length, dst, dstIndex);
            dstIndex += 4;
    
            dstIndex += 4; // Reserved
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/text/Tokenizer.java

            if ((peekct & CT_ALPHA) != 0) {
                int i = 0;
                do {
                    if (i >= buf.length) {
                        final char[] nb = new char[buf.length * 2];
                        System.arraycopy(buf, 0, nb, 0, buf.length);
                        buf = nb;
                    }
                    buf[i++] = (char) peekc;
                    peekc = read();
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponse.java

            }
            bufferIndex += 4;
            this.ctlCode = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
            this.fileId = new byte[16];
            System.arraycopy(buffer, bufferIndex, this.fileId, 0, 16);
            bufferIndex += 16;
    
            int inputOffset = SMBUtil.readInt4(buffer, bufferIndex) + getHeaderStart();
            bufferIndex += 4;
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Aug 05 09:45:59 GMT 2018
    - 7.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/escape/CharEscaper.java

            s.getChars(lastEscape, index, dest, destIndex);
            destIndex += charsSkipped;
          }
    
          // Copy the replacement string into the dest buffer as needed.
          if (rlen > 0) {
            System.arraycopy(r, 0, dest, destIndex, rlen);
            destIndex += rlen;
          }
          lastEscape = index + 1;
        }
    
        // Copy leftover characters if there are any.
        int charsLeft = slen - lastEscape;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 6.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequest.java

         */
        @Override
        public int encode ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
    
            SMBUtil.writeInt4(this.capabilities, dst, dstIndex);
            dstIndex += 4;
    
            System.arraycopy(this.clientGuid, 0, dst, dstIndex, 16);
            dstIndex += 16;
    
            SMBUtil.writeInt2(this.securityMode, dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeInt2(this.dialects.length, dst, dstIndex);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponse.java

            if ( len > this.outputBuffer.length ) {
                throw new SMBProtocolDecodingException("Payload exceeds buffer size");
            }
            System.arraycopy(buffer, bufferIndex, this.outputBuffer, 0, len);
            return len;
    
        }
    
    
        @Override
        public String toString () {
            return new String("TransTransactNamedPipeResponse[" + super.toString() + "]");
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Apr 13 17:05:22 GMT 2020
    - 2.5K bytes
    - Viewed (0)
Back to top