Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 236 for ArrayCopy (0.23 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbComSessionSetupAndX.java

            int start = dstIndex;
    
            if (blob != null) {
                System.arraycopy(blob, 0, dst, dstIndex, blob.length );
                dstIndex += blob.length;
            } else {
                System.arraycopy( lmHash, 0, dst, dstIndex, lmHash.length );
                dstIndex += lmHash.length;
                System.arraycopy( ntHash, 0, dst, dstIndex, ntHash.length );
                dstIndex += ntHash.length;
        
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 7.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ObjectArrays.java

      public static <T extends @Nullable Object> T[] concat(
          T[] first, T[] second, Class<@NonNull T> type) {
        T[] result = newArray(type, first.length + second.length);
        System.arraycopy(first, 0, result, 0, first.length);
        System.arraycopy(second, 0, result, first.length, second.length);
        return result;
      }
    
      /**
       * Returns a new array that prepends {@code element} to {@code array}.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 12 15:59:22 UTC 2023
    - 9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/Smb3KeyDerivation.java

            // all fixed inputs go into the suffix:
            // + label
            System.arraycopy(label, 0, suffix, 0, label.length);
            // + 1 byte 0x00
            // + context
            System.arraycopy(context, 0, suffix, label.length + 1, context.length);
            // + 4 byte (== r bits) big endian encoding of L
            suffix[ suffix.length - 1 ] = (byte) 128;
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/fscc/FileRenameInformation2.java

            bufferIndex += 8;
            bufferIndex += 8;
    
            int nameLen = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            byte[] nameBytes = new byte[nameLen];
            System.arraycopy(buffer, bufferIndex, nameBytes, 0, nameBytes.length);
            bufferIndex += nameLen;
            this.fileName = new String(nameBytes, StandardCharsets.UTF_16LE);
            return bufferIndex - start;
        }
    
    
        /**
    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/smb2/nego/PreauthIntegrityNegotiateContext.java

                    SMBUtil.writeInt2(hashAlgo, dst, dstIndex);
                    dstIndex += 2;
                }
            }
    
            if ( this.salt != null ) {
                System.arraycopy(this.salt, 0, dst, dstIndex, this.salt.length);
                dstIndex += this.salt.length;
            }
    
            return dstIndex - start;
        }
    
    
        /**
         * {@inheritDoc}
         *
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ObjectArrays.java

      public static <T extends @Nullable Object> T[] concat(
          T[] first, T[] second, Class<@NonNull T> type) {
        T[] result = newArray(type, first.length + second.length);
        System.arraycopy(first, 0, result, 0, first.length);
        System.arraycopy(second, 0, result, first.length, second.length);
        return result;
      }
    
      /**
       * Returns a new array that prepends {@code element} to {@code array}.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 12 15:59:22 UTC 2023
    - 9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/settings/BadWordSettings.java

            if (defaultWords == null) {
                updateDefaultBadwords();
            }
            final String[] concat = new String[defaultWords.length + badWords.length];
            System.arraycopy(badWords, 0, concat, 0, badWords.length);
            System.arraycopy(defaultWords, 0, concat, badWords.length, defaultWords.length);
            return concat;
        }
    
        public void add(final String badWord) {
            if (logger.isDebugEnabled()) {
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java

            }
            return n;
        }
    
    
        public void writeOctetArray ( byte[] b, int i, int l ) {
            System.arraycopy(b, i, this.buf, this.index, l);
            advance(l);
        }
    
    
        public void readOctetArray ( byte[] b, int i, int l ) {
            System.arraycopy(this.buf, this.index, b, i, l);
            advance(l);
        }
    
    
        public int getLength () {
            return this.deferred.length;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java

                i--;
            }
            return n;
        }
        public void writeOctetArray(byte[] b, int i, int l) {
            System.arraycopy(b, i, buf, index, l);
            advance(l);
        }
        public void readOctetArray(byte[] b, int i, int l) {
            System.arraycopy(buf, index, b, i, l);
            advance(l);
        }
    
    
        public int getLength() {
            return deferred.length;
        }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 6.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/pac/kerberos/KerberosEncData.java

            byte[] result;
            result = cipher.doFinal(data);
    
            decrypt = new byte[result.length];
            System.arraycopy(result, 0, decrypt, 0, result.length);
    
            int tempSize = decrypt.length - 24;
    
            byte[] output = new byte[tempSize];
            System.arraycopy(decrypt, 24, output, 0, tempSize);
    
            decrypt = output;
            return decrypt;
        }
    
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Mon Oct 02 12:02:06 UTC 2023
    - 11.4K bytes
    - Viewed (0)
Back to top