Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 73 for duration (0.16 sec)

  1. android/guava-tests/test/com/google/common/graph/AbstractStandardDirectedGraphTest.java

       */
      private void populateStarShapedGraph() {
        putEdge(2, 1);
        putEdge(1, 4);
        putEdge(1, 3);
        putEdge(5, 1);
        putEdge(1, 2);
        putEdge(3, 1);
      }
    
      // Element Mutation
    
      @Test
      public void putEdge_existingNodes() {
        assume().that(graphIsMutable()).isTrue();
    
        // Adding nodes initially for safety (insulating from possible future
        // modifications to proxy methods)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/cache/LocalCache.java

       * ordering information is updated. This is used to avoid lock contention by recording a memento
       * of reads and delaying a lock acquisition until the threshold is crossed or a mutation occurs.
       *
       * <p>This must be a (2^n)-1 as it is used as a mask.
       */
      static final int DRAIN_THRESHOLD = 0x3F;
    
      /**
    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. guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

        }
      }
    
      /**
       * Verifies that a collection is immutable.
       *
       * <p>A collection is considered immutable if:
       *
       * <ol>
       *   <li>All its mutation methods result in UnsupportedOperationException, and do not change the
       *       underlying contents.
       *   <li>All methods that return objects that can indirectly mutate the collection throw
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 15K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/graph/AbstractStandardDirectedGraphTest.java

       */
      private void populateStarShapedGraph() {
        putEdge(2, 1);
        putEdge(1, 4);
        putEdge(1, 3);
        putEdge(5, 1);
        putEdge(1, 2);
        putEdge(3, 1);
      }
    
      // Element Mutation
    
      @Test
      public void putEdge_existingNodes() {
        assume().that(graphIsMutable()).isTrue();
    
        // Adding nodes initially for safety (insulating from possible future
        // modifications to proxy methods)
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java

        addEdge(N1, N1, E11);
        assertThat(network.outDegree(N1)).isEqualTo(1);
        addEdge(N1, N2, E12);
        assertThat(network.outDegree(N1)).isEqualTo(2);
      }
    
      // Element Mutation
    
      @Test
      public void addEdge_existingNodes() {
        assume().that(graphIsMutable()).isTrue();
    
        // Adding nodes initially for safety (insulating from possible future
        // modifications to proxy methods)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/graph/ValueGraph.java

     * {@link Network}. (You can use a positive {@code Integer} edge value as a loose representation of
     * edge multiplicity, but the {@code *degree()} and mutation methods will not reflect your
     * interpretation of the edge value as its multiplicity.)
     *
     * <h3>Building a {@code ValueGraph}</h3>
     *
    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-testlib/src/com/google/common/testing/ClassSanityTester.java

       *       static factory method whose return type is {@code cls} or {@code cls}'s subtype.
       *   <li>Inequality check is not performed against state mutation methods such as {@link
       *       List#add}, or functional update methods such as {@link
       *       com.google.common.base.Joiner#skipNulls}.
       * </ul>
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 33K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

       * ordering information is updated. This is used to avoid lock contention by recording a memento
       * of reads and delaying a lock acquisition until the threshold is crossed or a mutation occurs.
       *
       * <p>This must be a (2^n)-1 as it is used as a mask.
       */
      static final int DRAIN_THRESHOLD = 0x3F;
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/graph/MutableValueGraph.java

    import com.google.common.annotations.Beta;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import javax.annotation.CheckForNull;
    
    /**
     * A subinterface of {@link ValueGraph} which adds mutation methods. When mutation is not required,
     * users should prefer the {@link ValueGraph} interface.
     *
     * @author James Sexton
     * @param <N> Node parameter type
     * @param <V> Value parameter type
     * @since 20.0
     */
    @Beta
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 26 17:43:39 GMT 2021
    - 4.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/MutableGraph.java

     */
    
    package com.google.common.graph;
    
    import com.google.common.annotations.Beta;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    
    /**
     * A subinterface of {@link Graph} which adds mutation methods. When mutation is not required, users
     * should prefer the {@link Graph} interface.
     *
     * @author James Sexton
     * @author Joshua O'Madadhain
     * @param <N> Node parameter type
     * @since 20.0
     */
    @Beta
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 26 17:43:39 GMT 2021
    - 3.9K bytes
    - Viewed (0)
Back to top