Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 147 for temp (0.12 sec)

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

          return File.createTempFile(
              /* prefix= */ prefix,
              /* suffix= */ null,
              /* directory= */ null /* defaults to java.io.tmpdir */);
        }
    
        /** Maximum loop count when creating temp directories. */
        private static final int TEMP_DIR_ATTEMPTS = 10000;
      }
    
      private static final class ThrowingCreator extends TempFileCreator {
        private static final String MESSAGE =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/exec/ThumbnailGenerator.java

                    final File propFile = ComponentUtil.getSystemHelper().createTempFile("thumbnail_", ".properties");
                    if (propFile.delete() && logger.isDebugEnabled()) {
                        logger.debug("Deleted a temp file: {}", propFile.getAbsolutePath());
                    }
                    systemProperties.reload(propFile.getAbsolutePath());
                    propFile.deleteOnExit();
                } catch (final Exception e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/job/SuggestJobTest.java

        private MockPopularWordHelper mockPopularWordHelper;
        private File tempDir;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
    
            // Create temp directory for testing first
            tempDir = File.createTempFile("suggestjob_test", "");
            tempDir.delete();
            tempDir.mkdirs();
            tempDir.deleteOnExit();
    
            // Create mock objects
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/exec/SuggestCreator.java

                    final File propFile = ComponentUtil.getSystemHelper().createTempFile("suggest_", ".properties");
                    if (propFile.delete() && logger.isDebugEnabled()) {
                        logger.debug("Deleted a temp file: {}", propFile.getAbsolutePath());
                    }
                    systemProperties.reload(propFile.getAbsolutePath());
                    propFile.deleteOnExit();
                } catch (final Exception e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 11K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/job/ExecJob.java

        protected void deleteTempDir(final File ownTmpDir) {
            if (ownTmpDir == null) {
                return;
            }
            if (!FileUtils.deleteQuietly(ownTmpDir)) {
                logger.warn("Could not delete a temp dir: {}", ownTmpDir.getAbsolutePath());
            }
        }
    
        /**
         * Appends JAR files from the specified directory to the classpath buffer.
         *
         * @param cpSeparator the classpath separator to use
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

        private ThumbnailManager thumbnailManager;
        private File tempDir;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
    
            // Create temp directory for testing
            tempDir = Files.createTempDirectory("thumbnail_test").toFile();
            tempDir.deleteOnExit();
    
            // Create a test thumbnail manager with minimal initialization
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java

            try (final InputStream in = form.bulkFile.getInputStream(); final OutputStream out = new FileOutputStream(tempFile)) {
                CopyUtil.copy(in, out);
                asyncImport(fileName, tempFile);
            } catch (final IOException e) {
                logger.warn("Failed to create a temp file.", e);
                if (tempFile.exists() && !tempFile.delete()) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 29.8K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java

            final String tempPath = "/tmp/source.pdf";
            final String outputPath = "/tmp/thumbnail.jpg";
    
            final String expandedCommand = testCommand.replace("${url}", tempPath).replace("${outputFile}", outputPath);
    
            assertEquals("convert /tmp/source.pdf -resize 100x100 /tmp/thumbnail.jpg", expandedCommand);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/dict/mapping/CharMappingItemTest.java

        }
    
        public void test_getInputsValue_withNullInputs() {
            // Create item and then set inputs to null via reflection or subclass
            CharMappingItem item = new CharMappingItem(1L, new String[] { "temp" }, "output") {
                @Override
                public String getInputsValue() {
                    // Simulate null inputs scenario
                    if (getInputs() == null) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/math/Quantiles.java

          return low;
        }
      }
    
      /** Swaps the values at {@code i} and {@code j} in {@code array}. */
      private static void swap(double[] array, int i, int j) {
        double temp = array[i];
        array[i] = array[j];
        array[j] = temp;
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 30.1K bytes
    - Viewed (0)
Back to top