Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for FLOAT32 (0.05 sec)

  1. internal/dsync/dsync_test.go

    	dm := NewDRWMutex(ds, "test")
    
    	dm.Lock(id, source)
    	time.Sleep(time.Duration(10+(rand.Float32()*50)) * time.Millisecond)
    	dm.Unlock(context.Background())
    
    	dm.Lock(id, source)
    	time.Sleep(time.Duration(10+(rand.Float32()*50)) * time.Millisecond)
    	dm.Unlock(context.Background())
    
    	dm.Lock(id, source)
    	time.Sleep(time.Duration(10+(rand.Float32()*50)) * time.Millisecond)
    	dm.Unlock(context.Background())
    
    	dm.Lock(id, source)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 19 14:35:19 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  2. schema/field_test.go

    type (
    	ID      int64
    	INT     int
    	INT8    int8
    	INT16   int16
    	INT32   int32
    	INT64   int64
    	UINT    uint
    	UINT8   uint8
    	UINT16  uint16
    	UINT32  uint32
    	UINT64  uint64
    	FLOAT32 float32
    	FLOAT64 float64
    	BOOL    bool
    	STRING  string
    	TIME    time.Time
    	BYTES   []byte
    
    	TypeAlias struct {
    		ID
    		INT     `gorm:"column:fint"`
    		INT8    `gorm:"column:fint8"`
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Feb 19 09:02:53 UTC 2022
    - 12.7K bytes
    - Viewed (0)
  3. schema/field.go

    			}
    			return err
    		}
    	case reflect.Float32, reflect.Float64:
    		field.Set = func(ctx context.Context, value reflect.Value, v interface{}) (err error) {
    			switch data := v.(type) {
    			case **float64:
    				if data != nil && *data != nil {
    					field.ReflectValueOf(ctx, value).SetFloat(**data)
    				}
    			case **float32:
    				if data != nil && *data != nil {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Apr 15 03:20:20 UTC 2024
    - 32K bytes
    - Viewed (0)
  4. src/builtin/builtin.go

    // Range: -9223372036854775808 through 9223372036854775807.
    type int64 int64
    
    // float32 is the set of all IEEE 754 32-bit floating-point numbers.
    type float32 float32
    
    // float64 is the set of all IEEE 754 64-bit floating-point numbers.
    type float64 float64
    
    // complex64 is the set of all complex numbers with float32 real and
    // imaginary parts.
    type complex64 complex64
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  5. api/go1.4.txt

    # CL 101750048 math: implement Nextafter32, Robert Griesemer <******@****.***>
    pkg math, func Nextafter32(float32, float32) float32
    
    # CL 93550043 math/big: implement Rat.Float32, Robert Griesemer <******@****.***>
    pkg math/big, method (*Rat) Float32() (float32, bool)
    
    # CL 76540043 net/http: add BasicAuth method to *http.Request, Kelsey Hightower <******@****.***>
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Dec 12 03:01:01 UTC 2014
    - 34K bytes
    - Viewed (0)
  6. scan.go

    			scanIntoMap(mapValue, values, columns)
    			*dest = append(*dest, mapValue)
    		}
    	case *int, *int8, *int16, *int32, *int64,
    		*uint, *uint8, *uint16, *uint32, *uint64, *uintptr,
    		*float32, *float64,
    		*bool, *string, *time.Time,
    		*sql.NullInt32, *sql.NullInt64, *sql.NullFloat64,
    		*sql.NullBool, *sql.NullString, *sql.NullTime:
    		for initialized || rows.Next() {
    			initialized = false
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 24 09:42:59 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  7. cmd/bucket-replication-metrics.go

    	m.lock.Lock()
    	defer m.lock.Unlock()
    	return m.expMovingAvg
    }
    
    // ActiveWorkerStat is stat for active replication workers
    type ActiveWorkerStat struct {
    	Curr int     `json:"curr"`
    	Avg  float32 `json:"avg"`
    	Max  int     `json:"max"`
    	hist metrics.Histogram
    }
    
    func newActiveWorkerStat(r metrics.Registry) *ActiveWorkerStat {
    	h := metrics.NewHistogram(metrics.NewUniformSample(100))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  8. api/go1.5.txt

    pkg go/types, const Complex64 = 15
    pkg go/types, const Complex64 BasicKind
    pkg go/types, const FieldVal = 0
    pkg go/types, const FieldVal SelectionKind
    pkg go/types, const Float32 = 13
    pkg go/types, const Float32 BasicKind
    pkg go/types, const Float64 = 14
    pkg go/types, const Float64 BasicKind
    pkg go/types, const Int = 2
    pkg go/types, const Int BasicKind
    pkg go/types, const Int16 = 4
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 30 21:14:09 UTC 2015
    - 46.6K bytes
    - Viewed (0)
  9. tests/scan_test.go

    		Int64Field         int64
    		UIntField          uint
    		UInt8Field         uint8
    		UInt16Field        uint16
    		UInt32Field        uint32
    		UInt64Field        uint64
    		Float32Field       float32
    		Float64Field       float64
    		StringField        string
    		TimeField          time.Time
    		TimePtrField       *time.Time
    		EmbeddedStruct     `gorm:"embedded"`
    		*EmbeddedPtrStruct `gorm:"embedded"`
    	}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 10:57:36 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/asm/asm.go

    		default:
    			p.errorf("bad int size for DATA argument: %d", sz)
    		}
    	case obj.TYPE_FCONST:
    		switch sz {
    		case 4:
    			nameAddr.Sym.WriteFloat32(p.ctxt, nameAddr.Offset, float32(valueAddr.Val.(float64)))
    		case 8:
    			nameAddr.Sym.WriteFloat64(p.ctxt, nameAddr.Offset, valueAddr.Val.(float64))
    		default:
    			p.errorf("bad float size for DATA argument: %d", sz)
    		}
    	case obj.TYPE_SCONST:
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Oct 21 14:11:44 UTC 2024
    - 25.5K bytes
    - Viewed (0)
Back to top