Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1531 - 1540 of 2,652 for throwIf (0.05 sec)

  1. guava/src/com/google/common/util/concurrent/RateLimiter.java

       *
       * @param permitsPerSecond the rate of the returned {@code RateLimiter}, measured in how many
       *     permits become available per second
       * @throws IllegalArgumentException if {@code permitsPerSecond} is negative or zero
       */
      // TODO(user): "This is equivalent to
      // {@code createWithCapacity(permitsPerSecond, 1, TimeUnit.SECONDS)}".
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/AbstractTester.java

      // public so that it can be referenced in generated GWT tests.
      @Override
      public void setUp() throws Exception {
        if (setUp != null) {
          setUp.run();
        }
      }
    
      // public so that it can be referenced in generated GWT tests.
      @Override
      public void tearDown() throws Exception {
        if (tearDown != null) {
          tearDown.run();
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 28 21:41:47 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/AbstractTester.java

      // public so that it can be referenced in generated GWT tests.
      @Override
      public void setUp() throws Exception {
        if (setUp != null) {
          setUp.run();
        }
      }
    
      // public so that it can be referenced in generated GWT tests.
      @Override
      public void tearDown() throws Exception {
        if (tearDown != null) {
          tearDown.run();
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 28 21:41:47 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java

    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class CrawlingInfoHelperTest extends UnitFessTestCase {
        private CrawlingInfoHelper crawlingInfoHelper;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            crawlingInfoHelper = new CrawlingInfoHelper();
        }
    
        public void test_generateId() {
            final Map<String, Object> dataMap = new HashMap<String, Object>();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

                      new InvocationHandler() {
                        @Override
                        public Object invoke(Object proxy, Method method, Object[] args)
                            throws Throwable {
                          throw new UnsupportedOperationException();
                        }
                      });
        }
    
        @Override
        protected Multimap<K, V> delegate() {
          return unusableDelegate;
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 28.9K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheRequest.kt

     * limitations under the License.
     */
    package okhttp3.internal.cache
    
    import java.io.IOException
    import okio.Sink
    
    interface CacheRequest {
      @Throws(IOException::class)
      fun body(): Sink
    
      fun abort()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 769 bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/AbstractTableReadTest.java

      /**
       * Creates a table with the specified data.
       *
       * @param data the table data, repeating the sequence row key, column key, value once per mapping
       * @throws IllegalArgumentException if the size of {@code data} isn't a multiple of 3
       * @throws ClassCastException if a data element has the wrong type
       */
      protected abstract Table<String, Integer, C> create(@Nullable Object... data);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveAllTester.java

      }
    
      @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
      public void testRemoveAll_unsupportedEmptyCollection() {
        try {
          assertFalse(
              "removeAll(emptyCollection) should return false or throw "
                  + "UnsupportedOperationException",
              collection.removeAll(MinimalCollection.of()));
        } catch (UnsupportedOperationException tolerated) {
        }
        expectUnchanged();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/platform/android/AndroidSocketAdapter.kt

            setAlpnProtocols.invoke(
              sslSocket,
              Platform.concatLengthPrefixed(protocols),
            )
          } catch (e: IllegalAccessException) {
            throw AssertionError(e)
          } catch (e: InvocationTargetException) {
            throw AssertionError(e)
          }
        }
      }
    
      override fun getSelectedProtocol(sslSocket: SSLSocket): String? {
        // No TLS extensions if the socket class is custom.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/ForwardingFluentFuture.java

      public boolean isDone() {
        return delegate.isDone();
      }
    
      @Override
      @ParametricNullness
      public V get() throws InterruptedException, ExecutionException {
        return delegate.get();
      }
    
      @Override
      @ParametricNullness
      public V get(long timeout, TimeUnit unit)
          throws InterruptedException, ExecutionException, TimeoutException {
        return delegate.get(timeout, unit);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 05 22:27:35 UTC 2021
    - 2.5K bytes
    - Viewed (0)
Back to top