- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 681 for TField (0.18 sec)
-
staging/src/k8s.io/client-go/applyconfigurations/core/v1/containerstatus.go
// and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the RestartCount field is set to the value of the last call. func (b *ContainerStatusApplyConfiguration) WithRestartCount(value int32) *ContainerStatusApplyConfiguration { b.RestartCount = &value return b }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 7.9K bytes - Viewed (0) -
src/iter/iter.go
// When called as seq(yield), seq calls yield(v) for each value v in the sequence, // stopping early if yield returns false. type Seq[V any] func(yield func(V) bool) // Seq2 is an iterator over sequences of pairs of values, most commonly key-value pairs. // When called as seq(yield), seq calls yield(k, v) for each pair (k, v) in the sequence, // stopping early if yield returns false.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 19:09:28 UTC 2024 - 6.6K bytes - Viewed (0) -
test/fixedbugs/issue28268.go
// Verify that follow-on errors due to conflicting // struct field and method names are suppressed. package p type T struct { a, b, c int E } type E struct{} func (T) b() {} // ERROR "field and method named b|redeclares struct field name|field and method with the same name b" func (*T) E() {} // ERROR "field and method named E|redeclares struct field name|field and method with the same name E" func _() { var x T
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 764 bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authorization/cel/compile_test.go
declField, ok := declType.Fields[fieldName] if !ok { t.Fatalf("expected field %q to be present", nativeField.Name) } declFieldType := nativeTypeToCELType(t, nativeField.Type, field, fields) if declFieldType != nil && declFieldType.CelType().Equal(declField.Type.CelType()).Value() != true { return fmt.Errorf("expected native field %q to have type %v, got %v", nativeField.Name, nativeField.Type, declField.Type) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 5.9K bytes - Viewed (0) -
pkg/apis/core/validation/validation_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 857.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/apis/apiserver/validation/validation_test.go
{ name: "atleast one authorizer should be defined", configuration: api.AuthorizationConfiguration{ Authorizers: []api.AuthorizerConfiguration{}, }, expectedErrList: field.ErrorList{field.Required(field.NewPath("authorizers"), "at least one authorization mode must be defined")}, knownTypes: sets.NewString(), repeatableTypes: sets.NewString(), }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 87.2K bytes - Viewed (0) -
platforms/core-configuration/bean-serialization-services/src/main/kotlin/org/gradle/internal/serialize/beans/services/BeanPropertyReader.kt
for (relevantField in relevantFields) { val field = relevantField.field val fieldName = field.name relevantField.unsupportedFieldType?.let { reportUnsupportedFieldType(it, "deserialize", fieldName) } readPropertyValue(PropertyKind.Field, fieldName) { fieldValue -> set(bean, field, fieldValue) } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 23:09:56 UTC 2024 - 3.5K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation.go
if reason == nil { return field.Invalid(fldPath, value, detail) } switch *reason { case apiextensions.FieldValueForbidden: return field.Forbidden(fldPath, detail) case apiextensions.FieldValueRequired: return field.Required(fldPath, detail) case apiextensions.FieldValueDuplicate: return field.Duplicate(fldPath, value) default: return field.Invalid(fldPath, value, detail) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 20 18:21:31 UTC 2024 - 32.2K bytes - Viewed (0) -
src/runtime/testdata/testprog/coro.go
return nil } func iterSimple(yield func(int) bool) { for range 3 { if !yield(5) { return } } } func iterNested(yield func(int) bool) { next, stop := iter.Pull(iterSimple) for { v, ok := next() if ok { if !yield(v) { stop() } } else { return } } } func iterLock(yield func(int) bool) { for range 3 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 19:46:10 UTC 2024 - 3.6K bytes - Viewed (0) -
src/internal/cpu/cpu.go
func processOptions(env string) { field: for env != "" { field := "" i := indexByte(env, ',') if i < 0 { field, env = env, "" } else { field, env = env[:i], env[i+1:] } if len(field) < 4 || field[:4] != "cpu." { continue } i = indexByte(field, '=') if i < 0 { print("GODEBUG: no value specified for \"", field, "\"\n") continue }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 7.1K bytes - Viewed (0)