Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 45 for FileSystem (0.23 seconds)

  1. android/guava-tests/test/com/google/common/io/MoreFilesTest.java

        /*
         * We use a fake filesystem to sidestep:
         *
         * - flaky problems with Windows (b/136041958)
         *
         * - the lack of support for symlinks in the default filesystem under Android's desugared
         *   java.nio.file
         */
        try (FileSystem fs = Jimfs.newFileSystem(Configuration.unix())) {
          Path symlink = fs.getPath("linkToDir");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 26.6K bytes
    - Click Count (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/okio/LoggingFilesystem.kt

     * limitations under the License.
     */
    package okhttp3.okio
    
    import okio.FileSystem
    import okio.ForwardingFileSystem
    import okio.Path
    import okio.Sink
    import okio.Source
    
    class LoggingFilesystem(
      fileSystem: FileSystem,
    ) : ForwardingFileSystem(fileSystem) {
      fun log(line: String) {
        println(line)
      }
    
      override fun appendingSink(
        file: Path,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 1.7K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/io/MoreFilesTest.java

        /*
         * We use a fake filesystem to sidestep:
         *
         * - flaky problems with Windows (b/136041958)
         *
         * - the lack of support for symlinks in the default filesystem under Android's desugared
         *   java.nio.file
         */
        try (FileSystem fs = Jimfs.newFileSystem(Configuration.unix())) {
          Path symlink = fs.getPath("linkToDir");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 27.5K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt

        assertThat(filesystem.exists(getCleanFile("g1", 0))).isFalse()
        assertThat(filesystem.exists(getCleanFile("g1", 1))).isFalse()
        assertThat(filesystem.exists(getCleanFile("g2", 0))).isFalse()
        assertThat(filesystem.exists(getCleanFile("g2", 1))).isFalse()
        assertThat(filesystem.exists(cacheDir / "otherFile0")).isFalse()
        assertThat(filesystem.exists(cacheDir / "dir1")).isFalse()
      }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 59.4K bytes
    - Click Count (0)
  5. 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,
      )
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Mar 20 09:13:37 GMT 2026
    - 26.9K bytes
    - Click Count (0)
  6. 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)
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 34.7K bytes
    - Click Count (0)
  7. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/resident/ResidentMavenInvokerTest.java

                throws Exception {
            invoke(cwd, userHome, List.of("verify"), List.of());
        }
    
        @Disabled("Enable it when fully moved to NIO2 with Path/Filesystem (ie MavenExecutionRequest)")
        @Test
        void jimFs() throws Exception {
            try (FileSystem fs = Jimfs.newFileSystem(Configuration.unix())) {
                invoke(fs.getPath("/cwd"), fs.getPath("/home"), List.of("verify"), List.of());
            }
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Oct 16 10:47:37 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  8. ci/official/requirements_updater/numpy1_requirements/requirements.in

    scipy >= 1.13.0, < 1.15.0
    requests >= 2.31.0
    packaging==23.2
    setuptools==78.1.1
    jax==0.4.7
    zstandard==0.23.0
    # The dependencies below are needed for TF wheel testing.
    tensorflow-io-gcs-filesystem==0.37.1 ; python_version <= "3.12"
    libclang >= 13.0.0
    google_pasta ~= 0.2
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Mon Jan 26 22:44:40 GMT 2026
    - 1.2K bytes
    - Click Count (0)
  9. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/MavenInvokerTest.java

                throws Exception {
            invoke(cwd, userHome, List.of("verify"), List.of());
        }
    
        @Disabled("Enable it when fully moved to NIO2 with Path/Filesystem (ie MavenExecutionRequest)")
        @Test
        void jimFs() throws Exception {
            try (FileSystem fs = Jimfs.newFileSystem(Configuration.unix())) {
                invoke(fs.getPath("/cwd"), fs.getPath("/home"), List.of("verify"), List.of());
            }
        }
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Oct 21 12:17:55 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  10. ci/official/requirements_updater/requirements.in

    scipy >=1.15.0 ; python_version == "3.14"
    requests >= 2.31.0
    packaging==23.2
    setuptools==78.1.1
    jax==0.4.7
    zstandard==0.25.0
    # The dependencies below are needed for TF wheel testing.
    tensorflow-io-gcs-filesystem==0.37.1 ; python_version <= "3.12"
    libclang >= 13.0.0
    google_pasta ~= 0.2
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Tue Mar 10 13:31:27 GMT 2026
    - 1.5K bytes
    - Click Count (0)
Back to Top