Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for fieldValue (0.3 sec)

  1. schema/serializer.go

    		}
    
    		if len(bytes) > 0 {
    			err = json.Unmarshal(bytes, fieldValue.Interface())
    		}
    	}
    
    	field.ReflectValueOf(ctx, dst).Set(fieldValue.Elem())
    	return
    }
    
    // Value implements serializer interface
    func (JSONSerializer) Value(ctx context.Context, field *Field, dst reflect.Value, fieldValue interface{}) (interface{}, error) {
    	result, err := json.Marshal(fieldValue)
    	if string(result) == "null" {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Mar 18 08:28:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. platforms/core-configuration/bean-serialization-services/src/main/kotlin/org/gradle/internal/serialize/beans/services/BeanPropertyWriter.kt

                    writeNextProperty(fieldName, fieldValue, PropertyKind.Field)
                }
            }
        }
    
        private
        fun conventionValueOf(bean: Any, field: Field, isExplicitValue: Field) =
            field.get(bean).let { fieldValue ->
                if (isExplicitValue.get(bean).uncheckedCast()) {
                    fieldValue
                } else {
                    getConventionValue(bean, field, fieldValue)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. operator/pkg/validate/validate.go

    			}
    		case reflect.Ptr:
    			if util.IsNilOrInvalidValue(fieldValue.Elem()) {
    				continue
    			}
    			newPath := append(path, fieldName)
    			if fieldValue.Elem().Kind() == reflect.Struct {
    				errs = util.AppendErrs(errs, Validate(validations, fieldValue.Interface(), newPath, checkRequired))
    			} else {
    				errs = util.AppendErrs(errs, validateLeaf(validations, newPath, fieldValue, checkRequired))
    			}
    		default:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jan 12 16:04:15 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  4. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/JavaRecordCodec.kt

                readPropertyValue(PropertyKind.Field, fieldName) { fieldValue ->
                    if (fieldValue == null || field.type.isInstance(fieldValue) || field.type.isPrimitive) {
                        args.add(fieldValue)
                    } else {
                        logPropertyProblem("deserialize") {
                            text("value ")
                            reference(fieldValue.toString())
                            text(" is not assignable to ")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/ToBeFixedSpecInterceptor.groovy

            allInstanceFieldsOf(instance).findResults { field ->
                try {
                    def fieldValue = field.tap { accessible = true }.get(instance)
                    fieldValue instanceof ResettableExpectations ? fieldValue : null
                } catch (Exception ignored) {
                    null
                }
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 13:10:05 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/Logging.kt

        unsupportedType: KClass<*>,
        action: String,
        fieldName: String,
        fieldValue: Any? = null
    ) {
        withPropertyTrace(PropertyKind.Field, fieldName) {
            if (fieldValue == null) logUnsupported(action, unsupportedType)
            else logUnsupportedBaseType(action, unsupportedType, unpackType(fieldValue))
        }
    }
    
    
    fun IsolateContext.logUnsupportedBaseType(
        action: String,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/testdata/HEAD/resource.k8s.io.v1alpha2.Status.yaml

    apiVersion: resource.k8s.io/v1alpha2
    code: 6
    details:
      causes:
      - field: fieldValue
        message: messageValue
        reason: reasonValue
      group: groupValue
      kind: kindValue
      name: nameValue
      retryAfterSeconds: 5
      uid: uidValue
    kind: Status
    message: messageValue
    metadata:
      continue: continueValue
      remainingItemCount: 4
      resourceVersion: resourceVersionValue
      selfLink: selfLinkValue
    reason: reasonValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 06:52:03 UTC 2023
    - 432 bytes
    - Viewed (0)
  8. platforms/core-configuration/bean-serialization-services/src/main/kotlin/org/gradle/internal/serialize/beans/services/BeanPropertyReader.kt

                relevantField.unsupportedFieldType?.let {
                    reportUnsupportedFieldType(it, "deserialize", fieldName)
                }
                readPropertyValue(PropertyKind.Field, fieldName) { fieldValue ->
                    set(bean, field, fieldValue)
                }
            }
            if (bean is ModelObject) {
                bean.attachModelProperties()
            }
        }
    
        private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/testdata/v1.30.0/core.v1.Status.json

        "name": "nameValue",
        "group": "groupValue",
        "kind": "kindValue",
        "uid": "uidValue",
        "causes": [
          {
            "reason": "reasonValue",
            "message": "messageValue",
            "field": "fieldValue"
          }
        ],
        "retryAfterSeconds": 5
      },
      "code": 6
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 586 bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/v1.29.0/resource.k8s.io.v1alpha2.Status.json

        "name": "nameValue",
        "group": "groupValue",
        "kind": "kindValue",
        "uid": "uidValue",
        "causes": [
          {
            "reason": "reasonValue",
            "message": "messageValue",
            "field": "fieldValue"
          }
        ],
        "retryAfterSeconds": 5
      },
      "code": 6
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 608 bytes
    - Viewed (0)
Back to top