Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,782 for reflect1 (0.19 sec)

  1. operator/pkg/util/reflect.go

    	vv := reflect.ValueOf(v)
    	return vv.Kind() == reflect.Ptr && vv.Elem().Kind() == reflect.Interface && vv.Elem().Elem().Kind() == reflect.Slice
    }
    
    // IsTypeStructPtr reports whether v is a struct ptr type.
    func IsTypeStructPtr(t reflect.Type) bool {
    	if t == reflect.TypeOf(nil) {
    		return false
    	}
    	return t.Kind() == reflect.Ptr && t.Elem().Kind() == reflect.Struct
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 8.6K bytes
    - Viewed (0)
  2. okcurl/src/main/resources/META-INF/native-image/okhttp3/okcurl/reflect-config.json

    Jesse Wilson <******@****.***> 1703114827 -0500
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 4 bytes
    - Viewed (0)
  3. okhttp/src/main/resources/META-INF/native-image/okhttp/okhttp/reflect-config.json

    Jesse Wilson <******@****.***> 1703114827 -0500
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 438 bytes
    - Viewed (0)
  4. schema/field.go

    		}
    	}
    
    	if field.Size == 0 {
    		switch reflect.Indirect(fieldValue).Kind() {
    		case reflect.Int, reflect.Int64, reflect.Uint, reflect.Uint64, reflect.Float64:
    			field.Size = 64
    		case reflect.Int8, reflect.Uint8:
    			field.Size = 8
    		case reflect.Int16, reflect.Uint16:
    			field.Size = 16
    		case reflect.Int32, reflect.Uint32, reflect.Float32:
    			field.Size = 32
    		}
    	}
    
    	// setup permission
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Apr 15 03:20:20 UTC 2024
    - 32K bytes
    - Viewed (0)
  5. src/reflect/makefunc.go

    // semantically equivalent to the input as far as the user of package
    // reflect can tell, but the true func representation can be handled
    // by code like Convert and Interface and Assign.
    func makeMethodValue(op string, v Value) Value {
    	if v.flag&flagMethod == 0 {
    		panic("reflect: internal error: invalid use of makeMethodValue")
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:20:05 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. src/runtime/stkframe.go

    	f := frame.fn
    	if f.args != abi.ArgsSizeUnknown {
    		argMap.n = f.args / goarch.PtrSize
    		return
    	}
    	// Extract argument bitmaps for reflect stubs from the calls they made to reflect.
    	switch funcname(f) {
    	case "reflect.makeFuncStub", "reflect.methodValueCall":
    		// These take a *reflect.methodValue as their
    		// context register and immediately save it to 0(SP).
    		// Get the methodValue from 0(SP).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:10:48 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/third_party/forked/golang/reflect/deep_equal.go

    	}
    	if v1.Type() != v2.Type() {
    		return false
    	}
    	if fv, ok := e[v1.Type()]; ok {
    		return fv.Call([]reflect.Value{v1, v2})[0].Bool()
    	}
    
    	hard := func(k reflect.Kind) bool {
    		switch k {
    		case reflect.Array, reflect.Map, reflect.Slice, reflect.Struct:
    			return true
    		}
    		return false
    	}
    
    	if v1.CanAddr() && v2.CanAddr() && hard(v1.Kind()) {
    		addr1 := v1.UnsafeAddr()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 20 17:18:42 UTC 2022
    - 10.8K bytes
    - Viewed (0)
  8. test/escape_reflect.go

    	return r.String()
    }
    
    // Unfortunate: x (the interface storage) doesn't need to escape.
    func select2(ch chan string, x string) { // ERROR "leaking param: ch$" "leaking param: x$"
    	vc := reflect.ValueOf(ch)
    	vx := reflect.ValueOf(x) // ERROR "x escapes to heap"
    	cas := reflect.SelectCase{Dir: reflect.SelectSend, Chan: vc, Send: vx}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 18:50:24 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  9. src/runtime/mbarrier.go

    	bulkBarrierPreWrite(uintptr(dst), uintptr(src), typ.PtrBytes, typ)
    }
    
    // reflect_typedmemmove is meant for package reflect,
    // but widely used packages access it using linkname.
    // Notable members of the hall of shame include:
    //   - gitee.com/quant1x/gox
    //   - github.com/goccy/json
    //   - github.com/modern-go/reflect2
    //   - github.com/ugorji/go/codec
    //   - github.com/v2pro/plz
    //
    // Do not remove or change the type signature.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  10. src/runtime/runtime1.go

    		gp.stackguard0 = stackPreempt
    	}
    }
    
    // reflect_typelinks is meant for package reflect,
    // but widely used packages access it using linkname.
    // Notable members of the hall of shame include:
    //   - gitee.com/quant1x/gox
    //   - github.com/goccy/json
    //   - github.com/modern-go/reflect2
    //   - github.com/vmware/govmomi
    //   - github.com/pinpoint-apm/pinpoint-go-agent
    //   - github.com/timandy/routine
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 19.3K bytes
    - Viewed (0)
Back to top