Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 143 for detected (0.17 sec)

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

     *   <li>If a new edge needs to be created, the outgoing edges of the acquired locks are traversed
     *       to check for a cycle that reaches the lock to be acquired. If no cycle is detected, a new
     *       "safe" edge is created.
     *   <li>If a cycle is detected, an "unsafe" (cyclic) edge is created to represent a potential
     *       deadlock situation, and the appropriate Policy is executed.
     * </ul>
     *
    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. guava/src/com/google/common/collect/JdkBackedImmutableMap.java

    @ElementTypesAreNonnullByDefault
    final class JdkBackedImmutableMap<K, V> extends ImmutableMap<K, V> {
      /**
       * Creates an {@code ImmutableMap} backed by a JDK HashMap. Used when probable hash flooding is
       * detected. This implementation may replace the entries in entryArray with its own entry objects
       * (though they will have the same key/value contents), and will take ownership of entryArray.
       */
      static <K, V> ImmutableMap<K, V> create(
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Throwables.java

        throw new RuntimeException(throwable);
      }
    
      /**
       * Returns the innermost cause of {@code throwable}. The first throwable in a chain provides
       * context from when the error or exception was initially detected. Example usage:
       *
       * <pre>
       * assertEquals("Unable to assign a customer id", Throwables.getRootCause(e).getMessage());
       * </pre>
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Throwables.java

        throw new RuntimeException(throwable);
      }
    
      /**
       * Returns the innermost cause of {@code throwable}. The first throwable in a chain provides
       * context from when the error or exception was initially detected. Example usage:
       *
       * <pre>
       * assertEquals("Unable to assign a customer id", Throwables.getRootCause(e).getMessage());
       * </pre>
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/reflect/TypeResolver.java

            return;
          }
          // First, check whether var -> arg forms a cycle
          for (Type t = arg; t != null; t = mappings.get(TypeVariableKey.forLookup(t))) {
            if (var.equalsType(t)) {
              // cycle detected, remove the entire cycle from the mapping so that
              // each type variable resolves deterministically to itself.
              // Otherwise, an F -> T cycle will end up resolving both F and T
    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/net/HostAndPort.java

       * method.
       *
       * @return {@code this}, to enable chaining of calls.
       * @throws IllegalArgumentException if bracketless IPv6 is detected.
       */
      @CanIgnoreReturnValue
      public HostAndPort requireBracketsForIPv6() {
        checkArgument(!hasBracketlessColons, "Possible bracketless IPv6 literal: %s", host);
        return this;
      }
    
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Aug 22 20:55:57 GMT 2023
    - 11.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableSet.java

          }
          maxRunBeforeFallback = maxRunBeforeFallback(newTableSize);
          expandTableThreshold = (int) (DESIRED_LOAD_FACTOR * newTableSize);
        }
    
        /**
         * We attempt to detect deliberate hash flooding attempts. If one is detected, we fall back to a
         * wrapper around j.u.HashSet, which has built-in flooding protection. MAX_RUN_MULTIPLIER was
         * determined experimentally to match our desired probability of false positives.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 35.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

           * properly.
           */
          /*
           * This reference is part of a reference cycle, which is typically something we want to avoid
           * under j2objc -- but it is not detected by our j2objc cycle test. The cycle:
           *
           * - CustomScheduler.service contains an instance of ServiceDelegate. (It needs it so that it
           *   can call notifyFailed.)
           *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 13 19:45:20 GMT 2023
    - 25.8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/graph/ValueGraphTest.java

      }
    
      @Test
      public void hasEdgeConnecting_directed_correct() {
        graph = ValueGraphBuilder.directed().build();
        graph.putEdgeValue(1, 2, "A");
        assertThat(graph.hasEdgeConnecting(EndpointPair.ordered(1, 2))).isTrue();
      }
    
      @Test
      public void hasEdgeConnecting_directed_backwards() {
        graph = ValueGraphBuilder.directed().build();
        graph.putEdgeValue(1, 2, "A");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 18:35:19 GMT 2024
    - 20K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/graph/PackageSanityTests.java

      private static final ImmutableNetwork<String, String> IMMUTABLE_NETWORK_B =
          NetworkBuilder.directed().<String, String>immutable().addNode("B").build();
    
      public PackageSanityTests() {
        MutableNetwork<String, String> mutableNetworkA = NetworkBuilder.directed().build();
        mutableNetworkA.addNode("a");
        MutableNetwork<String, String> mutableNetworkB = NetworkBuilder.directed().build();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 09 19:24:25 GMT 2023
    - 3.2K bytes
    - Viewed (0)
Back to top