Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 116 for 0o700 (0.18 sec)

  1. src/time/format.go

    //	Day of the year: "__2" "002"
    //	Hour: "15" "3" "03" (PM or AM)
    //	Minute: "4" "04"
    //	Second: "5" "05"
    //	AM/PM mark: "PM"
    //
    // Numeric time zone offsets format as follows:
    //
    //	"-0700"     ±hhmm
    //	"-07:00"    ±hh:mm
    //	"-07"       ±hh
    //	"-070000"   ±hhmmss
    //	"-07:00:00" ±hh:mm:ss
    //
    // Replacing the sign in the format with a Z triggers
    // the ISO 8601 behavior of printing Z instead of an
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:28 UTC 2024
    - 49.3K bytes
    - Viewed (0)
  2. pkg/bootstrap/config_test.go

    	// prepare a pod label file
    	tempDir := t.TempDir()
    	os.Chdir(tempDir)
    	os.MkdirAll("./etc/istio/pod/", os.ModePerm)
    	os.WriteFile(constants.PodInfoLabelsPath, []byte(`istio-locality="region.zone.subzone"`), 0o600)
    
    	node, err := GetNodeMetaData(MetadataOptions{
    		ID:                          "test",
    		Envs:                        os.Environ(),
    		ExitOnZeroActiveConnections: true,
    	})
    
    	g := NewWithT(t)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 20:38:02 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. cmd/os-readdir_test.go

    		t.Fatalf("expected = %s, got: %s", errFileNotFound, err)
    	}
    
    	// Only valid for linux.
    	if runtime.GOOS == "linux" {
    		permDir := path.Join(os.TempDir(), "perm-dir")
    		if err := os.MkdirAll(permDir, os.FileMode(0o200)); err != nil {
    			t.Fatal(err)
    		}
    		defer os.RemoveAll(permDir)
    
    		// Check if permission denied.
    		if _, err := readDir(permDir); err == nil {
    			t.Fatalf("expected = an error, got: nil")
    		}
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 7.5K bytes
    - Viewed (0)
  4. src/syscall/syscall_js.go

    	S_IFIFO  = 0000010000
    
    	S_UNSUP = 0000370000
    
    	S_ISUID = 0004000
    	S_ISGID = 0002000
    	S_ISVTX = 0001000
    
    	S_IREAD  = 0400
    	S_IWRITE = 0200
    	S_IEXEC  = 0100
    
    	S_IRWXU = 0700
    	S_IRUSR = 0400
    	S_IWUSR = 0200
    	S_IXUSR = 0100
    
    	S_IRWXG = 070
    	S_IRGRP = 040
    	S_IWGRP = 020
    	S_IXGRP = 010
    
    	S_IRWXO = 07
    	S_IROTH = 04
    	S_IWOTH = 02
    	S_IXOTH = 01
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  5. pkg/wasm/httpfetcher_test.go

    			}
    		})
    	}
    }
    
    func createTar(t *testing.T, b []byte) []byte {
    	t.Helper()
    	var buf bytes.Buffer
    	tw := tar.NewWriter(&buf)
    	hdr := &tar.Header{
    		Name: "plugin.wasm",
    		Mode: 0o600,
    		Size: int64(len(b)),
    	}
    	if err := tw.WriteHeader(hdr); err != nil {
    		t.Fatal(err)
    	}
    	if _, err := tw.Write(b); err != nil {
    		t.Fatal(err)
    	}
    	if err := tw.Close(); err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 24 15:56:41 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  6. src/time/format_rfc3339.go

    		}
    		nsec, _, _ = parseNanoseconds(s, n)
    		s = s[n:]
    	}
    
    	// Parse the time zone.
    	t := Date(year, Month(month), day, hour, min, sec, nsec, UTC)
    	if len(s) != 1 || s[0] != 'Z' {
    		if len(s) != len("-07:00") {
    			return Time{}, false
    		}
    		hr := parseUint(s[1:3], 0, 23) // e.g., 07
    		mm := parseUint(s[4:6], 0, 59) // e.g., 00
    		if !ok || !((s[0] == '-' || s[0] == '+') && s[3] == ':') {
    			return Time{}, false
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 18 19:59:26 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/cmd/init_test.go

    		}
    	}))
    	defer ts.Close()
    
    	kubeconfigPath := filepath.Join(t.TempDir(), "custom.conf")
    	if err := os.WriteFile(kubeconfigPath, []byte(fmt.Sprintf(testKubeconfigDataFormat, ts.URL)), 0o600); err != nil {
    		t.Fatalf("os.WriteFile returned unexpected error: %v", err)
    	}
    
    	// initialize an external init option and inject it to the init cmd
    	initOptions := newInitOptions()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 19 12:26:20 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  8. staging/src/k8s.io/cli-runtime/pkg/resource/visitor_test.go

    		filepath.Join(testDir, "a.yaml"),
    		filepath.Join(testDir, "aa.yaml"),
    		filepath.Join(testDir, "b.yml"),
    	}
    	for _, fp := range filePaths {
    		if err := os.MkdirAll(filepath.Dir(fp), 0700); err != nil {
    			t.Fatal(err)
    		}
    		func() {
    			f, err := os.Create(fp)
    			if err != nil {
    				t.Fatal(err)
    			}
    			defer f.Close()
    		}()
    	}
    
    	// Define and execute test cases
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 02 09:47:52 UTC 2023
    - 9K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/constants/constants.go

    	// creates target folder if not already exists
    	if err := os.MkdirAll(tempDir, 0700); err != nil {
    		return "", errors.Wrapf(err, "failed to create directory %q", tempDir)
    	}
    
    	timestampDirName := fmt.Sprintf("%s-%s", dirName, time.Now().Format("2006-01-02-15-04-05"))
    	timestampDir := filepath.Join(tempDir, timestampDirName)
    	if err := os.Mkdir(timestampDir, 0700); err != nil {
    		return "", errors.Wrap(err, "could not create timestamp directory")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 03:36:35 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  10. src/go/internal/gcimporter/gcimporter_test.go

    func mktmpdir(t *testing.T) string {
    	tmpdir, err := os.MkdirTemp("", "gcimporter_test")
    	if err != nil {
    		t.Fatal("mktmpdir:", err)
    	}
    	if err := os.Mkdir(filepath.Join(tmpdir, "testdata"), 0700); err != nil {
    		os.RemoveAll(tmpdir)
    		t.Fatal("mktmpdir:", err)
    	}
    	return tmpdir
    }
    
    func TestImportTestdata(t *testing.T) {
    	// This package only handles gc export data.
    	if runtime.Compiler != "gc" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:22:59 UTC 2024
    - 21.9K bytes
    - Viewed (0)
Back to top