Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 64 for xform (0.12 sec)

  1. cmd/kubeadm/app/features/features.go

    		}
    		known = append(known, fmt.Sprintf("%s=true|false (%sdefault=%t)", k, pre, v.Default))
    	}
    	sort.Strings(known)
    	return known
    }
    
    // NewFeatureGate parses a string of the form "key1=value1,key2=value2,..." into a
    // map[string]bool of known keys or returns an error.
    func NewFeatureGate(f *FeatureList, value string) (map[string]bool, error) {
    	featureGate := map[string]bool{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 20 13:55:11 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/typeparam.go

    }
    
    // SetConstraint sets the type constraint for t.
    //
    // It must be called by users of NewTypeParam after the bound's underlying is
    // fully defined, and before using the type parameter in any way other than to
    // form other types. Once SetConstraint returns the receiver, t is safe for
    // concurrent use.
    func (t *TypeParam) SetConstraint(bound Type) {
    	if bound == nil {
    		panic("nil constraint")
    	}
    	t.bound = bound
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  3. cmd/listen-notification-handlers.go

    		if s3Error := checkRequestAuthType(ctx, r, policy.ListenBucketNotificationAction, bucketName, ""); s3Error != ErrNone {
    			writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Error), r.URL)
    			return
    		}
    	}
    
    	values := r.Form
    
    	var prefix string
    	if len(values[peerRESTListenPrefix]) > 1 {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrFilterNamePrefix), r.URL)
    		return
    	}
    
    	if len(values[peerRESTListenPrefix]) == 1 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6K bytes
    - Viewed (0)
  4. cmd/bucket-lifecycle-handlers.go

    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrServerNotInitialized), r.URL)
    		return
    	}
    
    	vars := mux.Vars(r)
    	bucket := vars["bucket"]
    
    	var withUpdatedAt bool
    	if updatedAtStr := r.Form.Get("withUpdatedAt"); updatedAtStr != "" {
    		var err error
    		withUpdatedAt, err = strconv.ParseBool(updatedAtStr)
    		if err != nil {
    			writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrInvalidLifecycleQueryParameter), r.URL)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 7K bytes
    - Viewed (0)
  5. src/go/types/typeparam.go

    }
    
    // SetConstraint sets the type constraint for t.
    //
    // It must be called by users of NewTypeParam after the bound's underlying is
    // fully defined, and before using the type parameter in any way other than to
    // form other types. Once SetConstraint returns the receiver, t is safe for
    // concurrent use.
    func (t *TypeParam) SetConstraint(bound Type) {
    	if bound == nil {
    		panic("nil constraint")
    	}
    	t.bound = bound
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  6. src/crypto/des/block.go

    	leftRotations := ksRotate(uint32(permutedKey >> 28))
    	rightRotations := ksRotate(uint32(permutedKey<<4) >> 4)
    
    	// generate subkeys
    	for i := 0; i < 16; i++ {
    		// combine halves to form 56-bit input to PC2
    		pc2Input := uint64(leftRotations[i])<<28 | uint64(rightRotations[i])
    		// apply PC2 permutation to 7 byte input
    		c.subkeys[i] = unpack(permuteBlock(pc2Input, permutedChoice2[:]))
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  7. cmd/tier-handlers.go

    	if err := json.Unmarshal(reqBytes, &cfg); err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	var ignoreInUse bool
    	if forceStr := r.Form.Get("force"); forceStr != "" {
    		ignoreInUse, _ = strconv.ParseBool(forceStr)
    	}
    
    	// Disallow remote tiers with internal storage class names
    	switch cfg.Name {
    	case storageclass.STANDARD, storageclass.RRS:
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  8. internal/logger/logrotate.go

    func (w *Writer) rotate() error {
    	if w.f != nil {
    		if err := w.closeCurrentFile(); err != nil {
    			return err
    		}
    
    		// This function is a no-op if opts.Compress is false
    		// writes an error in JSON form to stderr, if we cannot
    		// compress.
    		if err := w.compress(); err != nil {
    			msg := fmt.Sprintf("unable to compress log file %v: %v, ignoring and moving on", w.f.Name(), err)
    			stdErrEnc.Encode(&log.Entry{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  9. docs/en/docs/advanced/path-operation-advanced-configuration.md

    ```
    
    ## Advanced description from docstring
    
    You can limit the lines used from the docstring of a *path operation function* for OpenAPI.
    
    Adding an `\f` (an escaped "form feed" character) causes **FastAPI** to truncate the output used for OpenAPI at this point.
    
    It won't show up in the documentation, but other tools (such as Sphinx) will be able to use the rest.
    
    ```Python hl_lines="19-29"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 23:43:13 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  10. src/internal/cpu/cpu.go

    	Enable    bool // whether feature should be enabled
    }
    
    // processOptions enables or disables CPU feature values based on the parsed env string.
    // The env string is expected to be of the form cpu.feature1=value1,cpu.feature2=value2...
    // where feature names is one of the architecture specific list stored in the
    // cpu packages options variable and values are either 'on' or 'off'.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 7.1K bytes
    - Viewed (0)
Back to top