Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 591 - 600 of 1,472 for bize (0.19 seconds)

  1. guava/src/com/google/common/collect/ImmutableBiMap.java

                  entries = Arrays.copyOf(entries, size);
                }
                sort(
                    (Entry<K, V>[]) entries, // Entries up to size are not null
                    0,
                    size,
                    Ordering.from(valueComparator).onResultOf(Entry::getValue));
              }
              entriesUsed = true;
              return RegularImmutableBiMap.fromEntryArray(size, entries);
          }
        }
    
        /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 22.7K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

            if (locale == null) {
                return Locale.ROOT;
            }
            return locale;
        }
    
        /**
         * Formats a file size in bytes to a human-readable string with appropriate units.
         *
         * @param value the file size in bytes
         * @return formatted file size string (e.g., "1.5M", "2.3G", "512K")
         */
        public static String formatFileSize(final long value) {
            double target = value;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 25.4K bytes
    - Click Count (1)
  3. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

       * @throws IllegalArgumentException if {@code capacity} is less than {@code c.size()}, or less
       *     than 1.
       * @throws NullPointerException if the specified collection or any of its elements are null
       */
      public MonitorBasedArrayBlockingQueue(int capacity, boolean fair, Collection<? extends E> c) {
        this(capacity, fair);
        checkArgument(capacity >= c.size());
    
        for (E e : c) add(e);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 22.4K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/helper/SystemHelperTest.java

            assertEquals(0, filteredEnvMap.size());
    
            envMap.put("FESS_ENV_TEST", "123");
            filteredEnvMap = systemHelper.getFilteredEnvMap("^FESS_ENV.*");
            assertEquals(1, filteredEnvMap.size());
            assertEquals("123", filteredEnvMap.get("FESS_ENV_TEST"));
    
            filteredEnvMap = systemHelper.getFilteredEnvMap("^XFESS_ENV.*");
            assertEquals(0, filteredEnvMap.size());
    
            envMap.put("", "123");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 44.4K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/ForwardingList.java

       * #add(Object)} to forward to this implementation.
       *
       * @since 7.0
       */
      protected boolean standardAdd(@ParametricNullness E element) {
        add(size(), element);
        return true;
      }
    
      /**
       * A sensible default implementation of {@link #addAll(int, Collection)}, in terms of the {@code
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 7.8K bytes
    - Click Count (0)
  6. guava/src/com/google/common/base/Strings.java

        int len = string.length();
        long longSize = (long) len * (long) count;
        int size = (int) longSize;
        if (size != longSize) {
          throw new ArrayIndexOutOfBoundsException("Required array size too large: " + longSize);
        }
    
        char[] array = new char[size];
        string.getChars(0, len, array, 0);
        int n;
        for (n = len; n < size - n; n <<= 1) {
          System.arraycopy(array, 0, array, n, n);
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 12.5K bytes
    - Click Count (0)
  7. guava/src/com/google/common/cache/RemovalCause.java

       */
      EXPIRED {
        @Override
        boolean wasEvicted() {
          return true;
        }
      },
    
      /**
       * The entry was evicted due to size constraints. This can occur when using {@link
       * CacheBuilder#maximumSize} or {@link CacheBuilder#maximumWeight}.
       */
      SIZE {
        @Override
        boolean wasEvicted() {
          return true;
        }
      };
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 2.7K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/helper/RateLimitHelper.java

            blockedIps.cleanUp();
            return (int) blockedIps.size();
        }
    
        /**
         * Get the number of tracked IP counters.
         * Note: This may include expired entries not yet evicted.
         * @return the count of tracked IPs
         */
        public int getTrackedIpCount() {
            requestCounters.cleanUp();
            return (int) requestCounters.size();
        }
    
        /**
         * Clean up expired entries.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Dec 24 14:16:27 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/util/RenderDataUtilTest.java

            assertTrue(result instanceof List);
            @SuppressWarnings("unchecked")
            List<Map<String, Object>> resultList = (List<Map<String, Object>>) result;
            assertEquals(2, resultList.size());
    
            Map<String, Object> map1 = resultList.get(0);
            assertEquals("name1", map1.get("name"));
    
            Map<String, Object> map2 = resultList.get(1);
            assertEquals("name2", map2.get("name"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.2K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/math/LongMath.java

                + Long.numberOfLeadingZeros(~b);
        if (leadingZeros > Long.SIZE + 1) {
          return a * b;
        }
        // the return value if we will overflow (which we calculate by overflowing a long :) )
        long limit = Long.MAX_VALUE + ((a ^ b) >>> (Long.SIZE - 1));
        if (leadingZeros < Long.SIZE | (a < 0 & b == Long.MIN_VALUE)) {
          // overflow
          return limit;
        }
        long result = a * b;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 09 23:01:02 GMT 2026
    - 46.8K bytes
    - Click Count (0)
Back to Top