Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 43 for slots (0.52 sec)

  1. guava/src/com/google/common/base/Suppliers.java

        return new ExpiringMemoizingSupplier<>(delegate, toNanosSaturated(duration));
      }
    
      @VisibleForTesting
      @SuppressWarnings("GoodTime") // lots of violations
      static final class ExpiringMemoizingSupplier<T extends @Nullable Object>
          implements Supplier<T>, Serializable {
        private transient Object lock = new Object();
    
        final Supplier<T> delegate;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java

      /**
       * This is a less carefully-controlled version of {@link #testRemovalNotification_clear} - this is
       * a black-box test that tries to create lots of different thread-interleavings, and asserts that
       * each computation is affected by a call to {@code clear()} (and therefore gets passed to the
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

      /**
       * This is a less carefully-controlled version of {@link #testRemovalNotification_clear} - this is
       * a black-box test that tries to create lots of different thread-interleavings, and asserts that
       * each computation is affected by a call to {@code clear()} (and therefore gets passed to the
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/Striped.java

            // We only ever register ArrayReferences with the queue so this is always safe.
            ArrayReference<? extends L> arrayRef = (ArrayReference<? extends L>) ref;
            // Try to clear out the array slot, n.b. if we fail that is fine, in either case the
            // arrayRef will be out of the array after this step.
            locks.compareAndSet(arrayRef.index, arrayRef, null);
          }
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/Ints.java

        //     fgha[c]|[b]de -> fgha[b]|[c]de. Because these two blocks are the same size, we are done.
        // The Dolphin algorithm is attractive because it does the fewest array reads and writes: each
        // array slot is read and written exactly once. However, it can have very poor memory locality:
        // benchmarking shows it can take 7 times longer than the other two in some cases. The other two
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/base/CharMatcherTest.java

        if (expected.equals(in)) {
          assertSame(in, out);
        } else {
          assertEquals(expected, out);
        }
      }
    
      // Test collapse() a little differently than the rest, as we really want to
      // cover lots of different configurations of input text
      public void testCollapse() {
        // collapsing groups of '-' into '_' or '-'
        doTestCollapse("-", "_");
        doTestCollapse("x-", "x_");
        doTestCollapse("-x", "_x");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableSet.java

         * determined experimentally to match our desired probability of false positives.
         */
        // NB: yes, this is surprisingly high, but that's what the experiments said was necessary
        // Raising this number slows the worst-case contains behavior, speeds up hashFloodingDetected,
        // and reduces the false-positive probability.
        static final int MAX_RUN_MULTIPLIER = 13;
    
        /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/base/CharMatcherTest.java

        if (expected.equals(in)) {
          assertSame(in, out);
        } else {
          assertEquals(expected, out);
        }
      }
    
      // Test collapse() a little differently than the rest, as we really want to
      // cover lots of different configurations of input text
      public void testCollapse() {
        // collapsing groups of '-' into '_' or '-'
        doTestCollapse("-", "_");
        doTestCollapse("x-", "x_");
        doTestCollapse("-x", "_x");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  9. docs/en/docs/async.md

    * **Computer vision**: an image is composed of millions of pixels, each pixel has 3 values / colors, processing that normally requires computing something on those pixels, all at the same time.
    * **Machine Learning**: it normally requires lots of "matrix" and "vector" multiplications. Think of a huge spreadsheet with numbers and multiplying all of them together at the same time.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:56:21 UTC 2025
    - 24K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HpackTest.kt

        assertThat(hpackReader!!.headerCount).isEqualTo(1)
      }
    
      /** Header table backing array is initially 8 long, let's ensure it grows.  */
      @Test
      fun dynamicallyGrowsBeyond64Entries() {
        // Lots of headers need more room!
        hpackReader = Hpack.Reader(bytesIn, 16384, 4096)
        bytesIn.writeByte(0x3F) // Dynamic table size update (size = 16384).
        bytesIn.writeByte(0xE1)
        bytesIn.writeByte(0x7F)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 38.6K bytes
    - Viewed (0)
Back to top