Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 138 for Live (0.16 sec)

  1. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        assertNotified(listener, three, four, RemovalCause.EXPLICIT);
    
        map.put(four, five);
        i = map.keySet().iterator();
        i.next();
        i.remove();
        assertNotified(listener, four, five, RemovalCause.EXPLICIT);
    
        map.put(five, six);
        i = map.values().iterator();
        i.next();
        i.remove();
        assertNotified(listener, five, six, RemovalCause.EXPLICIT);
    
        assertTrue(listener.isEmpty());
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 110.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/GraphBuilder.java

     *       order)
     * </ul>
     *
     * <p>{@code Graph}s built by this class also guarantee that each collection-returning accessor
     * returns a <b>(live) unmodifiable view</b>; see <a
     * href="https://github.com/google/guava/wiki/GraphsExplained#accessor-behavior">the external
     * documentation</a> for details.
     *
     * <p>Examples of use:
     *
     * <pre>{@code
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Jun 03 01:21:31 GMT 2022
    - 7.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/graph/Graphs.java

       * graph with an edge connecting node A to node B if node B is {@link #reachableNodes(Graph,
       * Object) reachable} from node A.
       *
       * <p>This is a "snapshot" based on the current topology of {@code graph}, rather than a live view
       * of the transitive closure of {@code graph}. In other words, the returned {@link Graph} will not
       * be updated after modifications to {@code graph}.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.2K bytes
    - Viewed (0)
  4. guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

    import java.util.regex.Pattern;
    import junit.framework.AssertionFailedError;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests for {@link ForwardingWrapperTester}. Live in a different package to detect reflection
     * access issues, if any.
     *
     * @author Ben Yu
     */
    public class ForwardingWrapperTesterTest extends TestCase {
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 15.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

     *       {@code fail}, {@code assertTrue}, etc.) It is OK (but not particularly recommended) for
     *       other code to use these forms too. Only the most typically used JUnit assertion methods are
     *       defined this way, but enough to live with.
     *   <li>If you override {@link #setUp} or {@link #tearDown}, make sure to invoke {@code
     *       super.setUp} and {@code super.tearDown} within them. These methods are used to clear and
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/AtomicLongMap.java

        long sum = 0L;
        for (AtomicLong value : map.values()) {
          sum = sum + value.get();
        }
        return sum;
      }
    
      @LazyInit @CheckForNull private transient Map<K, Long> asMap;
    
      /** Returns a live, read-only view of the map backing this {@code AtomicLongMap}. */
      public Map<K, Long> asMap() {
        Map<K, Long> result = asMap;
        return (result == null) ? asMap = createAsMap() : result;
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/cache/LocalCache.java

         * comments.
         */
    
        @Weak final LocalCache<K, V> map;
    
        /** The number of live elements in this segment's region. */
        volatile int count;
    
        /** The weight of the live elements in this segment's region. */
        @GuardedBy("this")
        long totalWeight;
    
        /**
    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)
  8. android/guava/src/com/google/common/cache/LocalCache.java

         * comments.
         */
    
        @Weak final LocalCache<K, V> map;
    
        /** The number of live elements in this segment's region. */
        volatile int count;
    
        /** The weight of the live elements in this segment's region. */
        @GuardedBy("this")
        long totalWeight;
    
        /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 144.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

     *       {@code fail}, {@code assertTrue}, etc.) It is OK (but not particularly recommended) for
     *       other code to use these forms too. Only the most typically used JUnit assertion methods are
     *       defined this way, but enough to live with.
     *   <li>If you override {@link #setUp} or {@link #tearDown}, make sure to invoke {@code
     *       super.setUp} and {@code super.tearDown} within them. These methods are used to clear and
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/Configuration.java

         * @return random source to use
         */
        SecureRandom getRandom ();
    
    
        /**
         * 
         * 
         * Property <tt>jcifs.smb.client.dfs.ttl</tt> (int, default 300)
         * 
         * @return title to live, in seconds, for DFS cache entries
         */
        long getDfsTtl ();
    
    
        /**
         * 
         * Property <tt>jcifs.smb.client.dfs.strictView</tt> (boolean, default false)
         * 
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 18K bytes
    - Viewed (0)
Back to top