Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 73 for ArrayCopy (0.25 sec)

  1. src/main/java/org/codelibs/core/collection/ArrayUtil.java

                return a;
            }
            @SuppressWarnings("unchecked")
            final T[] array = (T[]) Array.newInstance(a.getClass().getComponentType(), a.length + b.length);
            System.arraycopy(a, 0, array, 0, a.length);
            System.arraycopy(b, 0, array, a.length, b.length);
            return array;
        }
    
        /**
         * 二つの配列を連結した配列を返します。
         * <p>
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/ModelPath.java

                return this;
            }
    
            String[] descendantComponents = new String[components.length + path.components.length];
            arraycopy(components, 0, descendantComponents, 0, components.length);
            arraycopy(path.components, 0, descendantComponents, components.length, path.components.length);
    
            return path(this.path + "." + path.getPath(), descendantComponents);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  3. 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)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java

        Object[] array = new Object[paramCount + others.length];
        arrayCopy(array, 0, e1, e2, e3, e4, e5, e6, e7, e8, e9, e10, e11, e12);
        arrayCopy(array, paramCount, others);
        return new RegularImmutableList<E>(ImmutableList.<E>nullCheckedList(array));
      }
    
      private static void arrayCopy(Object[] dest, int pos, Object... source) {
        System.arraycopy(source, 0, dest, pos, source.length);
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 08 03:01:02 UTC 2024
    - 11K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/http2/Hpack.kt

                bytesToRecover -= toEvict.hpackSize
                dynamicTableByteCount -= toEvict.hpackSize
                headerCount--
                entriesToEvict++
                j--
              }
              System.arraycopy(
                dynamicTable,
                nextHeaderIndex + 1,
                dynamicTable,
                nextHeaderIndex + 1 + entriesToEvict,
                headerCount,
              )
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/ByteSourceTest.java

            new ByteProcessor<byte[]>() {
              int pos;
    
              @Override
              public boolean processBytes(byte[] buf, int off, int len) throws IOException {
                System.arraycopy(buf, off, processedBytes, pos, len);
                pos += len;
                return true;
              }
    
              @Override
              public byte[] getResult() {
                return processedBytes;
              }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  7. platforms/core-runtime/io/src/test/groovy/org/gradle/internal/io/StreamByteBufferTest.groovy

            given:
            def byteBuffer = new StreamByteBuffer(chunkSize)
            def byteArrayInputStream = new ByteArrayInputStream(testbuffer)
            byte[] testBufferPart = new byte[limit]
            System.arraycopy(testbuffer, 0, testBufferPart, 0, limit)
    
            when:
            byteBuffer.readFrom(byteArrayInputStream, limit)
    
            then:
            byteBuffer.totalBytesUnread() == limit
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 13:06:08 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  8. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/ImmutableActionSet.java

                    Action<? super T>[] newActions = Cast.uncheckedNonnullCast(new Action<?>[source.actions.length + 1]);
                    newActions[0] = singleAction;
                    System.arraycopy(source.actions, 0, newActions, 1, source.actions.length);
                    return new SetWithFewActions<T>(newActions);
                }
                return plus(this, source);
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 11K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top