Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 841 - 850 of 1,628 for _arrays (0.14 seconds)

  1. android/guava-tests/test/com/google/common/primitives/ShortArrayAsListTest.java

          return new SampleShorts();
        }
    
        @Override
        public List<Short> create(Object... elements) {
          Short[] array = new Short[elements.length];
          short i = 0;
          for (Object e : elements) {
            array[i++] = (Short) e;
          }
          return create(array);
        }
    
        /**
         * Creates a new collection containing the given elements; implement this method instead of
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/primitives/CharArrayAsListTest.java

          return new SampleChars();
        }
    
        @Override
        public List<Character> create(Object... elements) {
          Character[] array = new Character[elements.length];
          int i = 0;
          for (Object e : elements) {
            array[i++] = (Character) e;
          }
          return create(array);
        }
    
        /**
         * Creates a new collection containing the given elements; implement this method instead of
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/primitives/ShortArrayAsListTest.java

          return new SampleShorts();
        }
    
        @Override
        public List<Short> create(Object... elements) {
          Short[] array = new Short[elements.length];
          short i = 0;
          for (Object e : elements) {
            array[i++] = (Short) e;
          }
          return create(array);
        }
    
        /**
         * Creates a new collection containing the given elements; implement this method instead of
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

        /**
         * <p>Checks if the value is in the given array.</p>
         *
         * <p>The method returns <code>false</code> if a <code>null</code> array is passed in.</p>
         *
         * @param array  the array to search through
         * @param valueToFind  the value to find
         * @return <code>true</code> if the array contains the object
         */
        public static boolean contains(char[] array, char valueToFind) {
            if (array == null) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 38.4K bytes
    - Click Count (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/props/MavenProperties.java

        /**
         * <p>Checks if the value is in the given array.</p>
         *
         * <p>The method returns <code>false</code> if a <code>null</code> array is passed in.</p>
         *
         * @param array  the array to search through
         * @param valueToFind  the value to find
         * @return <code>true</code> if the array contains the object
         */
        public static boolean contains(char[] array, char valueToFind) {
            if (array == null) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Oct 16 09:03:48 GMT 2025
    - 38.5K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/core/io/FileUtil.java

         * @return A byte array containing the contents of the file.
         * @throws IORuntimeException if the file is larger than {@value #MAX_BUF_SIZE} bytes
         */
        public static byte[] readBytes(final File file) {
            return readBytes(file, MAX_BUF_SIZE);
        }
    
        /**
         * Reads the contents of a file into a byte array and returns it with a custom size limit.
         * <p>
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Feb 12 12:10:45 GMT 2026
    - 13.2K bytes
    - Click Count (0)
  7. src/main/java/jcifs/util/ServerResponseValidator.java

            }
    
            // Check total memory allocation
            long totalSize = (long) size * (long) elementSize;
            long maxAllocation = 100 * 1024 * 1024; // 100MB max
    
            if (totalSize > maxAllocation) {
                failedValidations.incrementAndGet();
                log.warn("Array allocation too large: {} bytes", totalSize);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/TestStringListMultimapGenerator.java

        @SuppressWarnings("unchecked")
        Entry<String, String>[] array = (Entry<String, String>[]) new Entry<?, ?>[entries.length];
        int i = 0;
        for (Object o : entries) {
          @SuppressWarnings("unchecked")
          Entry<String, String> e = (Entry<String, String>) o;
          array[i++] = e;
        }
        return create(array);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 3K bytes
    - Click Count (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/TestStringSetMultimapGenerator.java

        @SuppressWarnings("unchecked")
        Entry<String, String>[] array = (Entry<String, String>[]) new Entry<?, ?>[entries.length];
        int i = 0;
        for (Object o : entries) {
          @SuppressWarnings("unchecked")
          Entry<String, String> e = (Entry<String, String>) o;
          array[i++] = e;
        }
        return create(array);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 3K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

            return read(b, 0, b.length);
        }
    
        /**
         * Reads up to len bytes from the file into the specified byte array.
         *
         * @param b the byte array to read data into
         * @param off the offset in the array at which to start storing bytes
         * @param len the maximum number of bytes to read
         * @return the number of bytes read, or -1 if end of file is reached
         * @throws SmbException if an I/O error occurs
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 14.1K bytes
    - Click Count (0)
Back to Top