Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 160 for fileSystem (0.13 sec)

  1. tensorflow/c/experimental/filesystem/modular_filesystem.cc

    #include "tsl/platform/errors.h"
    
    // TODO(b/139060984): After all filesystems are converted, all calls to
    // methods from `FileSystem` will have to be replaced to calls to private
    // methods here, as part of making this class a singleton and the only way to
    // register/use filesystems.
    
    namespace tensorflow {
    
    using UniquePtrTo_TF_Status =
        ::std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)>;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 23.1K bytes
    - Viewed (0)
  2. subprojects/core/src/testFixtures/groovy/org/gradle/api/internal/file/TestFiles.java

            FileResolver fileResolver = resolver(basedDir);
            FileSystem fileSystem = fileSystem();
    
            DefaultResourceHandler.Factory resourceHandlerFactory = DefaultResourceHandler.Factory.from(
                fileResolver,
                taskDependencyFactory(),
                fileSystem,
                temporaryFileProvider,
                textResourceAdapterFactory(temporaryFileProvider)
            );
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:55 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/filesystem/modular_filesystem_registration.cc

    }
    
    // Validates the filesystem operations supplied by the plugin.
    static Status ValidateHelper(const TF_FilesystemOps* ops) {
      if (ops == nullptr)
        return errors::FailedPrecondition(
            "Trying to register filesystem without operations");
    
      if (ops->init == nullptr)
        return errors::FailedPrecondition(
            "Trying to register filesystem without `init` operation");
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 07 22:08:43 UTC 2023
    - 12.8K bytes
    - Viewed (0)
  4. platforms/software/resources/src/test/groovy/org/gradle/internal/resource/local/LocalFileStandInExternalResourceTest.groovy

            resource.withContentIfPresent({} as ExternalResource.ContentAndMetadataAction) == null
        }
    
        def "can fail on missing file when using ContentAndMetadataAction"() {
            def file = tmpDir.file("missing")
            def resource = new LocalFileStandInExternalResource(file, TestFiles.fileSystem())
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 14K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

      ClearFileCaches(gcs_file, dst);
      DeleteFile(filesystem, src.c_str(), status);
    }
    
    void RenameFile(const TF_Filesystem* filesystem, const char* src,
                    const char* dst, TF_Status* status) {
      if (!IsDirectory(filesystem, src, status)) {
        if (TF_GetCode(status) == TF_FAILED_PRECONDITION) {
          TF_SetStatus(status, TF_OK, "");
          RenameObject(filesystem, src, dst, status);
        }
        return;
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 23 06:55:53 UTC 2023
    - 46.9K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/api/internal/file/DefaultFileOperations.java

                fileCollectionFactory,
                fileResolver,
                patternSetFactory,
                objectFactory,
                fileSystem,
                instantiator,
                documentationRegistry
            );
            this.fileSystem = fileSystem;
            this.deleter = deleter;
            this.decompressionCoordinator = decompressionCoordinator;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 15:15:04 UTC 2024
    - 14K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/internal/service/scopes/VirtualFileSystemServices.java

                FileSystem fileSystem,
                GradleUserHomeScopeFileTimeStampInspector fileTimeStampInspector,
                StreamHasher streamHasher,
                StringInterner stringInterner
            ) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  8. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/DefaultFileCollectionFactory.java

            Factory<PatternSet> patternSetFactory,
            PropertyHost propertyHost,
            FileSystem fileSystem
        ) {
            this(fileResolver, taskDependencyFactory, directoryFileTreeFactory, patternSetFactory, propertyHost, fileSystem, fileCollection -> {});
        }
    
        private DefaultFileCollectionFactory(
            PathToFileResolver fileResolver,
            TaskDependencyFactory taskDependencyFactory,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 18:57:37 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  9. okhttp/src/main/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: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc

    // ----------------------------------------------------------------------------
    namespace tf_posix_filesystem {
    
    static void Init(TF_Filesystem* filesystem, TF_Status* status) {
      TF_SetStatus(status, TF_OK, "");
    }
    
    static void Cleanup(TF_Filesystem* filesystem) {}
    
    static void NewRandomAccessFile(const TF_Filesystem* filesystem,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Mar 24 20:08:23 UTC 2024
    - 15.8K bytes
    - Viewed (0)
Back to top