Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for bowker (0.17 sec)

  1. android/guava/src/com/google/common/collect/RegularImmutableMap.java

                alternatingKeysAndValues[previousKeyIndex ^ 1] = value;
                continue entries;
              }
            }
            if (outI < i) { // if outI == i don't bother writing the values back where they came from
              alternatingKeysAndValues[outKeyIndex] = key;
              alternatingKeysAndValues[outKeyIndex ^ 1] = value;
            }
            outI++;
          }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 15 22:32:14 GMT 2024
    - 22.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java

        verifyTableSize(100, 5, 8);
        verifyTableSize(100, 33, 64);
        verifyTableSize(60, 60, 128);
        verifyTableSize(120, 60, 256);
        // if the table is only double the necessary size, we don't bother resizing it
        verifyTableSize(180, 60, 128);
        // but if it's even bigger than double, we rebuild the table
        verifyTableSize(17, 17, 32);
        verifyTableSize(17, 16, 32);
        verifyTableSize(17, 15, 32);
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 13.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Synchronized.java

        @Override
        public boolean contains(@CheckForNull Object rowKey, @CheckForNull Object columnKey) {
          synchronized (mutex) {
            return delegate().contains(rowKey, columnKey);
          }
        }
    
        @Override
        public boolean containsRow(@CheckForNull Object rowKey) {
          synchronized (mutex) {
            return delegate().containsRow(rowKey);
          }
        }
    
        @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 53.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/SynchronizedTableTest.java

        @Override
        public boolean containsRow(Object rowKey) {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.containsRow(rowKey);
        }
    
        @Override
        public @Nullable V get(Object rowKey, Object columnKey) {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.get(rowKey, columnKey);
        }
    
        @Override
        public @Nullable V put(R rowKey, C columnKey, V value) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

        final AbstractFuture<V> owner;
        final ListenableFuture<? extends V> future;
    
        SetFuture(AbstractFuture<V> owner, ListenableFuture<? extends V> future) {
          this.owner = owner;
          this.future = future;
        }
    
        @Override
        public void run() {
          if (owner.value != this) {
            // nothing to do, we must have been cancelled, don't bother inspecting the future.
            return;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  6. guava/src/com/google/common/cache/LocalCache.java

      /**
       * Applies a supplemental hash function to a given hash code, which defends against poor quality
       * hash functions. This is critical when the concurrent hash map uses power-of-two length hash
       * tables, that otherwise encounter collisions for hash codes that do not differ in lower or upper
       * bits.
       *
       * @param h hash code
       */
      static int rehash(int h) {
        // Spread bits to regularize both segment and index locations,
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableTable.java

      /**
       * {@inheritDoc}
       *
       * @throws NullPointerException if {@code rowKey} is {@code null}
       */
      @Override
      public ImmutableMap<C, V> row(R rowKey) {
        checkNotNull(rowKey, "rowKey");
        return MoreObjects.firstNonNull(
            (ImmutableMap<C, V>) rowMap().get(rowKey), ImmutableMap.<C, V>of());
      }
    
      @Override
      public ImmutableSet<R> rowKeySet() {
    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)
  8. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

       *       applies only to the task that was running at the point of interruption.
       *   <li>if the thread was interrupted before the SequentialExecutor's worker begins execution,
       *       the interrupt will be restored to the thread after it completes so that its {@code
       *       delegate} Executor may process the interrupt.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Tables.java

        @ParametricNullness private final R rowKey;
        @ParametricNullness private final C columnKey;
        @ParametricNullness private final V value;
    
        ImmutableCell(
            @ParametricNullness R rowKey,
            @ParametricNullness C columnKey,
            @ParametricNullness V value) {
          this.rowKey = rowKey;
          this.columnKey = columnKey;
          this.value = value;
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Mar 04 22:45:41 GMT 2024
    - 26.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ArrayTable.java

       *
       * @throws IllegalArgumentException if {@code rowKey} is not in {@link #rowKeySet()} or {@code
       *     columnKey} is not in {@link #columnKeySet()}.
       */
      @CanIgnoreReturnValue
      @Override
      @CheckForNull
      public V put(R rowKey, C columnKey, @CheckForNull V value) {
        checkNotNull(rowKey);
        checkNotNull(columnKey);
        Integer rowIndex = rowKeyToIndex.get(rowKey);
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 26.9K bytes
    - Viewed (0)
Back to top