Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 791 - 800 of 1,472 for bize (0.02 seconds)

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

          }
    
          @Override
          public Iterator<Entry<E>> iterator() {
            return entryIterator();
          }
    
          @Override
          public int size() {
            return forwardMultiset().entrySet().size();
          }
        }
        return new EntrySetImpl();
      }
    
      @Override
      public Iterator<E> iterator() {
        return Multisets.iteratorImpl(this);
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/core/collection/CaseInsensitiveMapTest.java

        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testRemove() throws Exception {
            assertThat(map.remove("ONE"), is("1"));
            assertThat(map.size(), is(1));
            assertThat(map.remove("dummy"), is(nullValue()));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testPutAll() throws Exception {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 4K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java

        @CanIgnoreReturnValue
        public Builder addAll(DoubleStream stream) {
          Spliterator.OfDouble spliterator = stream.spliterator();
          long size = spliterator.getExactSizeIfKnown();
          if (size > 0) { // known *and* nonempty
            ensureRoomFor(Ints.saturatedCast(size));
          }
          spliterator.forEachRemaining((DoubleConsumer) this::add);
          return this;
        }
    
        /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 22.7K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/primitives/ImmutableIntArray.java

        @CanIgnoreReturnValue
        public Builder addAll(IntStream stream) {
          Spliterator.OfInt spliterator = stream.spliterator();
          long size = spliterator.getExactSizeIfKnown();
          if (size > 0) { // known *and* nonempty
            ensureRoomFor(Ints.saturatedCast(size));
          }
          spliterator.forEachRemaining((IntConsumer) this::add);
          return this;
        }
    
        /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 21.9K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

            throw new AssertionError("failed with stimuli " + subListCopy(stimuli, i + 1), cause);
          }
        }
      }
    
      private static List<Object> subListCopy(Object[] source, int size) {
        Object[] copy = new Object[size];
        arraycopy(source, 0, copy, 0, size);
        return asList(copy);
      }
    
      private interface IteratorOperation {
        @Nullable Object execute(Iterator<?> iterator);
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 20.8K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

        assertEquals(5, runnable.count);
        assertEquals(0, delegate.getQueue().size());
    
        runnable = new ThrowingRunnable(5, ex);
        future = service.scheduleWithFixedDelay(runnable, 1, 1, MILLISECONDS);
        assertExecutionException(future, ex);
        assertEquals(5, runnable.count);
        assertEquals(0, delegate.getQueue().size());
      }
    
      public void testListeningDecorator_cancelled() throws Exception {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 26.1K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/ForwardingMultiset.java

      protected Iterator<E> standardIterator() {
        return Multisets.iteratorImpl(this);
      }
    
      /**
       * A sensible, albeit inefficient, definition of {@link #size} in terms of {@link #entrySet}. If
       * you override {@link #entrySet}, you may wish to override {@link #size} to forward to this
       * implementation.
       *
       * @since 7.0
       */
      protected int standardSize() {
        return Multisets.linearTimeSizeImpl(this);
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  8. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt

      private fun executeRequests(
        hostname: String,
        networkRequests: List<Call>,
        responses: MutableList<InetAddress>,
        failures: MutableList<Exception>,
      ) {
        val latch = CountDownLatch(networkRequests.size)
    
        for (call in networkRequests) {
          call.enqueue(
            object : Callback {
              override fun onFailure(
                call: Call,
                e: IOException,
              ) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat May 10 11:15:14 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        if (isWindows()) {
          return; // TODO: b/136041958 - Running very slowly on Windows CI.
        }
        int size = 50;
        CyclicBarrier barrier =
            new CyclicBarrier(
                2 // for the setter threads
                    + size // for the listeners
                    + size // for the get threads,
                    + 1); // for the main thread
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 45.2K bytes
    - Click Count (0)
  10. android/guava-tests/benchmark/com/google/common/math/IntMathBenchmark.java

          factorial[i] = RANDOM_SOURCE.nextInt(50);
          binomial[i] = RANDOM_SOURCE.nextInt(factorial[i] + 1);
          positive[i] = randomPositiveBigInteger(Integer.SIZE - 1).intValue();
          nonnegative[i] = randomNonNegativeBigInteger(Integer.SIZE - 1).intValue();
          ints[i] = RANDOM_SOURCE.nextInt();
        }
      }
    
      @Benchmark
      int pow(int reps) {
        int tmp = 0;
        for (int i = 0; i < reps; i++) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed May 14 19:40:47 GMT 2025
    - 3.3K bytes
    - Click Count (0)
Back to Top