Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 311 - 320 of 605 for ensures (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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)
  2. 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 deprecation
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 16 22:01:32 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. internal/deadlineconn/deadlineconn_test.go

    		if received != "message one\n" {
    			cerr = fmt.Errorf(`server: expected: "message one\n", got: %v`, received)
    			return
    		}
    
    		// Set a deadline in the past to indicate we want the next read to fail.
    		// Ensure we don't override it on read.
    		deadlineconn.SetReadDeadline(time.Unix(1, 0))
    
    		// Be sure to exceed update interval
    		time.Sleep(updateInterval * 2)
    
    		_, terr = deadlineconn.Read(b)
    		if terr == nil {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Nov 11 17:15:17 GMT 2024
    - 4.8K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb/JAASAuthenticator.java

                }
    
                this.cachedSubject = s;
                return this.cachedSubject;
            } catch (LoginException e) {
                log.error("Failed to create login context", e);
                // Cache null to ensure consistent behavior across calls
                this.cachedSubject = null;
                return null;
            }
        }
    
        /**
         * {@inheritDoc}
         *
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 8.3K bytes
    - Click Count (1)
Back to Top