Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 1,214 for _arrays (0.19 sec)

  1. src/test/java/jcifs/smb1/util/HexdumpTest.java

            char[] dst2 = new char[4];
            Hexdump.toHexChars(0xABCD, dst2, 0, 4);
            assertEquals("ABCD", new String(dst2));
    
            // Test with offset
            char[] dst3 = new char[10];
            java.util.Arrays.fill(dst3, 'X');
            Hexdump.toHexChars(0xFF, dst3, 2, 2);
            assertEquals("XXFFXXXXXX", new String(dst3));
    
            // Test long conversion
            char[] dst4 = new char[16];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java

      }
    
      static void testSort(long[] input, long[] expected) {
        input = Arrays.copyOf(input, input.length);
        UnsignedLongs.sort(input);
        assertThat(input).isEqualTo(expected);
      }
    
      static void testSort(long[] input, int from, int to, long[] expected) {
        input = Arrays.copyOf(input, input.length);
        UnsignedLongs.sort(input, from, to);
        assertThat(input).isEqualTo(expected);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/Platform.java

        return new LinkedHashSet<>();
      }
    
      static <T extends @Nullable Object> T[] newArray(T[] reference, int length) {
        T[] empty = reference.length == 0 ? reference : Arrays.copyOf(reference, 0);
        return Arrays.copyOf(empty, length);
      }
    
      /** Equivalent to Arrays.copyOfRange(source, from, to, arrayOfType.getClass()). */
      static <T extends @Nullable Object> T[] copy(Object[] source, int from, int to, T[] arrayOfType) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jun 10 15:17:16 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/reflect/AbstractInvocationHandler.java

     * the License.
     */
    
    package com.google.common.reflect;
    
    import java.lang.reflect.InvocationHandler;
    import java.lang.reflect.Method;
    import java.lang.reflect.Proxy;
    import java.util.Arrays;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Abstract implementation of {@link InvocationHandler} that handles {@link Object#equals}, {@link
     * Object#hashCode} and {@link Object#toString}. For example:
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java

        }
    
        /**
         * Gets the array of available searchers based on configuration.
         * Filters the searchers array to include only those specified in the available searcher name set.
         * If no specific searchers are configured, returns all searchers.
         *
         * @return array of available RankFusionSearcher instances
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/LanguageHelper.java

    /**
     * Helper class for language detection.
     */
    public class LanguageHelper {
        private static final Logger logger = LogManager.getLogger(LanguageHelper.class);
    
        /** An array of language fields. */
        protected String[] langFields;
    
        /** An array of supported languages. */
        protected String[] supportedLanguages;
    
        /** The language detector. */
        protected LanguageDetector detector;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/hash/Fingerprint2011Test.java

      }
    
      /** Convenience method to compute a fingerprint on a full bytes array. */
      private static long fingerprint(byte[] bytes) {
        return fingerprint(bytes, bytes.length);
      }
    
      /** Convenience method to compute a fingerprint on a subset of a byte array. */
      private static long fingerprint(byte[] bytes, int length) {
        return HASH_FN.hashBytes(bytes, 0, length).asLong();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/job/CrawlJobTest.java

        private CrawlJob crawlJob;
    
        // Helper method to compare arrays
        private void assertArrayEquals(String[] expected, String[] actual) {
            if (expected == null && actual == null) {
                return;
            }
            if (expected == null || actual == null) {
                fail("Arrays are not equal: one is null");
            }
            assertEquals("Array lengths differ", expected.length, actual.length);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 25K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/FluentIterable.java

      }
    
      /**
       * Returns an array containing all of the elements from this fluent iterable in iteration order.
       *
       * <p><b>{@code Stream} equivalent:</b> if an object array is acceptable, use {@code
       * stream.toArray()}; if {@code type} is a class literal such as {@code MyType.class}, use {@code
       * stream.toArray(MyType[]::new)}. Otherwise use {@code stream.toArray( len -> (E[])
       * Array.newInstance(type, len))}.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/FluentIterable.java

      }
    
      /**
       * Returns an array containing all of the elements from this fluent iterable in iteration order.
       *
       * <p><b>{@code Stream} equivalent:</b> if an object array is acceptable, use {@code
       * stream.toArray()}; if {@code type} is a class literal such as {@code MyType.class}, use {@code
       * stream.toArray(MyType[]::new)}. Otherwise use {@code stream.toArray( len -> (E[])
       * Array.newInstance(type, len))}.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 34.8K bytes
    - Viewed (0)
Back to top