Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 822 for LENGTH (0.14 sec)

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

                return a;
            }
            if (a.length == 0) {
                return b;
            }
            if (b.length == 0) {
                return a;
            }
            final boolean[] array = (boolean[]) Array.newInstance(boolean.class, a.length + b.length);
            System.arraycopy(a, 0, array, 0, a.length);
            System.arraycopy(b, 0, array, a.length, b.length);
            return array;
        }
    
        /**
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/Bytes.java

       */
      public static byte[] concat(byte[]... arrays) {
        int length = 0;
        for (byte[] array : arrays) {
          length += array.length;
        }
        byte[] result = new byte[length];
        int pos = 0;
        for (byte[] array : arrays) {
          System.arraycopy(array, 0, result, pos, array.length);
          pos += array.length;
        }
        return result;
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/ByteSource.java

          offset = Math.min(offset, this.length);
          length = Math.min(length, this.length - offset);
          int newOffset = this.offset + (int) offset;
          return new ByteArrayByteSource(bytes, newOffset, (int) length);
        }
    
        @Override
        public String toString() {
          return "ByteSource.wrap("
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 26.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/Chars.java

       */
      public static char[] concat(char[]... arrays) {
        int length = 0;
        for (char[] array : arrays) {
          length += array.length;
        }
        char[] result = new char[length];
        int pos = 0;
        for (char[] array : arrays) {
          System.arraycopy(array, 0, result, pos, array.length);
          pos += array.length;
        }
        return result;
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/Floats.java

       */
      public static float[] concat(float[]... arrays) {
        int length = 0;
        for (float[] array : arrays) {
          length += array.length;
        }
        float[] result = new float[length];
        int pos = 0;
        for (float[] array : arrays) {
          System.arraycopy(array, 0, result, pos, array.length);
          pos += array.length;
        }
        return result;
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/Doubles.java

       */
      public static double[] concat(double[]... arrays) {
        int length = 0;
        for (double[] array : arrays) {
          length += array.length;
        }
        double[] result = new double[length];
        int pos = 0;
        for (double[] array : arrays) {
          System.arraycopy(array, 0, result, pos, array.length);
          pos += array.length;
        }
        return result;
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 27.1K bytes
    - Viewed (0)
  7. fastapi/params.py

                alias=alias,
                title=title,
                description=description,
                gt=gt,
                ge=ge,
                lt=lt,
                le=le,
                min_length=min_length,
                max_length=max_length,
                discriminator=discriminator,
                multiple_of=multiple_of,
                allow_nan=allow_inf_nan,
                max_digits=max_digits,
                decimal_places=decimal_places,
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 27.5K bytes
    - Viewed (1)
  8. src/test/java/jcifs/tests/ReadWriteTest.java

        private void runReadWriteTest ( int bufSize, long length ) throws MalformedURLException, UnknownHostException, SmbException, IOException {
            try ( SmbFile f = createTestFile() ) {
                try {
                    try ( OutputStream os = f.getOutputStream() ) {
                        writeRandom(bufSize, length, os);
                    }
    
                    assertEquals("File size matches", length, f.length());
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 13.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/Ints.java

        checkNotNull(array);
        checkPositionIndexes(fromIndex, toIndex, array.length);
        if (array.length <= 1) {
          return;
        }
    
        int length = toIndex - fromIndex;
        // Obtain m = (-distance mod length), a non-negative value less than "length". This is how many
        // places left to rotate.
        int m = -distance % length;
        m = (m < 0) ? m + length : m;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/tests/RandomAccessFileTest.java

        /**
         * @param bufSize
         * @param length
         * @param is
         * @throws IOException
         */
        static void verifyRandom ( int bufSize, long length, SmbRandomAccess is ) throws IOException {
            long start = System.currentTimeMillis();
            byte buffer[] = new byte[bufSize];
            long p = 0;
            Random r = ReadWriteTest.getRandom();
            while ( p < length ) {
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 11.4K bytes
    - Viewed (0)
Back to top