Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 95 for isint32 (0.22 sec)

  1. src/cmd/compile/internal/ssagen/ssa.go

    // on 32-bit arch, don't use int64<->float conversion for uint32
    var fpConvOpToSSA32 = map[twoTypes]twoOpsAndType{
    	{types.TUINT32, types.TFLOAT32}: {ssa.OpCopy, ssa.OpCvt32Uto32F, types.TUINT32},
    	{types.TUINT32, types.TFLOAT64}: {ssa.OpCopy, ssa.OpCvt32Uto64F, types.TUINT32},
    	{types.TFLOAT32, types.TUINT32}: {ssa.OpCvt32Fto32U, ssa.OpCopy, types.TUINT32},
    	{types.TFLOAT64, types.TUINT32}: {ssa.OpCvt64Fto32U, ssa.OpCopy, types.TUINT32},
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  2. schema/field_test.go

    		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
    
    	TypeAlias struct {
    		ID
    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. src/cmd/compile/internal/types/kind_string.go

    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[Txxx-0]
    	_ = x[TINT8-1]
    	_ = x[TUINT8-2]
    	_ = x[TINT16-3]
    	_ = x[TUINT16-4]
    	_ = x[TINT32-5]
    	_ = x[TUINT32-6]
    	_ = x[TINT64-7]
    	_ = x[TUINT64-8]
    	_ = x[TINT-9]
    	_ = x[TUINT-10]
    	_ = x[TUINTPTR-11]
    	_ = x[TCOMPLEX64-12]
    	_ = x[TCOMPLEX128-13]
    	_ = x[TFLOAT32-14]
    	_ = x[TFLOAT64-15]
    	_ = x[TBOOL-16]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 26 21:56:38 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  4. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/ide/AndroidStudioProvisioningPlugin.kt

                    val extension = when {
                        BuildEnvironment.isWindows -> "windows.zip"
                        BuildEnvironment.isMacOsX && BuildEnvironment.isIntel -> "mac.zip"
                        BuildEnvironment.isMacOsX && !BuildEnvironment.isIntel -> "mac_arm.zip"
                        BuildEnvironment.isLinux -> "linux.tar.gz"
                        else -> throw IllegalStateException("Unsupported OS: ${OperatingSystem.current()}")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 15:43:39 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. src/internal/runtime/atomic/atomic_wasm.go

    	return new
    }
    
    //go:nosplit
    //go:noinline
    func Xchg(ptr *uint32, new uint32) uint32 {
    	old := *ptr
    	*ptr = new
    	return old
    }
    
    //go:nosplit
    //go:noinline
    func Xchg64(ptr *uint64, new uint64) uint64 {
    	old := *ptr
    	*ptr = new
    	return old
    }
    
    //go:nosplit
    //go:noinline
    func Xchgint32(ptr *int32, new int32) int32 {
    	old := *ptr
    	*ptr = new
    	return old
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  6. src/internal/itoa/itoa_test.go

    	"math"
    	"testing"
    )
    
    var (
    	minInt64  int64  = math.MinInt64
    	maxInt64  int64  = math.MaxInt64
    	maxUint64 uint64 = math.MaxUint64
    )
    
    func TestItoa(t *testing.T) {
    	tests := []int{int(minInt64), math.MinInt32, -999, -100, -1, 0, 1, 100, 999, math.MaxInt32, int(maxInt64)}
    	for _, tt := range tests {
    		got := itoa.Itoa(tt)
    		want := fmt.Sprint(tt)
    		if want != got {
    			t.Fatalf("Itoa(%d) = %s, want %s", tt, got, want)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 11 02:53:50 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/walk/convert.go

    				return types.TFLOAT64, dst.Kind()
    			case types.TUINT32, types.TUINT, types.TUINTPTR:
    				return types.TFLOAT64, types.TUINT32
    			}
    		}
    		if dst.IsFloat() {
    			switch src.Kind() {
    			case types.TINT64, types.TUINT64:
    				return src.Kind(), dst.Kind()
    			case types.TUINT32, types.TUINT, types.TUINTPTR:
    				return types.TUINT32, types.TFLOAT64
    			}
    		}
    	}
    	return types.Txxx, types.Txxx
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 09 17:28:22 UTC 2023
    - 18.2K bytes
    - Viewed (0)
  8. src/internal/runtime/atomic/stubs.go

    //go:noescape
    func Xaddint32(ptr *int32, delta int32) int32
    
    //go:noescape
    func Xaddint64(ptr *int64, delta int64) int64
    
    //go:noescape
    func Xchgint32(ptr *int32, new int32) int32
    
    //go:noescape
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/roundtrip_test.go

    			obj:  uint64(0),
    		},
    		{
    			name: "int32 max",
    			obj:  int32(math.MaxInt32),
    		},
    		{
    			name: "int32 min",
    			obj:  int32(math.MinInt32),
    		},
    		{
    			name: "int32 zero",
    			obj:  int32(math.MinInt32),
    		},
    		{
    			name: "uint32 max",
    			obj:  uint32(math.MaxUint32),
    		},
    		{
    			name: "uint32 zero",
    			obj:  uint32(0),
    		},
    		{
    			name: "int16 max",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 21:48:12 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  10. src/math/rand/v2/normal.go

     * (Marsaglia & Tsang, 2000)
     * http://www.jstatsoft.org/v05/i08/paper [pdf]
     */
    
    const (
    	rn = 3.442619855899
    )
    
    func absInt32(i int32) uint32 {
    	if i < 0 {
    		return uint32(-i)
    	}
    	return uint32(i)
    }
    
    // NormFloat64 returns a normally distributed float64 in
    // the range -math.MaxFloat64 through +math.MaxFloat64 inclusive,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 30 17:08:47 UTC 2023
    - 6.3K bytes
    - Viewed (0)
Back to top