Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for Filesystem (0.07 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt

        // If a bkp file exists, use it instead.
        if (fileSystem.exists(journalFileBackup)) {
          // If journal file also exists just delete backup file.
          if (fileSystem.exists(journalFile)) {
            fileSystem.delete(journalFileBackup)
          } else {
            fileSystem.atomicMove(journalFileBackup, journalFile)
          }
        }
    
        civilizedFileSystem = fileSystem.isCivilized(journalFileBackup)
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 34.7K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt

      directory: Path,
      maxSize: Long,
      fileSystem: FileSystem,
      taskRunner: TaskRunner,
    ) : Closeable,
      Flushable {
      /** Create a cache of at most [maxSize] bytes in [directory]. */
      constructor(
        fileSystem: FileSystem,
        directory: Path,
        maxSize: Long,
      ) : this(
        directory,
        maxSize,
        fileSystem,
        TaskRunner.INSTANCE,
      )
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/api/admin/stats/ApiAdminStatsAction.java

        }
    
        /**
         * Data transfer object representing filesystem statistics.
         */
        public static class FsObj {
            /**
             * Default constructor.
             */
            public FsObj() {
                // Default constructor
            }
    
            /** The percentage of used space on the filesystem. */
            public short percent;
            /** Used space in bytes */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java

        }
    
        @Test
        @DisplayName("Test readBytesWireFormat with unknown filesystem info class throws exception")
        void testReadBytesWireFormatUnknownFilesystemInfoClass() {
            response = new Smb2QueryInfoResponse(mockConfig, Smb2Constants.SMB2_0_INFO_FILESYSTEM, (byte) 99); // Unknown filesystem info class
    
            byte[] buffer = new byte[1024];
            int bufferIndex = 0;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt

     */
    internal fun FileSystem.isCivilized(file: Path): Boolean {
      sink(file).use {
        try {
          delete(file)
          return true
        } catch (_: IOException) {
        }
      }
      delete(file)
      return false
    }
    
    /** Delete file we expect but don't require to exist. */
    internal fun FileSystem.deleteIfExists(path: Path) {
      try {
        delete(path)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java

                assertEquals(1, Smb2Constants.SMB2_0_INFO_FILE, "File info level must be 1");
            }
    
            @Test
            @DisplayName("Filesystem info level should be 2")
            void testInfoFilesystem() {
                assertEquals(2, Smb2Constants.SMB2_0_INFO_FILESYSTEM, "Filesystem info level must be 2");
            }
    
            @Test
            @DisplayName("Security info level should be 3")
            void testInfoSecurity() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderRequest.java

         */
        enum RequestType {
            /**
             * The request is for building an initial model from a POM file in a project on the filesystem.
             */
            BUILD_PROJECT,
            /**
             * The request is for rebuilding the effective POM in a project on the filesystem.
             */
            BUILD_EFFECTIVE,
            /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Mar 26 20:54:22 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt

    @Timeout(30)
    open class TrailersTest {
      private val fileSystem = FakeFileSystem()
    
      @JvmField
      @RegisterExtension
      val platform = PlatformRule()
    
      @RegisterExtension
      val clientTestRule = OkHttpClientTestRule()
    
      @StartStop
      private val server = MockWebServer()
    
      private var client =
        clientTestRule
          .newClientBuilder()
          .cache(Cache(fileSystem, "/cache/".toPath(), Long.MAX_VALUE))
          .build()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 18:57:05 UTC 2025
    - 18K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

            assertFalse(locator("smb://server/share/").isIPC());
        }
    
        @Test
        @DisplayName("Type detection covers filesystem/share/IPC/workgroup/server")
        void testGetType() throws Exception {
            // Filesystem when there is a path beyond share
            assertEquals(SmbConstants.TYPE_FILESYSTEM, locator("smb://server/share/path").getType());
    
            // Named pipe for IPC$ root
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/io/Files.java

       * behavior that the {@link File} API does not already account for. For example, on NTFS it will
       * report {@code "txt"} as the extension for the filename {@code "foo.exe:.txt"} even though NTFS
       * will drop the {@code ":.txt"} part of the name when the file is actually created on the
       * filesystem due to NTFS's <a
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
Back to top