Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 468 for Enforce (0.13 sec)

  1. src/image/gif/reader.go

    	//
    	// The spec (Appendix F - Compression), says that "An End of
    	// Information code... must be the last code output by the encoder
    	// for an image". In practice, though, giflib (a widely used C
    	// library) does not enforce this, so we also accept lzwr returning
    	// io.ErrUnexpectedEOF (meaning that the encoded stream hit io.EOF
    	// before the LZW decoder saw an explicit end code), provided that
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 16:15:54 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  2. src/encoding/base32/base32.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: Tue May 14 16:25:54 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/testcshared/cshared_test.go

    	}
    	stderr := new(strings.Builder)
    	cmd.Stderr = stderr
    
    	if GOOS != "windows" {
    		// TestUnexportedSymbols relies on file descriptor 30
    		// being closed when the program starts, so enforce
    		// that in all cases. (The first three descriptors are
    		// stdin/stdout/stderr, so we just need to make sure
    		// that cmd.ExtraFiles[27] exists and is nil.)
    		cmd.ExtraFiles = make([]*os.File, 28)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 13:19:50 UTC 2023
    - 21K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/patch.go

    	validationDirective string
    }
    
    func (p *applyPatcher) applyPatchToCurrentObject(requestContext context.Context, obj runtime.Object) (runtime.Object, error) {
    	force := false
    	if p.options.Force != nil {
    		force = *p.options.Force
    	}
    	if p.fieldManager == nil {
    		panic("FieldManager must be installed to run apply")
    	}
    
    	patchObj := &unstructured.Unstructured{Object: map[string]interface{}{}}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/magic.go

    func umagic32(c int32) umagicData { return umagic(32, int64(c)) }
    func umagic64(c int64) umagicData { return umagic(64, c) }
    
    // For signed division, we use a similar strategy.
    // First, we enforce a positive c.
    //   x / c = -(x / (-c))
    // This will require an additional Neg op for c<0.
    //
    // If x is positive we're in a very similar state
    // to the unsigned case above.  We define:
    //   s = ⎡log2(c)⎤-1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:25 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  6. src/runtime/stubs.go

    // the memory manager.
    //
    // There's no corresponding barrier for the read side because the read
    // side naturally has a data dependency order. All architectures that
    // Go supports or seems likely to ever support automatically enforce
    // data dependency ordering.
    func publicationBarrier()
    
    // getcallerpc returns the program counter (PC) of its caller's caller.
    // getcallersp returns the stack pointer (SP) of its caller's caller.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/ir/tf_op_base.td

    def TF_DatasetMemoryCacheFree : MemFree<TF_DatasetMemoryCacheResource>;
    def TF_DatasetIteratorFree : MemFree<TF_DatasetIteratorResource>;
    
    // Op-based side effects
    
    // Op-based side effect traits can be used to enforce certain execution order
    // constraints, in particular for ops that don't use resource handles (those
    // typically have value-based side effects). For a `read` effect, all instances
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 30.5K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top