Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for CreateDirectory (0.23 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/okio/LoggingFilesystem.kt

        source: Path,
        target: Path,
      ) {
        log("atomicMove($source, $target)")
    
        super.atomicMove(source, target)
      }
    
      override fun createDirectory(
        dir: Path,
        mustCreate: Boolean,
      ) {
        log("createDirectory($dir)")
    
        super.createDirectory(dir, mustCreate)
      }
    
      override fun delete(
        path: Path,
        mustExist: Boolean,
      ) {
        log("delete($path)")
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. pkg/test/framework/resource/context.go

    	// depending on the provided strategy.
    	// This function may not (safely) access the test context.
    	CleanupStrategy(strategy cleanup.Strategy, fn func())
    
    	// CreateDirectory creates a new subdirectory within this context.
    	CreateDirectory(name string) (string, error)
    
    	// CreateTmpDirectory creates a new temporary directory within this context.
    	CreateTmpDirectory(prefix string) (string, error)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  3. platforms/core-execution/build-cache/src/jmh/java/org/gradle/caching/internal/tasks/FileWalkingBenchmark.java

        }
    
        private static void mkdirs(Path path) throws IOException {
            if (path == null || Files.isDirectory(path)) {
                return;
            }
            mkdirs(path.getParent());
            Files.createDirectory(path);
        }
    
        @Benchmark
        public void java6walk(Blackhole blackhole) {
            File file = missing ? missingFile : existingFile;
            while (!file.equals(tempDirFile)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:43:12 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  4. pkg/test/framework/suitecontext.go

    }
    
    // Settings returns the current runtime.Settings.
    func (c *suiteContext) Settings() *resource.Settings {
    	return c.settings
    }
    
    // CreateDirectory creates a new subdirectory within this context.
    func (c *suiteContext) CreateDirectory(name string) (string, error) {
    	dir, err := os.MkdirTemp(c.workDir, name)
    	if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  5. pkg/test/framework/testcontext.go

    }
    
    func (c *testContext) AllClusters() cluster.Clusters {
    	if c == nil || c.Environment() == nil {
    		return nil
    	}
    	return c.Environment().AllClusters()
    }
    
    func (c *testContext) CreateDirectory(name string) (string, error) {
    	dir, err := os.MkdirTemp(c.workDir, name)
    	if err != nil {
    		scopes.Framework.Errorf("Error creating dir: runID='%v', prefix='%s', workDir='%v', err='%v'",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndX.java

            switch ( c ) {
            case SMB_COM_CHECK_DIRECTORY:
                return cfg.getBatchLimit("TreeConnectAndX.CheckDirectory");
            case SMB_COM_CREATE_DIRECTORY:
                return cfg.getBatchLimit("TreeConnectAndX.CreateDirectory");
            case SMB_COM_DELETE:
                return cfg.getBatchLimit("TreeConnectAndX.Delete");
            case SMB_COM_DELETE_DIRECTORY:
                return cfg.getBatchLimit("TreeConnectAndX.DeleteDirectory");
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndX.java

                batchLimits[0] = Byte.parseByte( s );
            }
            if(( s = Config.getProperty( "jcifs.smb1.smb.client.TreeConnectAndX.CreateDirectory" )) != null ) {
                batchLimits[2] = Byte.parseByte( s );
            }
            if(( s = Config.getProperty( "jcifs.smb1.smb.client.TreeConnectAndX.Delete" )) != null ) {
                batchLimits[3] = Byte.parseByte( s );
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 6.8K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/CacheResolveIntegrationTest.groovy

            def otherHome = executer.gradleUserHomeDir.parentFile.createDir('other-home')
            def otherCacheDir = otherHome.toPath().resolve(DefaultCacheScopeMapping.GLOBAL_CACHE_DIR_NAME)
            Files.createDirectory(otherCacheDir)
            Files.move(getMetadataCacheDir().toPath(), otherCacheDir.resolve(CacheLayout.MODULES.key))
            executer.withGradleUserHomeDir(otherHome)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 22 01:27:55 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-filepath.h

      // if the directory already exists; returns false if unable to create the
      // directory for any reason, including if the parent directory does not
      // exist. Not named "CreateDirectory" because that's a macro on Windows.
      bool CreateFolder() const;
    
      // Returns true if FilePath describes something in the file system,
      // either a file, directory, or whatever, and that something exists.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  10. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-filepath.h

      // if the directory already exists; returns false if unable to create the
      // directory for any reason, including if the parent directory does not
      // exist. Not named "CreateDirectory" because that's a macro on Windows.
      bool CreateFolder() const;
    
      // Returns true if FilePath describes something in the file system,
      // either a file, directory, or whatever, and that something exists.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 9.4K bytes
    - Viewed (0)
Back to top