Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for int16_t (0.25 sec)

  1. src/cmd/asm/internal/arch/arch.go

    	}
    	for i := ppc64.REG_VS0; i <= ppc64.REG_VS63; i++ {
    		register[obj.Rconv(i)] = int16(i)
    	}
    	for i := ppc64.REG_A0; i <= ppc64.REG_A7; i++ {
    		register[obj.Rconv(i)] = int16(i)
    	}
    	for i := ppc64.REG_CR0; i <= ppc64.REG_CR7; i++ {
    		register[obj.Rconv(i)] = int16(i)
    	}
    	for i := ppc64.REG_MSR; i <= ppc64.REG_CR; i++ {
    		register[obj.Rconv(i)] = int16(i)
    	}
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Mar 21 06:51:28 GMT 2023
    - 21.3K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/arch/arm64.go

    func parseARM64Suffix(cond string) (uint8, bool) {
    	if cond == "" {
    		return 0, true
    	}
    	return parseARMCondition(cond, arm64LS, nil)
    }
    
    func arm64RegisterNumber(name string, n int16) (int16, bool) {
    	switch name {
    	case "F":
    		if 0 <= n && n <= 31 {
    			return arm64.REG_F0 + n, true
    		}
    	case "R":
    		if 0 <= n && n <= 30 { // not 31
    			return arm64.REG_R0 + n, true
    		}
    	case "V":
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Sep 29 09:04:58 GMT 2022
    - 10.4K bytes
    - Viewed (0)
  3. src/cmd/api/testdata/src/pkg/p1/p1.go

    // Deprecated: use TMethod.
    func (s *S2) SMethod(x int8, y int16, z int64) {}
    
    type s struct{}
    
    func (s) method()
    func (s) Method()
    
    func (S) StructValueMethod()
    func (ignored S) StructValueMethodNamedRecv()
    
    func (s *S2) unexported(x int8, y int16, z int64) {}
    
    func Bar(x int8, y int16, z int64)                  {}
    func Bar1(x int8, y int16, z int64) uint64          {}
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Dec 02 16:29:41 GMT 2022
    - 3.3K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/arch/mips.go

    		mips.ADIV, mips.ADIVU, mips.ADIVV, mips.ADIVVU,
    		mips.AREM, mips.AREMU, mips.AREMV, mips.AREMVU,
    		mips.AMADD, mips.AMSUB:
    		return true
    	}
    	return false
    }
    
    func mipsRegisterNumber(name string, n int16) (int16, bool) {
    	switch name {
    	case "F":
    		if 0 <= n && n <= 31 {
    			return mips.REG_F0 + n, true
    		}
    	case "FCR":
    		if 0 <= n && n <= 31 {
    			return mips.REG_FCR0 + n, true
    		}
    	case "M":
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Mar 04 19:06:44 GMT 2020
    - 1.7K bytes
    - Viewed (0)
  5. logger/sql.go

    // RegEx matches only numeric values
    var numericPlaceholderRe = regexp.MustCompile(`\$\d+\$`)
    
    func isNumeric(k reflect.Kind) bool {
    	switch k {
    	case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64:
    		return true
    	case reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64:
    		return true
    	case reflect.Float32, reflect.Float64:
    		return true
    	default:
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Thu Mar 21 08:00:02 GMT 2024
    - 5K bytes
    - Viewed (0)
  6. src/cmd/api/testdata/src/pkg/p1/golden.txt

    pkg p1, const FloatConst = 1.5  // 3/2
    pkg p1, const FloatConst ideal-float
    pkg p1, const StrConst = "foo"
    pkg p1, const StrConst ideal-string
    pkg p1, func Bar(int8, int16, int64)
    pkg p1, func Bar1(int8, int16, int64) uint64
    pkg p1, func Bar2(int8, int16, int64) (uint8, uint64)
    pkg p1, func BarE() Error
    pkg p1, func Now() Time
    pkg p1, func PlainFunc(int, int, string) (*B, error)
    pkg p1, func TakesFunc(func(int) int)
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Dec 02 16:29:41 GMT 2022
    - 3.6K bytes
    - Viewed (0)
  7. 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 {
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Mon Apr 15 03:20:20 GMT 2024
    - 32K bytes
    - Viewed (1)
  8. api/go1.12.txt

    pkg syscall (freebsd-386), type Stat_t struct, Ino uint64
    pkg syscall (freebsd-386), type Stat_t struct, Mtim_ext int32
    pkg syscall (freebsd-386), type Stat_t struct, Nlink uint64
    pkg syscall (freebsd-386), type Stat_t struct, Padding0 int16
    pkg syscall (freebsd-386), type Stat_t struct, Padding1 int32
    pkg syscall (freebsd-386), type Stat_t struct, Rdev uint64
    pkg syscall (freebsd-386), type Stat_t struct, Spare [10]uint64
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Jan 02 21:21:53 GMT 2019
    - 13.5K bytes
    - Viewed (0)
  9. utils/utils_test.go

    func TestToString(t *testing.T) {
    	tests := []struct {
    		name string
    		in   interface{}
    		out  string
    	}{
    		{"int", math.MaxInt64, "9223372036854775807"},
    		{"int8", int8(math.MaxInt8), "127"},
    		{"int16", int16(math.MaxInt16), "32767"},
    		{"int32", int32(math.MaxInt32), "2147483647"},
    		{"int64", int64(math.MaxInt64), "9223372036854775807"},
    		{"uint", uint(math.MaxUint64), "18446744073709551615"},
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Mon Feb 19 03:42:25 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  10. schema/serializer.go

    	rv := reflect.ValueOf(fieldValue)
    	switch v := fieldValue.(type) {
    	case int64, int, uint, uint64, int32, uint32, int16, uint16:
    		result = time.Unix(reflect.Indirect(rv).Int(), 0).UTC()
    	case *int64, *int, *uint, *uint64, *int32, *uint32, *int16, *uint16:
    		if rv.IsZero() {
    			return nil, nil
    		}
    		result = time.Unix(reflect.Indirect(rv).Int(), 0).UTC()
    	default:
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Mon Mar 18 08:28:46 GMT 2024
    - 4.6K bytes
    - Viewed (0)
Back to top