Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 787 for quotas (0.14 sec)

  1. pkg/util/shellescape/quote.go

    // limitations under the License.
    
    package shellescape
    
    import (
    	"regexp"
    	"strings"
    )
    
    var unsafeValue = regexp.MustCompile(`[^\\w@%+=:,./-]`)
    
    func Quote(s string) string {
    	// ported from https://github.com/chrissimpkins/shellescape/blob/master/lib/shellescape/main.py
    	if len(s) == 0 {
    		return "''"
    	}
    
    	if unsafeValue.MatchString(s) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Dec 07 20:37:19 UTC 2020
    - 968 bytes
    - Viewed (0)
  2. src/cmd/go/internal/script/engine.go

    			}
    			continue
    		}
    		if i >= len(line) {
    			return nil, errors.New("unterminated quoted argument")
    		}
    		if line[i] == '\'' {
    			if !quoted {
    				// starting a quoted chunk
    				if start >= 0 {
    					rawArg = append(rawArg, argFragment{s: line[start:i], quoted: false})
    				}
    				start = i + 1
    				quoted = true
    				continue
    			}
    			// 'foo''bar' means foo'bar, like in rc shell and Pascal.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 27 01:16:19 UTC 2023
    - 22.2K bytes
    - Viewed (0)
  3. internal/s3select/sql/parser.go

    func (qi *QuotedIdentifier) Capture(values []string) error {
    	// Remove enclosing quotes
    	n := len(values[0])
    	r := values[0][1 : n-1]
    
    	// Translate doubled quotes
    	*qi = QuotedIdentifier(strings.ReplaceAll(r, `""`, `"`))
    	return nil
    }
    
    // Types representing AST of SQL statement. Only SELECT is supported.
    
    // Select is the top level AST node type
    type Select struct {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  4. plugin/pkg/admission/resourcequota/admission_test.go

    	}
    }
    
    // TestAdmitBelowTerminatingQuotaLimit ensures that terminating pods are charged to the right quota.
    // It creates a terminating and non-terminating quota, and creates a terminating pod.
    // It ensures that the terminating quota is incremented, and the non-terminating quota is not.
    func TestAdmitBelowTerminatingQuotaLimit(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 21:28:42 UTC 2024
    - 84.1K bytes
    - Viewed (0)
  5. build-logic/jvm/src/main/kotlin/gradlebuild/startscript/tasks/GradleStartScriptGenerator.kt

                        // The result would be something like DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'" \"-javaagent:$APP_HOME/lib/agents/foobar.jar\""
                        line + getAgentOptions("\$APP_HOME").joinToString(separator = " ", prefix = "\" ", postfix = "\"") {
                            // Wrap the agent switch in double quotes, as the expanded APP_HOME may contain spaces.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 24 10:25:27 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/mod_list_replace_dir.txt

    go mod download rsc.io/quote@v1.5.2
    
    ! go list $GOPATH/pkg/mod/rsc.io/quote@v1.5.2
    stderr '^directory ..[/\\]pkg[/\\]mod[/\\]rsc.io[/\\]quote@v1.5.2 outside main module or its selected dependencies$'
    
    go list $GOPATH/pkg/mod/rsc.io/quote@v1.5.1
    stdout 'rsc.io/quote'
    
    -- go.mod --
    module example.com/quoter
    
    require rsc.io/quote v1.5.2
    
    replace rsc.io/quote => rsc.io/quote v1.5.1
    
    -- use.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 10 19:08:19 UTC 2022
    - 681 bytes
    - Viewed (0)
  7. src/encoding/csv/reader.go

    //
    // Fields which start and stop with the quote character " are called
    // quoted-fields. The beginning and ending quote are not part of the
    // field.
    //
    // The source:
    //
    //	normal string,"quoted-field"
    //
    // results in the fields
    //
    //	{`normal string`, `quoted-field`}
    //
    // Within a quoted-field a quote character followed by a second quote
    // character is considered a single quote.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:32:28 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/mod_tidy_replace.txt

    package main
    
    import (
    	"fmt"
    	"rsc.io/quote/v3"
    )
    
    func main() {
    	fmt.Println(quote.GoV3())
    }
    -- multiple-paths/go.mod --
    module quoter
    
    require (
    	rsc.io/quote/v3 v3.0.0
    	not-rsc.io/quote/v3 v3.0.0
    )
    
    replace not-rsc.io/quote/v3 => rsc.io/quote/v3 v3.0.0
    -- multiple-paths/use.go --
    package quoter
    
    import (
    	_ "not-rsc.io/quote/v3"
    	_ "rsc.io/quote/v3"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 3K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/core/v1/types.go

    	// A collection of filters that must match each object tracked by a quota.
    	// If not specified, the quota matches all objects.
    	// +optional
    	// +listType=atomic
    	Scopes []ResourceQuotaScope `json:"scopes,omitempty" protobuf:"bytes,2,rep,name=scopes,casttype=ResourceQuotaScope"`
    	// scopeSelector is also a collection of filters like scopes that must match each object tracked by a quota
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 390.8K bytes
    - Viewed (0)
  10. manifests/charts/istio-cni/templates/resourcequota.yaml

    {{- if .Values.cni.resourceQuotas.enabled }}
    apiVersion: v1
    kind: ResourceQuota
    metadata:
      name: {{ template "name" . }}-resource-quota
      namespace: {{ .Release.Namespace }}
    spec:
      hard:
        pods: {{ .Values.cni.resourceQuotas.pods | quote }}
      scopeSelector:
        matchExpressions:
        - operator: In
          scopeName: PriorityClass
          values:
          - system-node-critical
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 21:52:29 UTC 2024
    - 388 bytes
    - Viewed (0)
Back to top