Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 541 for fileSystem (0.15 sec)

  1. pkg/util/filesystem/filesystem.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package filesystem
    
    import (
    	"os"
    	"path/filepath"
    	"time"
    )
    
    // Filesystem is an interface that we can use to mock various filesystem operations
    type Filesystem interface {
    	// from "os"
    	Stat(name string) (os.FileInfo, error)
    	Create(name string) (File, error)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 13 01:02:46 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  2. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/filesystem/FileSystem.java

     * limitations under the License.
     */
    package org.gradle.internal.nativeintegration.filesystem;
    
    import org.gradle.internal.file.Chmod;
    import org.gradle.internal.file.FileException;
    import org.gradle.internal.file.Stat;
    
    import java.io.File;
    
    /**
     * A file system accessible to Gradle.
     */
    public interface FileSystem extends Chmod, Stat {
        /**
         * Default Unix permissions for directories, {@code 755}.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  3. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/services/FileSystems.java

     * limitations under the License.
     */
    package org.gradle.internal.nativeintegration.services;
    
    import org.gradle.internal.nativeintegration.filesystem.FileSystem;
    
    public abstract class FileSystems {
        public static FileSystem getDefault() {
            return NativeServices.getInstance().get(FileSystem.class);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:06:40 UTC 2023
    - 897 bytes
    - Viewed (0)
  4. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/collections/DefaultDirectoryFileTreeFactory.java

                    return new PatternSet();
                }
            };
            this.fileSystem = FileSystems.getDefault();
        }
    
        public DefaultDirectoryFileTreeFactory(Factory<PatternSet> patternSetFactory, FileSystem fileSystem) {
            this.patternSetFactory = patternSetFactory;
            this.fileSystem = fileSystem;
        }
    
        @Override
        public DirectoryFileTree create(File directory) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  5. platforms/core-execution/file-watching/src/main/java/org/gradle/internal/watch/vfs/impl/DefaultWatchableFileSystemDetector.java

            "vboxsf"
        );
    
        private final FileSystems fileSystems;
    
        public DefaultWatchableFileSystemDetector(FileSystems fileSystems) {
            this.fileSystems = fileSystems;
        }
    
        @Override
        public Stream<File> detectUnsupportedFileSystems() {
            return fileSystems.getFileSystems().stream()
                .filter(fileSystem -> {
                    LOGGER.debug("Detected {}: {} from {} (remote: {})",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:38:01 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/collections/DirectoryFileTree.java

            this(dir, patternSet, fileSystem, false);
        }
    
        @VisibleForTesting
        public DirectoryFileTree(File dir, PatternSet patternSet, FileSystem fileSystem, boolean postfix) {
            this.patternSet = patternSet;
            this.dir = dir;
            this.fileSystem = fileSystem;
            this.postfix = postfix;
        }
    
        @Override
        public String getDisplayName() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 15 21:33:45 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/filesystem/modular_filesystem.h

    #define TENSORFLOW_C_EXPERIMENTAL_FILESYSTEM_MODULAR_FILESYSTEM_H_
    
    #include <memory>
    
    #include "tensorflow/c/experimental/filesystem/filesystem_interface.h"
    #include "tensorflow/core/platform/file_system.h"
    
    /// This file builds classes needed to hold a filesystem implementation in the
    /// modular world. Once all TensorFlow filesystems are converted to use the
    /// plugin based approach, this file will replace the one in core/platform and
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 12 08:49:52 UTC 2023
    - 8.9K bytes
    - Viewed (0)
Back to top