- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 272 for 0777 (0.03 sec)
-
src/os/os_windows_test.go
isMountPoint bool } func testDirLinks(t *testing.T, tests []dirLinkTest) { tmpdir := t.TempDir() chdir(t, tmpdir) dir := filepath.Join(tmpdir, "dir") err := os.Mkdir(dir, 0777) if err != nil { t.Fatal(err) } fi, err := os.Stat(dir) if err != nil { t.Fatal(err) } err = os.WriteFile(filepath.Join(dir, "abc"), []byte("abc"), 0644) if err != nil { t.Fatal(err)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 41.8K bytes - Viewed (0) -
pkg/volume/util/subpath/subpath_linux_test.go
func(base string) error { return nil }, "test/directory", "test/directory", os.FileMode(0777) + os.ModeDir + os.ModeSetgid, false, }, { "directory-with-suid", func(base string) error { return nil }, "test/directory", "test/directory", os.FileMode(0777) + os.ModeDir + os.ModeSetuid, false, }, { "directory-with-sticky-bit", func(base string) error {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 10 16:52:55 UTC 2021 - 37.3K bytes - Viewed (0) -
src/internal/coverage/cfile/emitdata_test.go
if b, err := cmd.CombinedOutput(); err != nil { t.Fatalf("build failed (%v): %s", err, b) } return harnessPath } func mkdir(t *testing.T, d string) string { t.Helper() if err := os.Mkdir(d, 0777); err != nil { t.Fatalf("mkdir failed: %v", err) } return d } // updateGoCoverDir updates the specified environment 'env' to set // GOCOVERDIR to 'gcd' (if setGoCoverDir is TRUE) or removes
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 16.3K bytes - Viewed (0) -
pkg/kubelet/certificate/kubelet_test.go
return outputDir, filepath.Join(outputDir, "kubelet.cert"), filepath.Join(outputDir, "kubelet.key") } writeDir, writeCertPath, writeKeyPath := certKeyPathFn("identity.tmp") if err := os.Mkdir(writeDir, 0777); err != nil { return "", "", err } if err := removeThenCreate(writeCertPath, cert, os.FileMode(0644)); err != nil { return "", "", err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 06 03:07:40 UTC 2024 - 7.4K bytes - Viewed (0) -
src/os/exec/dot_test.go
} return "PATH" }() func TestLookPath(t *testing.T) { testenv.MustHaveExec(t) // Not parallel: uses Chdir and Setenv. tmpDir := filepath.Join(t.TempDir(), "testdir") if err := os.Mkdir(tmpDir, 0777); err != nil { t.Fatal(err) } executable := "execabs-test" if runtime.GOOS == "windows" { executable += ".exe" }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 13 18:19:21 UTC 2023 - 6.1K bytes - Viewed (0) -
pkg/kubelet/kubeletconfig/configfiles/configfiles_test.go
if c.skipOnWindows && goruntime.GOOS == "windows" { t.Skip("Skipping test that fails on Windows") } fs := utilfs.NewTempFs() fs.MkdirAll(configDir, 0777) path := filepath.Join(configDir, kubeletFile) if c.file != nil { if err := addFile(fs, path, *c.file); err != nil { t.Fatalf("unexpected error: %v", err) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 18 12:18:41 UTC 2023 - 7.2K bytes - Viewed (0) -
src/cmd/go/internal/modfetch/codehost/codehost.go
xLog, buildX := cfg.BuildXWriter(ctx) if buildX { fmt.Fprintf(xLog, "mkdir -p %s # %s %s\n", filepath.Dir(dir), typ, name) } if err := os.MkdirAll(filepath.Dir(dir), 0777); err != nil { return "", "", err } lockfile = dir + ".lock" if buildX { fmt.Fprintf(xLog, "# lock %s\n", lockfile) } unlock, err := lockedfile.MutexAt(lockfile).Lock() if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 14 18:50:24 UTC 2024 - 12.8K bytes - Viewed (0) -
src/crypto/tls/testdata/Client-TLSv12-AES256-GCM-SHA384
00000100 cb 3b 74 |.;t| >>> Flow 2 (server to client) 00000000 16 03 03 00 55 02 00 00 51 03 03 a3 a8 ef 9d b3 |....U...Q.......| 00000010 36 14 00 fe 5b e4 07 77 e7 78 c8 b4 d8 96 8d 72 |6...[..w.x.....r| 00000020 c5 79 99 10 8f 6e ac e3 fd 99 ee 20 53 99 57 36 |.y...n..... S.W6| 00000030 7e 9b 89 a3 79 c7 57 c6 f6 c7 2c 66 0a 6b 48 a2 |~...y.W...,f.kH.|
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:33:38 UTC 2024 - 6.5K bytes - Viewed (0) -
src/cmd/internal/archive/archive_test.go
if !testenv.HasGoBuild() { return } exit := m.Run() if buildDir != "" { os.RemoveAll(buildDir) } os.Exit(exit) } func copyDir(dst, src string) error { err := os.MkdirAll(dst, 0777) if err != nil { return err } entries, err := os.ReadDir(src) if err != nil { return err } for _, entry := range entries {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 02 19:27:33 UTC 2023 - 7.9K bytes - Viewed (0) -
src/cmd/go/internal/script/state.go
name := s.Path(s.ExpandEnv(f.Name, false)) if !strings.HasPrefix(name, wd) { return fmt.Errorf("file %#q is outside working directory", f.Name) } if err := os.MkdirAll(filepath.Dir(name), 0777); err != nil { return err } if err := os.WriteFile(name, f.Data, 0666); err != nil { return err } } return nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 31 20:33:02 UTC 2023 - 6.9K bytes - Viewed (0)