Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 100 for ArrayCopy (0.19 sec)

  1. platforms/core-runtime/io/src/main/java/org/gradle/internal/io/StreamByteBuffer.java

                return false;
            }
    
            public void write(byte[] b, int off, int len) {
                System.arraycopy(b, off, buffer, used, len);
                used = used + len;
            }
    
            public void read(byte[] b, int off, int len) {
                System.arraycopy(buffer, pointer, b, off, len);
                pointer = pointer + len;
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 08:51:14 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  2. 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: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun May 17 13:43:42 UTC 2020
    - 13.2K bytes
    - Viewed (0)
  3. 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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 06 12:56:11 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/dcerpc/DcerpcHandle.java

                    // shouldn't happen if alloc_hint is correct or greater
                    byte[] tmp = new byte[off + stub_frag_len];
                    System.arraycopy(in, 0, tmp, 0, off);
                    in = tmp;
                }
                System.arraycopy(fragBytes, 24, in, off, stub_frag_len);
                off += stub_frag_len;
            }
            return in;
        }
    
    
        /**
         * @param fbuf
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jun 30 10:11:57 UTC 2019
    - 12.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

        checkArgument(
            rest.length <= Integer.MAX_VALUE - 1, "the total number of elements must fit in an int");
        long[] array = new long[rest.length + 1];
        array[0] = first;
        System.arraycopy(rest, 0, array, 1, rest.length);
        return new ImmutableLongArray(array);
      }
    
      /** Returns an immutable array containing the given values, in order. */
      public static ImmutableLongArray copyOf(long[] values) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 16:34:24 UTC 2023
    - 18.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParser.java

            final String[] roles = new String[roles1.length + roles2.length];
    
            if (roles1.length > 0) {
                System.arraycopy(roles1, 0, roles, 0, roles1.length);
            }
            if (roles2.length > 0) {
                System.arraycopy(roles2, 0, roles, roles1.length, roles2.length);
            }
    
            final List<SuggestItem> items = new ArrayList<>(fields.length);
            try {
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

            this.dialectRevision = SMBUtil.readInt2(buffer, bufferIndex);
            int negotiateContextCount = SMBUtil.readInt2(buffer, bufferIndex + 2);
            bufferIndex += 4;
    
            System.arraycopy(buffer, bufferIndex, this.serverGuid, 0, 16);
            bufferIndex += 16;
    
            this.capabilities = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Mar 22 10:09:46 UTC 2020
    - 17.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

                    if ((getFlags() & NTLMSSP_NEGOTIATE_SIGN) == NTLMSSP_NEGOTIATE_SIGN) {
                        byte[] sessionNonce = new byte[16];
                        System.arraycopy(type2.getChallenge(), 0, sessionNonce, 0, 8);
                        System.arraycopy(clientChallenge, 0, sessionNonce, 8, 8);
    
                        MD4 md4 = new MD4();
                        md4.update(responseKeyNT);
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 22.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SID.java

            byte[] dst = new byte[1 + 1 + 6 + sid.sub_authority_count * 4];
            int di = 0;
            dst[ di++ ] = sid.revision;
            dst[ di++ ] = sid.sub_authority_count;
            System.arraycopy(sid.identifier_authority, 0, dst, di, 6);
            di += 6;
            for ( int ii = 0; ii < sid.sub_authority_count; ii++ ) {
                jcifs.util.Encdec.enc_uint32le(sid.sub_authority[ ii ], dst, di);
                di += 4;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 14.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/primitives/ImmutableIntArray.java

        checkArgument(
            rest.length <= Integer.MAX_VALUE - 1, "the total number of elements must fit in an int");
        int[] array = new int[rest.length + 1];
        array[0] = first;
        System.arraycopy(rest, 0, array, 1, rest.length);
        return new ImmutableIntArray(array);
      }
    
      /** Returns an immutable array containing the given values, in order. */
      public static ImmutableIntArray copyOf(int[] values) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 16:34:24 UTC 2023
    - 20.9K bytes
    - Viewed (0)
Back to top