- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 5,714 for nvalid (0.14 sec)
-
src/go/types/typexpr.go
// (array composite literals and parameter lists) check.error(e, InvalidDotDotDot, "invalid use of '...'") check.use(e.Elt) case *ast.StructType: typ := new(Struct) setDefType(def, typ) check.structType(typ, e) return typ case *ast.StarExpr: typ := new(Pointer) typ.base = Typ[Invalid] // avoid nil base in invalid recursive type declaration setDefType(def, typ) typ.base = check.varType(e.X)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 16.3K bytes - Viewed (0) -
pkg/registry/storage/csinode/strategy_test.go
emptyAllocatable, emptyAllocatable, emptyAllocatable, }, { "allow valid allocatable when it's already set", valid, differentAllocatable, differentAllocatable, }, { "allow valid allocatable when it's not set", emptyAllocatable, valid, valid, }, } for _, test := range volumeLimitsCases { t.Run(test.name, func(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 15 09:24:44 UTC 2024 - 8.7K bytes - Viewed (0) -
src/runtime/cgo/handle.go
} handles.Store(h, v) return Handle(h) } // Value returns the associated Go value for a valid handle. // // The method panics if the handle is invalid. func (h Handle) Value() any { v, ok := handles.Load(uintptr(h)) if !ok { panic("runtime/cgo: misuse of an invalid Handle") } return v } // Delete invalidates a handle. This method should only be called once
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 08 16:59:11 UTC 2023 - 3.6K bytes - Viewed (0) -
src/internal/types/testdata/fixedbugs/issue49439.go
// license that can be found in the LICENSE file. package p import "unsafe" type T0 /* ERROR "invalid recursive type" */ [P T0[P]] struct{} type T1 /* ERROR "invalid recursive type" */ [P T2[P]] struct{} type T2[P T1[P]] struct{} type T3 /* ERROR "invalid recursive type" */ [P interface{ ~struct{ f T3[int] } }] struct{} // valid cycle in M type N[P M[P]] struct{} type M[Q any] struct { F *M[Q] } // "crazy" case
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 17 19:54:25 UTC 2023 - 739 bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/internal/rules/DefaultRuleActionValidatorTest.groovy
} def "accepts valid type"() { def ruleValidator = new DefaultRuleActionValidator(String) def ruleAction = Stub(RuleAction) { getInputTypes() >> { [String] } } expect: ruleValidator.validate(ruleAction) == ruleAction } def "accepts valid type with multiple valid types"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 2.7K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/httpstream/spdy/roundtripper_test.go
shouldError: false, }, "proxied with invalid auth -> http": { serverFunc: httptest.NewServer, proxyAuth: url.UserPassword("invalid", "auth"), serverConnectionHeader: "Upgrade", serverStatusCode: http.StatusSwitchingProtocols, serverUpgradeHeader: "SPDY/3.1", shouldError: true, }, "proxied with valid auth -> http": {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 23 22:33:38 UTC 2023 - 32.7K bytes - Viewed (0) -
pkg/apis/apps/validation/validation.go
allErrs = append(allErrs, field.Invalid(fldPath.Child("selector"), spec.Selector, "empty selector is invalid for deployment")) } } selector, err := metav1.LabelSelectorAsSelector(spec.Selector) if err != nil { allErrs = append(allErrs, field.Invalid(fldPath.Child("selector"), spec.Selector, "invalid label selector")) } else {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Apr 06 22:11:20 UTC 2024 - 41.4K bytes - Viewed (0) -
src/go/types/typeset.go
func (a byUniqueMethodName) Swap(i, j int) { a[i], a[j] = a[j], a[i] } // invalidTypeSet is a singleton type set to signal an invalid type set // due to an error. It's also a valid empty type set, so consumers of // type sets may choose to ignore it. var invalidTypeSet _TypeSet // computeUnionTypeSet may be called with check == nil.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 13.7K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/health/gc/GarbageCollectionStatsTest.groovy
nonHeapStats.maxSizeInBytes == 1000 nonHeapStats.usedPercent == 70 } def "reports invalid when maximum memory cannot be determined"() { expect: !stats.valid stats.maxSizeInBytes == -1 where: stats << [ GarbageCollectionStats.forHeap(withoutMaxMemory(heapEvents)), GarbageCollectionStats.forNonHeap(withoutMaxMemory(nonHeapEvents))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 3.4K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go
}, oldObj: map[string]interface{}{ "foo": "invalid", }, schema: withRulePtr(objectTypePtr(map[string]schema.Structural{ "foo": stringType, }), "self.foo == 'valid' || (oldSelf.hasValue() && oldSelf.value().foo != 'valid')"), }, { name: "allow invalid new value if old value is also invalid with chained optionals", obj: map[string]interface{}{ "foo": "invalid again",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 17:14:10 UTC 2024 - 159.9K bytes - Viewed (0)