Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 343 for ensure (0.04 sec)

  1. android/guava/src/com/google/common/io/Closer.java

       * in a {@code RuntimeException}. <b>Note:</b> Be sure to declare all of the checked exception
       * types your try block can throw when calling an overload of this method so as to avoid losing
       * the original exception type.
       *
       * <p>This method always throws, and as such should be called as {@code throw closer.rethrow(e);}
       * to ensure the compiler knows that it will throw.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

       * reference has been cleared and one {@code finalize} method has been run before this method
       * returns. This method may be useful when testing the garbage collection mechanism itself, or
       * inhibiting a spontaneous GC initiation in subsequent code.
       *
       * <p>In contrast, a plain call to {@link java.lang.System#gc()} does not ensure finalization
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/GcFinalization.java

       * reference has been cleared and one {@code finalize} method has been run before this method
       * returns. This method may be useful when testing the garbage collection mechanism itself, or
       * inhibiting a spontaneous GC initiation in subsequent code.
       *
       * <p>In contrast, a plain call to {@link java.lang.System#gc()} does not ensure finalization
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/timer/SystemMonitorTargetTest.java

            try {
                // Create a new instance to ensure clean state
                SystemMonitorTarget testTarget = new SystemMonitorTarget();
    
                // Try to call the expired method
                // Note: This method may fail in test environments due to system dependencies
                // but we mainly want to ensure the method signature is correct
                testTarget.expired();
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/graph/MapCacheTest.java

        }
      }
    
      @Test
      public void testPutNewValue() {
        assertThat(mapCache.put("key", "value")).isNull();
        assertThat(mapCache.get("key")).isEqualTo("value"); // ensure key/value is cached
        assertThat(mapCache.put("key", "new value")).isEqualTo("value");
        assertThat(mapCache.get("key")).isEqualTo("new value");
      }
    
      @Test
      public void testRemoveEqualKeyWithDifferentReference() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. android-test/src/test/kotlin/okhttp/android/test/DisabledInitialiserTest.kt

    import org.robolectric.annotation.Config
    
    @RunWith(RobolectricTestRunner::class)
    @Config(
      sdk = [23, 26, 30, 33, 35],
    )
    class DisabledInitialiserTest {
      @Before
      fun setContext() {
        // Ensure we aren't succeeding because of another test
        Platform.resetForTests()
        PlatformRegistry.applicationContext = null
      }
    
      @Test
      fun testWithoutContext() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 16:25:39 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/entity/RequestParameterTest.java

            String name = "getName";
            String[] values = { "test" };
            RequestParameter param = new RequestParameter(name, values);
    
            assertEquals(name, param.getName());
            // Call multiple times to ensure consistency
            assertEquals(name, param.getName());
            assertEquals(name, param.getName());
        }
    
        public void test_getValues() {
            // Test getValues method explicitly
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/eventbus/Subscriber.java

     * events to it.
     *
     * <p>Two subscribers are equivalent when they refer to the same method on the same object (not
     * class). This property is used to ensure that no subscriber method is registered more than once.
     *
     * @author Colin Decker
     */
    class Subscriber {
    
      /** Creates a {@code Subscriber} for {@code method} on {@code listener}. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  9. okhttp/okhttp3.pro

    # JSR 305 annotations are for embedding nullability information.
    -dontwarn javax.annotation.**
    
    # Animal Sniffer compileOnly dependency to ensure APIs are compatible with older versions of Java.
    -dontwarn org.codehaus.mojo.animal_sniffer.*
    
    # OkHttp platform used only on JVM and when Conscrypt and other security providers are available.
    # May be used with robolectric or deliberate use of Bouncy Castle on Android
    -dontwarn okhttp3.internal.platform.**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jul 19 13:25:00 UTC 2025
    - 512 bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

     *         }
     *       },
     *       MoreExecutors.directExecutor());
     *
     *     Runtime.getRuntime().addShutdownHook(new Thread() {
     *       public void run() {
     *         // Give the services 5 seconds to stop to ensure that we are responsive to shutdown
     *         // requests.
     *         try {
     *           manager.stopAsync().awaitStopped(5, TimeUnit.SECONDS);
     *         } catch (TimeoutException timeout) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 33.2K bytes
    - Viewed (0)
Back to top