Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 654 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. 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)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation.go

    	celconfig "k8s.io/apiserver/pkg/apis/cel"
    )
    
    // Validator parallels the structure of schema.Structural and includes the compiled CEL programs
    // for the x-kubernetes-validations of each schema node.
    type Validator struct {
    	Items                *Validator
    	Properties           map[string]Validator
    	AllOfValidators      []*Validator
    	AdditionalProperties *Validator
    
    	Schema *schema.Structural
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 20 18:21:31 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/apis/kubeadm/validation/validation.go

    		if val != "false" {
    			// Pod subnet was already validated, we need to validate now against the node-mask
    			allErrs = append(allErrs, ValidatePodSubnetNodeMask(c.Networking.PodSubnet, c, fldPath.Child("podSubnet"))...)
    		}
    	}
    	return allErrs
    }
    
    // ValidateAbsolutePath validates whether provided path is absolute or not
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  6. internal/bucket/lifecycle/rule.go

    			if buf.Len() > 0 {
    				buf.WriteString("&")
    			}
    			buf.WriteString(t.String())
    		}
    		return buf.String()
    	}
    	return ""
    }
    
    // Validate - validates the rule element
    func (r Rule) Validate() error {
    	if err := r.validateID(); err != nil {
    		return err
    	}
    	if err := r.validateStatus(); err != nil {
    		return err
    	}
    	if err := r.validateExpiration(); err != nil {
    		return err
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 01 01:11:10 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  7. src/internal/trace/testtrace/validation.go

    	binding *schedContext
    }
    
    // NewValidator creates a new Validator.
    func NewValidator() *Validator {
    	return &Validator{
    		gs:     make(map[trace.GoID]*goState),
    		ps:     make(map[trace.ProcID]*procState),
    		ms:     make(map[trace.ThreadID]*schedContext),
    		ranges: make(map[trace.ResourceID][]string),
    		tasks:  make(map[trace.TaskID]string),
    	}
    }
    
    // Event validates ev as the next event in a stream of trace.Events.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  8. testing/smoke-test/src/smokeTest/resources/org/gradle/smoketests/validate-external-gradle-plugin.gradle.kts

    import org.gradle.api.internal.plugins.PluginRegistry
    import org.gradle.api.internal.project.ProjectInternal
    import java.net.URISyntaxException
    import java.net.URL
    import java.util.stream.Collectors
    
    /**
     * Validates external plugins applied to a build, by checking property annotations
     * on work items like tasks and artifact transforms.
     * This is similar to [ValidatePlugins] but instead of checking the plugins *written in* the current build,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. pkg/apis/apps/validation/validation.go

    func ValidateStatefulSetName(name string, prefix bool) []string {
    	// TODO: Validate that there's room for the suffix inserted by the pods.
    	// Currently this is just "-index". In the future we may allow a user
    	// specified list of suffixes and we need  to validate the longest one.
    	return apimachineryvalidation.NameIsDNSLabel(name, prefix)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 06 22:11:20 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/cel/library/format.go

    //      format.uri().validate("http://example.com")
    //          Uses same pattern as isURL, but returns an error
    //      format.uuid().validate("123e4567-e89b-12d3-a456-426614174000")
    //      format.byte().validate("aGVsbG8=")
    //      format.date().validate("2021-01-01")
    //      format.datetime().validate("2021-01-01T00:00:00Z")
    //
    
    // <Format>.validate(str: string) -> ?list<string>
    //
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 17:22:44 UTC 2024
    - 8.2K bytes
    - Viewed (0)
Back to top