Search Options

Results per page
Sort
Preferred Languages
Advance

Results 861 - 870 of 2,742 for throws (0.1 sec)

  1. src/test/java/org/codelibs/fess/suggest/settings/ArraySettingsTest.java

            runner.ensureYellow();
        }
    
        @AfterClass
        public static void afterClass() throws Exception {
            runner.close();
            runner.clean();
        }
    
        @Before
        public void before() throws Exception {
            try {
                runner.admin().indices().prepareDelete("_all").execute().actionGet();
            } catch (IndexNotFoundException ignore) {
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/ReflectionFreeAssertThrows.java

            return caught;
          }
          throw new AssertionError(
              "expected to throw " + expectedThrowable.getSimpleName() + " but threw " + t, t);
        }
        if (userPassedSupplier) {
          throw new AssertionError(
              "expected to throw "
                  + expectedThrowable.getSimpleName()
                  + " but returned result: "
                  + result);
        } else {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 7K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParserTest.java

        String[] supportedFields = new String[] { "content", "title" };
        String[] tagFieldNames = new String[] { "label", "virtual_host" };
        String roleFieldName = "role";
    
        public void test_parseQueryLog() throws Exception {
    
            QueryLog queryLog = new QueryLog("content:検索エンジン", null);
            List<SuggestItem> items = defaultContentsParser.parseQueryLog(queryLog, supportedFields, tagFieldNames, roleFieldName,
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

       * sees an Error?
       */
      @AndroidIncompatible
      public void testTaskThrowsError() throws Exception {
        class MyError extends Error {}
        final CyclicBarrier barrier = new CyclicBarrier(2);
        // we need to make sure the error gets thrown on a different thread.
        ExecutorService service = Executors.newSingleThreadExecutor();
        try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  5. guava-tests/benchmark/com/google/common/hash/ChecksumBenchmark.java

      }
    
      // CRC32
    
      @Benchmark
      byte crc32HashFunction(int reps) {
        return runHashFunction(reps, Hashing.crc32());
      }
    
      @Benchmark
      byte crc32Checksum(int reps) throws Exception {
        byte result = 0x01;
        for (int i = 0; i < reps; i++) {
          CRC32 checksum = new CRC32();
          checksum.update(testBytes, 0, testBytes.length);
          result = (byte) (result ^ checksum.getValue());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 16:53:43 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/net/protocol/storage/HandlerTest.java

    import org.dbflute.utflute.core.PlainTestCase;
    
    public class HandlerTest extends PlainTestCase {
        @Override
        protected void setUp() throws Exception {
            super.setUp();
            new StandardCrawlerContainer();
        }
    
        public void test_protocol() throws Exception {
            URL url = new URL("storage:/home/foo");
            assertEquals("storage", url.getProtocol());
        }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/Interceptor.kt

     *    libraries may customize this behavior.)
     *
     * A good way to signal a failure is with a synthetic HTTP response:
     *
     * ```kotlin
     *   @Throws(IOException::class)
     *   override fun intercept(chain: Interceptor.Chain): Response {
     *     if (myConfig.isInvalid()) {
     *       return Response.Builder()
     *           .request(chain.request())
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/net/MediaType.java

      }
    
      /**
       * Returns an optional charset for the value of the charset parameter if it is specified.
       *
       * @throws IllegalStateException if multiple charset values have been set for this media type
       * @throws IllegalCharsetNameException if a charset value is present, but illegal
       * @throws UnsupportedCharsetException if a charset value is present, but no support is available
       *     in this instance of the Java virtual machine
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Sep 26 19:15:09 UTC 2024
    - 47.5K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/artifact/installer/DefaultArtifactInstaller.java

                throws ArtifactInstallationException {
            String extension = artifact.getArtifactHandler().getExtension();
            File source = new File(basedir, finalName + "." + extension);
    
            install(source, artifact, localRepository);
        }
    
        public void install(File source, Artifact artifact, ArtifactRepository localRepository)
                throws ArtifactInstallationException {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

        @Deprecated
        public Object lookup(String role) throws ComponentLookupException {
            return container.lookup(role);
        }
    
        @Deprecated
        public Object lookup(String role, String roleHint) throws ComponentLookupException {
            return container.lookup(role, roleHint);
        }
    
        @Deprecated
        public List<Object> lookupList(String role) throws ComponentLookupException {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.6K bytes
    - Viewed (0)
Back to top