Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 55 for Turing (0.15 sec)

  1. cmd/erasure-server-pool.go

    // Errors are ignored, only errors from the callback are returned.
    // For now only direct file paths are supported.
    func (z *erasureServerPools) GetRawData(ctx context.Context, volume, file string, fn func(r io.Reader, host string, disk string, filename string, info StatInfo) error) error {
    	found := 0
    	for _, s := range z.serverPools {
    		for _, set := range s.sets {
    			for _, disk := range set.getDisks() {
    				if disk == OfflineDisk {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  2. cmd/erasure-object.go

    	})
    	return setRestoreHeaderFn(oi, err)
    }
    
    // DecomTieredObject - moves tiered object to another pool during decommissioning.
    func (er erasureObjects) DecomTieredObject(ctx context.Context, bucket, object string, fi FileInfo, opts ObjectOptions) error {
    	if opts.UserDefined == nil {
    		opts.UserDefined = make(map[string]string)
    	}
    	// overlay Erasure info for this set of disks
    	storageDisks := er.getDisks()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  3. internal/bucket/lifecycle/action_string.go

    var _Action_index = [...]uint8{0, 10, 22, 41, 57, 80, 100, 127, 150, 182, 193}
    
    func (i Action) String() string {
    	if i < 0 || i >= Action(len(_Action_index)-1) {
    		return "Action(" + strconv.FormatInt(int64(i), 10) + ")"
    	}
    	return _Action_name[_Action_index[i]:_Action_index[i+1]]
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  4. internal/rest/client.go

    	url          *url.URL
    	newAuthToken func(audience string) string
    
    	sync.RWMutex // mutex for lastErr
    	lastErr      error
    	lastErrTime  time.Time
    }
    
    type restError string
    
    func (e restError) Error() string {
    	return string(e)
    }
    
    func (e restError) Timeout() bool {
    	return true
    }
    
    // Given a string of the form "host", "host:port", or "[ipv6::address]:port",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 14.4K bytes
    - Viewed (0)
  5. cmd/xl-storage.go

    		}
    	}
    
    	return w, nil
    }
    
    func (s *xlStorage) openFileSync(filePath string, mode int, skipParent string) (f *os.File, err error) {
    	return s.openFile(filePath, mode|writeMode, skipParent)
    }
    
    func (s *xlStorage) openFile(filePath string, mode int, skipParent string) (f *os.File, err error) {
    	if skipParent == "" {
    		skipParent = s.drivePath
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  6. cmd/common-main.go

    			case <-GlobalContext.Done():
    				return
    			}
    		}
    	}()
    }
    
    type envKV struct {
    	Key   string
    	Value string
    	Skip  bool
    }
    
    func (e envKV) String() string {
    	if e.Skip {
    		return ""
    	}
    	return fmt.Sprintf("%s=%s", e.Key, e.Value)
    }
    
    func parsEnvEntry(envEntry string) (envKV, error) {
    	envEntry = strings.TrimSpace(envEntry)
    	if envEntry == "" {
    		// Skip all empty lines
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
  7. cmd/iam-store.go

    	loadPolicyDoc(ctx context.Context, policy string, m map[string]PolicyDoc) error
    	loadPolicyDocWithRetry(ctx context.Context, policy string, m map[string]PolicyDoc, retries int) error
    	loadPolicyDocs(ctx context.Context, m map[string]PolicyDoc) error
    	loadUser(ctx context.Context, user string, userType IAMUserType, m map[string]UserIdentity) error
    	loadUsers(ctx context.Context, userType IAMUserType, m map[string]UserIdentity) error
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  8. cmd/storage-rest-client.go

    // ReadXL - reads all contents of xl.meta of a file.
    func (client *storageRESTClient) ReadXL(ctx context.Context, volume string, path string, readData bool) (rf RawFileInfo, err error) {
    	// Use websocket when not reading data.
    	if !readData {
    		resp, err := storageReadXLRPC.Call(ctx, client.gridConn, grid.NewMSSWith(map[string]string{
    			storageRESTDiskID:   *client.diskID.Load(),
    			storageRESTVolume:   volume,
    			storageRESTFilePath: path,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 26.1K bytes
    - Viewed (0)
  9. docs/iam/identity-manager-plugin.go

    	w.WriteHeader(http.StatusBadRequest)
    	json.NewEncoder(w).Encode(map[string]string{
    		"reason": fmt.Sprintf("%v", err),
    	})
    }
    
    type Resp struct {
    	User               string                 `json:"user"`
    	MaxValiditySeconds int                    `json:"maxValiditySeconds"`
    	Claims             map[string]interface{} `json:"claims"`
    }
    
    var tokens map[string]Resp = map[string]Resp{
    	"aaa": {
    		User:               "Alice",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 21:31:13 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  10. internal/logger/target/console/console.go

    	var deploymentID string
    	if entry.DeploymentID != "" {
    		deploymentID = "\nDeploymentID: " + entry.DeploymentID
    	}
    
    	var requestID string
    	if entry.RequestID != "" {
    		requestID = "\nRequestID: " + entry.RequestID
    	}
    
    	var remoteHost string
    	if entry.RemoteHost != "" {
    		remoteHost = "\nRemoteHost: " + entry.RemoteHost
    	}
    
    	var host string
    	if entry.Host != "" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 3.9K bytes
    - Viewed (0)
Back to top