Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 134 for Int16 (0.31 sec)

  1. schema/field.go

    				schema.err = fmt.Errorf("failed to parse %s as default value for bool, got error: %v", field.DefaultValue, err)
    			}
    		}
    	case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64:
    		field.DataType = Int
    		if field.HasDefaultValue && !skipParseDefaultValue {
    			if field.DefaultValueInterface, err = strconv.ParseInt(field.DefaultValue, 0, 64); err != nil {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Apr 15 03:20:20 UTC 2024
    - 32K bytes
    - Viewed (0)
  2. src/runtime/error.go

    		print(typestring, "(", *(*bool)(eface.data), ")")
    	case abi.Int:
    		print(typestring, "(", *(*int)(eface.data), ")")
    	case abi.Int8:
    		print(typestring, "(", *(*int8)(eface.data), ")")
    	case abi.Int16:
    		print(typestring, "(", *(*int16)(eface.data), ")")
    	case abi.Int32:
    		print(typestring, "(", *(*int32)(eface.data), ")")
    	case abi.Int64:
    		print(typestring, "(", *(*int64)(eface.data), ")")
    	case abi.Uint:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:10:41 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_sparc64.go

    type Dirent struct {
    	Ino    uint64
    	Off    int64
    	Reclen uint16
    	Type   uint8
    	Name   [256]int8
    	_      [5]byte
    }
    
    type Flock_t struct {
    	Type   int16
    	Whence int16
    	Start  int64
    	Len    int64
    	Pid    int32
    	_      int16
    	_      [2]byte
    }
    
    type DmNameList struct {
    	Dev  uint64
    	Next uint32
    	Name [0]byte
    	_    [4]byte
    }
    
    const (
    	FADV_DONTNEED = 0x4
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  4. src/cmd/internal/obj/link.go

    //	reg.<T>[index]
    //		Register element for ARM64
    //		Encoding:
    //			type = TYPE_REG
    //			reg = REG_ELEM + register + arrangement
    //			index = element index
    
    type Addr struct {
    	Reg    int16
    	Index  int16
    	Scale  int16 // Sometimes holds a register.
    	Type   AddrType
    	Name   AddrName
    	Class  int8
    	Offset int64
    	Sym    *LSym
    
    	// argument value:
    	//	for TYPE_SCONST, a string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  5. src/internal/zstd/fse.go

    	// The number of bits needed to compute threshold.
    	bitsNeeded := accuracyLog + 1
    
    	// The next character value.
    	sym := 0
    
    	// Whether the last count was 0.
    	prev0 := false
    
    	var norm [256]int16
    
    	for remaining > 1 && sym <= maxSym {
    		if err := br.moreBits(); err != nil {
    			return 0, 0, err
    		}
    
    		if prev0 {
    			// Previous count was 0, so there is a 2-bit
    			// repeat flag. If the 2-bit flag is 0b11,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 16:44:06 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/rewritePPC64latelower.go

    	// cond: t.Size() <= 2
    	// result: (ANDconst [int64(int16(m))] n)
    	for {
    		t := v.Type
    		for _i0 := 0; _i0 <= 1; _i0, v_0, v_1 = _i0+1, v_1, v_0 {
    			x := v_0
    			if x.Op != OpPPC64MOVDconst {
    				continue
    			}
    			m := auxIntToInt64(x.AuxInt)
    			n := v_1
    			if !(t.Size() <= 2) {
    				continue
    			}
    			v.reset(OpPPC64ANDconst)
    			v.AuxInt = int64ToAuxInt(int64(int16(m)))
    			v.AddArg(n)
    			return true
    		}
    		break
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  7. src/cmd/internal/obj/x86/obj6.go

    			}
    		}
    
    		if leaf {
    			p.From.Sym.Set(obj.AttrNoSplit, true)
    		}
    	}
    
    	var regEntryTmp0, regEntryTmp1 int16
    	if ctxt.Arch.Family == sys.AMD64 {
    		regEntryTmp0, regEntryTmp1 = REGENTRYTMP0, REGENTRYTMP1
    	} else {
    		regEntryTmp0, regEntryTmp1 = REG_BX, REG_DI
    	}
    
    	var regg int16
    	if !p.From.Sym.NoSplit() {
    		// Emit split check and load G register
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 18:36:45 UTC 2023
    - 40.9K bytes
    - Viewed (0)
  8. src/internal/reflectlite/all_test.go

    	t.Helper()
    	if s != want {
    		t.Errorf("have %#q want %#q", s, want)
    	}
    }
    
    var typeTests = []pair{
    	{struct{ x int }{}, "int"},
    	{struct{ x int8 }{}, "int8"},
    	{struct{ x int16 }{}, "int16"},
    	{struct{ x int32 }{}, "int32"},
    	{struct{ x int64 }{}, "int64"},
    	{struct{ x uint }{}, "uint"},
    	{struct{ x uint8 }{}, "uint8"},
    	{struct{ x uint16 }{}, "uint16"},
    	{struct{ x uint32 }{}, "uint32"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 19:26:08 UTC 2023
    - 24.2K bytes
    - Viewed (0)
  9. src/database/sql/convert.go

    		}
    	}
    
    	var sv reflect.Value
    
    	switch d := dest.(type) {
    	case *string:
    		sv = reflect.ValueOf(src)
    		switch sv.Kind() {
    		case reflect.Bool,
    			reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64,
    			reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64,
    			reflect.Float32, reflect.Float64:
    			*d = asString(src)
    			return nil
    		}
    	case *[]byte:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/config.go

    }
    
    type (
    	blockRewriter func(*Block) bool
    	valueRewriter func(*Value) bool
    )
    
    type Types struct {
    	Bool       *types.Type
    	Int8       *types.Type
    	Int16      *types.Type
    	Int32      *types.Type
    	Int64      *types.Type
    	UInt8      *types.Type
    	UInt16     *types.Type
    	UInt32     *types.Type
    	UInt64     *types.Type
    	Int        *types.Type
    	Float32    *types.Type
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:11:47 UTC 2024
    - 12.9K bytes
    - Viewed (0)
Back to top