Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 163 for Drive (0.04 sec)

  1. cmd/erasure-object.go

    	data := r.Reader
    
    	// No metadata is set, allocate a new one.
    	if opts.UserDefined == nil {
    		opts.UserDefined = make(map[string]string)
    	}
    
    	storageDisks := er.getDisks()
    	// Get parity and data drive count based on storage class metadata
    	parityDrives := globalStorageClass.GetParityForSC(opts.UserDefined[xhttp.AmzStorageClass])
    	if parityDrives < 0 {
    		parityDrives = er.defaultParityCount
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  2. src/archive/zip/writer.go

    // It returns a [Writer] to which the file contents should be written.
    // The file contents will be compressed using the [Deflate] method.
    // The name must be a relative path: it must not start with a drive
    // letter (e.g. C:) or leading slash, and only forward slashes are
    // allowed. To create a directory instead of a file, add a trailing
    // slash to the name. Duplicate names will not overwrite previous entries
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbFile.java

        }
    
    /**
     * This method returns the free disk space in bytes of the drive this share
     * represents or the drive on which the directory or file resides. Objects
     * other than <tt>TYPE_SHARE</tt> or <tt>TYPE_FILESYSTEM</tt> will result
     * in 0L being returned.
     *
     * @return the free disk space in bytes of the drive on which this file or
     * directory resides
     */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/io/Files.java

        if (parent == null) {
          /*
           * The given directory is a filesystem root. All zero of its ancestors exist. This doesn't
           * mean that the root itself exists -- consider x:\ on a Windows machine without such a drive
           * -- or even that the caller can create it, but this method makes no such guarantees even for
           * non-root files.
           */
          return;
        }
        parent.mkdirs();
        if (!parent.isDirectory()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 19:03:12 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  5. cmd/endpoint.go

    		return nil, setupType, err
    	}
    
    	_, serverAddrPort := mustSplitHostPort(serverAddr)
    
    	poolEndpoints := make(PoolEndpointList, len(poolsLayout))
    
    	// For single arg, return single drive EC setup.
    	if isSingleDriveLayout(poolsLayout...) {
    		endpoint, err := NewEndpoint(poolsLayout[0].layout[0][0])
    		if err != nil {
    			return nil, setupType, err
    		}
    		if err := endpoint.UpdateIsLocal(); err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 21 22:22:24 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/Files.java

        if (parent == null) {
          /*
           * The given directory is a filesystem root. All zero of its ancestors exist. This doesn't
           * mean that the root itself exists -- consider x:\ on a Windows machine without such a drive
           * -- or even that the caller can create it, but this method makes no such guarantees even for
           * non-root files.
           */
          return;
        }
        parent.mkdirs();
        if (!parent.isDirectory()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 19:03:12 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  7. cmd/batch-handlers.go

    			version = batchExpireVersion
    			jobTyp = string(job.Type())
    			ri.Version = batchExpireVersionV1
    		default:
    			return errInvalidArgument
    		}
    		if serverDebugLog {
    			console.Debugf("%s: persisting info on drive: threshold:%s, %s:%#v\n", jobTyp, now.Sub(ri.LastUpdate), jobTyp, ri)
    		}
    		ri.LastUpdate = now
    
    		data := make([]byte, 4, ri.Msgsize()+4)
    
    		// Initialize the header.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  8. cmd/erasure-server-pool-decom.go

    		return false, errInvalidArgument
    	}
    	now := UTCNow()
    	if now.Sub(p.Pools[idx].LastUpdate) >= duration {
    		if serverDebugLog {
    			console.Debugf("decommission: persisting poolMeta on drive: threshold:%s, poolMeta:%#v\n", now.Sub(p.Pools[idx].LastUpdate), p.Pools[idx])
    		}
    		p.Pools[idx].LastUpdate = now
    		if err := p.save(ctx, pools); err != nil {
    			return false, err
    		}
    		return true, nil
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 13:20:19 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  9. cmd/object-api-utils.go

    	compPadEncrypted = 256
    	// Disable compressed file indices below this size
    	compMinIndexSize = 8 << 20
    )
    
    // getkeyeparator - returns the separator to be used for
    // persisting on drive.
    //
    // - ":" is used on non-windows platforms
    // - "_" is used on windows platforms
    func getKeySeparator() string {
    	if runtime.GOOS == globalWindowsOSName {
    		return "_"
    	}
    	return ":"
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  10. cmd/erasure-multipart.go

    		}
    	}
    
    	userDefined := cloneMSS(opts.UserDefined)
    	if opts.PreserveETag != "" {
    		userDefined["etag"] = opts.PreserveETag
    	}
    	onlineDisks := er.getDisks()
    
    	// Get parity and data drive count based on storage class metadata
    	parityDrives := globalStorageClass.GetParityForSC(userDefined[xhttp.AmzStorageClass])
    	if parityDrives < 0 {
    		parityDrives = er.defaultParityCount
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 44.7K bytes
    - Viewed (0)
Back to top