Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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 Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  2. 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 Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 08 18:58:42 GMT 2023
    - 17.4K bytes
    - Viewed (0)
  3. 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 Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocMethodsBuilder.java

            for (Element tr : children(classDoc.getMethodsTable(), "tr")) {
                List<Element> cells = children(tr, "td");
                if (cells.size() != 1) {
                    throw new RuntimeException(String.format("Expected 1 cell in <tr>, found: %s", tr));
                }
                String methodName = cells.get(0).getTextContent().trim();
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/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 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 5.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/RegularImmutableTable.java

              };
          Collections.sort(cells, comparator);
        }
        return forCellsInternal(cells, rowComparator, columnComparator);
      }
    
      static <R, C, V> RegularImmutableTable<R, C, V> forCells(Iterable<Cell<R, C, V>> cells) {
        return forCellsInternal(cells, null, null);
      }
    
      private static <R, C, V> RegularImmutableTable<R, C, V> forCellsInternal(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 7.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/cache/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 Jun 15 18:00:07 GMT 2021
    - 5.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/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 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  9. 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 Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/reflect/SubtypeTester.java

     *   }
     * }
     *
     * public void testMySubtypes() throws Exception {
     *   new MySubtypeTests().testAllDeclarations();
     * }
     * }</pre>
     *
     * The calls to {@link #isSubtype} and {@link #notSubtype} tells the framework what assertions need
     * to be made.
     *
     * <p>The declaration methods must be public.
     */
    @AndroidIncompatible // only used by android incompatible tests.
    abstract class SubtypeTester implements Cloneable {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 6.1K bytes
    - Viewed (0)
Back to top