Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 43 for garbage (0.16 sec)

  1. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

    import java.util.concurrent.Future;
    import java.util.concurrent.TimeoutException;
    
    /**
     * Testing utilities relating to garbage collection finalization.
     *
     * <p>Use this class to test code triggered by finalization, that is, one of the following
     * actions taken by the java garbage collection system:
     *
     * <ul>
     *   <li>invoking the {@code finalize} methods of unreachable objects
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/GcFinalization.java

    import java.util.concurrent.Future;
    import java.util.concurrent.TimeoutException;
    
    /**
     * Testing utilities relating to garbage collection finalization.
     *
     * <p>Use this class to test code triggered by finalization, that is, one of the following
     * actions taken by the java garbage collection system:
     *
     * <ul>
     *   <li>invoking the {@code finalize} methods of unreachable objects
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

      /*
       * The following tests check that the use of FinalizableReferenceQueue does not prevent the
       * ClassLoader that loaded that class from later being garbage-collected. If anything continues
       * to reference the FinalizableReferenceQueue class then its ClassLoader cannot be
       * garbage-collected, even if there are no more instances of FinalizableReferenceQueue itself.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 16 03:24:50 GMT 2021
    - 13.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/FinalizableReferenceQueue.java

       * it would prevent our class loader from getting garbage collected.
       */
      static class DecoupledLoader implements FinalizerLoader {
        private static final String LOADING_ERROR =
            "Could not load Finalizer in its own class loader. Loading Finalizer in the current class "
                + "loader instead. As a result, you will not be able to garbage collect this class "
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 13.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/FinalizableReferenceQueue.java

       * it would prevent our class loader from getting garbage collected.
       */
      static class DecoupledLoader implements FinalizerLoader {
        private static final String LOADING_ERROR =
            "Could not load Finalizer in its own class loader. Loading Finalizer in the current class "
                + "loader instead. As a result, you will not be able to garbage collect this class "
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 13.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

      /*
       * The following tests check that the use of FinalizableReferenceQueue does not prevent the
       * ClassLoader that loaded that class from later being garbage-collected. If anything continues
       * to reference the FinalizableReferenceQueue class then its ClassLoader cannot be
       * garbage-collected, even if there are no more instances of FinalizableReferenceQueue itself.
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 16 03:24:50 GMT 2021
    - 13.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/MapMaker.java

     * iterators never throw {@link ConcurrentModificationException}.
     *
     * <p>If {@link #weakKeys} or {@link #weakValues} are requested, it is possible for a key or value
     * present in the map to be reclaimed by the garbage collector. Entries with reclaimed keys or
     * values may be removed from the map on each map modification or on occasional map accesses; such
     * entries may be counted by {@link Map#size}, but will never be visible to read or write
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 13 14:30:51 GMT 2023
    - 12.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/net/HostAndPortTest.java

        assertEquals("", HostAndPort.fromString("").toString());
        assertEquals("[1::2]", HostAndPort.fromString("1::2").toString());
        assertEquals("[::1]", HostAndPort.fromString("[::1]").toString());
    
        // Garbage in, garbage out.
        assertEquals("[::]]:107", HostAndPort.fromParts("::]", 107).toString());
        assertEquals("[[:]]:108", HostAndPort.fromString("[[:]]:108").toString());
      }
    
      public void testSerialization() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 11:19:47 GMT 2023
    - 10K bytes
    - Viewed (0)
  9. cmd/object-handlers-common.go

    	// Return false for methods other than GET and HEAD.
    	if r.Method != http.MethodPut {
    		return false
    	}
    	// If the object doesn't have a modtime (IsZero), or the modtime
    	// is obviously garbage (Unix time == 0), then ignore modtimes
    	// and don't process the If-Modified-Since header.
    	if objInfo.ModTime.IsZero() || objInfo.ModTime.Equal(time.Unix(0, 0)) {
    		return false
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 09 08:17:49 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/cache/CacheTesting.java

     *
     * @author mike nonemacher
     */
    @SuppressWarnings("GuardedBy") // TODO(b/35466881): Fix or suppress.
    class CacheTesting {
    
      /**
       * Poke into the Cache internals to simulate garbage collection of the value associated with the
       * given key. This assumes that the associated entry is a WeakValueReference or a
       * SoftValueReference (and not a LoadingValueReference), and throws an IllegalStateException if
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 16.7K bytes
    - Viewed (0)
Back to top