Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 192 for 0640 (0.03 sec)

  1. cmd/kubeadm/app/util/config/initconfiguration_test.go

    			}, []byte(constants.YAMLDocumentSeparator)),
    		},
    	}
    
    	for _, rt := range tests {
    		t.Run(rt.name, func(t2 *testing.T) {
    			cfgPath := filepath.Join(tmpdir, rt.name)
    			err := os.WriteFile(cfgPath, rt.fileContents, 0644)
    			if err != nil {
    				t.Errorf("Couldn't create file: %v", err)
    				return
    			}
    
    			opts := LoadOrDefaultConfigurationOptions{
    				SkipCRIDetect: true,
    			}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 13 09:17:03 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  2. src/runtime/runtime-gdb_unix_test.go

    	t.Parallel()
    	checkGdbVersion(t)
    
    	coreUsesPID := canGenerateCore(t)
    
    	// Build the source code.
    	dir := t.TempDir()
    	src := filepath.Join(dir, "main.go")
    	err := os.WriteFile(src, []byte(coreSignalSource), 0644)
    	if err != nil {
    		t.Fatalf("failed to create file: %v", err)
    	}
    	cmd := exec.Command(testenv.GoToolPath(t), "build", "-o", "a.exe", "main.go")
    	cmd.Dir = dir
    	out, err := testenv.CleanCmdEnv(cmd).CombinedOutput()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 17 19:05:30 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/api/internal/file/archive/TarFileTreeTest.java

        public void expectedFilePermissionsAreFound() {
            resources.findResource("permissions.tar").copyTo(archiveFile);
    
            final Map<String, Integer> expected = new HashMap<>();
            expected.put("file", 0644);
            expected.put("folder", 0755);
    
            assertVisitsPermissions(tree, expected);
        }
    
        @Test
        public void readsTarFileWithNullPermissions() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 15:15:04 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. docs/en/docs/deployment/versions.md

    that would mean that you would use exactly the version `0.45.0`.
    
    Or you could also pin it with:
    
    ```txt
    fastapi>=0.45.0,<0.46.0
    ```
    
    that would mean that you would use the versions `0.45.0` or above, but less than `0.46.0`, for example, a version `0.45.2` would still be accepted.
    
    If you use any other tool to manage your installations, like Poetry, Pipenv, or others, they all have a way that you can use to define specific versions for your packages.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Nov 05 20:50:37 UTC 2020
    - 3.3K bytes
    - Viewed (0)
  5. pkg/volume/util/fsquota/project.go

    	// move them over the originals
    	fProjects, err := os.OpenFile(projectsFile, os.O_RDONLY|os.O_CREATE, 0644)
    	if err != nil {
    		err = fmt.Errorf("unable to open %s: %v", projectsFile, err)
    		return nil, nil, err
    	}
    	fProjid, err := os.OpenFile(projidFile, os.O_RDONLY|os.O_CREATE, 0644)
    	if err == nil {
    		// Check once more, to ensure nothing got changed out from under us
    		if err = projFilesAreOK(); err == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 20 14:49:03 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  6. src/crypto/tls/generate_cert.go

    	}
    	if err := certOut.Close(); err != nil {
    		log.Fatalf("Error closing cert.pem: %v", err)
    	}
    	log.Print("wrote cert.pem\n")
    
    	keyOut, err := os.OpenFile("key.pem", os.O_WRONLY|os.O_CREATE|os.O_TRUNC, 0600)
    	if err != nil {
    		log.Fatalf("Failed to open key.pem for writing: %v", err)
    	}
    	privBytes, err := x509.MarshalPKCS8PrivateKey(priv)
    	if err != nil {
    		log.Fatalf("Unable to marshal private key: %v", err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 08 15:22:02 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  7. docs/zh/docs/deployment/versions.md

    例如,假设你在应用程序中使用版本`0.45.0`。
    
    如果你使用`requirements.txt`文件,你可以使用以下命令指定版本:
    
    ````txt
    fastapi==0.45.0
    ````
    
    这意味着你将使用版本`0.45.0`。
    
    或者你也可以将其固定为:
    
    ````txt
    fastapi>=0.45.0,<0.46.0
    ````
    
    这意味着你将使用`0.45.0`或更高版本,但低于`0.46.0`,例如,版本`0.45.2`仍会被接受。
    
    如果你使用任何其他工具来管理你的安装,例如 Poetry、Pipenv 或其他工具,它们都有一种定义包的特定版本的方法。
    
    ## 可用版本
    
    你可以在[发行说明](../release-notes.md){.internal-link target=_blank}中查看可用版本(例如查看当前最新版本)。
    
    ## 关于版本
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Sep 22 23:30:46 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  8. src/cmd/gofmt/gofmt_test.go

    func TestBackupFile(t *testing.T) {
    	dir, err := os.MkdirTemp("", "gofmt_test")
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer os.RemoveAll(dir)
    	name, err := backupFile(filepath.Join(dir, "foo.go"), []byte("  package main"), 0644)
    	if err != nil {
    		t.Fatal(err)
    	}
    	t.Logf("Created: %s", name)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 10 19:22:49 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  9. docs/es/docs/deployment/versions.md

    También puedes fijar las versiones de esta forma:
    
    ```txt
    fastapi>=0.45.0,<0.46.0
    ```
    
    esto significa que usarás la versión `0.45.0` o superiores, pero menores a la versión `0.46.0`, por ejemplo, la versión `0.45.2` sería aceptada.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Feb 07 11:55:38 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  10. src/crypto/tls/example_test.go

    	}
    	server.StartTLS()
    	defer server.Close()
    
    	// Typically the log would go to an open file:
    	// w, err := os.OpenFile("tls-secrets.txt", os.O_WRONLY|os.O_CREATE|os.O_TRUNC, 0600)
    	w := os.Stdout
    
    	client := &http.Client{
    		Transport: &http.Transport{
    			TLSClientConfig: &tls.Config{
    				KeyLogWriter: w,
    
    				Rand:               zeroSource{}, // for reproducible output; don't do this.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 18:23:49 UTC 2024
    - 7.8K bytes
    - Viewed (0)
Back to top