Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2351 - 2360 of 2,652 for throwIt (0.05 sec)

  1. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DohProviders.kt

        }
      }
    
      private fun getByIp(host: String): InetAddress {
        return try {
          InetAddress.getByName(host)
        } catch (e: UnknownHostException) {
          // unlikely
          throw RuntimeException(e)
        }
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Dec 23 10:26:25 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/ListAddTester.java

        expectAdded(e0());
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_ADD)
      @CollectionSize.Require(absent = ZERO)
      /*
       * absent = ZERO isn't required, since unmodList.add() must
       * throw regardless, but it keeps the method name accurate.
       */
      public void testAdd_unsupportedPresent() {
        assertThrows(UnsupportedOperationException.class, () -> getList().add(e0()));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/ArtifactDescriptorUtils.java

                    return RepositoryPolicy.CHECKSUM_POLICY_IGNORE;
                case RepositoryPolicy.CHECKSUM_POLICY_WARN:
                    return RepositoryPolicy.CHECKSUM_POLICY_WARN;
                default:
                    throw new IllegalArgumentException("unknown repository checksum policy: " + artifactRepositoryPolicy);
            }
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. build-logic/documentation/src/test/groovy/gradlebuild/docs/XmlSpecification.groovy

            }
    
            if (node instanceof Text) {
                target.append(node.nodeValue.replace('&', '&amp;').replace('<', '&lt;').replace('>', '&gt;'))
                return
            }
    
            throw new UnsupportedOperationException("Don't know how to format DOM node: $node")
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGenerator.java

            case "image/png", "image/gif", "image/jpeg", "image/bmp" -> true;
            default -> false;
            };
        }
    
        protected Result saveImage(final ImageInputStream input, final File outputFile) throws IOException {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final Iterator<ImageReader> readers = ImageIO.getImageReaders(input);
            if (readers.hasNext()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/graph/SuccessorsFunction.java

       *       href="https://github.com/google/guava/wiki/GraphsExplained#graph-elements-nodes-and-edges">
       *       graph elements</a> for details)
       * </ul>
       *
       * @throws IllegalArgumentException if {@code node} is not an element of this graph
       */
      Iterable<? extends N> successors(N node);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 4.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        tester.testStaticMethods(RateLimiter.class, Visibility.PACKAGE);
        tester.testInstanceMethods(RateLimiter.create(5.0, stopwatch), Visibility.PACKAGE);
      }
    
      public void testVerySmallDoubleValues() throws Exception {
        RateLimiter rateLimiter = RateLimiter.create(Double.MIN_VALUE, stopwatch);
        assertTrue("Should acquire initial permit", rateLimiter.tryAcquire());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        tester.testStaticMethods(RateLimiter.class, Visibility.PACKAGE);
        tester.testInstanceMethods(RateLimiter.create(5.0, stopwatch), Visibility.PACKAGE);
      }
    
      public void testVerySmallDoubleValues() throws Exception {
        RateLimiter rateLimiter = RateLimiter.create(Double.MIN_VALUE, stopwatch);
        assertTrue("Should acquire initial permit", rateLimiter.tryAcquire());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

        checkNotNull(callable);
        checkNotNull(executor);
        return submitAsync(
            new AsyncCallable<T>() {
              @Override
              public ListenableFuture<T> call() throws Exception {
                return immediateFuture(callable.call());
              }
    
              @Override
              public String toString() {
                return callable.toString();
              }
            },
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/SitemapsHelperTest.java

    /**
     * @author shinsuke
     *
     */
    public class SitemapsHelperTest extends PlainTestCase {
        public SitemapsHelper sitemapsHelper;
    
        @Override
        protected void setUp() throws Exception {
            super.setUp();
            StandardCrawlerContainer container = new StandardCrawlerContainer().singleton("sitemapsHelper", SitemapsHelper.class);
            sitemapsHelper = container.getComponent("sitemapsHelper");
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 9.6K bytes
    - Viewed (0)
Back to top