Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 482 for Enforce (0.22 sec)

  1. src/encoding/base64/base64.go

    	copy(e.encode[:], encoder)
    	copy(e.decodeMap[:], decodeMapInitialize)
    
    	for i := 0; i < len(encoder); i++ {
    		// Note: While we document that the alphabet cannot contain
    		// the padding character, we do not enforce it since we do not know
    		// if the caller intends to switch the padding from StdPadding later.
    		switch {
    		case encoder[i] == '\n' || encoder[i] == '\r':
    			panic("encoding alphabet contains newline character")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 17.6K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/query-params-str-validations.md

        The `Union` in `Union[str, None]` will allow your editor to give you better support and detect errors.
    
    ## Additional validation
    
    We are going to enforce that even though `q` is optional, whenever it is provided, **its length doesn't exceed 50 characters**.
    
    ### Import `Query` and `Annotated`
    
    To achieve that, first import:
    
    * `Query` from `fastapi`
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri May 31 02:38:05 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  3. src/crypto/tls/handshake_server.go

    			}
    			if s == "h2" && c == "http/1.1" {
    				http11fallback = true
    			}
    		}
    	}
    	// As a special case, let http/1.1 clients connect to h2 servers as if they
    	// didn't support ALPN. We used not to enforce protocol overlap, so over
    	// time a number of HTTP servers were configured with only "h2", but
    	// expected to accept connections from "http/1.1" clients. See Issue 46310.
    	if http11fallback {
    		return "", nil
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:30:50 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  4. src/cmd/vendor/rsc.io/markdown/link.go

    //
    // The GitHub “spec” declares that “autolinks can only come at the
    // beginning of a line, after whitespace, or any of the delimiting
    // characters *, _, ~, and (”. However, the GitHub web site does not
    // enforce this rule: text like "$******@****.*** is my email" links the
    // text following the $ as an email address. It appears the actual rule
    // is that autolinks cannot come after ASCII letters, although they can
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  5. src/encoding/xml/read.go

    		}
    		switch t := tok.(type) {
    		case StartElement:
    			consumed := false
    			if sv.IsValid() {
    				// unmarshalPath can call unmarshal, so we need to pass the depth through so that
    				// we can continue to enforce the maximum recursion limit.
    				consumed, err = d.unmarshalPath(tinfo, sv, nil, &t, depth)
    				if err != nil {
    					return err
    				}
    				if !consumed && saveAny.IsValid() {
    					consumed = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 22.4K bytes
    - Viewed (0)
  6. pilot/pkg/config/kube/gateway/deploymentcontroller.go

    //
    // Server Side Apply with go templates is an odd choice (no one likes YAML templating...) but is one of the few
    // remaining options after all others are ruled out.
    //   - Merge patch/Update cannot be used. If we always enforce that our object is *exactly* the same as
    //     the in-cluster object we will get in endless loops due to other controllers that like to add annotations, etc.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 21:43:20 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  7. src/net/mail/message.go

    		Body:   tp.R,
    	}, nil
    }
    
    // readHeader reads the message headers from r.
    // This is like textproto.ReadMIMEHeader, but doesn't validate.
    // The fix for issue #53188 tightened up net/textproto to enforce
    // restrictions of RFC 7230.
    // This package implements RFC 5322, which does not have those restrictions.
    // This function copies the relevant code from net/textproto,
    // simplified for RFC 5322.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 11:31:03 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/admission/plugin/resourcequota/controller.go

    	return &admissionWaiter{
    		attributes: a,
    		finished:   make(chan struct{}),
    		result:     defaultDeny{},
    	}
    }
    
    // NewQuotaEvaluator configures an admission controller that can enforce quota constraints
    // using the provided registry.  The registry must have the capability to handle group/kinds that
    // are persisted by the server this admission controller is intercepting
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/walk/order.go

    	"cmd/compile/internal/staticinit"
    	"cmd/compile/internal/typecheck"
    	"cmd/compile/internal/types"
    	"cmd/internal/objabi"
    	"cmd/internal/src"
    )
    
    // Rewrite tree to use separate statements to enforce
    // order of evaluation. Makes walk easier, because it
    // can (after this runs) reorder at will within an expression.
    //
    // Rewrite m[k] op= r into m[k] = m[k] op r if op is / or %.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 02:00:33 UTC 2024
    - 42.7K bytes
    - Viewed (0)
  10. pkg/controller/statefulset/stateful_set_utils.go

    	if err != nil {
    		return 0, err
    	}
    	// maxUnavailable might be zero for small percentage with round down.
    	// So we have to enforce it not to be less than 1.
    	if maxUnavailableNum < 1 {
    		maxUnavailableNum = 1
    	}
    	return maxUnavailableNum, nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 26.7K bytes
    - Viewed (0)
Back to top