Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 1,441 for bize (0.02 seconds)

  1. guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

        USING_DECODER_WITH_SIZE_HINT {
          @Override
          String read(ByteSource byteSource, Charset cs) throws IOException {
            Optional<Long> size = byteSource.sizeIfKnown();
            // if we know the size and it fits in an int
            if (size.isPresent() && size.get().longValue() == size.get().intValue()) {
              // otherwise try to presize a StringBuilder
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/LinkedListMultimap.java

        @Nullable Node<K, V> previous;
        int expectedModCount = modCount;
    
        NodeIterator(int index) {
          int size = size();
          checkPositionIndex(index, size);
          if (index >= (size / 2)) {
            previous = tail;
            nextIndex = size;
            while (index++ < size) {
              previous();
            }
          } else {
            next = head;
            while (index-- > 0) {
              next();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 27K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutIterableTester.java

          assertEquals(size, multimap().size());
        } else {
          assertEquals(newArrayList(v3()), new ArrayList<>(values));
          assertEquals(size + 1, multimap().size());
        }
      }
    
      @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES)
      public void testPutAllNullValueNullFirst_unsupported() {
        int size = getNumElements();
    
        assertThrows(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 20:54:16 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/util/concurrent/AtomicLongMapTest.java

        }
        assertEquals(ITERATIONS, map.size());
    
        map.clear();
        assertEquals(0, map.size());
        assertTrue(map.isEmpty());
      }
    
      public void testSum() {
        AtomicLongMap<Object> map = AtomicLongMap.create();
        long sum = 0;
        for (int i = 0; i < ITERATIONS; i++) {
          map.put(new Object(), i);
          sum += i;
        }
        assertEquals(ITERATIONS, map.size());
        assertEquals(sum, map.sum());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/SortedMapInterfaceTest.java

        assertEquals(map.size(), oldSize - 1);
        assertFalse(map.containsKey(key));
        assertEquals(subMap.size(), oldSize - 2);
      }
    
      public void testTailMapClearThrough() {
        SortedMap<K, V> map;
        try {
          map = makePopulatedMap();
        } catch (UnsupportedOperationException e) {
          return;
        }
        int oldSize = map.size();
        if (map.size() < 2 || !supportsClear) {
          return;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Oct 17 20:00:30 GMT 2024
    - 3.9K bytes
    - Click Count (0)
  6. guava-testlib/src/com/google/common/collect/testing/SortedMapInterfaceTest.java

        assertEquals(map.size(), oldSize - 1);
        assertFalse(map.containsKey(key));
        assertEquals(subMap.size(), oldSize - 2);
      }
    
      public void testTailMapClearThrough() {
        SortedMap<K, V> map;
        try {
          map = makePopulatedMap();
        } catch (UnsupportedOperationException e) {
          return;
        }
        int oldSize = map.size();
        if (map.size() < 2 || !supportsClear) {
          return;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Oct 17 20:00:30 GMT 2024
    - 3.9K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/helper/LogNotificationHelperTest.java

            }
            List<LogNotificationEvent> events = helper.drainAll();
            // Should be capped at buffer size (1000)
            assertTrue(events.size() <= 1000);
            assertTrue(events.size() > 0);
        }
    
        @Test
        public void test_offer_bufferCapacity_dropsOldest() {
            LogNotificationHelper helper = new LogNotificationHelper();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/CartesianList.java

        int[] axesSizeProduct = new int[axes.size() + 1];
        axesSizeProduct[axes.size()] = 1;
        try {
          for (int i = axes.size() - 1; i >= 0; i--) {
            axesSizeProduct[i] = Math.multiplyExact(axesSizeProduct[i + 1], axes.get(i).size());
          }
        } catch (ArithmeticException e) {
          throw new IllegalArgumentException(
              "Cartesian product too large; must have size at most Integer.MAX_VALUE");
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Aug 31 13:15:26 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/io/CountingOutputStreamTest.java

        assertEquals(written, out.size());
        assertEquals(written, counter.getCount());
    
        counter.write(0);
        written += 1;
        assertEquals(written, out.size());
        assertEquals(written, counter.getCount());
    
        byte[] data = new byte[10];
        counter.write(data);
        written += 10;
        assertEquals(written, out.size());
        assertEquals(written, counter.getCount());
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/fileauth/CreateForm.java

        @Required
        @Size(max = 100)
        public String username;
    
        /** The password for file authentication (maximum 100 characters). */
        @Size(max = 100)
        public String password;
    
        /** Additional parameters for file authentication (maximum 1000 characters). */
        @Size(max = 1000)
        public String parameters;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.8K bytes
    - Click Count (0)
Back to Top