Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 138 for re (0.15 sec)

  1. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

           * the time the listener runs for the final future -- at which point we need to check all
           * inputs for exceptions *if* we're collecting values. If we're not, then the listener doesn't
           * need access to the futures again, so we can just pass `null`.
           *
           * TODO(b/112550045): Allocating a single, cheaper listener is (I think) only an optimization.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/TempFileCreator.java

          int jellyBean =
              (int) Class.forName("android.os.Build$VERSION_CODES").getField("JELLY_BEAN").get(null);
          /*
           * I assume that this check can't fail because JELLY_BEAN will be present only if we're
           * running under Jelly Bean or higher. But it seems safest to check.
           */
          if (version < jellyBean) {
            return new ThrowingCreator();
          }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 06 17:11:11 GMT 2023
    - 12.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

          // If ApiProxy throws an exception, we're not in a proper AppEngine environment.
          return false;
        } catch (IllegalAccessException e) {
          // If the method isn't accessible, we're not on a supported version of AppEngine;
          return false;
        } catch (NoSuchMethodException e) {
          // If the method doesn't exist, we're not on a supported version of AppEngine;
          return false;
        }
      }
    
      /**
    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)
  4. guava-tests/benchmark/com/google/common/collect/ConcurrentHashMultisetBenchmark.java

                  current);
              int next = current + occurrences;
              if (countMap.replace(element, current, next)) {
                return current;
              }
            }
            // If we're still here, there was a race, so just try again.
          }
        }
    
        /**
         * Removes a number of occurrences of the specified element from this multiset. If the multiset
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed May 09 15:17:25 GMT 2018
    - 16.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/cache/CacheEvictionTest.java

        // re-order
        getAll(cache, asList(0, 1, 2));
        CacheTesting.drainRecencyQueues(cache);
        assertThat(keySet).containsExactly(3, 4, 5, 6, 7, 8, 9, 0, 1, 2);
    
        // evict 3, 4, 5
        getAll(cache, asList(10, 11, 12));
        CacheTesting.drainRecencyQueues(cache);
        assertThat(keySet).containsExactly(6, 7, 8, 9, 0, 1, 2, 10, 11, 12);
    
        // re-order
        getAll(cache, asList(6, 7, 8));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 14.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/graph/ValueGraph.java

       *   <li>{@code view.equals(view)} evaluates to {@code true} (but any other `equals()` expression
       *       involving {@code view} will throw)
       *   <li>{@code hashCode()} does not throw
       *   <li>if {@code node} is re-added to the graph after having been removed, {@code view}'s
       *       behavior is undefined
       * </ul>
       *
       * @throws IllegalArgumentException if {@code node} is not an element of this graph
       */
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 15K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Collections2.java

          int j = findNextJ();
          if (j == -1) {
            nextPermutation = null;
            return;
          }
          /*
           * requireNonNull is safe because we don't clear nextPermutation until we're done calling this
           * method.
           */
          requireNonNull(nextPermutation);
    
          int l = findNextL(j);
          Collections.swap(nextPermutation, j, l);
          int n = nextPermutation.size();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableBiMap.java

       *
       * @since 33.2.0 (available since 21.0 in guava-jre)
       */
      @SuppressWarnings({"AndroidJdkLibsChecker", "Java7ApiChecker"})
      @IgnoreJRERequirement // Users will use this only if they're already using streams.
      @Beta // TODO: b/288085449 - Remove.
      public static <T extends @Nullable Object, K, V>
          Collector<T, ?, ImmutableBiMap<K, V>> toImmutableBiMap(
              Function<? super T, ? extends K> keyFunction,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.4K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluator.java

            // TODO Copied from the DefaultInterpolator. We likely want to resurrect the PathTranslator or at least a
            // similar component for re-usage
            if (file != null) {
                if (file.isAbsolute()) {
                    // path was already absolute, just normalize file separator and we're done
                } else if (file.getPath().startsWith(File.separator)) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Oct 17 17:55:08 GMT 2023
    - 16.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableTable.java

       *
       * @since 33.2.0 (available since 21.0 in guava-jre)
       */
      @SuppressWarnings({"AndroidJdkLibsChecker", "Java7ApiChecker"})
      @IgnoreJRERequirement // Users will use this only if they're already using streams.
      @Beta // TODO: b/288085449 - Remove.
      public static <T extends @Nullable Object, R, C, V>
          Collector<T, ?, ImmutableTable<R, C, V>> toImmutableTable(
    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)
Back to top