Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for Wells (0.15 sec)

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

         * @since 31.0
         */
        public ImmutableTable<R, C, V> buildOrThrow() {
          int size = cells.size();
          switch (size) {
            case 0:
              return of();
            case 1:
              return new SingletonImmutableTable<>(Iterables.getOnlyElement(cells));
            default:
              return RegularImmutableTable.forCells(cells, rowComparator, columnComparator);
          }
        }
      }
    
      ImmutableTable() {}
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 17.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

              }
            };
    
        recursiveCache = CacheBuilder.newBuilder().weakKeys().weakValues().build(recursiveLoader);
        cacheRef.set(recursiveCache);
    
        // tells the test when the computation has completed
        final CountDownLatch doneSignal = new CountDownLatch(1);
    
        Thread thread =
            new Thread() {
              @Override
              public void run() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 12.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        final int count = 3;
        final AtomicInteger callCount = new AtomicInteger();
        // tells the computing thread when to start computing
        final CountDownLatch computeSignal = new CountDownLatch(1);
        // tells the main thread when computation is pending
        final CountDownLatch secondSignal = new CountDownLatch(1);
        // tells the main thread when the second get has started
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/RateLimiter.java

          return doGetRate();
        }
      }
    
      abstract double doGetRate();
    
      /**
       * Acquires a single permit from this {@code RateLimiter}, blocking until the request can be
       * granted. Tells the amount of time slept, if any.
       *
       * <p>This method is equivalent to {@code acquire(1)}.
       *
       * @return time spent sleeping to enforce rate, in seconds; 0.0 if not rate-limited
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 18.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    could think of nothing better to say than his first remark, `It
    was the BEST butter, you know.'
    
      Alice had been looking over his shoulder with some curiosity.
    `What a funny watch!' she remarked.  `It tells the day of the
    month, and doesn't tell what o'clock it is!'
    
      `Why should it?' muttered the Hatter.  `Does YOUR watch tell
    you what year it is?'
    
      `Of course not,' Alice replied very readily:  `but that's
    Plain Text
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/cache/Striped64.java

      /** Table of cells. When non-null, size is a power of 2. */
      @CheckForNull transient volatile Cell[] cells;
    
      /**
       * Base value, used mainly when there is no contention, but also as a fallback during table
       * initialization races. Updated via CAS.
       */
      transient volatile long base;
    
      /** Spinlock (locked via CAS) used when resizing and/or creating Cells. */
      transient volatile int busy;
    
    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)
  7. android/guava/src/com/google/common/hash/LongAdder.java

      /**
       * Adds the given value.
       *
       * @param x the value to add
       */
      @Override
      public void add(long x) {
        Cell[] as;
        long b, v;
        int[] hc;
        Cell a;
        int n;
        if ((as = cells) != null || !casBase(b = base, b + x)) {
          boolean uncontended = true;
          if ((hc = threadHashCode.get()) == null
              || as == null
              || (n = as.length) < 1
              || (a = as[(n - 1) & hc[0]]) == null
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 5.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/Striped64.java

      /** Table of cells. When non-null, size is a power of 2. */
      @CheckForNull transient volatile Cell[] cells;
    
      /**
       * Base value, used mainly when there is no contention, but also as a fallback during table
       * initialization races. Updated via CAS.
       */
      transient volatile long base;
    
      /** Spinlock (locked via CAS) used when resizing and/or creating Cells. */
      transient volatile int busy;
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableTable.java

         * @since 31.0
         */
        public ImmutableTable<R, C, V> buildOrThrow() {
          int size = cells.size();
          switch (size) {
            case 0:
              return of();
            case 1:
              return new SingletonImmutableTable<>(Iterables.getOnlyElement(cells));
            default:
              return RegularImmutableTable.forCells(cells, rowComparator, columnComparator);
          }
        }
      }
    
      ImmutableTable() {}
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/RegularImmutableTableTest.java

      private static final SparseImmutableTable<Character, Integer, String> SPARSE =
          new SparseImmutableTable<>(CELLS.asList(), ROW_SPACE, COLUMN_SPACE);
    
      private static final DenseImmutableTable<Character, Integer, String> DENSE =
          new DenseImmutableTable<>(CELLS.asList(), ROW_SPACE, COLUMN_SPACE);
    
      @Override
      Iterable<ImmutableTable<Character, Integer, String>> getTestInstances() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 6.3K bytes
    - Viewed (0)
Back to top