Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 104 for vol6 (0.21 sec)

  1. src/cmd/go/internal/web/url_windows.go

    		return `\\` + host + path, nil
    	}
    
    	// If host is empty, path must contain an initial slash followed by a
    	// drive letter and path. Remove the slash and verify that the path is valid.
    	if vol := filepath.VolumeName(path[1:]); vol == "" || strings.HasPrefix(vol, `\\`) {
    		return "", errors.New("file URL missing drive letter")
    	}
    	return path[1:], nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 13:43:51 UTC 2019
    - 1.5K bytes
    - Viewed (0)
  2. pkg/volume/csi/csi_client_test.go

    		err                      error
    	}{
    		{name: "test ok", volID: "vol-test", targetPath: testPath},
    		{name: "missing volID", targetPath: testPath, mustFail: true},
    		{name: "missing target path", volID: "vol-test", mustFail: true},
    		{name: "bad fs", volID: "vol-test", targetPath: testPath, fsType: "badfs", mustFail: true},
    		{name: "grpc error", volID: "vol-test", targetPath: testPath, mustFail: true, err: errors.New("grpc error")},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  3. src/os/path_windows_test.go

    	}
    
    	const prefix = `\\?\`
    	vol := filepath.VolumeName(t.TempDir()) + `\`
    	if len(vol) < 4 || vol[:4] != prefix {
    		vol = prefix + vol
    	}
    	testMkdirAllAtRoot(t, vol)
    }
    
    func TestMkdirAllVolumeNameAtRoot(t *testing.T) {
    	if testenv.Builder() == "" {
    		t.Skipf("skipping non-hermetic test outside of Go builders")
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 23 16:37:32 UTC 2024
    - 8K bytes
    - Viewed (0)
  4. src/cmd/go/internal/web/url.go

    	}
    
    	// If path has a Windows volume name, convert the volume to a host and prefix
    	// per https://blogs.msdn.microsoft.com/ie/2006/12/06/file-uris-in-windows/.
    	if vol := filepath.VolumeName(path); vol != "" {
    		if strings.HasPrefix(vol, `\\`) {
    			path = filepath.ToSlash(path[2:])
    			i := strings.IndexByte(path, '/')
    
    			if i < 0 {
    				// A degenerate case.
    				// \\host.example.com (without a share name)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 13:43:51 UTC 2019
    - 2K bytes
    - Viewed (0)
  5. src/os/dir_windows.go

    	// It is safe to query d.vol once and reuse the value.
    	// Hard links are not allowed to reference files in other volumes.
    	// Junctions and symbolic links can reference files and directories in other volumes,
    	// but the reparse point should still live in the parent volume.
    	var flags uint32
    	err := windows.GetVolumeInformationByHandle(h, nil, 0, &d.vol, nil, &flags, nil, 0)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 20:52:06 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  6. src/os/path_windows.go

    	return c == '\\' || c == '/'
    }
    
    func dirname(path string) string {
    	vol := filepathlite.VolumeName(path)
    	i := len(path) - 1
    	for i >= len(vol) && !IsPathSeparator(path[i]) {
    		i--
    	}
    	dir := path[len(vol) : i+1]
    	last := len(dir) - 1
    	if last > 0 && IsPathSeparator(dir[last]) {
    		dir = dir[:last]
    	}
    	if dir == "" {
    		dir = "."
    	}
    	return vol + dir
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:44:48 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  7. cmd/xl-storage-free-version_test.go

    	}
    
    	freeVersionsTests := []struct {
    		vol          string
    		name         string
    		inclFreeVers bool
    		afterFn      func(fi FileInfo) (string, error)
    		expectedFree bool
    		expectedErr  error
    	}{
    		// ToFileInfo with 'inclFreeVers = true' should return the latest
    		// non-free version if one is present
    		{
    			vol:          newtierfi.Volume,
    			name:         newtierfi.Name,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Mar 02 05:11:03 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  8. src/os/types_windows.go

    		LastWriteTime:  d.LastWriteTime,
    		FileSizeHigh:   d.FileSizeHigh,
    		FileSizeLow:    d.FileSizeLow,
    		vol:            d.VolumeSerialNumber,
    		idxhi:          d.FileIndexHigh,
    		idxlo:          d.FileIndexLow,
    		ReparseTag:     reparseTag,
    		// fileStat.path is used by os.SameFile to decide if it needs
    		// to fetch vol, idxhi and idxlo. But these are already set,
    		// so set fileStat.path to "" to prevent os.SameFile doing it again.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:44:48 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  9. samples/open-telemetry/loki/otel.yaml

                  cpu: 200m
                  memory: 400Mi
              terminationMessagePath: /dev/termination-log
              terminationMessagePolicy: File
              volumeMounts:
                - name: opentelemetry-collector-config-vol
                  mountPath: /conf
          dnsPolicy: ClusterFirst
          restartPolicy: Always
          schedulerName: default-scheduler
          terminationGracePeriodSeconds: 30
          volumes:
            - configMap:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 06 20:18:25 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  10. pkg/volume/hostpath/host_path_test.go

    	plug, err := plugMgr.FindPluginByName(hostPathPluginName)
    	if err != nil {
    		t.Fatal("Can't find the plugin by name")
    	}
    
    	volPath := "/tmp/vol1"
    	spec := &v1.Volume{
    		Name:         "vol1",
    		VolumeSource: v1.VolumeSource{HostPath: &v1.HostPathVolumeSource{Path: volPath, Type: newHostPathType(string(v1.HostPathDirectoryOrCreate))}},
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 00:37:30 UTC 2023
    - 20.5K bytes
    - Viewed (0)
Back to top