Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 168 for TField (0.28 sec)

  1. src/go/ast/walk_test.go

    	// in the middle of walking a node. Previously, incorrect handling of the
    	// boolean returned by the yield function resulted in the iterator calling
    	// yield for sibling nodes even after yield had returned false. With that
    	// bug, this test failed with a runtime panic.
    	src := "package p\ntype T struct {\n\tF int `json:\"f\"` // a field\n}\n"
    
    	fset := token.NewFileSet()
    	f, err := parser.ParseFile(fset, "", src, 0)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:34:10 UTC 2024
    - 916 bytes
    - Viewed (0)
  2. platforms/core-configuration/bean-serialization-services/src/main/kotlin/org/gradle/internal/serialize/beans/services/BeanSchema.kt

    )
    
    
    private
    val Class<*>.relevantFields: Sequence<Field>
        get() = declaredFields.asSequence()
            .filterNot { field ->
                field.isStatic
                    || field.isTransient
                    || Workarounds.isIgnoredBeanField(field)
            }.filter { field ->
                isNotAbstractTaskField(field)
                    || field.name in abstractTaskRelevantFields
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-problems-base/src/main/kotlin/org/gradle/internal/configuration/problems/PropertyProblem.kt

                is SystemProperty -> trace
                is Project -> trace
                else -> null
            }
    }
    
    
    enum class PropertyKind {
        Field {
            override fun toString() = "field"
        },
        PropertyUsage {
            override fun toString() = "property usage"
        },
        InputProperty {
            override fun toString() = "input property"
        },
        OutputProperty {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 21:59:50 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. src/go/ast/walk.go

    //
    // For greater control over the traversal of each subtree, use [Inspect].
    func Preorder(root Node) iter.Seq[Node] {
    	return func(yield func(Node) bool) {
    		ok := true
    		Inspect(root, func(n Node) bool {
    			if n != nil {
    				// yield must not be called once ok is false.
    				ok = ok && yield(n)
    			}
    			return ok
    		})
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:34:10 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  5. platforms/core-configuration/bean-serialization-services/src/main/kotlin/org/gradle/internal/serialize/beans/services/BeanPropertyWriter.kt

                }
                withDebugFrame({ field.debugFrameName() }) {
                    writeNextProperty(fieldName, fieldValue, PropertyKind.Field)
                }
            }
        }
    
        private
        fun conventionValueOf(bean: Any, field: Field, isExplicitValue: Field) =
            field.get(bean).let { fieldValue ->
                if (isExplicitValue.get(bean).uncheckedCast()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  6. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/JavaRecordCodec.kt

        private
        suspend fun ReadContext.readFields(fields: List<Field>): List<Any?> {
            val args = mutableListOf<Any?>()
            for (field in fields) {
                val fieldName = field.name
                unsupportedFieldTypeFor(field)?.let {
                    reportUnsupportedFieldType(it, "deserialize", fieldName)
                }
                readPropertyValue(PropertyKind.Field, fieldName) { fieldValue ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  7. staging/src/k8s.io/client-go/applyconfigurations/core/v1/podsecuritycontext.go

    	return &PodSecurityContextApplyConfiguration{}
    }
    
    // WithSELinuxOptions sets the SELinuxOptions field in the declarative configuration to the given value
    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    // If called multiple times, the SELinuxOptions field is set to the value of the last call.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/storage/selection_predicate.go

    	if matched && s.Field != nil {
    		matched = (matched && s.Field.Matches(f))
    	}
    	return matched
    }
    
    // MatchesSingleNamespace will return (namespace, true) if and only if s.Field matches on the object's
    // namespace.
    func (s *SelectionPredicate) MatchesSingleNamespace() (string, bool) {
    	if len(s.Continue) > 0 || s.Field == nil {
    		return "", false
    	}
    	if namespace, ok := s.Field.RequiresExactMatch("metadata.namespace"); ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 09:20:10 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/complete.go

    }
    
    func validateNestedValueValidationCompleteness(v *NestedValueValidation, s *Structural, sPath, vPath *field.Path, opts ValidationOptions) field.ErrorList {
    	if v == nil {
    		return nil
    	}
    	if s == nil {
    		return field.ErrorList{field.Required(sPath, fmt.Sprintf("because it is defined in %s", vPath.String()))}
    	}
    
    	allErrs := field.ErrorList{}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 18:20:00 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  10. src/reflect/iter.go

    			break
    		}
    		return func(yield func(Value) bool) {
    			v = v.Elem()
    			for i := range v.Len() {
    				if !yield(ValueOf(i)) {
    					return
    				}
    			}
    		}
    	case Array, Slice:
    		return func(yield func(Value) bool) {
    			for i := range v.Len() {
    				if !yield(ValueOf(i)) {
    					return
    				}
    			}
    		}
    	case String:
    		return func(yield func(Value) bool) {
    			for i := range v.String() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 13:40:11 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top