- Sort Score
- Num 10 results
- Language All
Results 351 - 360 of 751 for erasure (0.05 seconds)
-
guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java
* garbage-collected, even if there are no more instances of FinalizableReferenceQueue itself. * The code in FinalizableReferenceQueue goes to considerable trouble to ensure that there are * no such references and the tests here check that that trouble has not been in vain. * * When we reference FinalizableReferenceQueue in this test, we are referencing a class that is
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 7.6K bytes - Click Count (0) -
README.md
users outside your own control), you should not use beta APIs unless you [repackage] them. **If your code is a library, we strongly recommend using the [Guava Beta Checker] to ensure that you do not use any `@Beta` APIs!** 2. APIs without `@Beta` will remain binary-compatible for the indefinite future. (Previously, we sometimes removed such APIs after a deprecationCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 16 22:01:32 GMT 2025 - 6.2K bytes - Click Count (0) -
guava/src/com/google/common/util/concurrent/ListenerCallQueue.java
* <li>Events for the different listeners are dispatched concurrently. * <li>All events for a given listener dispatch on the provided executor. * <li>It is easy for the user to ensure that listeners are never invoked while holding locks. * </ul> * * The last point is subtle. Often the observable object will be managing its own internal state
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 8.1K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbRandomAccessFile.java
throw SmbException.wrap(e); } } /** * @return * @throws SmbException */ synchronized SmbFileHandleImpl ensureOpen() throws CIFSException { // ensure file is open if (this.handle == null || !this.handle.isValid()) { // one extra acquire to keep this open till the stream is released this.handle =
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 18.8K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt
peer.sendFrame().windowUpdate(3, 5) peer.acceptFrame() // DATA STREAM 3 "fghi" peer.play() // Play it back. val connection = connect(peer) connection.writePingAndAwaitPong() // Ensure the SETTINGS have been received. val stream = connection.newStream(headerEntries("a", "android"), true) val sink = stream.sink.buffer() sink.writeUtf8("abcdefghi") sink.flush()
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Thu Jul 31 04:18:40 GMT 2025 - 75.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java
assertWithMessage("Eviction notifications must be received") .that(removalListener.getCount()) .isEqualTo(10); CacheTesting.expireEntries((LoadingCache<?, ?>) cache, EXPIRING_TIME, ticker); // ensure that no new notifications are sent assertWithMessage("Eviction notifications must be received") .that(removalListener.getCount()) .isEqualTo(10); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 30 22:03:28 GMT 2025 - 19.2K bytes - Click Count (0) -
guava/src/com/google/common/base/FinalizableReferenceQueue.java
* finalizeReferent()} on the remaining references. * * <p>As an example of how this is used, imagine you have a class {@code MyServer} that creates a * {@link java.net.ServerSocket ServerSocket}, and you would like to ensure that the {@code * ServerSocket} is closed even if the {@code MyServer} object is garbage-collected without calling * its {@code close} method. You could use a finalizer to accomplish this, but that has a
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 14.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/crawler/serializer/DataSerializer.java
protected static final String JAVABIN = "javabin"; /** Constant for Kryo serializer type. */ protected static final String KRYO = "kryo"; /** ThreadLocal container for Kryo instances to ensure thread safety. */ protected final ThreadLocal<Kryo> kryoThreadLocal; /** * Constructs a new DataSerializer. * <p> * Initializes the ThreadLocal Kryo instances with appropriate configuration.
Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Wed Nov 19 07:09:17 GMT 2025 - 6.5K bytes - Click Count (3) -
guava-testlib/test/com/google/common/testing/GcFinalizationTest.java
assertWrapsInterruptedException(expected); } finally { interruptenator.shutdown(); Thread.interrupted(); } } /** * awaitFullGc() is not quite as reliable a way to ensure calling of a specific finalize method as * the more direct await* methods, but should be reliable enough in practice to avoid flakiness of * this test. (And if it isn't, we'd like to know about it first!) */
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Dec 08 17:02:07 GMT 2025 - 7.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateFallbackAtomicHelperTest.java
public void runTest() throws Exception { /* * Note that we do not run this test under Android at the moment. For Android testing, see * AggregateFutureStateDefaultAtomicHelperTest. */ // First, ensure that our classloaders are initializing the correct helper versions: checkHelperVersion(getClass().getClassLoader(), "SafeAtomicHelper"); checkHelperVersion(NO_ATOMIC_FIELD_UPDATER, "SynchronizedAtomicHelper");
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 6.5K bytes - Click Count (0)