- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for MaxLength (0.21 sec)
-
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/compilation_test.go
// with given validation rule and a set of enum values, following the convention of existing tests. // The test has two checks, first with maxLength unset to check if maxLength can be concluded from enums, // second with maxLength set to ensure it takes precedence. func genEnumWithRuleAndValues(rule string, values ...string) func(maxLength *int64) *schema.Structural {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 20:13:14 UTC 2024 - 51.5K bytes - Viewed (0) -
tests/test_application.py
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 21:56:59 UTC 2024 - 52.2K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/zz_generated.conversion.go
out.Maximum = (*float64)(unsafe.Pointer(in.Maximum)) out.ExclusiveMaximum = in.ExclusiveMaximum out.Minimum = (*float64)(unsafe.Pointer(in.Minimum)) out.ExclusiveMinimum = in.ExclusiveMinimum out.MaxLength = (*int64)(unsafe.Pointer(in.MaxLength)) out.MinLength = (*int64)(unsafe.Pointer(in.MinLength)) out.Pattern = in.Pattern out.MaxItems = (*int64)(unsafe.Pointer(in.MaxItems)) out.MinItems = (*int64)(unsafe.Pointer(in.MinItems))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 28 19:06:46 UTC 2024 - 67.5K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/zz_generated.conversion.go
out.Maximum = (*float64)(unsafe.Pointer(in.Maximum)) out.ExclusiveMaximum = in.ExclusiveMaximum out.Minimum = (*float64)(unsafe.Pointer(in.Minimum)) out.ExclusiveMinimum = in.ExclusiveMinimum out.MaxLength = (*int64)(unsafe.Pointer(in.MaxLength)) out.MinLength = (*int64)(unsafe.Pointer(in.MinLength)) out.Pattern = in.Pattern out.MaxItems = (*int64)(unsafe.Pointer(in.MaxItems)) out.MinItems = (*int64)(unsafe.Pointer(in.MinItems))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 28 19:06:46 UTC 2024 - 71.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java
final String value; final int maxLength = getLdapMaxUsernameLengthAsInteger(); if (username == null) { value = StringUtil.EMPTY; } else if (maxLength >= 0 && username.length() > maxLength) { value = username.substring(0, maxLength); } else { value = username; }
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 85K bytes - Viewed (0) -
src/cmd/vendor/github.com/ianlancetaylor/demangle/demangle.go
// the parsing of the AST, only the conversion of the AST // to a string. LLVMStyle ) // maxLengthShift is how we shift the MaxLength value. const maxLengthShift = 16 // maxLengthMask is a mask for the maxLength value. const maxLengthMask = 0x1f << maxLengthShift // MaxLength returns an Option that limits the maximum length of a // demangled string. The maximum length is expressed as a power of 2,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 94.1K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/test/integration/ratcheting_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 28 08:48:22 UTC 2024 - 59.5K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/validation.go
} else { factor = fmt.Sprintf("%.1fx", exceedFactor) } return fmt.Sprintf("%s exceeds budget by factor of %s (try simplifying the rule, or adding maxItems, maxProperties, and maxLength where arrays, maps, and strings are declared)", costName, factor) } var newlineMatcher = regexp.MustCompile(`[\n\r]+`) // valid newline chars in CEL grammar func hasNewlines(s string) bool {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 82.6K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/testdata/swagger.json
"items": { "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrArray" }, "maxItems": { "type": "integer", "format": "int64" }, "maxLength": { "type": "integer", "format": "int64" }, "maxProperties": { "type": "integer", "format": "int64" }, "maximum": { "type": "number", "format": "double" },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 13 18:37:59 UTC 2023 - 55.4K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/test/integration/validation_test.go
globalSchema: ` type: object properties: metadata: properties: name: pattern: "^[a-z]+$" labels: type: object maxLength: 4 `, expectedViolations: []string{ "spec.versions[0].schema.openAPIV3Schema.properties[metadata]: Forbidden: must not specify anything other than name and generateName, but metadata is implicitly specified",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 26 20:48:36 UTC 2021 - 63.6K bytes - Viewed (0)