Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for sysdir (0.29 sec)

  1. src/cmd/go/internal/modfetch/codehost/vcs.go

    	readZip       func(rev, subdir, remote, target string) []string                                   // cmd to read rev's subdir as zip file
    	doReadZip     func(ctx context.Context, dst io.Writer, workDir, rev, subdir, remote string) error // arbitrary function to read rev's subdir as zip file
    }
    
    var re = lazyregexp.New
    
    var vcsCmds = map[string]*vcsCmd{
    	"hg": {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:50:24 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  2. src/os/removeall_test.go

    	t.Parallel()
    
    	tempDir := t.TempDir()
    	subdir := filepath.Join(tempDir, "x")
    	if err := Mkdir(subdir, 0); err != nil {
    		t.Fatal(err)
    	}
    
    	// If an error occurs make it more likely that removing the
    	// temporary directory will succeed.
    	defer Chmod(subdir, 0777)
    
    	if err := RemoveAll(subdir); err != nil {
    		t.Fatal(err)
    	}
    
    	if _, err := Stat(subdir); err == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:21:29 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/test/pgo_inl_test.go

    	if err != nil {
    		t.Fatalf("error getting wd: %v", err)
    	}
    	srcDir := filepath.Join(wd, "testdata/pgo/inline")
    
    	// Copy the module to a scratch location so we can add a go.mod.
    	dir := t.TempDir()
    
    	for _, file := range []string{"inline_hot.go", "inline_hot_test.go", profFile} {
    		if err := copyFile(filepath.Join(dir, file), filepath.Join(srcDir, file)); err != nil {
    			t.Fatalf("error copying %s: %v", file, err)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc

          return;
        }
      } else if (S_ISDIR(st.st_mode)) {
        TF_SetStatus(status, TF_FAILED_PRECONDITION, "target path is a directory");
        return;
      }
    
      // We cannot rename directories yet, so prevent this.
      if (stat(src, &st) != 0) {
        TF_SetStatusFromIOError(status, errno, src);
        return;
      } else if (S_ISDIR(st.st_mode)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Mar 24 20:08:23 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  5. platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/StaleOutputIntegrationTest.groovy

            }
    
            void taskCreatedOutputs() {
                assert outputFile.text == "This is the text"
                assert outputDir.allDescendants().containsAll('subDir/inputFile1.txt', 'subDir/inputFile2.txt')
            }
    
            File getOverlappingOutputFile() {
                file("${getOverlappingOutputDir()}/new-output.txt")
            }
    
            void overlappingOutputsAreStillPresent() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 10:15:40 UTC 2024
    - 23K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/IncrementalBuildIntegrationTest.groovy

            buildFile << """
                def srcDir = file('src')
                // Note: task mutates inputs of transform1 just before transform1 executes
                task src1 {
                    outputs.dir(srcDir)
                    outputs.upToDateWhen { false }
                    doLast {
                        srcDir.mkdirs()
                        new File(srcDir, "src.txt").text = "123"
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/api/internal/project/taskfactory/AnnotationProcessingTaskFactoryTest.groovy

            when:
            execute(task)
    
            then:
            new File(testDir, "subdir").isDirectory()
        }
    
        def validationActionSucceedsWhenSpecifiedOutputFilesDoesNotExist() {
            given:
            def task = expectTaskCreated(TaskWithOutputFiles, [new File(testDir, "subdir/output.txt"), new File(testDir, "subdir2/output.txt")] as List)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:42:35 UTC 2024
    - 38.8K bytes
    - Viewed (0)
  8. src/cmd/covdata/tool_test.go

    func buildProg(t *testing.T, prog string, dir string, tag string, flags []string) (string, string) {
    	// Create subdirs.
    	subdir := filepath.Join(dir, prog+"dir"+tag)
    	if err := os.Mkdir(subdir, 0777); err != nil {
    		t.Fatalf("can't create outdir %s: %v", subdir, err)
    	}
    	depdir := filepath.Join(subdir, "dep")
    	if err := os.Mkdir(depdir, 0777); err != nil {
    		t.Fatalf("can't create outdir %s: %v", depdir, err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 20:46:32 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  9. testing/integ-test/src/integTest/groovy/org/gradle/integtests/SyncTaskIntegrationTest.groovy

                }
            '''.stripIndent()
    
            when:
            run 'sync'
    
            then:
            file('dest').assertHasDescendants(
                'dir1/file1.txt',
                'dir2/subdir/file2.txt',
                'dir2/file3.txt',
                'emptyDir'
            )
        }
    
        def 'preserve keeps specified files in destDir'() {
            given:
            defaultSourceFileTree()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  10. pkg/kubelet/kubelet_volumes.go

    				cleanupFailed = true
    				err := fmt.Errorf("volumes subdir was found after it was removed")
    				klog.ErrorS(err, "Orphaned pod found, but failed to remove volumes subdir", "podUID", uid, "path", podSubdirPath)
    				continue
    			}
    			if err := removeall.RemoveAllOneFilesystem(kl.mounter, podSubdirPath); err != nil {
    				cleanupFailed = true
    				klog.ErrorS(err, "Failed to remove orphaned pod subdir", "podUID", uid, "path", podSubdirPath)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 11.1K bytes
    - Viewed (0)
Back to top