Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 787 for quotas (0.1 sec)

  1. src/cmd/dist/quoted.go

    			s = s[1:]
    		}
    		if len(s) == 0 {
    			break
    		}
    		// Accepted quoted string. No unescaping inside.
    		if s[0] == '"' || s[0] == '\'' {
    			quote := s[0]
    			s = s[1:]
    			i := 0
    			for i < len(s) && s[i] != quote {
    				i++
    			}
    			if i >= len(s) {
    				return nil, fmt.Errorf("unterminated %c string", quote)
    			}
    			f = append(f, s[:i])
    			s = s[i+1:]
    			continue
    		}
    		i := 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 09 14:05:53 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  2. src/strconv/quote.go

    	}
    	quote := in[0]
    	end := index(in[1:], quote)
    	if end < 0 {
    		return "", in, ErrSyntax
    	}
    	end += 2 // position after terminating quote; may be wrong if escape sequences are present
    
    	switch quote {
    	case '`':
    		switch {
    		case !unescape:
    			out = in[:end] // include quotes
    		case !contains(in[:end], '\r'):
    			out = in[len("`") : end-len("`")] // exclude quotes
    		default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:28 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  3. cmd/bucket-quota.go

    			internalLogIf(GlobalContext, errors.New("Detected older 'fifo' quota config, 'fifo' feature is removed and not supported anymore. Please clear your quota configs using 'mc admin bucket quota alias/bucket --clear' and use 'mc ilm add' for expiration of objects"), logger.WarningKind)
    			return quotaCfg, fmt.Errorf("invalid quota type 'fifo'")
    		}
    		return quotaCfg, fmt.Errorf("Invalid quota config %#v", quotaCfg)
    	}
    	return
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 09 00:51:34 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. src/go/doc/comment/testdata/quote.txt

    -- input --
    Doubled single quotes like `` and '' turn into Unicode double quotes,
    but single quotes ` and ' do not.
    Misplaced markdown fences ``` do not either.
    -- gofmt --
    Doubled single quotes like “ and ” turn into Unicode double quotes,
    but single quotes ` and ' do not.
    Misplaced markdown fences ``` do not either.
    -- text --
    Doubled single quotes like “ and ” turn into Unicode double quotes, but single
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 06 19:06:16 UTC 2022
    - 656 bytes
    - Viewed (0)
  5. cluster/gce/addons/admission-resource-quota-critical-pods/resource-quota.yaml

    # critical pods are configured as a limited resource by admission_controller_config.yaml,
    # which means they are disallowed unless explicitly allowed by a namespaced quota object.
    # This quota effectively removes the restriction on the number of critical pods allowed in the kube-system namespace.
    apiVersion: v1
    kind: ResourceQuota
    metadata:
      name: gcp-critical-pods
      namespace: kube-system
      labels:
        addonmanager.kubernetes.io/mode: Reconcile
    spec:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 17 13:52:19 UTC 2020
    - 644 bytes
    - Viewed (0)
  6. pkg/volume/util/fsquota/common/quota_common.go

    limitations under the License.
    */
    
    package common
    
    // QuotaID is generic quota identifier.
    // Data type based on quotactl(2).
    type QuotaID int32
    
    const (
    	// UnknownQuotaID -- cannot determine whether a quota is in force
    	UnknownQuotaID QuotaID = -1
    	// BadQuotaID -- Invalid quota
    	BadQuotaID QuotaID = 0
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jan 28 06:09:31 UTC 2023
    - 844 bytes
    - Viewed (0)
  7. pkg/volume/util/fsquota/project.go

    }
    
    // findAvailableQuota finds the next available quota from the FirstQuota
    // it returns error if QuotaIDIsInUse returns error when getting quota id in use;
    // it searches at most maxUnusedQuotasToSearch(128) time
    func findAvailableQuota(path string, idMap map[common.QuotaID]bool) (common.QuotaID, error) {
    	unusedQuotasSearched := 0
    	for id := common.FirstQuota; true; id++ {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 20 14:49:03 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  8. src/strconv/example_test.go

    	// Output:
    	// "", invalid syntax
    	// "\"double-quoted string\"", <nil>
    	// "`or backquoted`", <nil>
    	// "'☺'", <nil>
    }
    
    func ExampleUnquote() {
    	s, err := strconv.Unquote("You can't unquote a string without quotes")
    	fmt.Printf("%q, %v\n", s, err)
    	s, err = strconv.Unquote("\"The string must be either double-quoted\"")
    	fmt.Printf("%q, %v\n", s, err)
    	s, err = strconv.Unquote("`or backquoted.`")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 22:57:37 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  9. doc/next/6-stdlib/99-minor/net/http/46443.md

    [Cookie] now preserves double quotes surrounding a cookie value.
    The new [Cookie.Quoted] field indicates whether the [Cookie.Value]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 19 14:33:17 UTC 2024
    - 155 bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/core/v1/generated.proto

      // More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/
      repeated ResourceQuota items = 2;
    }
    
    // ResourceQuotaSpec defines the desired hard limits to enforce for Quota.
    message ResourceQuotaSpec {
      // hard is the set of desired hard limits for each named resource.
      // More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/
      // +optional
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 255.8K bytes
    - Viewed (0)
Back to top