Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 50 for detection (0.15 sec)

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

          }
        },
    
        /**
         * Disables cycle detection. This option causes the factory to return unmodified lock
         * implementations provided by the JDK, and is provided to allow applications to easily
         * parameterize when cycle detection is enabled.
         *
         * <p>Note that locks created by a factory with this policy will not participate the
         * cycle detection performed by locks created by other factories.
         */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 35.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

      }
    
      public void testSetIndirectSelf_toString() {
        final SettableFuture<Object> orig = SettableFuture.create();
        // unlike the above this indirection defeats the trivial cycle detection and causes a SOE
        orig.setFuture(
            new ForwardingListenableFuture<Object>() {
              @Override
              protected ListenableFuture<Object> delegate() {
                return orig;
              }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 46.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

      @SuppressWarnings("CatchingUnchecked") // sneaky checked exception
      private void appendUserObject(StringBuilder builder, @CheckForNull Object o) {
        // This is some basic recursion detection for when people create cycles via set/setFuture or
        // when deep chains of futures exist resulting in a StackOverflowException. We could detect
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

      }
    
      public void testSetIndirectSelf_toString() {
        final SettableFuture<Object> orig = SettableFuture.create();
        // unlike the above this indirection defeats the trivial cycle detection and causes a SOE
        orig.setFuture(
            new ForwardingListenableFuture<Object>() {
              @Override
              protected ListenableFuture<Object> delegate() {
                return orig;
              }
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 46.8K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/ElementTypesAreNonnullByDefault.java

    import static java.lang.annotation.ElementType.TYPE;
    import static java.lang.annotation.RetentionPolicy.RUNTIME;
    
    import com.google.common.annotations.GwtCompatible;
    import java.lang.annotation.Retention;
    import java.lang.annotation.Target;
    import javax.annotation.Nonnull;
    import javax.annotation.meta.TypeQualifierDefault;
    
    /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetFeature.java

    import com.google.common.collect.testing.features.Feature;
    import com.google.common.collect.testing.features.TesterAnnotation;
    import java.lang.annotation.Inherited;
    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    import java.util.Collections;
    import java.util.Set;
    
    /**
     * Optional features of classes derived from {@link Multiset}.
     *
     * @author Louis Wasserman
     */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

    import java.io.ByteArrayInputStream;
    import java.io.File;
    import java.io.InputStream;
    import java.io.Reader;
    import java.io.StringReader;
    import java.lang.annotation.ElementType;
    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    import java.lang.reflect.Array;
    import java.lang.reflect.InvocationTargetException;
    import java.lang.reflect.Method;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/RegularImmutableMap.java

       * include a {@link Builder.DuplicateKey} in case duplicate keys are not allowed now or will not
       * be allowed on a later {@link Builder#buildOrThrow()} call.
       *
       * @param keyOffset 1 if this is the reverse direction of a BiMap, 0 otherwise.
       * @return an {@code Object} that is a {@code byte[]}, {@code short[]}, or {@code int[]}, the
       *     smallest possible to fit {@code tableSize}; or an {@code Object[]} where [0] is one of
    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)
  9. guava-testlib/src/com/google/common/collect/testing/google/ElementTypesAreNonnullByDefault.java

    import static java.lang.annotation.ElementType.TYPE;
    import static java.lang.annotation.RetentionPolicy.RUNTIME;
    
    import com.google.common.annotations.GwtCompatible;
    import java.lang.annotation.Retention;
    import java.lang.annotation.Target;
    import javax.annotation.Nonnull;
    import javax.annotation.meta.TypeQualifierDefault;
    
    /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/features/SetFeature.java

    package com.google.common.collect.testing.features;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.testing.Helpers;
    import java.lang.annotation.Inherited;
    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    import java.util.Set;
    
    /**
     * Optional features of classes derived from {@code Set}.
     *
     * @author George van den Driessche
     */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 1.6K bytes
    - Viewed (0)
Back to top