Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 72 for logpath (0.05 sec)

  1. src/main/java/org/codelibs/core/io/FileUtil.java

        public static void deleteInBackground(final File file) {
            if (file != null) {
                TimeoutManager.getInstance().addTimeoutTarget(() -> {
                    try {
                        Files.deleteIfExists(file.toPath());
                    } catch (final IOException e) {
                        throw new IORuntimeException(e);
                    }
                }, 0, false);
            }
        }
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  2. okhttp/src/commonTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabaseTest.kt

    import okhttp3.internal.publicsuffix.ResourcePublicSuffixList.Companion.PUBLIC_SUFFIX_RESOURCE
    import okhttp3.internal.toCanonicalHost
    import okhttp3.okHttpRoot
    import okio.Buffer
    import okio.FileSystem
    import okio.Path.Companion.toPath
    import org.junit.Before
    import org.junit.Test
    import org.junit.runner.RunWith
    
    @RunWith(PublicSuffixTestRunner::class)
    class PublicSuffixDatabaseTest {
      private val publicSuffixDatabase = PublicSuffixDatabase.get()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 22:00:49 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/math/Quantiles.java

          // non-negative int, we can do long-arithmetic on index * (dataset.length - 1) / scale to get
          // a rounded ratio and a remainder which can be expressed as ints, without risk of overflow:
          int quotient = (int) LongMath.divide(numerator, scale, RoundingMode.DOWN);
          int remainder = (int) (numerator - (long) quotient * scale);
          selectInPlace(quotient, dataset, 0, dataset.length - 1);
          if (remainder == 0) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 30.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/curl/io/ContentCacheTest.java

            }
        }
    
        @Test
        public void testFileBasedCacheClose() throws IOException {
            tempFile = File.createTempFile("test", ".tmp", Curl.tmpDir);
            Files.write(tempFile.toPath(), "Hello, World!".getBytes());
            assertTrue(tempFile.exists());
    
            ContentCache cache = new ContentCache(tempFile);
    
            // Close should delete the file
            cache.close();
    
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java

                    // Copy tempFile to the actual file
                    try {
                        java.nio.file.Files.copy(tempFile.toPath(), new File(file.getPath()).toPath(),
                                java.nio.file.StandardCopyOption.REPLACE_EXISTING);
                    } catch (IOException e) {
                        throw new RuntimeException(e);
                    }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/curl/io/ContentOutputStream.java

            } finally {
                if (!isInMemory() && !done) {
                    final File file = super.getFile();
                    if (file != null) {
                        try {
                            Files.deleteIfExists(file.toPath());
                        } catch (final IOException e) {
                            logger.warning(e.getLocalizedMessage());
                        }
                    }
                }
            }
        }
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:38:18 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/api/admin/elevateword/ApiAdminElevatewordAction.java

            validateApi(body, messages -> {});
            return asStream("elevate.csv").contentTypeOctetStream().stream(out -> {
                final Path tempFile = ComponentUtil.getSystemHelper().createTempFile("fess-elevate-", ".csv").toPath();
                try {
                    try (Writer writer = new BufferedWriter(new OutputStreamWriter(Files.newOutputStream(tempFile), getCsvEncoding()))) {
                        elevateWordService.exportCsv(writer);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/curl/io/ContentCache.java

            this.data = null;
            this.file = file;
        }
    
        @Override
        public void close() throws IOException {
            if (file != null) {
                Files.delete(file.toPath());
            }
        }
    
        /**
         * Returns an InputStream to read the content from the cache.
         * If the content is stored in a file, a FileInputStream is returned.
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:38:18 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/SystemHelper.java

                                final File baseJspFile = getDesignJspFile("/WEB-INF/view/" + e.getValue());
                                try {
                                    final Path jspPath = jspFile.toPath();
                                    Files.copy(baseJspFile.toPath(), jspPath);
                                    fileList.add(jspPath);
                                } catch (final IOException ex) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 36.6K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt

        synchronized(cache) { cache.initialize() }
      }
    
      fun setUp(
        baseFilesystem: FileSystem,
        windows: Boolean,
      ) {
        this.cacheDir =
          if (baseFilesystem is FakeFileSystem) "/cache".toPath() else cacheDirFile.path.toPath()
        this.filesystem = FaultyFileSystem(baseFilesystem)
        this.windows = windows
    
        if (filesystem.exists(cacheDir)) {
          filesystem.deleteRecursively(cacheDir)
        }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 75.7K bytes
    - Viewed (0)
Back to top