Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 3,310 for reflect1 (0.29 sec)

  1. src/encoding/xml/marshal.go

    	p.popPrefix()
    	return nil
    }
    
    func (p *printer) marshalSimple(typ reflect.Type, val reflect.Value) (string, []byte, error) {
    	switch val.Kind() {
    	case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64:
    		return strconv.FormatInt(val.Int(), 10), nil, nil
    	case reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64, reflect.Uintptr:
    		return strconv.FormatUint(val.Uint(), 10), nil, nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 18:46:41 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  2. src/testdata/Isaac.Newton-Opticks.txt

    These Colours arise from hence, that some natural Bodies reflect some
    sorts of Rays, others other sorts more copiously than the rest. Minium
    reflects the least refrangible or red-making Rays most copiously, and
    thence appears red. Violets reflect the most refrangible most copiously,
    and thence have their Colour, and so of other Bodies. Every Body
    reflects the Rays of its own Colour more copiously than the rest, and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 01 16:16:21 UTC 2018
    - 553.9K bytes
    - Viewed (0)
  3. src/go/internal/gccgoimporter/testdata/v1reflect.gox

    -1>; .reflect.fieldAlign <type -5>; .reflect._ <type -5>; .reflect.size <type -13>; .reflect.hash <type -7>; .reflect.hashfn <type 6 (? <type 7 "unsafe.Pointer" <type 8 *any>>, ? <type -13>)>; .reflect.equalfn <type 9 (? <type 7>, ? <type 7>, ? <type -13>)>; .reflect.string <type 10 *<type -16>>; ? <type 11 *<type 12 ".reflect.uncommonType" <type 13 struct { .reflect.name <type 14 *<type -16>>; .reflect.pkgPath <type 15 *<type -16>>; .reflect.methods <type 16 [] <type 17 ".reflect.method" <type 18...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 30 21:33:51 UTC 2021
    - 10.3K bytes
    - Viewed (0)
  4. operator/pkg/tpath/struct.go

    	// Special case: map out type must be set through map ptr.
    	if util.IsMap(val) && util.IsMapPtr(out) {
    		reflect.ValueOf(out).Elem().Set(reflect.ValueOf(val))
    		return nil
    	}
    	if util.IsSlice(val) && util.IsSlicePtr(out) {
    		reflect.ValueOf(out).Elem().Set(reflect.ValueOf(val))
    		return nil
    	}
    
    	if reflect.TypeOf(val) != reflect.TypeOf(out) {
    		return fmt.Errorf("setFromPath from type %T != to type %T, %v", val, out, util.IsSlicePtr(out))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  5. maven-api-impl/src/test/remote-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    methodMap; public void ClassMap(Class); Class getCachedClass(); public reflect.Method findMethod(String, Object[]) throws MethodMap$AmbiguousException; private void populateMethodCache(); private String makeMethodKey(reflect.Method); private static String makeMethodKey(String, Object[]); private static reflect.Method[] getAccessibleMethods(Class); private static int getAccessibleMethods(Class, ClassMap$MethodInfo[], int); public static reflect.Method getPublicMethod(reflect.Method); private static reflect.Method...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 02 15:10:38 UTC 2024
    - 164.6K bytes
    - Viewed (0)
  6. src/encoding/gob/decode.go

    		return false
    	case reflect.Bool:
    		return fw == tBool
    	case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64:
    		return fw == tInt
    	case reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64, reflect.Uintptr:
    		return fw == tUint
    	case reflect.Float32, reflect.Float64:
    		return fw == tFloat
    	case reflect.Complex64, reflect.Complex128:
    		return fw == tComplex
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 19:10:23 UTC 2023
    - 40.1K bytes
    - Viewed (0)
  7. maven-core/src/test/resources/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    methodMap; public void ClassMap(Class); Class getCachedClass(); public reflect.Method findMethod(String, Object[]) throws MethodMap$AmbiguousException; private void populateMethodCache(); private String makeMethodKey(reflect.Method); private static String makeMethodKey(String, Object[]); private static reflect.Method[] getAccessibleMethods(Class); private static int getAccessibleMethods(Class, ClassMap$MethodInfo[], int); public static reflect.Method getPublicMethod(reflect.Method); private static reflect.Method...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Oct 16 20:15:40 UTC 2007
    - 164.6K bytes
    - Viewed (0)
  8. src/encoding/gob/type.go

    	// All basic types are easy: they are predefined.
    	case reflect.Bool:
    		return tBool.gobType(), nil
    
    	case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64:
    		return tInt.gobType(), nil
    
    	case reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64, reflect.Uintptr:
    		return tUint.gobType(), nil
    
    	case reflect.Float32, reflect.Float64:
    		return tFloat.gobType(), nil
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 02:00:26 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/conversion/helper.go

    package conversion
    
    import (
    	"fmt"
    	"reflect"
    )
    
    // EnforcePtr ensures that obj is a pointer of some sort. Returns a reflect.Value
    // of the dereferenced pointer, ensuring that it is settable/addressable.
    // Returns an error if this is not possible.
    func EnforcePtr(obj interface{}) (reflect.Value, error) {
    	v := reflect.ValueOf(obj)
    	if v.Kind() != reflect.Pointer {
    		if v.Kind() == reflect.Invalid {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 25 16:23:43 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  10. src/database/sql/driver/types.go

    		}
    		return b, nil
    	}
    
    	sv := reflect.ValueOf(src)
    	switch sv.Kind() {
    	case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64:
    		iv := sv.Int()
    		if iv == 1 || iv == 0 {
    			return iv == 1, nil
    		}
    		return nil, fmt.Errorf("sql/driver: couldn't convert %d into type bool", iv)
    	case reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64:
    		uv := sv.Uint()
    		if uv == 1 || uv == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 16:30:20 UTC 2024
    - 8.8K bytes
    - Viewed (0)
Back to top