Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 15 of 15 for assignable (0.1 sec)

  1. api/go1.5.txt

    pkg go/types, method (Checker) TypeOf(ast.Expr) Type
    pkg go/types, method (Error) Error() string
    pkg go/types, method (TypeAndValue) Addressable() bool
    pkg go/types, method (TypeAndValue) Assignable() bool
    pkg go/types, method (TypeAndValue) HasOk() bool
    pkg go/types, method (TypeAndValue) IsBuiltin() bool
    pkg go/types, method (TypeAndValue) IsNil() bool
    pkg go/types, method (TypeAndValue) IsType() bool
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 30 21:14:09 UTC 2015
    - 46.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/Futures.java

       */
      public static <V extends @Nullable Object> ListenableFuture<V> immediateFuture(
          @ParametricNullness V value) {
        if (value == null) {
          // This cast is safe because null is assignable to V for all V (i.e. it is bivariant)
          @SuppressWarnings("unchecked")
          ListenableFuture<V> typedNull = (ListenableFuture<V>) ImmediateFuture.NULL;
          return typedNull;
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.4K bytes
    - Viewed (0)
  3. schema/field.go

    		} else {
    			reflectV := reflect.ValueOf(v)
    			// Optimal value type acquisition for v
    			reflectValType := reflectV.Type()
    
    			if reflectValType.AssignableTo(field.FieldType) {
    				if reflectV.Kind() == reflect.Ptr && reflectV.Elem().Kind() == reflect.Ptr {
    					reflectV = reflect.Indirect(reflectV)
    				}
    				field.ReflectValueOf(ctx, value).Set(reflectV)
    				return
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Apr 15 03:20:20 UTC 2024
    - 32K bytes
    - Viewed (0)
  4. association.go

    				reflect.Copy(fieldValue, oldFieldValue)
    			}
    
    			appendToFieldValues := func(ev reflect.Value) {
    				if ev.Type().AssignableTo(elemType) {
    					fieldValue = reflect.Append(fieldValue, ev)
    				} else if ev.Type().Elem().AssignableTo(elemType) {
    					fieldValue = reflect.Append(fieldValue, ev.Elem())
    				} else {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  5. api/go1.txt

    pkg reflect, type StructField struct, Tag StructTag
    pkg reflect, type StructField struct, Type Type
    pkg reflect, type StructTag string
    pkg reflect, type Type interface, Align() int
    pkg reflect, type Type interface, AssignableTo(Type) bool
    pkg reflect, type Type interface, Bits() int
    pkg reflect, type Type interface, ChanDir() ChanDir
    pkg reflect, type Type interface, Elem() Type
    pkg reflect, type Type interface, Field(int) StructField
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top