Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 2,574 for retorno (0.08 sec)

  1. cmd/metacache_gen.go

    		return
    	}
    	err = en.WriteTime(z.lastHandout)
    	if err != nil {
    		err = msgp.WrapError(err, "lastHandout")
    		return
    	}
    	// write "u"
    	err = en.Append(0xa1, 0x75)
    	if err != nil {
    		return
    	}
    	err = en.WriteTime(z.lastUpdate)
    	if err != nil {
    		err = msgp.WrapError(err, "lastUpdate")
    		return
    	}
    	// write "b"
    	err = en.Append(0xa1, 0x62)
    	if err != nil {
    		return
    	}
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon Nov 08 18:26:08 UTC 2021
    - 10K bytes
    - Viewed (0)
  2. configure.py

      pass
    
    
    def is_windows():
      return platform.system() == 'Windows'
    
    
    def is_linux():
      return platform.system() == 'Linux'
    
    
    def is_macos():
      return platform.system() == 'Darwin'
    
    
    def is_ppc64le():
      return platform.machine() == 'ppc64le'
    
    
    def is_s390x():
      return platform.machine() == 's390x'
    
    
    def is_cygwin():
      return platform.system().startswith('CYGWIN_NT')
    
    
    Registered: Tue Oct 29 12:39:09 UTC 2024
    - Last Modified: Wed Oct 02 22:16:02 UTC 2024
    - 48.2K bytes
    - Viewed (1)
  3. cmd/erasure-healing.go

    			if err != nil {
    				return err
    			}
    			if len(entries) > 0 {
    				return errVolumeNotEmpty
    			}
    			return nil
    		}, index)
    	}
    
    	return g.Wait()
    }
    
    func isAllVolumeNotFound(errs []error) bool {
    	return countErrs(errs, errVolumeNotFound) == len(errs)
    }
    
    // isAllNotFound will return if any element of the error slice is not
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Wed Oct 02 17:50:41 UTC 2024
    - 34.4K bytes
    - Viewed (0)
  4. internal/config/identity/ldap/ldap.go

    func (l Config) GetExpiryDuration(dsecs string) (time.Duration, error) {
    	if dsecs == "" {
    		return l.stsExpiryDuration, nil
    	}
    
    	d, err := strconv.Atoi(dsecs)
    	if err != nil {
    		return 0, auth.ErrInvalidDuration
    	}
    
    	dur := time.Duration(d) * time.Second
    
    	if dur < minLDAPExpiry || dur > maxLDAPExpiry {
    		return 0, auth.ErrInvalidDuration
    	}
    	return dur, nil
    }
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri Jul 12 01:04:53 UTC 2024
    - 12.4K bytes
    - Viewed (1)
  5. cmd/handler-utils.go

    		}
    		bucket := strings.TrimSuffix(xhost.Name, "."+domain)
    		return SlashSeparator + pathJoin(bucket, path), nil
    	}
    	return path, nil
    }
    
    var regexVersion = regexp.MustCompile(`^/minio.*/(v\d+)/.*`)
    
    func extractAPIVersion(r *http.Request) string {
    	if matches := regexVersion.FindStringSubmatch(r.URL.Path); len(matches) > 1 {
    		return matches[1]
    	}
    	return "unknown"
    }
    
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  6. internal/config/identity/plugin/config.go

    		}
    
    		return AuthNResponse{
    			Success: &result,
    		}, nil
    
    	case 403:
    		var result AuthNErrorResponse
    		if err = json.NewDecoder(resp.Body).Decode(&result); err != nil {
    			return AuthNResponse{}, err
    		}
    		return AuthNResponse{
    			Failure: &result,
    		}, nil
    
    	default:
    		return AuthNResponse{}, fmt.Errorf("Invalid status code %d from auth plugin", resp.StatusCode)
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  7. internal/bucket/replication/error.go

    // the string as a value that satisfies error of type tagging.Error
    func Errorf(format string, a ...interface{}) error {
    	return Error{err: fmt.Errorf(format, a...)}
    }
    
    // Unwrap the internal error.
    func (e Error) Unwrap() error { return e.err }
    
    // Error 'error' compatible method.
    func (e Error) Error() string {
    	if e.err == nil {
    		return "replication: cause <nil>"
    	}
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 1.3K bytes
    - Viewed (0)
  8. internal/lock/lock_windows.go

    	f, err := Open(path, flag, perm)
    	if err != nil {
    		return nil, err
    	}
    
    	if err = lockFile(syscall.Handle(f.Fd()), lockType); err != nil {
    		f.Close()
    		return nil, err
    	}
    
    	st, err := os.Stat(path)
    	if err != nil {
    		f.Close()
    		return nil, err
    	}
    
    	if st.IsDir() {
    		f.Close()
    		return nil, &os.PathError{
    			Op:   "open",
    			Path: path,
    			Err:  syscall.EISDIR,
    		}
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Wed Oct 18 18:08:15 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  9. cmd/format-erasure.go

    		if err != nil {
    			return nil, nil, fmt.Errorf("Drive %s: %w", export, err)
    		}
    		// Migrate successful v2 => v3, v3 is latest
    		// version = formatXLVersionV3
    		return migrate(formatPath, formatData)
    	case formatErasureVersionV3:
    		// v3 is the latest version, return.
    		return formatData, formatFi, nil
    	}
    	return nil, nil, fmt.Errorf(`Disk %s: unknown format version %s`, export, version)
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/arch/arm64.go

    // It returns a boolean to indicate success; failure means
    // cond was unrecognized.
    func ARM64Suffix(prog *obj.Prog, cond string) bool {
    	if cond == "" {
    		return true
    	}
    	bits, ok := parseARM64Suffix(cond)
    	if !ok {
    		return false
    	}
    	prog.Scond = bits
    	return true
    }
    
    // parseARM64Suffix parses the suffix attached to an ARM64 instruction.
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Thu Sep 29 09:04:58 UTC 2022
    - 10.4K bytes
    - Viewed (0)
Back to top