Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for setFloat (0.28 sec)

  1. schema/field.go

    			case int:
    				field.ReflectValueOf(ctx, value).SetFloat(float64(data))
    			case int8:
    				field.ReflectValueOf(ctx, value).SetFloat(float64(data))
    			case int16:
    				field.ReflectValueOf(ctx, value).SetFloat(float64(data))
    			case int32:
    				field.ReflectValueOf(ctx, value).SetFloat(float64(data))
    			case uint:
    				field.ReflectValueOf(ctx, value).SetFloat(float64(data))
    			case uint8:
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Apr 15 03:20:20 GMT 2024
    - 32K bytes
    - Viewed (1)
  2. internal/s3select/sql/value.go

    		}
    
    		fA, okAf := a.bytesToFloat()
    		fB, okBf := b.bytesToFloat()
    		if okAf && okBf {
    			a.setFloat(fA)
    			b.setFloat(fB)
    			return nil
    		}
    
    		// Check if they int and float combination.
    		if okAi && okBf {
    			a.setInt(iA)
    			b.setFloat(fA)
    			return nil
    		}
    		if okBi && okAf {
    			a.setFloat(fA)
    			b.setInt(iB)
    			return nil
    		}
    
    		// Not numeric types at this point.
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Feb 25 20:31:19 GMT 2022
    - 20.2K bytes
    - Viewed (0)
  3. internal/s3select/sql/aggregation.go

    		// inferring untyped values are numbers.
    		if !argVal.isNumeric() {
    			if i, ok := argVal.bytesToInt(); ok {
    				argVal.setInt(i)
    			} else if f, ok := argVal.bytesToFloat(); ok {
    				argVal.setFloat(f)
    			} else {
    				return errNonNumericArg(funcName)
    			}
    		}
    	}
    
    	// Mark that we have seen one non-null value.
    	isFirstRow := false
    	if !e.aggregate.seen {
    		e.aggregate.seen = true
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  4. tensorflow/c/eager/abstract_op_attrs.h

      virtual void GetNameAttrList(
          tensorflow::NameAttrList* name_and_attrs) const = 0;
    
      virtual bool GetInt(absl::string_view, int64_t* result) const = 0;
      virtual bool GetFloat(absl::string_view attr_name, float* result) const = 0;
      virtual bool GetBool(absl::string_view attr_name, bool* result) const = 0;
      virtual bool GetType(absl::string_view attr_name, DataType* result) const = 0;
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed May 26 22:20:27 GMT 2021
    - 2K bytes
    - Viewed (0)
  5. api/go1.txt

    pkg reflect, method (Value) Set(Value)
    pkg reflect, method (Value) SetBool(bool)
    pkg reflect, method (Value) SetBytes([]uint8)
    pkg reflect, method (Value) SetComplex(complex128)
    pkg reflect, method (Value) SetFloat(float64)
    pkg reflect, method (Value) SetInt(int64)
    pkg reflect, method (Value) SetLen(int)
    pkg reflect, method (Value) SetMapIndex(Value, Value)
    pkg reflect, method (Value) SetPointer(unsafe.Pointer)
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Viewed (1)
Back to top