Search Options

Results per page
Sort
Preferred Languages
Advance

Results 441 - 450 of 6,241 for if (0.02 sec)

  1. docs/en/docs/tutorial/query-params-str-validations.md

    could **call** that same function in **other places** without FastAPI, and it would **work as expected**. If there's a **required** parameter (without a default value), your **editor** will let you know with an error, **Python** will also complain if you run it without passing the required parameter.
    
    When you don't use `Annotated` and instead use the **(old) default value style**, if you call that function without FastAPI in **other places**, you have to **remember** to pass the arguments...
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  2. cmd/tier.go

    		return errTierNameNotUppercase
    	}
    
    	// check if tier name already in use
    	if _, exists := config.isTierNameInUse(tierName); exists {
    		return errTierAlreadyExists
    	}
    
    	d, err := newWarmBackend(ctx, tier, true)
    	if err != nil {
    		return err
    	}
    
    	if !ignoreInUse {
    		// Check if warmbackend is in use by other MinIO tenants
    		inUse, err := d.InUse(ctx)
    		if err != nil {
    			return err
    		}
    		if inUse {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:44:05 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  3. cmd/admin-handlers-pools.go

    	if byID {
    		if i, err := strconv.Atoi(v); err == nil && i >= 0 && i < len(globalEndpoints) {
    			idx = i
    		}
    	} else {
    		idx = globalEndpoints.GetPoolIdx(v)
    	}
    
    	if idx == -1 {
    		// We didn't find any matching pools, invalid input
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, errInvalidArgument), r.URL)
    		return
    	}
    
    	if !proxyDecommissionRequest(ctx, globalEndpoints[idx].Endpoints[0], w, r) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 28 00:22:30 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  4. docs/erasure/storage-class/README.md

    on 16 drive MinIO deployment. If you use eight data and eight parity drives, the file space usage will be approximately twice, i.e. 100 MiB
    file will take 200 MiB space. But, if you use ten data and six parity drives, same 100 MiB file takes around 160 MiB. If you use 14 data and
    two parity drives, 100 MiB file takes only approximately 114 MiB.
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 15 23:04:20 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/cache/CacheBuilder.java

        MoreObjects.ToStringHelper s = MoreObjects.toStringHelper(this);
        if (initialCapacity != UNSET_INT) {
          s.add("initialCapacity", initialCapacity);
        }
        if (concurrencyLevel != UNSET_INT) {
          s.add("concurrencyLevel", concurrencyLevel);
        }
        if (maximumSize != UNSET_INT) {
          s.add("maximumSize", maximumSize);
        }
        if (maximumWeight != UNSET_INT) {
          s.add("maximumWeight", maximumWeight);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 52K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/collection/ArrayUtil.java

         * @return 配列が連結された結果の配列
         */
        public static <T> T[] addAll(final T[] a, final T[] b) {
            if (a == null) {
                return b;
            }
            if (b == null) {
                return a;
            }
            if (a.length == 0) {
                return b;
            }
            if (b.length == 0) {
                return a;
            }
            @SuppressWarnings("unchecked")
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/project/path/DefaultPathTranslator.java

            if (s != null) {
                String basedirExpr = null;
                for (String expression : BASEDIR_EXPRESSIONS) {
                    if (s.startsWith(expression)) {
                        basedirExpr = expression;
                        break;
                    }
                }
    
                if (basedirExpr != null) {
                    if (s.length() > basedirExpr.length()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/Dfs.java

            if (DISABLED)
                return null;
    
            try {
                String p = "\\" + domain + "\\" + root;
                if (path != null)
                    p += path;
                DfsReferral dr = trans.getDfsReferrals(auth, p, 0);
                if (dr != null)
                    return dr;
            } catch (IOException ioe) {
                if (log.level >= 4)
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 11.7K bytes
    - Viewed (0)
  9. .teamcity/mvnw

        # Use /usr/libexec/java_home if available, otherwise fall back to /Library/Java/Home
        # See https://developer.apple.com/library/mac/qa/qa1170/_index.html
        if [ -z "$JAVA_HOME" ]; then
          if [ -x "/usr/libexec/java_home" ]; then
            export JAVA_HOME="`/usr/libexec/java_home`"
          else
            export JAVA_HOME="/Library/Java/Home"
          fi
        fi
        ;;
    esac
    
    if [ -z "$JAVA_HOME" ] ; then
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Feb 26 01:48:39 UTC 2020
    - 9.8K bytes
    - Viewed (0)
  10. docs/debugging/s3-check-md5/main.go

    	flag.Parse()
    
    	if endpoint == "" {
    		log.Fatalln("Endpoint is not provided")
    	}
    
    	if accessKey == "" {
    		log.Fatalln("Access key is not provided")
    	}
    
    	if secretKey == "" {
    		log.Fatalln("Secret key is not provided")
    	}
    
    	if bucket == "" && prefix != "" {
    		log.Fatalln("--prefix is specified without --bucket.")
    	}
    
    	var minModTime time.Time
    	if minModTimeStr != "" {
    		var e error
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Feb 17 01:15:57 UTC 2024
    - 6.3K bytes
    - Viewed (0)
Back to top