Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for stringerarray (0.15 sec)

  1. src/cmd/vet/testdata/print/print.go

    }
    
    var embeddedStringerv embeddedStringer
    
    type notstringer struct {
    	f float64
    }
    
    var notstringerv notstringer
    
    type stringerarray [4]float64
    
    func (stringerarray) String() string {
    	return "string"
    }
    
    var stringerarrayv stringerarray
    
    type notstringerarray [4]float64
    
    var notstringerarrayv notstringerarray
    
    var nonemptyinterface = interface {
    	f()
    }(nil)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 01:28:01 UTC 2023
    - 27.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/validation/ratcheting_test.go

    )
    
    var zeroIntSchema *spec.Schema = &spec.Schema{
    	SchemaProps: spec.SchemaProps{
    		Type:    spec.StringOrArray{"number"},
    		Minimum: ptr(float64(0)),
    		Maximum: ptr(float64(0)),
    	},
    }
    
    var smallIntSchema *spec.Schema = &spec.Schema{
    	SchemaProps: spec.SchemaProps{
    		Type:    spec.StringOrArray{"number"},
    		Maximum: ptr(float64(50)),
    	},
    }
    
    var mediumIntSchema *spec.Schema = &spec.Schema{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 24 18:20:09 UTC 2023
    - 4K bytes
    - Viewed (0)
  3. src/runtime/map_benchmark_test.go

    					_ = m[stringstruct{string(bytes)}]
    				}
    			})
    			b.Run("array", func(b *testing.B) {
    				b.ReportAllocs()
    				type stringarray [1]string
    				m := make(map[stringarray]int)
    				m[stringarray{string(bytes)}] = 0
    				for i := 0; i < b.N; i++ {
    					_ = m[stringarray{string(bytes)}]
    				}
    			})
    		})
    	}
    }
    
    var BoolSink bool
    
    func BenchmarkMapInterfaceString(b *testing.B) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 09 16:41:16 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/kubeopenapi.go

    	s.ValidationExtensions.toKubeOpenAPI(ret)
    	return ret
    }
    
    func (g *Generic) toKubeOpenAPI(ret *spec.Schema) {
    	if g == nil {
    		return
    	}
    
    	if len(g.Type) != 0 {
    		ret.Type = spec.StringOrArray{g.Type}
    	}
    	ret.Nullable = g.Nullable
    	ret.Description = g.Description
    	ret.Title = g.Title
    	ret.Default = g.Default.Object
    }
    
    func (x *Extensions) toKubeOpenAPI(ret *spec.Schema) {
    	if x == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/validation/validation.go

    	out.ID = in.ID
    	out.Schema = spec.SchemaURL(in.Schema)
    	out.Description = in.Description
    	if in.Type != "" {
    		out.Type = spec.StringOrArray([]string{in.Type})
    	}
    	if in.XIntOrString {
    		out.VendorExtensible.AddExtension("x-kubernetes-int-or-string", true)
    		out.Type = spec.StringOrArray{"integer", "string"}
    	}
    	out.Nullable = in.Nullable
    	out.Format = in.Format
    	out.Title = in.Title
    	out.Maximum = in.Maximum
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 24 18:23:28 UTC 2023
    - 15K bytes
    - Viewed (0)
  6. pkg/ctrlz/assets/static/js/bootstrap-4.0.0.min.js

    aultPrevented()){var i=this._getDimension();if(this._element.style[i]=this._element.getBoundingClientRect()[i]+"px",P.reflow(this._element),t(this._element).addClass(f).removeClass(u).removeClass(c),this._triggerArray.length>0)for(var s=0;s<this._triggerArray.length;s++){var r=this._triggerArray[s],o=P.getSelectorFromElement(r);if(null!==o)t(o).hasClass(c)||t(r).addClass(d).attr("aria-expanded",!1)}this.setTransitioning(!0);var a=function(){e.setTransitioning(!1),t(e._element).removeClass(f).add...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 47.8K bytes
    - Viewed (0)
  7. src/main/webapp/js/bootstrap.min.js

    romElement(r),a=[].slice.call(document.querySelectorAll(s)).filter(function(t){return t===e});null!==s&&0<a.length&&(this._selector=s,this._triggerArray.push(r))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}var t=a.prototype;return t.toggle=function(){g(this._element).hasClass(yt)?this.hide():this.show()},t.show=function(){var t,e,n=this;if(!this._isTransitioning&&!...
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Fri Feb 07 10:28:50 UTC 2020
    - 58.6K bytes
    - Viewed (0)
  8. tests/postgres_test.go

    		CreatedAt time.Time      `gorm:"type:TIMESTAMP WITHOUT TIME ZONE"`
    		UpdatedAt time.Time      `gorm:"type:TIMESTAMP WITHOUT TIME ZONE;default:current_timestamp"`
    		Things    pq.StringArray `gorm:"type:text[]"`
    	}
    
    	if err := DB.Exec("CREATE EXTENSION IF NOT EXISTS pgcrypto;").Error; err != nil {
    		t.Errorf("Failed to create extension pgcrypto, got error %v", err)
    	}
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Sat Oct 08 09:16:32 UTC 2022
    - 6.4K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/openapi/builder/builder_test.go

    				t.Fatalf("unexpected list properties, got: %s, expected: %s", gotListProperties.List(), want.List())
    			}
    
    			if e, a := (spec.StringOrArray{"string"}), got.listSchema.Properties["apiVersion"].Type; !reflect.DeepEqual(e, a) {
    				t.Errorf("expected %#v, got %#v", e, a)
    			}
    			if e, a := (spec.StringOrArray{"string"}), got.listSchema.Properties["kind"].Type; !reflect.DeepEqual(e, a) {
    				t.Errorf("expected %#v, got %#v", e, a)
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  10. src/main/webapp/js/admin/bootstrap.min.js

    romElement(r),a=[].slice.call(document.querySelectorAll(s)).filter(function(t){return t===e});null!==s&&0<a.length&&(this._selector=s,this._triggerArray.push(r))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}var t=a.prototype;return t.toggle=function(){g(this._element).hasClass(yt)?this.hide():this.show()},t.show=function(){var t,e,n=this;if(!this._isTransitioning&&!...
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Fri Feb 07 10:28:50 UTC 2020
    - 58.6K bytes
    - Viewed (0)
Back to top