Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 831 - 840 of 1,782 for scratch (0.05 seconds)

  1. src/main/java/org/codelibs/fess/job/CrawlJob.java

            final TimeoutTask timeoutTask = createTimeoutTask();
            try {
                executeCrawler();
                ComponentUtil.getKeyMatchHelper().update();
            } catch (final JobProcessingException e) {
                throw e;
            } catch (final Exception e) {
                throw new JobProcessingException("Failed to execute a crawl job.", e);
            } finally {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 19.6K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/thumbnail/ThumbnailGeneratorTest.java

            }
            if (tempDir != null) {
                Files.walk(tempDir).sorted((a, b) -> b.compareTo(a)).forEach(path -> {
                    try {
                        Files.delete(path);
                    } catch (IOException e) {
                        // Ignore cleanup errors
                    }
                });
            }
            super.tearDown(testInfo);
        }
    
        @Test
        public void test_getName() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 11.7K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt

                task = withLock {
                  afterRun(task, delayNanos, true)
                  awaitTaskToRun()
                } ?: return
              }
            } catch (thrown: Throwable) {
              // A task failed. Update execution state and re-throw the exception.
              withLock {
                afterRun(task, -1L, false)
              }
              if (thrown is InterruptedException) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Aug 30 11:30:11 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  4. build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/precommit/LicenseHeadersTask.java

                Files.deleteIfExists(reportFile.toPath());
                BufferedWriter bufferedWriter = new BufferedWriter(new FileWriter(xmlReportFile));
                return toXmlReportFile(config, bufferedWriter);
            } catch (IOException | RatException exception) {
                throw new GradleException("Cannot generate license header report for " + getPath(), exception);
            }
        }
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Sep 09 18:53:35 GMT 2021
    - 10.6K bytes
    - Click Count (0)
  5. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                return execute(cliRequest);
            } catch (ExitException e) {
                return e.exitCode;
            } catch (UnrecognizedOptionException e) {
                // pure user error, suppress stack trace
                return 1;
            } catch (BuildAbort e) {
                CLIReportingUtils.showError(slf4jLogger, "ABORTED", e, cliRequest.showErrors);
    
                return 2;
            } catch (Exception e) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 78.1K bytes
    - Click Count (0)
  6. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/util/ports/DefaultPortDetector.java

                try {
                    ds.setReuseAddress(true);
                } finally {
                    ds.close();
                }
    
                return true;
            } catch (IOException e) {
                return false;
            }
    
        }
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 1.3K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/base/FessAdminAction.java

                    throw new IllegalArgumentException(
                            "File path is outside allowed directory: path=" + canonicalPath + ", allowed=" + allowedPaths);
                }
            } catch (final IOException e) {
                throw new IllegalArgumentException("Invalid file path: path=" + path, e);
            }
        }
    
        /**
         * Gets the servlet context.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 13:57:12 GMT 2026
    - 10.9K bytes
    - Click Count (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/WholeOperationTimeoutTest.kt

            }
    
            @Throws(IOException::class)
            override fun onResponse(
              call: Call,
              response: Response,
            ) {
              try {
                Thread.sleep(500)
              } catch (e: InterruptedException) {
                throw AssertionError()
              }
              assertFailsWith<IOException> {
                response.body.source().readUtf8()
              }.also { expected ->
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Jun 18 12:28:21 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

        }
    
        @Override
        public void remove() {
          iterator.remove();
        }
      }
    
      public void testPeekingIteratorDoesntAdvancePrematurely() throws Exception {
        /*
         * This test will catch problems where the underlying iterator
         * throws a RuntimeException when retrieving the nth element.
         *
         * If the PeekingIterator is caching elements too aggressively,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  10. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/testfixtures/TestFixturesPlugin.java

                        @Override
                        public void execute(Task task) {
                            try {
                                Files.createDirectories(testfixturesDir.toPath());
                            } catch (IOException e) {
                                throw new UncheckedIOException(e);
                            }
                        }
                    });
                });
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 29 15:07:50 GMT 2021
    - 10.7K bytes
    - Click Count (0)
Back to Top