Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 181 - 190 of 1,441 for bize (0.05 seconds)

  1. guava-testlib/src/com/google/common/collect/testing/testers/MapRemoveTester.java

      @CollectionSize.Require(absent = ZERO)
      public void testRemove_present() {
        int initialSize = getMap().size();
        assertEquals("remove(present) should return the associated value", v0(), getMap().remove(k0()));
        assertEquals(
            "remove(present) should decrease a map's size by one.", initialSize - 1, getMap().size());
        expectMissing(e0());
      }
    
      @MapFeature.Require({FAILS_FAST_ON_CONCURRENT_MODIFICATION, SUPPORTS_REMOVE})
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 5.9K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/Iterables.java

        // no equals and hashCode; it would break the contract!
      }
    
      /** Returns the number of elements in {@code iterable}. */
      public static int size(Iterable<?> iterable) {
        return (iterable instanceof Collection)
            ? ((Collection<?>) iterable).size()
            : Iterators.size(iterable.iterator());
      }
    
      /**
       * Returns {@code true} if {@code iterable} contains any element {@code o} for which {@code
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 43.6K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/collect/MapsTest.java

        for (int size = 1; size < 200; size++) {
          assertWontGrow(
              size,
              new LinkedHashMap<>(),
              Maps.newLinkedHashMapWithExpectedSize(size),
              Maps.newLinkedHashMapWithExpectedSize(size));
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      private static void assertWontGrow(
          int size,
          HashMap<Object, Object> referenceMap,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 63.2K bytes
    - Click Count (0)
  4. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerWriter.kt

        try {
          block(content)
          constructedBit = if (constructed) 0b0010_0000 else 0
          constructed = true // The enclosing object is constructed.
        } finally {
          stack.removeAt(stack.size - 1)
          path.removeAt(path.size - 1)
        }
    
        val sink = sink()
    
        // Write the tagClass, tag, and constructed bit. This takes 1 byte if tag is less than 31.
        if (tag < 31) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/primitives/Booleans.java

            return true;
          }
          if (object instanceof BooleanArrayAsList) {
            BooleanArrayAsList that = (BooleanArrayAsList) object;
            int size = size();
            if (that.size() != size) {
              return false;
            }
            for (int i = 0; i < size; i++) {
              if (array[start + i] != that.array[that.start + i]) {
                return false;
              }
            }
            return true;
          }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Sep 25 15:01:23 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/dict/DictionaryFile.java

                parent = list;
                this.allRecordCount = allRecordCount;
                pageSize = size;
                currentPageNumber = offset / size + 1;
                allPageCount = allRecordCount == 0 ? 0 : (allRecordCount - 1) / size + 1;
            }
    
            @Override
            public int size() {
                return parent.size();
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketWriterTest.kt

          assertThat(expected.message).isEqualTo(
            "Payload size must be less than or equal to 125",
          )
        }
      }
    
      private fun assertData(hex: String) {
        assertData(hex.decodeHex())
      }
    
      private fun assertData(expected: ByteString) {
        val actual = data.readByteString(Math.min(expected.size.toLong(), data.size))
        assertThat(actual).isEqualTo(expected)
      }
    
      companion object {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 9.3K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/io/ByteSourceTester.java

      public void testSlice_constrainedRange() throws IOException {
        long size = source.read().length;
        if (size >= 2) {
          ByteSource sliced = source.slice(1, size - 2);
          assertEquals(size - 2, sliced.read().length);
          ByteSource resliced = sliced.slice(0, size - 1);
          assertTrue(sliced.contentEquals(resliced));
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 8.6K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/primitives/Chars.java

            return true;
          }
          if (object instanceof CharArrayAsList) {
            CharArrayAsList that = (CharArrayAsList) object;
            int size = size();
            if (that.size() != size) {
              return false;
            }
            for (int i = 0; i < size; i++) {
              if (array[start + i] != that.array[that.start + i]) {
                return false;
              }
            }
            return true;
          }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 24.2K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/StandardTable.java

      }
    
      @Override
      public boolean isEmpty() {
        return backingMap.isEmpty();
      }
    
      @Override
      public int size() {
        int size = 0;
        for (Map<C, V> map : backingMap.values()) {
          size += map.size();
        }
        return size;
      }
    
      // Mutators
    
      @Override
      public void clear() {
        backingMap.clear();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 30.4K bytes
    - Click Count (0)
Back to Top