Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 4,002 for fInt64 (0.15 sec)

  1. src/testing/quick/quick_test.go

    		t.Fatal(err)
    	}
    }
    
    func TestInt64(t *testing.T) {
    	var lo, hi int64
    	f := func(x int64) bool {
    		if x < lo {
    			lo = x
    		}
    		if x > hi {
    			hi = x
    		}
    		return true
    	}
    	cfg := &Config{MaxCount: 10000}
    	Check(f, cfg)
    	if uint64(lo)>>62 == 0 || uint64(hi)>>62 == 0 {
    		t.Errorf("int64 returned range %#016x,%#016x; does not look like full range", lo, hi)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 12:54:00 UTC 2019
    - 9K bytes
    - Viewed (0)
  2. schema/field_test.go

    	for _, f := range fields {
    		checkSchemaField(t, user, f, func(f *schema.Field) {})
    	}
    }
    
    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
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Sat Feb 19 09:02:53 UTC 2022
    - 12.7K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/util/sets/int64.go

    // If the value passed in is not actually a map, this will panic.
    func Int64KeySet[T any](theMap map[int64]T) Int64 {
    	return Int64(KeySet(theMap))
    }
    
    // Insert adds items to the set.
    func (s Int64) Insert(items ...int64) Int64 {
    	return Int64(cast(s).Insert(items...))
    }
    
    // Delete removes all items from the set.
    func (s Int64) Delete(items ...int64) Int64 {
    	return Int64(cast(s).Delete(items...))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 20 03:47:18 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  4. src/encoding/binary/binary_test.go

    			}
    
    			want64 := uint64(value)
    			order.PutUint64(buf[:8], want64)
    			if got := order.Uint64(buf[:8]); got != want64 {
    				t.Errorf("PutUint64: Uint64 = %v, want %v", got, want64)
    			}
    			buf = order.AppendUint64(buf[:offset], want64)
    			if got := order.Uint64(buf[offset:]); got != want64 {
    				t.Errorf("AppendUint64: Uint64 = %v, want %v", got, want64)
    			}
    			if len(buf) != offset+8 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 19:16:18 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  5. src/runtime/softfloat64.go

    }
    
    func f64toint64(x uint64) int64 {
    	val, _ := f64toint(x)
    	return val
    }
    
    func f64touint64(x uint64) uint64 {
    	var m uint64 = 0x43e0000000000000 // float64 1<<63
    	if fgt64(m, x) {
    		return uint64(f64toint64(x))
    	}
    	y := fadd64(x, -m)
    	z := uint64(f64toint64(y))
    	return z | (1 << 63)
    }
    
    func f32touint64(x uint32) uint64 {
    	var m uint32 = 0x5f000000 // float32 1<<63
    	if fgt32(m, x) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 08 17:58:41 UTC 2021
    - 11.5K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types/universe.go

    	SliceSize = RoundUp(SliceCapOffset+int64(PtrSize), int64(PtrSize))
    
    	// string is same as slice wo the cap
    	StringSize = RoundUp(SliceLenOffset+int64(PtrSize), int64(PtrSize))
    
    	for et := Kind(0); et < NTYPE; et++ {
    		SimType[et] = et
    	}
    
    	Types[TANY] = newType(TANY) // note: an old placeholder type, NOT the new builtin 'any' alias for interface{}
    	Types[TINTER] = NewInterface(nil)
    	CheckSize(Types[TINTER])
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 26 21:56:49 UTC 2023
    - 4K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_mips64le.go

    	Lo       uint64
    	Hi       uint64
    	Epc      uint64
    	Badvaddr uint64
    	Status   uint64
    	Cause    uint64
    }
    
    type FdSet struct {
    	Bits [16]int64
    }
    
    type Sysinfo_t struct {
    	Uptime    int64
    	Loads     [3]uint64
    	Totalram  uint64
    	Freeram   uint64
    	Sharedram uint64
    	Bufferram uint64
    	Totalswap uint64
    	Freeswap  uint64
    	Procs     uint16
    	Pad       uint16
    	Totalhigh uint64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_riscv64.go

    	Tp  uint64
    	T0  uint64
    	T1  uint64
    	T2  uint64
    	S0  uint64
    	S1  uint64
    	A0  uint64
    	A1  uint64
    	A2  uint64
    	A3  uint64
    	A4  uint64
    	A5  uint64
    	A6  uint64
    	A7  uint64
    	S2  uint64
    	S3  uint64
    	S4  uint64
    	S5  uint64
    	S6  uint64
    	S7  uint64
    	S8  uint64
    	S9  uint64
    	S10 uint64
    	S11 uint64
    	T3  uint64
    	T4  uint64
    	T5  uint64
    	T6  uint64
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64.go

    	Idrss    int64
    	Isrss    int64
    	Minflt   int64
    	Majflt   int64
    	Nswap    int64
    	Inblock  int64
    	Oublock  int64
    	Msgsnd   int64
    	Msgrcv   int64
    	Nsignals int64
    	Nvcsw    int64
    	Nivcsw   int64
    }
    
    type Stat_t struct {
    	Dev     uint64
    	Ino     uint64
    	Nlink   uint64
    	Mode    uint32
    	Uid     uint32
    	Gid     uint32
    	_       int32
    	Rdev    uint64
    	Size    int64
    	Blksize int64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_arm64.go

    	Idrss    int64
    	Isrss    int64
    	Minflt   int64
    	Majflt   int64
    	Nswap    int64
    	Inblock  int64
    	Oublock  int64
    	Msgsnd   int64
    	Msgrcv   int64
    	Nsignals int64
    	Nvcsw    int64
    	Nivcsw   int64
    }
    
    type Stat_t struct {
    	Dev     uint64
    	Ino     uint64
    	Mode    uint32
    	Nlink   uint32
    	Uid     uint32
    	Gid     uint32
    	Rdev    uint64
    	_       uint64
    	Size    int64
    	Blksize int32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 12.1K bytes
    - Viewed (0)
Back to top