Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for newFpp (0.06 sec)

  1. android/guava-tests/test/com/google/common/hash/BloomFilterTest.java

        // usually completed in less than 200 iterations
        while (fpp != 1.0) {
          boolean changed = bf.put(new Object());
          double newFpp = bf.expectedFpp();
          // if changed, the new fpp is strictly higher, otherwise it is the same
          assertTrue(changed ? newFpp > fpp : newFpp == fpp);
          fpp = newFpp;
        }
      }
    
      @AndroidIncompatible // slow
      public void testBitSize() {
        double fpp = 0.03;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 22K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/hash/BloomFilterTest.java

        // usually completed in less than 200 iterations
        while (fpp != 1.0) {
          boolean changed = bf.put(new Object());
          double newFpp = bf.expectedFpp();
          // if changed, the new fpp is strictly higher, otherwise it is the same
          assertTrue(changed ? newFpp > fpp : newFpp == fpp);
          fpp = newFpp;
        }
      }
    
      @AndroidIncompatible // slow
      public void testBitSize() {
        double fpp = 0.03;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 22K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

            checkState(newMap instanceof MapMakerInternalMap);
            newMap.putAll(map);
            return newMap;
          }
        },
        MapMakerWeakKeysStrongValues {
          @Override
          public <K extends Comparable<K>, V> Map<K, V> create(Map<K, V> map) {
            ConcurrentMap<K, V> newMap = new MapMaker().weakKeys().makeMap();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/TreeMultiset.java

            AvlNode<E> newTop = pred();
            // newTop is the maximum node in my left subtree
            newTop.left = left.removeMax(newTop);
            newTop.right = right;
            newTop.distinctElements = distinctElements - 1;
            newTop.totalCount = totalCount - oldElemCount;
            return newTop.rebalance();
          } else {
            AvlNode<E> newTop = succ();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 33.8K bytes
    - Viewed (0)
  5. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/Android10SocketAdapter.kt

     */
    @SuppressLint("NewApi")
    @SuppressSignatureCheck
    class Android10SocketAdapter : SocketAdapter {
      override fun matchesSocket(sslSocket: SSLSocket): Boolean = SSLSockets.isSupportedSocket(sslSocket)
    
      override fun isSupported(): Boolean = Companion.isSupported()
    
      @SuppressLint("NewApi")
      override fun getSelectedProtocol(sslSocket: SSLSocket): String? =
        try {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

        assertTrue(map.remove(one, one));
        assertEquals(0, map.size());
    
        cache.getUnchecked(one);
        Map<Object, Object> newMap = ImmutableMap.of(one, one);
        assertEquals(newMap, map);
        assertEquals(newMap.entrySet(), map.entrySet());
        assertEquals(newMap.keySet(), map.keySet());
        Set<Object> expectedValues = ImmutableSet.of(one);
        Set<Object> actualValues = ImmutableSet.copyOf(map.values());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  7. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

        applyLogger {
          addHandler(testLogHandler)
          level = Level.FINEST
          useParentHandlers = false
        }
      }
    
      @SuppressLint("NewApi")
      override fun afterEach(context: ExtensionContext) {
        val failure = context.executionException.orElseGet { null }
    
        if (uncaughtException != null) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri May 30 21:28:20 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  8. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/Android10Platform.kt

        } else {
          // Unable to report via CloseGuard. As a last-ditch effort, send it to the logger.
          super.logCloseableLeak(message, stackTrace)
        }
      }
    
      @SuppressLint("NewApi")
      override fun isCleartextTrafficPermitted(hostname: String): Boolean =
        NetworkSecurityPolicy.getInstance().isCleartextTrafficPermitted(hostname)
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Jul 20 11:25:50 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/CharSource.java

       *
       * @throws IOException if an I/O error occurs while opening the stream
       * @since 33.4.0 (but since 22.0 in the JRE flavor)
       */
      @MustBeClosed
      // If users use this when they shouldn't, we hope that NewApi will catch subsequent Stream calls.
      @IgnoreJRERequirement
      public Stream<String> lines() throws IOException {
        BufferedReader reader = openBufferedStream();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

        val state = AddressState(address, taskRunner.newQueue(), policy)
        val newConnectionsNeeded: Int
    
        while (true) {
          val oldMap = this.addressStates
          val newMap = oldMap + (address to state)
          if (addressStatesUpdater.compareAndSet(this, oldMap, newMap)) {
            val oldPolicyMinimumConcurrentCalls = oldMap[address]?.policy?.minimumConcurrentCalls ?: 0
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jun 03 17:10:08 UTC 2025
    - 16.1K bytes
    - Viewed (0)
Back to top