Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 117 for folder (9.64 sec)

  1. guava/src/com/google/common/cache/Striped64.java

       * contention. See above for explanation. This method suffers the usual non-modularity problems of
       * optimistic retry code, relying on rechecked sets of reads.
       *
       * @param x the value
       * @param hc the hash code holder
       * @param wasUncontended false if CAS failed before call
       */
      final void retryUpdate(long x, @CheckForNull int[] hc, boolean wasUncontended) {
        int h;
        if (hc == null) {
    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)
  2. guava/src/com/google/common/cache/LocalCache.java

          try {
            stopwatch.start();
            V previousValue = oldValue.get();
            if (previousValue == null) {
              V newValue = loader.load(key);
              return set(newValue) ? futureValue : Futures.immediateFuture(newValue);
            }
            ListenableFuture<V> newValue = loader.reload(key, previousValue);
            if (newValue == null) {
    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)
  3. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

       */
    
      /** The number of occurrences of each element. */
      private final transient ConcurrentMap<E, AtomicInteger> countMap;
    
      // This constant allows the deserialization code to set a final field. This holder class
      // makes sure it is not initialized unless an instance is deserialized.
      private static class FieldSettersHolder {
        static final FieldSetter<? super ConcurrentHashMultiset<?>> COUNT_MAP_FIELD_SETTER =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/math/MathTesting.java

        FINITE_DOUBLE_CANDIDATES =
            Iterables.concat(FRACTIONAL_DOUBLE_CANDIDATES, INTEGRAL_DOUBLE_CANDIDATES);
        POSITIVE_FINITE_DOUBLE_CANDIDATES =
            Iterables.filter(
                FINITE_DOUBLE_CANDIDATES,
                new Predicate<Double>() {
                  @Override
                  public boolean apply(Double input) {
                    return input.doubleValue() > 0.0;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 11.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

      private static class Holder<T> {
        List<T>[] matrix;
    
        void setList(List<T> list) {}
      }
    
      public void testWildcardCaptured_methodParameter_upperBound() throws Exception {
        TypeToken<Holder<?>> type = new TypeToken<Holder<?>>() {};
        ImmutableList<Parameter> parameters =
            type.method(Holder.class.getDeclaredMethod("setList", List.class)).getParameters();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  6. guava-gwt/src-super/com/google/common/base/super/com/google/common/base/ExtraObjectsMethodsForWeb.java

     * the License.
     */
    
    package com.google.common.base;
    
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** Holder for extra methods of {@code Objects} only in web. */
    public abstract class ExtraObjectsMethodsForWeb {
      public static boolean equal(@Nullable String a, @Nullable String b) {
        return a == b;
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 07 01:40:05 GMT 2023
    - 901 bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/Collections2Test.java

                    unfiltered.add("abc");
                    return Collections2.filter(Collections2.filter(unfiltered, LENGTH_1), NOT_YYY_ZZZ);
                  }
                })
            .named("Collections2.filter, filtered input")
            .withFeatures(
                CollectionFeature.SUPPORTS_ADD,
                CollectionFeature.SUPPORTS_REMOVE,
                CollectionFeature.KNOWN_ORDER,
                CollectionFeature.ALLOWS_NULL_QUERIES,
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/Collections2Test.java

                    unfiltered.add("abc");
                    return Collections2.filter(Collections2.filter(unfiltered, LENGTH_1), NOT_YYY_ZZZ);
                  }
                })
            .named("Collections2.filter, filtered input")
            .withFeatures(
                CollectionFeature.SUPPORTS_ADD,
                CollectionFeature.SUPPORTS_REMOVE,
                CollectionFeature.KNOWN_ORDER,
                CollectionFeature.ALLOWS_NULL_QUERIES,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/StandardSystemProperty.java

       * <ul>
       *   <li>{@link #JAVA_EXT_DIRS} was deprecated in Java 8 and removed in Java 9. We have not
       *       confirmed whether it is available under older versions.
       *   <li>{@link #JAVA_COMPILER}, while still listed as required as of Java 15, is typically not
       *       available even under older version.
       *   <li>Any property may be cleared through APIs like {@link System#clearProperty}.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 23 15:09:35 GMT 2023
    - 5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/IgnoreJRERequirement.java

    import static java.lang.annotation.ElementType.METHOD;
    import static java.lang.annotation.ElementType.TYPE;
    
    import java.lang.annotation.Target;
    
    /**
     * Disables Animal Sniffer's checking of compatibility with older versions of Java/Android.
     *
     * <p>Each package's copy of this annotation needs to be listed in our {@code pom.xml}.
     */
    @Target({METHOD, CONSTRUCTOR, TYPE})
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jun 26 17:03:50 GMT 2023
    - 1.1K bytes
    - Viewed (0)
Back to top