Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 896 for Array (0.02 sec)

  1. src/test/java/jcifs/util/InputValidatorTest.java

        }
    
        @Test
        @DisplayName("Test array length validation")
        void testArrayLengthValidation() {
            byte[] array = new byte[16];
            assertDoesNotThrow(() -> InputValidator.validateArrayLength(array, 16, "test"));
    
            assertThrows(IllegalArgumentException.class, () -> InputValidator.validateArrayLength(null, 16, "test"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilJvm.kt

      @JvmStatic
      fun repeat(
        c: Char,
        count: Int,
      ): String {
        val array = CharArray(count)
        Arrays.fill(array, c)
        return String(array)
      }
    
      /**
       * Okio buffers are internally implemented as a linked list of arrays. Usually this implementation
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/crawler/util/FieldConfigs.java

                        return true;
                    }
                }
                return false;
            }
    
            /**
             * Returns the array of parsed configuration values.
             *
             * @return the array of configuration values
             */
            public String[] getValues() {
                return values;
            }
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/util/MD4.java

            // save number of bits, casting the long to an array of 8 bytes
            // save low-order byte first.
            for (int i = 0; i < 8; i++) {
                tail[padLen + i] = (byte) (count * 8 >>> 8 * i);
            }
    
            engineUpdate(tail, 0, tail.length);
    
            final byte[] result = new byte[16];
            // cast this MD4's context (array of 4 ints) into an array of 16 bytes.
            for (int i = 0; i < 4; i++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

      }
    
      public void testCreation_emptyArray() {
        String[] array = new String[0];
        Multiset<String> multiset = ImmutableMultiset.copyOf(array);
        assertTrue(multiset.isEmpty());
      }
    
      public void testCreation_arrayOfOneElement() {
        String[] array = new String[] {"a"};
        Multiset<String> multiset = ImmutableMultiset.copyOf(array);
        assertEquals(HashMultiset.create(asList("a")), multiset);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/entity/FacetInfo.java

     */
    public class FacetInfo {
        /** Logger instance for this class */
        private static final Logger logger = LogManager.getLogger(FacetInfo.class);
    
        /** Array of field names to create facets for */
        public String[] field;
    
        /** Array of query strings to create query facets for */
        public String[] query;
    
        /** Maximum number of facet values to return */
        public Integer size;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/Striped.java

          this.array = new Object[mask + 1];
          for (int i = 0; i < array.length; i++) {
            array[i] = supplier.get();
          }
        }
    
        @SuppressWarnings("unchecked") // we only put L's in the array
        @Override
        public L getAt(int index) {
          return (L) array[index];
        }
    
        @Override
        public int size() {
          return array.length;
        }
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/base/login/SamlCredential.java

                    getDefaultRolesAsArray());
        }
    
        /**
         * Gets the default groups as an array.
         * @return The default groups as an array.
         */
        protected String[] getDefaultGroupsAsArray() {
            final List<String> list = new ArrayList<>();
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  9. guava-tests/benchmark/com/google/common/collect/ComparatorDelegationOverheadBenchmark.java

      int n;
    
      @BeforeExperiment
      void setUp() throws Exception {
        Random rng = new Random();
        for (int i = 0; i < 0x100; i++) {
          Integer[] array = new Integer[n];
          for (int j = 0; j < n; j++) {
            array[j] = rng.nextInt();
          }
          inputArrays[i] = array;
        }
      }
    
      @Benchmark
      int arraysSortNoComparator(int reps) {
        int tmp = 0;
        for (int i = 0; i < reps; i++) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/StringSearchModelInterpolator.java

            }
    
            private void evaluateArray(Object target) throws ModelInterpolationException {
                int len = Array.getLength(target);
                for (int i = 0; i < len; i++) {
                    Object value = Array.get(target, i);
                    if (value != null) {
                        if (String.class == value.getClass()) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 14K bytes
    - Viewed (0)
Back to top