Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,793 for validate0 (0.14 sec)

  1. src/math/big/floatmarsh.go

    		}
    		z.exp = int32(byteorder.BeUint32(buf[6:]))
    		z.mant = z.mant.setBytes(buf[10:])
    	}
    
    	if oldPrec != 0 {
    		z.mode = oldMode
    		z.SetPrec(uint(oldPrec))
    	}
    
    	if msg := z.validate0(); msg != "" {
    		return errors.New("Float.GobDecode: " + msg)
    	}
    
    	return nil
    }
    
    // MarshalText implements the [encoding.TextMarshaler] interface.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:31:58 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. src/math/big/float.go

    		panic("validate called but debugFloat is not set")
    	}
    	if msg := x.validate0(); msg != "" {
    		panic(msg)
    	}
    }
    
    func (x *Float) validate0() string {
    	if x.form != finite {
    		return ""
    	}
    	m := len(x.mant)
    	if m == 0 {
    		return "nonzero finite number with empty mantissa"
    	}
    	const msb = 1 << (_W - 1)
    	if x.mant[m-1]&msb == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 15:46:54 UTC 2024
    - 44.5K bytes
    - Viewed (0)
  3. operator/pkg/validate/validate.go

    // Validate validates the values of the tree using the supplied Func.
    func Validate(validations map[string]ValidatorFunc, structPtr any, path util.Path, checkRequired bool) (errs util.Errors) {
    	scope.Debugf("validate with path %s, %v (%T)", path, structPtr, structPtr)
    	if structPtr == nil {
    		return nil
    	}
    	if util.IsStruct(structPtr) {
    		scope.Debugf("validate path %s, skipping struct type %T", path, structPtr)
    		return nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jan 12 16:04:15 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  4. pkg/security/apparmor/validate.go

    var isDisabledBuild bool
    
    // Validator is a interface for validating that a pod with an AppArmor profile can be run by a Node.
    type Validator interface {
    	Validate(pod *v1.Pod) error
    	ValidateHost() error
    }
    
    // NewValidator is in order to find AppArmor FS
    func NewValidator() Validator {
    	if err := validateHost(); err != nil {
    		return &validator{validateHostErr: err}
    	}
    	return &validator{}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 20:22:50 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. istioctl/pkg/validate/validate.go

      # Validate all yaml files under samples/bookinfo/networking directory
      istioctl validate -f samples/bookinfo/networking
    
      # Validate current deployments under 'default' namespace within the cluster
      kubectl get deployments -o yaml | istioctl validate -f -
    
      # Validate current services under 'default' namespace within the cluster
      kubectl get services -o yaml | istioctl validate -f -
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jan 22 17:58:52 UTC 2024
    - 15K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/model/Validate.java

    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    
    /**
     * Denotes that the {@link RuleSource} method rule carrying this annotation validates the rule subject.
     * <p>
     * Validate rules execute after {@link Finalize} rules, but before rule subject is used as an input.
     * The first parameter of the rule is the rule subject, which is <b>immutable</b>.
     * <p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/validator.go

    	}
    	return AuditAnnotationActionError
    }
    
    // Validate takes a list of Evaluation and a failure policy and converts them into actionable PolicyDecisions
    // runtimeCELCostBudget was added for testing purpose only. Callers should always use const RuntimeCELCostBudget from k8s.io/apiserver/pkg/apis/cel/config.go as input.
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 23:31:44 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  8. pkg/kube/inject/validate.go

    	}
    	return nil
    }
    
    // ValidateIncludeIPRanges validates the includeIPRanges parameter
    func ValidateIncludeIPRanges(ipRanges string) error {
    	if ipRanges != "*" {
    		if e := validateCIDRList(ipRanges); e != nil {
    			return fmt.Errorf("includeIPRanges invalid: %v", e)
    		}
    	}
    	return nil
    }
    
    // ValidateExcludeIPRanges validates the excludeIPRanges parameter
    func ValidateExcludeIPRanges(ipRanges string) error {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  9. pilot/test/xdstest/validate.go

    		if found.InsertContains(l.Name) {
    			t.Errorf("duplicate listener name %v", l.Name)
    		}
    		ValidateListener(t, l)
    	}
    }
    
    func ValidateListener(t testing.TB, l *listener.Listener) {
    	t.Helper()
    	if err := l.Validate(); err != nil {
    		t.Errorf("listener %v is invalid: %v", l.Name, err)
    	}
    	validateInspector(t, l)
    	validateListenerTLS(t, l)
    	validateFilterChainMatch(t, l)
    	validateInboundListener(t, l)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  10. cluster/validate-cluster.sh

          attempt=$((attempt+1))
          sleep 30
        else
          echo -e " ${color_yellow}Validate output:${color_norm}"
          kubectl_retry get cs
          echo -e "${color_red}Validation returned one or more failed components. Cluster is probably broken.${color_norm}"
          exit 1
        fi
      else
        break
      fi
    done
    
    echo "Validate output:"
    kubectl_retry get cs || true
    if [ "${return_value}" == "0" ]; then
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 01 06:35:39 UTC 2019
    - 7.3K bytes
    - Viewed (0)
Back to top