Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 100 for ArrayCopy (0.2 sec)

  1. guava/src/com/google/common/collect/ImmutableList.java

        array[3] = e4;
        array[4] = e5;
        array[5] = e6;
        array[6] = e7;
        array[7] = e8;
        array[8] = e9;
        array[9] = e10;
        array[10] = e11;
        array[11] = e12;
        System.arraycopy(others, 0, array, 12, others.length);
        return construct(array);
      }
    
      /**
       * Returns an immutable list containing the given elements, in order. If {@code elements} is a
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 08 03:01:02 UTC 2024
    - 29.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

            loc.dfsReferral = this.dfsReferral;
            loc.unc = this.unc;
            if ( this.addresses != null ) {
                loc.addresses = new UniAddress[this.addresses.length];
                System.arraycopy(this.addresses, 0, loc.addresses, 0, this.addresses.length);
            }
            loc.addressIndex = this.addressIndex;
            loc.type = this.type;
            return loc;
        }
    
    
        /**
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sat Jul 20 08:24:53 UTC 2019
    - 23.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableCollection.java

        }
    
        final void addAll(@Nullable Object[] elements, int n) {
          checkElementsNotNull(elements, n);
          getReadyToExpandTo(size + n);
          /*
           * The following call is not statically checked, since arraycopy accepts plain Object for its
           * parameters. If it were statically checked, the checker would still be OK with it, since
           * we're copying into a `contents` array whose type allows it to contain nulls. Still, it's
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/collection/ArrayMap.java

         */
        protected Entry<K, V> removeList(final int index) {
            final Entry<K, V> e = listTable[index];
            final int numMoved = size - index - 1;
            if (numMoved > 0) {
                System.arraycopy(listTable, index + 1, listTable, index, numMoved);
            }
            listTable[--size] = null;
            return e;
        }
    
        /**
         * サイズが閾値を超えた場合に容量を確保します。
         */
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/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.smb1.util.Encdec.enc_uint32le(sid.sub_authority[ii], dst, di);
                di += 4;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 26.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandler.java

            }
            final String[] oldArray = elementsText.get(name);
            final String[] newArray;
            if (oldArray != null) {
                newArray = new String[oldArray.length + 1];
                System.arraycopy(oldArray, 0, newArray, 0, oldArray.length);
                newArray[oldArray.length] = value;
            } else {
                newArray = new String[] { value };
            }
            elementsText.put(name, newArray);
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/escape/Escapers.java

            int loCount = loChars != null ? loChars.length : 1;
            char[] output = new char[hiCount + loCount];
            if (hiChars != null) {
              // TODO: Is this faster than System.arraycopy() for small arrays?
              for (int n = 0; n < hiChars.length; ++n) {
                output[n] = hiChars[n];
              }
            } else {
              output[0] = surrogateChars[0];
            }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 26 20:07:17 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/escape/Escapers.java

            int loCount = loChars != null ? loChars.length : 1;
            char[] output = new char[hiCount + loCount];
            if (hiChars != null) {
              // TODO: Is this faster than System.arraycopy() for small arrays?
              for (int n = 0; n < hiChars.length; ++n) {
                output[n] = hiChars[n];
              }
            } else {
              output[0] = surrogateChars[0];
            }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 26 20:07:17 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SpnegoContext.java

            byte[] b = new byte[len];
            if ( off == 0 && token.length == len ) {
                b = token;
            }
            else {
                System.arraycopy(token, off, b, 0, len);
            }
            return getToken(b);
        }
    
    
        private static SpnegoToken getToken ( byte[] token ) throws SpnegoException {
            SpnegoToken spnegoToken = null;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Mon Jan 04 04:18:31 UTC 2021
    - 14.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ArrayTable.java

        @SuppressWarnings("unchecked")
        @Nullable
        V[][] copy = (@Nullable V[][]) new Object[rowList.size()][columnList.size()];
        array = copy;
        for (int i = 0; i < rowList.size(); i++) {
          System.arraycopy(table.array[i], 0, copy[i], 0, table.array[i].length);
        }
      }
    
      private abstract static class ArrayMap<K, V extends @Nullable Object>
          extends IteratorBasedAbstractMap<K, V> {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 26.9K bytes
    - Viewed (0)
Back to top