Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 558 for Wall (0.22 sec)

  1. internal/grid/stream.go

    import (
    	"context"
    	"errors"
    )
    
    // A Stream is a two-way stream.
    // All responses *must* be read by the caller.
    // If the call is canceled through the context,
    // the appropriate error will be returned.
    type Stream struct {
    	// responses from the remote server.
    	// Channel will be closed after error or when remote closes.
    	// All responses *must* be read by the caller until either an error is returned or the channel is closed.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Feb 28 18:05:18 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  2. cmd/storage-rest-client.go

    	_, err := storageWriteAllRPC.Call(ctx, client.gridConn, &WriteAllHandlerParams{
    		DiskID:   *client.diskID.Load(),
    		Volume:   volume,
    		FilePath: path,
    		Buf:      b,
    	})
    	return toStorageErr(err)
    }
    
    // CheckParts - stat all file parts.
    func (client *storageRESTClient) CheckParts(ctx context.Context, volume string, path string, fi FileInfo) error {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 26.1K bytes
    - Viewed (0)
  3. cmd/peer-s3-client.go

    		// of such a bucket. This is needed here as we identify such
    		// buckets here while listing buckets. As part of regular
    		// globalBucketMetadataSys.Init() call would get a valid
    		// buckets only and not the quourum lost ones like this, so
    		// explicit call
    		for bktName, count := range bucketsMap {
    			if count < quorum {
    				// Queue a bucket heal task
    				globalMRFState.addPartialOp(partialOperation{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  4. cmd/storage-datatypes.go

    	NumVersions      int       `msg:"nv"`
    	SuccessorModTime time.Time `msg:"smt"`
    
    	Fresh bool `msg:"fr"` // indicates this is a first time call to write FileInfo.
    
    	// Position of this version or object in a multi-object delete call,
    	// no other caller must set this value other than multi-object delete call.
    	// usage in other calls in undefined please avoid.
    	Idx int `msg:"i"`
    
    	// Combined checksum when object was uploaded.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  5. internal/rest/client.go

    	}
    
    	// Returns success.
    	return
    }
    
    // Call - make a REST call with context.
    func (c *Client) Call(ctx context.Context, method string, values url.Values, body io.Reader, length int64) (reply io.ReadCloser, err error) {
    	if !c.IsOnline() {
    		return nil, &NetworkError{Err: c.LastError()}
    	}
    
    	// Shallow copy. We don't modify the *UserInfo, if set.
    	// All other fields are copied.
    	u := *c.url
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14K bytes
    - Viewed (0)
  6. cmd/metacache-server-pool.go

    	if o.Limit == 0 {
    		return entries, io.EOF
    	}
    
    	// For delimiter and prefix as '/' we do not list anything at all
    	// along // with the prefix. On a flat namespace with 'prefix'
    	// as '/' we don't have any entries, since all the keys are
    	// of form 'keyName/...'
    	if strings.HasPrefix(o.Prefix, SlashSeparator) {
    		return entries, io.EOF
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 12.8K bytes
    - Viewed (0)
  7. cmd/os_unix.go

    // The permission bits perm (before umask) are used for all
    // directories that MkdirAll creates.
    // If path is already a directory, MkdirAll does nothing
    // and returns nil.
    func osMkdirAll(dirPath string, perm os.FileMode, baseDir string) error {
    	if baseDir != "" {
    		if strings.HasPrefix(baseDir, dirPath) {
    			return nil
    		}
    	}
    
    	// Slow path: make sure parent exists and then call Mkdir for path.
    	i := len(dirPath)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  8. cmd/post-policy_test.go

    	req.Header.Set("Content-Type", contentTypeHdr)
    	req.Header.Set("User-Agent", "Mozilla")
    
    	// Since `apiRouter` satisfies `http.Handler` it has a ServeHTTP to execute the logic of the handler.
    	// Call the ServeHTTP to execute the handler.
    	apiRouter.ServeHTTP(rec, req)
    
    	ctx, cancel := context.WithCancel(GlobalContext)
    	defer cancel()
    
    	// Now check if we actually wrote to backend (regardless of the response
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  9. cmd/xl-storage.go

    			// that for fresh PutObject() call dstDataPath can never exist.
    			// if its an overwrite then the caller deletes the DataDir
    			// in a separate RPC call.
    			s.moveToTrash(dstDataPath, true, false)
    
    			// If we are healing we should purge any legacyDataPath content,
    			// that was previously preserved during PutObject() call
    			// on a versioned bucket.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  10. cmd/format-erasure.go

    		if err1 == err || errors.Is(err1, err) {
    			i++
    		}
    	}
    	return i
    }
    
    // Does all errors indicate we need to initialize all disks?.
    func shouldInitErasureDisks(errs []error) bool {
    	return countErrs(errs, errUnformattedDisk) == len(errs)
    }
    
    // Check if unformatted disks are equal to 50%+1 of all the drives.
    func quorumUnformattedDisks(errs []error) bool {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 23.4K bytes
    - Viewed (0)
Back to top