Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for valcor (0.21 sec)

  1. src/cmd/compile/internal/ssa/func_test.go

    // orders if the CFG are otherwise equivalent.
    func Equiv(f, g *Func) bool {
    	valcor := make(map[*Value]*Value)
    	var checkVal func(fv, gv *Value) bool
    	checkVal = func(fv, gv *Value) bool {
    		if fv == nil && gv == nil {
    			return true
    		}
    		if valcor[fv] == nil && valcor[gv] == nil {
    			valcor[fv] = gv
    			valcor[gv] = fv
    			// Ignore ids. Ops and Types are compared for equality.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:01:04 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  2. cni/pkg/plugin/sidecar_redirect.go

    			"excludeIPCidrs", isFound, valErr)
    	}
    	isFound, redir.excludeInboundPorts, valErr = getAnnotationOrDefault("excludeInboundPorts", pi.Annotations)
    	if valErr != nil {
    		return nil, fmt.Errorf("annotation value error for value %s; annotationFound = %t: %v",
    			"excludeInboundPorts", isFound, valErr)
    	}
    	isFound, redir.includeInboundPorts, valErr = getAnnotationOrDefault("includeInboundPorts", pi.Annotations)
    	if valErr != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  3. docs/fr/docs/tutorial/path-params.md

    ### Manipuler les *énumérations* Python
    
    La valeur du *paramètre de chemin* sera un des "membres" de l'énumération.
    
    #### Comparer les *membres d'énumération*
    
    Vous pouvez comparer ce paramètre avec les membres de votre énumération `ModelName` :
    
    ```Python hl_lines="17"
    {!../../../docs_src/path_params/tutorial005.py!}
    ```
    
    #### Récupérer la *valeur de l'énumération*
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 10K bytes
    - Viewed (0)
  4. schema/field.go

    	}
    
    	fieldValue := reflect.New(field.IndirectFieldType)
    	// if field is valuer, used its value or first field as data type
    	valuer, isValuer := fieldValue.Interface().(driver.Valuer)
    	if isValuer {
    		if _, ok := fieldValue.Interface().(GormDataTypeInterface); !ok {
    			if v, err := valuer.Value(); reflect.ValueOf(v).IsValid() && err == nil {
    				fieldValue = reflect.ValueOf(v)
    			}
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Apr 15 03:20:20 UTC 2024
    - 32K bytes
    - Viewed (0)
  5. statement.go

    		}
    	}
    
    	conds := make([]clause.Expression, 0, 4)
    	args = append([]interface{}{query}, args...)
    	for idx, arg := range args {
    		if arg == nil {
    			continue
    		}
    		if valuer, ok := arg.(driver.Valuer); ok {
    			arg, _ = valuer.Value()
    		}
    
    		switch v := arg.(type) {
    		case clause.Expression:
    			conds = append(conds, v)
    		case *DB:
    			v.executeScopes()
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Fri Jan 12 08:42:21 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  6. docs/fr/docs/alternatives.md

    !!! check "A inspiré **FastAPI** à"
    Trouver des moyens d'obtenir de bonnes performances.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  7. scan.go

    		if reflectValue := reflect.Indirect(reflect.Indirect(reflect.ValueOf(values[idx]))); reflectValue.IsValid() {
    			mapValue[column] = reflectValue.Interface()
    			if valuer, ok := mapValue[column].(driver.Valuer); ok {
    				mapValue[column], _ = valuer.Value()
    			} else if b, ok := mapValue[column].(sql.RawBytes); ok {
    				mapValue[column] = string(b)
    			}
    		} else {
    			mapValue[column] = nil
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:57:36 UTC 2024
    - 10K bytes
    - Viewed (0)
  8. operator/pkg/validate/common.go

    )
    
    // validateWithRegex checks whether the given value matches the regexp r.
    func validateWithRegex(path util.Path, val any, r *regexp.Regexp) (errs util.Errors) {
    	valStr := fmt.Sprint(val)
    	if len(r.FindString(valStr)) != len(valStr) {
    		errs = util.AppendErr(errs, fmt.Errorf("invalid value %s: %v", path, val))
    		printError(errs.ToError())
    	}
    	return errs
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Aug 10 15:35:03 UTC 2023
    - 11K bytes
    - Viewed (0)
  9. docs/pt/docs/tutorial/handling-errors.md

    O benefício de lançar uma exceção em vez de retornar um valor ficará mais evidente na seção sobre Dependências e Segurança.
    
    Neste exemplo, quando o cliente pede, na requisição, por um item cujo ID não existe, a exceção com o status code `404` é lançada:
    
    ```Python hl_lines="11"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 10K bytes
    - Viewed (0)
  10. docs/uk/docs/alternatives.md

    !!! check "Надихнуло **FastAPI** на"
         Знайти способи отримати чудову продуктивність.
    
         Разом із Hug (оскільки Hug базується на Falcon) надихнув **FastAPI** оголосити параметр `response` у функціях.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 38.2K bytes
    - Viewed (0)
Back to top