Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 52 for filedata (0.17 sec)

  1. src/cmd/link/internal/ld/lib.go

    		if dep == "" {
    			continue
    		}
    		if !filepath.IsAbs(dep) {
    			// If the dep can be interpreted as a path relative to the shlib
    			// in which it was found, do that. Otherwise, we will leave it
    			// to be resolved by libdir lookup.
    			abs := filepath.Join(filepath.Dir(libpath), dep)
    			if _, err := os.Stat(abs); err == nil {
    				dep = abs
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 88.6K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modload/load.go

    		// module. Verify that before we walk the filesystem: a filesystem
    		// walk in a directory like /var or /etc can be very expensive!
    		dir := filepath.Dir(filepath.Clean(m.Pattern()[:i+3]))
    		absDir := dir
    		if !filepath.IsAbs(dir) {
    			absDir = filepath.Join(base.Cwd(), dir)
    		}
    
    		modRoot := findModuleRoot(absDir)
    		found := false
    		for _, mainModuleRoot := range modRoots {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 84K bytes
    - Viewed (0)
  3. pkg/volume/csi/csi_mounter_test.go

    	}{
    		{
    			name:           "simple specName",
    			specVolumeName: "spec-0",
    			path:           filepath.Join(tmpDir, fmt.Sprintf("pods/%s/volumes/kubernetes.io~csi/%s/%s", testPodUID, "spec-0", "/mount")),
    		},
    		{
    			name:           "specName with dots",
    			specVolumeName: "test.spec.1",
    			path:           filepath.Join(tmpDir, fmt.Sprintf("pods/%s/volumes/kubernetes.io~csi/%s/%s", testPodUID, "test.spec.1", "/mount")),
    		},
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 50.1K bytes
    - Viewed (0)
  4. src/cmd/dist/test.go

    // and os.Stderr.
    func (t *tester) dirCmd(dir string, cmdline ...interface{}) *exec.Cmd {
    	bin, args := flattenCmdline(cmdline)
    	cmd := exec.Command(bin, args...)
    	if filepath.IsAbs(dir) {
    		setDir(cmd, dir)
    	} else {
    		setDir(cmd, filepath.Join(goroot, dir))
    	}
    	cmd.Stdout = os.Stdout
    	cmd.Stderr = os.Stderr
    	if vflag > 1 {
    		errprintf("%s\n", strings.Join(cmd.Args, " "))
    	}
    	return cmd
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 16:01:35 UTC 2024
    - 50K bytes
    - Viewed (0)
  5. src/cmd/go/internal/test/test.go

    		// -c or profiling flag: create action to copy binary to ./test.out.
    		target := filepath.Join(base.Cwd(), testBinary+cfg.ExeSuffix)
    		isNull := false
    
    		if testO != "" {
    			target = testO
    
    			if testODir {
    				if filepath.IsAbs(target) {
    					target = filepath.Join(target, testBinary+cfg.ExeSuffix)
    				} else {
    					target = filepath.Join(base.Cwd(), target, testBinary+cfg.ExeSuffix)
    				}
    			} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/config_test.go

    			}
    		})
    	}
    }
    
    func TestKMSvsEnablement(t *testing.T) {
    	testCases := []struct {
    		name        string
    		filePath    string
    		expectedErr string
    	}{
    		{
    			name:        "config with kmsv2 and kmsv1, KMSv2=true, KMSv1=false, should fail when feature is disabled",
    			filePath:    "testdata/valid-configs/kms/multiple-providers-mixed.yaml",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 16:56:39 UTC 2024
    - 72.3K bytes
    - Viewed (0)
  7. cmd/kubelet/app/server.go

    	}
    	// Walk through the drop-in directory and update the configuration for each file
    	if err := filepath.WalkDir(kubeletDropInConfigDir, func(path string, info fs.DirEntry, err error) error {
    		if err != nil {
    			return err
    		}
    		if !info.IsDir() && filepath.Ext(info.Name()) == dropinFileExtension {
    			dropinConfigJSON, err := loadDropinConfigFileIntoJSON(path)
    			if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:34 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  8. pkg/kubelet/stats/cri_stats_provider_test.go

    		filepath.Join(kuberuntime.BuildPodLogsDirectory(testPodLogDirectory, "sandbox0-ns", "sandbox0-name", types.UID("sandbox0-uid")), podLogName0): podLogStats0,
    		filepath.Join(kuberuntime.BuildPodLogsDirectory(testPodLogDirectory, "sandbox1-ns", "sandbox1-name", types.UID("sandbox1-uid")), podLogName1): podLogStats1,
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 54.5K bytes
    - Viewed (0)
  9. src/net/http/fs_test.go

    		t.Skipf("skipping; failed to run strace: %v", err)
    	}
    
    	filename := fmt.Sprintf("1kb-%d", os.Getpid())
    	filepath := path.Join(os.TempDir(), filename)
    
    	if err := os.WriteFile(filepath, bytes.Repeat([]byte{'a'}, 1<<10), 0755); err != nil {
    		t.Fatal(err)
    	}
    	defer os.Remove(filepath)
    
    	var buf strings.Builder
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 23:39:44 UTC 2024
    - 49.9K bytes
    - Viewed (0)
  10. pkg/kubelet/cm/devicemanager/manager_test.go

    }
    
    func tmpSocketDir() (socketDir, socketName, pluginSocketName string, err error) {
    	socketDir, err = os.MkdirTemp("", "device_plugin")
    	if err != nil {
    		return
    	}
    	socketName = filepath.Join(socketDir, "server.sock")
    	pluginSocketName = filepath.Join(socketDir, "device-plugin.sock")
    	os.MkdirAll(socketDir, 0755)
    	return
    }
    
    func TestNewManagerImpl(t *testing.T) {
    	socketDir, socketName, _, err := tmpSocketDir()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 65K bytes
    - Viewed (0)
Back to top