Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 631 - 640 of 1,167 for bize (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. okhttp/src/jvmTest/kotlin/okhttp3/ResponseBodyJvmTest.kt

        assertThat(source.readByte() and 0xff).isEqualTo(0xbf)
        assertThat(source.readUtf8()).isEqualTo("hello")
      }
    
      @Test
      fun bytesEmpty() {
        val body = body("")
        assertThat(body.bytes().size).isEqualTo(0)
      }
    
      @Test
      fun bytesSeesBom() {
        val body = body("efbbbf68656c6c6f")
        val bytes = body.bytes()
        assertThat(bytes[0] and 0xff).isEqualTo(0xef)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  8. guava-testlib/src/com/google/common/collect/testing/MapTestSuiteBuilder.java

            derivedFeatures.add(feature);
          }
        }
        // add the intersection of CollectionSize.values() and mapFeatures
        for (CollectionSize size : CollectionSize.values()) {
          if (mapFeatures.contains(size)) {
            derivedFeatures.add(size);
          }
        }
        return derivedFeatures;
      }
    
      private static final class ReserializedMapGenerator<K, V> implements TestMapGenerator<K, V> {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 20:54:16 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/SortedMultisetTestSuiteBuilder.java

                      extremeValues.remove(0);
                    }
                    if (to == Bound.NO_BOUND) {
                      extremeValues.remove(extremeValues.size() - 1);
                      extremeValues.remove(extremeValues.size() - 1);
                    }
    
                    // the regular values should be visible after filtering
                    List<E> allEntries = new ArrayList<>();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

        multimap.put("e", 55);
    
        multimap.keySet().tailSet("d").clear();
        assertEquals(ImmutableSet.of("a", "b", "c"), multimap.keySet());
        assertEquals(4, multimap.size());
        assertEquals(4, multimap.values().size());
        assertEquals(4, multimap.keys().size());
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public void testKeySetBridgeMethods() {
        for (Method m : TreeMultimap.class.getMethods()) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 22.5K bytes
    - Click Count (0)
Back to Top