Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for bowker (0.19 sec)

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

        for (int i = 0; i < cellList.size(); i++) {
          Cell<R, C, V> cell = cellList.get(i);
          R rowKey = cell.getRowKey();
          C columnKey = cell.getColumnKey();
          // The requireNonNull calls are safe because we construct the indexes with indexMap.
          int rowIndex = requireNonNull(rowKeyToIndex.get(rowKey));
          int columnIndex = requireNonNull(columnKeyToIndex.get(columnKey));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 10K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

       * by applying the given {@code AsyncFunction} to the result of the original {@code Future}.
       * Example usage:
       *
       * <pre>{@code
       * FluentFuture<RowKey> rowKeyFuture = FluentFuture.from(indexService.lookUp(query));
       * ListenableFuture<QueryResult> queryFuture =
       *     rowKeyFuture.transformAsync(dataService::readFuture, executor);
       * }</pre>
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 11 19:08:44 GMT 2023
    - 18.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/reflect/TypeResolver.java

        return Types.newArrayType(resolvedComponentType);
      }
    
      private ParameterizedType resolveParameterizedType(ParameterizedType type) {
        Type owner = type.getOwnerType();
        Type resolvedOwner = (owner == null) ? null : resolveType(owner);
        Type resolvedRawType = resolveType(type.getRawType());
    
        Type[] args = type.getActualTypeArguments();
        Type[] resolvedArgs = resolveTypes(args);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 24.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

        //            (__)\       )\/\
        //                ||----w |
        //                ||     ||
        Runnable state = get();
        Blocker blocker = null;
        while (state instanceof Blocker || state == PARKED) {
          if (state instanceof Blocker) {
            blocker = (Blocker) state;
          }
          spinCount++;
          if (spinCount > MAX_BUSY_WAIT_SPINS) {
            /*
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Sep 29 21:34:48 GMT 2023
    - 9.9K 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. guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

       */
      private static TestCase generateGuardWithWrongMonitorTestCase(
          final Method method, final boolean fair1, final boolean fair2) {
        final boolean timed = isTimed(method); // Not going to bother with all timeouts, just 0ms.
        return new TestCase(method.getName() + (timed ? "(0ms)" : "()") + "/WrongMonitor->IMSE") {
          @Override
          protected void runTest() throws Throwable {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 14:48:57 GMT 2023
    - 27.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/QueuesTest.java

      @Override
      public void setUp() {
        threadPool = newCachedThreadPool();
      }
    
      @Override
      public void tearDown() throws InterruptedException {
        threadPool.shutdown();
        assertTrue("Some worker didn't finish in time", threadPool.awaitTermination(10, SECONDS));
      }
    
      private static <T> int drain(
          BlockingQueue<T> q,
          Collection<? super T> buffer,
          int maxElements,
          long timeout,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 12K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

        // FRQ tries to load the Finalizer class (for the reference-collecting thread) in a few ways.
        // If the class is accessible to the system ClassLoader (ClassLoader.getSystemClassLoader())
        // then FRQ does not bother to load Finalizer.class through a separate ClassLoader. That happens
        // in our test environment, which foils the purpose of this test, so we disable the logic for
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 16 03:24:50 GMT 2021
    - 13.3K bytes
    - Viewed (0)
Back to top