- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 180 for 7777 (0.06 sec)
-
test/fixedbugs/bug369.go
check(err) tmpDir, err := ioutil.TempDir("", "bug369") check(err) defer os.RemoveAll(tmpDir) tmp := func(name string) string { return filepath.Join(tmpDir, name) } check(os.Mkdir(tmp("test"), 0777)) stdlibimportcfg, err := os.ReadFile(os.Getenv("STDLIB_IMPORTCFG")) check(err) importcfg := string(stdlibimportcfg) + "\npackagefile test/slow=" + tmp("test/slow.o") + "\npackagefile test/fast=" + tmp("test/fast.o")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 1.6K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CopyPermissionsIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 20K bytes - Viewed (0) -
cluster/images/etcd/migrate/data_dir.go
exists, err := exists(path) if err != nil { return nil, err } if !exists { klog.Infof("data directory '%s' does not exist, creating it", path) err := os.MkdirAll(path, 0777) if err != nil { return nil, fmt.Errorf("failed to create data directory %s: %v", path, err) } } versionFile := &VersionFile{ path: filepath.Join(path, versionFilename), }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Dec 09 19:13:17 UTC 2021 - 5.2K bytes - Viewed (0) -
src/cmd/cover/cover_test.go
} var tdmu sync.Mutex var tdcount int func tempDir(t *testing.T) string { tdmu.Lock() dir := filepath.Join(testTempDir, fmt.Sprintf("%03d", tdcount)) tdcount++ if err := os.Mkdir(dir, 0777); err != nil { t.Fatal(err) } defer tdmu.Unlock() return dir } // TestCoverWithToolExec runs a set of subtests that all make use of a // "-toolexec" wrapper program to invoke the cover test executable
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 07 16:54:28 UTC 2023 - 18.4K bytes - Viewed (0) -
pkg/volume/flexvolume/probe_test.go
assert.Equal(t, 2, len(watcher.watches)) // 2 from initial setup // test add testDriverName testDriverName := "testDriverName" testDriverPath := filepath.Join(pluginDir, testDriverName) fs.MkdirAll(testDriverPath, 0777) watcher.TriggerEvent(fsnotify.Create, testDriverPath) // Assert assert.Equal(t, 3, len(watcher.watches)) // 2 from initial setup, 1 from new watch.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Nov 28 11:14:00 UTC 2023 - 10.5K bytes - Viewed (0) -
subprojects/core-api/src/integTest/groovy/org/gradle/api/file/FilePermissionsIntegrationTest.groovy
outputFile.set(layout.buildDirectory.file("file.txt")) } """.stripIndent() when: "1st run" succeeds "consumer" then: "both producer and consumer get executed" executedAndNotSkipped(":producer", ":consumer") outputFile.text == "Permission: 777" when: "2nd run"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 18 08:40:58 UTC 2023 - 3.4K bytes - Viewed (0) -
src/cmd/go/script_test.go
must(os.MkdirAll(telemetryDir, 0777)) must(s.Setenv("TEST_TELEMETRY_DIR", filepath.Join(work, "telemetry"))) must(os.MkdirAll(filepath.Join(work, "tmp"), 0777)) must(s.Setenv(tempEnvName(), filepath.Join(work, "tmp"))) gopath := filepath.Join(work, "gopath") must(s.Setenv("GOPATH", gopath)) gopathSrc := filepath.Join(gopath, "src") must(os.MkdirAll(gopathSrc, 0777)) must(s.Chdir(gopathSrc))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 18:15:22 UTC 2024 - 12.2K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/DefaultUnauthorizedDirectoryWalkerTest.groovy
rootDir.createFile('unauthorized/file') rootDir.createDir('authorized') rootDir.file('unauthorized').mode = 0000 } def cleanup() { rootDir.file('unauthorized').mode = 0777 } def "excluded files' permissions should be ignored"() { when: def fileTree = new DirectoryFileTree(rootDir, new PatternSet().exclude('unauthorized'), TestFiles.fileSystem(), false)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 2.5K bytes - Viewed (0) -
src/cmd/internal/bootstrap_test/overlaydir_test.go
// factor this function out into a package to reduce duplication. func overlayDir(dstRoot, srcRoot string) error { dstRoot = filepath.Clean(dstRoot) if err := os.MkdirAll(dstRoot, 0777); err != nil { return err } srcRoot, err := filepath.Abs(srcRoot) if err != nil { return err } return filepath.WalkDir(srcRoot, func(srcPath string, entry fs.DirEntry, err error) error {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:35:05 UTC 2023 - 2.1K bytes - Viewed (0) -
pkg/volume/flexvolume/flexvolume_test.go
err := os.MkdirAll(pluginDir, 0777) if err != nil { t.Errorf("Failed to create plugin: %v", err) } pluginExec := filepath.Join(pluginDir, plugName) if goruntime.GOOS == "windows" { pluginExec = pluginExec + ".bat" } f, err := os.Create(pluginExec) if err != nil { t.Errorf("Failed to install plugin") } err = f.Chmod(0777) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Aug 01 15:56:32 UTC 2022 - 6.8K bytes - Viewed (0)