Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 2,123 for nfield (0.08 sec)

  1. schema/serializer.go

    	Value(ctx context.Context, field *Field, dst reflect.Value, fieldValue interface{}) (interface{}, error)
    }
    
    // JSONSerializer json serializer
    type JSONSerializer struct{}
    
    // Scan implements serializer interface
    func (JSONSerializer) Scan(ctx context.Context, field *Field, dst reflect.Value, dbValue interface{}) (err error) {
    	fieldValue := reflect.New(field.FieldType)
    
    	if dbValue != nil {
    		var bytes []byte
    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. src/go/types/errsupport.go

    	// misspelled     x.Foo   ==    FoO    type X has no field or method Foo, but does have field FoO
    	// misspelled     x.Foo   ==    foo    type X has no field or method Foo, but does have field foo
    	// misspelled     x.Foo   ==    foO    type X has no field or method Foo, but does have field foO
    	//
    	// misspelled     x.foo   ==    Foo    type X has no field or method foo, but does have field Foo
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/util/strategicpatch/testdata/swagger-merge-item.json

            "name": {
              "description": "Name field.",
              "type": "string"
            },
            "value": {
              "description": "Value field.",
              "type": "string"
            },
            "other": {
              "description": "Other field.",
              "type": "string"
            },
            "mergingList": {
              "description": "MergingList field.",
              "type": "array",
              "items": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 20 22:35:14 UTC 2017
    - 4.7K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/errsupport.go

    	// misspelled     x.Foo   ==    FoO    type X has no field or method Foo, but does have field FoO
    	// misspelled     x.Foo   ==    foo    type X has no field or method Foo, but does have field foo
    	// misspelled     x.Foo   ==    foO    type X has no field or method Foo, but does have field foO
    	//
    	// misspelled     x.foo   ==    Foo    type X has no field or method foo, but does have field Foo
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 07 16:41:56 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  5. pkg/apis/core/v1/validation/validation.go

    func ValidatePodLogOptions(opts *v1.PodLogOptions) field.ErrorList {
    	allErrs := field.ErrorList{}
    	if opts.TailLines != nil && *opts.TailLines < 0 {
    		allErrs = append(allErrs, field.Invalid(field.NewPath("tailLines"), *opts.TailLines, isNegativeErrorMsg))
    	}
    	if opts.LimitBytes != nil && *opts.LimitBytes < 1 {
    		allErrs = append(allErrs, field.Invalid(field.NewPath("limitBytes"), *opts.LimitBytes, "must be greater than 0"))
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Oct 28 07:31:28 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  6. src/mdo/transformer.vm

          #elseif ( $field.to && $field.multiplicity == "*" )
            List<${field.to}> oldVal = target.get${capField}();
            List<${field.to}> newVal = transform(oldVal, this::transform${field.to});
            return newVal != oldVal ? (builder != null ? builder : creator.get()).${field.name}(newVal) : builder;
          #elseif ( $field.type == "DOM" )
            XmlNode oldVal = target.get${capField}();
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Apr 03 17:49:40 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  7. test/fixedbugs/issue25727.go

    var _ = s.DoneChan                  // ERROR "s.DoneChan undefined .type http.Server has no field or method DoneChan.$|undefined field or method"
    var _ = http.Server{tlsConfig: nil} // ERROR "cannot refer to unexported field tlsConfig in struct literal|unknown field .?tlsConfig.? in .?http.Server|unknown field"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 07 16:41:56 UTC 2024
    - 1K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/util/webhook/validation.go

    	"k8s.io/apimachinery/pkg/util/validation/field"
    )
    
    // ValidateWebhookURL validates webhook's URL.
    func ValidateWebhookURL(fldPath *field.Path, URL string, forceHttps bool) field.ErrorList {
    	var allErrors field.ErrorList
    	const form = "; desired format: https://host[/path]"
    	if u, err := url.Parse(URL); err != nil {
    		allErrors = append(allErrors, field.Required(fldPath, "url must be a valid URL: "+err.Error()+form))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 19 23:14:37 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  9. schema/index.go

    					idx.Option = index.Option
    				}
    
    				idx.Fields = append(idx.Fields, index.Fields...)
    				sort.Slice(idx.Fields, func(i, j int) bool {
    					return idx.Fields[i].priority < idx.Fields[j].priority
    				})
    
    				indexes[index.Name] = idx
    			}
    		}
    	}
    	for _, index := range indexes {
    		if index.Class == "UNIQUE" && len(index.Fields) == 1 {
    			index.Fields[0].Field.UniqueIndex = index.Name
    		}
    	}
    	return indexes
    }
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Sun Feb 04 07:49:19 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  10. pkg/apis/node/validation/validation.go

    func ValidateRuntimeClassUpdate(new, old *node.RuntimeClass) field.ErrorList {
    	allErrs := apivalidation.ValidateObjectMetaUpdate(&new.ObjectMeta, &old.ObjectMeta, field.NewPath("metadata"))
    
    	allErrs = append(allErrs, apivalidation.ValidateImmutableField(new.Handler, old.Handler, field.NewPath("handler"))...)
    
    	return allErrs
    }
    
    func validateOverhead(overhead *node.Overhead, fldPath *field.Path) field.ErrorList {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 10 19:08:24 UTC 2022
    - 3.2K bytes
    - Viewed (0)
Back to top