Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 987 for typeOf (0.1 sec)

  1. pkg/volume/csi/expander_test.go

    	}
    
    	_, err := plug.NodeExpand(resizeOptions)
    
    	if err == nil {
    		t.Errorf("test should fail, but no error occurred")
    	} else if reflect.TypeOf(transientError) != reflect.TypeOf(err) {
    		t.Fatalf("expected exitError type: %v got: %v (%v)", reflect.TypeOf(transientError), reflect.TypeOf(err), err)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 03:58:36 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  2. src/reflect/set_test.go

    	{new(Ch), new(<-chan any), true},
    	// test runs implementsTests too
    }
    
    type IntPtr *int
    type IntPtr1 *int
    type Ch <-chan any
    
    func TestAssignableTo(t *testing.T) {
    	for _, tt := range append(assignableTests, implementsTests...) {
    		xv := TypeOf(tt.x).Elem()
    		xt := TypeOf(tt.t).Elem()
    		if b := xv.AssignableTo(xt); b != tt.b {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 07 13:56:11 UTC 2022
    - 5.7K bytes
    - Viewed (0)
  3. src/main/webapp/js/admin/plugins/form-validator/lang/ar.js

     *
     *  @version 2.3.77
     *  @website http://formvalidator.net/
     *  @author Victor Jonsson, http://victorjonsson.se
     *  @license MIT
     */
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Mon Jan 01 05:12:47 UTC 2018
    - 3.6K bytes
    - Viewed (0)
  4. pkg/kubelet/server/stats/testing/mock_summary_provider.go

    	v1alpha1 "k8s.io/kubelet/pkg/apis/stats/v1alpha1"
    )
    
    // MockSummaryProvider is a mock of SummaryProvider interface.
    type MockSummaryProvider struct {
    	ctrl     *gomock.Controller
    	recorder *MockSummaryProviderMockRecorder
    }
    
    // MockSummaryProviderMockRecorder is the mock recorder for MockSummaryProvider.
    type MockSummaryProviderMockRecorder struct {
    	mock *MockSummaryProvider
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. pkg/test/util/structpath/instance.go

    	path = fmt.Sprintf(path, args...)
    	return i.appendConstraint(func() error {
    		typeOf := reflect.TypeOf(expected)
    		protoMessageType := reflect.TypeOf((*proto.Message)(nil)).Elem()
    		if typeOf.Implements(protoMessageType) {
    			return i.equalsStruct(expected.(proto.Message), path)
    		}
    		switch kind := typeOf.Kind(); kind {
    		case reflect.String:
    			return i.equalsString(reflect.ValueOf(expected).String(), path)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 9.4K bytes
    - Viewed (0)
  6. src/cmd/fix/cftype.go

    	date:     "2017-09-27",
    	f:        cftypefix,
    	desc:     `Fixes initializers and casts of C.*Ref and JNI types`,
    	disabled: false,
    }
    
    // Old state:
    //
    //	type CFTypeRef unsafe.Pointer
    //
    // New state:
    //
    //	type CFTypeRef uintptr
    //
    // and similar for other *Ref types.
    // This fix finds nils initializing these types and replaces the nils with 0s.
    func cftypefix(f *ast.File) bool {
    	return typefix(f, func(s string) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 07 00:25:49 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/testplugin/testdata/issue19529/plugin.go

    package main
    
    import (
    	"reflect"
    )
    
    type Foo struct {
    	Bar string `json:"Bar@baz,omitempty"`
    }
    
    func F() {
    	println(reflect.TypeOf(Foo{}).Field(0).Tag)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 171 bytes
    - Viewed (0)
  8. src/main/webapp/js/admin/plugins/form-validator/lang/tr.js

     *
     *  @version 2.3.77
     *  @website http://formvalidator.net/
     *  @author Victor Jonsson, http://victorjonsson.se
     *  @license MIT
     */
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Mon Jan 01 05:12:47 UTC 2018
    - 3.1K bytes
    - Viewed (0)
  9. test/fixedbugs/bug248.dir/bug3.go

    package main
    
    import (
    	p0 "./bug0"
    	p1 "./bug1"
    
    	"reflect"
    	"strings"
    )
    
    var v0 p0.T
    var v1 p1.T
    
    type I0 interface {
    	M(p0.T)
    }
    
    type I1 interface {
    	M(p1.T)
    }
    
    type t0 int
    
    func (t0) M(p0.T) {}
    
    type t1 float64
    
    func (t1) M(p1.T) {}
    
    var i0 I0 = t0(0) // ok
    var i1 I1 = t1(0) // ok
    
    var p0i p0.I = t0(0) // ok
    var p1i p1.I = t1(0) // ok
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 26 15:20:42 UTC 2018
    - 1.9K bytes
    - Viewed (0)
  10. logger/sql.go

    func isPrintable(s string) bool {
    	for _, r := range s {
    		if !unicode.IsPrint(r) {
    			return false
    		}
    	}
    	return true
    }
    
    // A list of Go types that should be converted to SQL primitives
    var convertibleTypes = []reflect.Type{reflect.TypeOf(time.Time{}), reflect.TypeOf(false), reflect.TypeOf([]byte{})}
    
    // RegEx matches only numeric values
    var numericPlaceholderRe = regexp.MustCompile(`\$\d+\$`)
    
    func isNumeric(k reflect.Kind) bool {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Thu Mar 21 08:00:02 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top