Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for lace (0.24 sec)

  1. guava/src/com/google/common/cache/Striped64.java

       */
      static final ThreadLocal<int @Nullable []> threadHashCode = new ThreadLocal<>();
    
      /** Generator of new random hash codes */
      static final Random rng = new Random();
    
      /** Number of CPUS, to place bound on table size */
      static final int NCPU = Runtime.getRuntime().availableProcessors();
    
      /** Table of cells. When non-null, size is a power of 2. */
      @CheckForNull transient volatile Cell[] cells;
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/ByteSourceTest.java

     *
     * @author Colin Decker
     */
    public class ByteSourceTest extends IoTestCase {
    
      @AndroidIncompatible // Android doesn't understand suites whose tests lack default constructors.
      public static TestSuite suite() {
        TestSuite suite = new TestSuite();
        for (boolean asCharSource : new boolean[] {false, true}) {
          suite.addTest(
              ByteSourceTester.tests(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 16.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

      }
    
      /** Fails with message "should throw " + exceptionName. */
      public void shouldThrow(String exceptionName) {
        fail("Should throw " + exceptionName);
      }
    
      /** The number of elements to place in collections, arrays, etc. */
      public static final int SIZE = 20;
    
      // Some convenient Integer constants
    
      public static final Integer zero = 0;
      public static final Integer one = 1;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ImmutableMapTest.java

        Builder<String, Integer> builder =
            new Builder<String, Integer>()
                .put("one", 1)
                .put("one", 1); // throwing on this line might be better but it's too late to change
    
        try {
          builder.buildOrThrow();
          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    
      public void testBuildKeepingLast_allowsOverwrite() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 27 13:27:08 GMT 2024
    - 41.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

       */
    
      private transient Map<K, Collection<V>> map;
      private transient int totalSize;
    
      /**
       * Creates a new multimap that uses the provided map.
       *
       * @param map place to store the mapping from each key to its corresponding values
       * @throws IllegalArgumentException if {@code map} is not empty
       */
      protected AbstractMapBasedMultimap(Map<K, Collection<V>> map) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 46.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        assertSame(barChild, bar);
      }
    
      /*
       * Android does not handle this stack overflow gracefully... though somehow some other
       * stack-overflow tests work. It must depend on the exact place the error occurs.
       */
      @AndroidIncompatible
      @J2ktIncompatible
      @GwtIncompatible // StackOverflowError
      public void testTransform_StackOverflow() throws Exception {
        {
          /*
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

          ATOMIC_HELPER.putNext(this, next);
        }
    
        void unpark() {
          // This is racy with removeWaiter. The consequence of the race is that we may spuriously call
          // unpark even though the thread has already removed itself from the list. But even if we did
          // use a CAS, that race would still exist (it would just be ever so slightly smaller).
          Thread w = thread;
          if (w != null) {
            thread = null;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

        if (lastElementAt == index) {
          // 'actualLastElement' is now at 'lastElementAt', and the element that was at 'lastElementAt'
          // is now at the end of queue. If that's the element we wanted to remove in the first place,
          // don't try to (incorrectly) trickle it. Instead, just delete it and we're done.
          queue[size] = null;
          return null;
        }
        E toTrickle = elementData(size);
        queue[size] = null;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 34K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/CharSourceTest.java

     *
     * @author Colin Decker
     */
    public class CharSourceTest extends IoTestCase {
    
      @AndroidIncompatible // Android doesn't understand suites whose tests lack default constructors.
      public static TestSuite suite() {
        TestSuite suite = new TestSuite();
        for (boolean asByteSource : new boolean[] {false, true}) {
          suite.addTest(
              CharSourceTester.tests(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 12K bytes
    - Viewed (0)
Back to top