Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 111 for int2 (0.05 sec)

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

    // nlzX returns the number of leading zeros.
    func nlz64(x int64) int { return bits.LeadingZeros64(uint64(x)) }
    func nlz32(x int32) int { return bits.LeadingZeros32(uint32(x)) }
    func nlz16(x int16) int { return bits.LeadingZeros16(uint16(x)) }
    func nlz8(x int8) int   { return bits.LeadingZeros8(uint8(x)) }
    
    // ntzX returns the number of trailing zeros.
    func ntz64(x int64) int { return bits.TrailingZeros64(uint64(x)) }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  2. src/sync/atomic/atomic_test.go

    	}
    	defer runtime.GOMAXPROCS(runtime.GOMAXPROCS(4))
    	N := int32(1e3)
    	if testing.Short() {
    		N = int32(1e2)
    	}
    	c := make(chan bool, 2)
    	type Data struct {
    		signal int32
    		pad1   [128]int8
    		data1  int32
    		pad2   [128]int8
    		data2  float32
    	}
    	var X Data
    	for p := int32(0); p < 2; p++ {
    		go func(p int32) {
    			for i := int32(1); i < N; i++ {
    				if (i+p)%2 == 0 {
    					X.data1 = i
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 71.4K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/loong64/asm.go

    type ocmp []Optab
    
    func (x ocmp) Len() int {
    	return len(x)
    }
    
    func (x ocmp) Swap(i, j int) {
    	x[i], x[j] = x[j], x[i]
    }
    
    func (x ocmp) Less(i, j int) bool {
    	p1 := &x[i]
    	p2 := &x[j]
    	n := int(p1.as) - int(p2.as)
    	if n != 0 {
    		return n < 0
    	}
    	n = int(p1.from1) - int(p2.from1)
    	if n != 0 {
    		return n < 0
    	}
    	n = int(p1.reg) - int(p2.reg)
    	if n != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 61.8K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/prove.go

    				case 4:
    					min = int64(int32(w.AuxInt) - int32(delta))
    					max = int64(int32(^uint32(0)>>1) - int32(delta))
    
    					vmin = parent.NewValue0I(parent.Pos, OpConst32, parent.Func.Config.Types.Int32, min)
    					vmax = parent.NewValue0I(parent.Pos, OpConst32, parent.Func.Config.Types.Int32, max)
    
    				case 2:
    					min = int64(int16(w.AuxInt) - int16(delta))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:30:21 UTC 2024
    - 48.9K bytes
    - Viewed (0)
  5. pkg/kubelet/apis/config/v1beta1/defaults_test.go

    				},
    				RegistryPullQPS:                           utilpointer.Int32(5),
    				RegistryBurst:                             10,
    				EventRecordQPS:                            utilpointer.Int32(50),
    				EventBurst:                                100,
    				EnableDebuggingHandlers:                   utilpointer.Bool(true),
    				HealthzPort:                               utilpointer.Int32(10248),
    				HealthzBindAddress:                        "127.0.0.1",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 21:10:42 UTC 2024
    - 51K bytes
    - Viewed (0)
  6. src/reflect/type.go

    	Bool:          "bool",
    	Int:           "int",
    	Int8:          "int8",
    	Int16:         "int16",
    	Int32:         "int32",
    	Int64:         "int64",
    	Uint:          "uint",
    	Uint8:         "uint8",
    	Uint16:        "uint16",
    	Uint32:        "uint32",
    	Uint64:        "uint64",
    	Uintptr:       "uintptr",
    	Float32:       "float32",
    	Float64:       "float64",
    	Complex64:     "complex64",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
  7. pkg/apis/autoscaling/validation/validation_test.go

    		ScaleDown: nil,
    	}, {
    		ScaleUp: &autoscaling.HPAScalingRules{
    			StabilizationWindowSeconds: utilpointer.Int32(3600),
    			SelectPolicy:               &minPolicy,
    			Policies:                   simplePoliciesList,
    		},
    		ScaleDown: &autoscaling.HPAScalingRules{
    			StabilizationWindowSeconds: utilpointer.Int32(0),
    			SelectPolicy:               &disabledPolicy,
    			Policies:                   simplePoliciesList,
    		},
    	}, {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 56.7K bytes
    - Viewed (0)
  8. pkg/controller/podautoscaler/horizontal.go

    func calculateScaleUpLimitWithScalingRules(currentReplicas int32, scaleUpEvents, scaleDownEvents []timestampedScaleEvent, scalingRules *autoscalingv2.HPAScalingRules) int32 {
    	var result int32
    	var proposed int32
    	var selectPolicyFn func(int32, int32) int32
    	if *scalingRules.SelectPolicy == autoscalingv2.DisabledPolicySelect {
    		return currentReplicas // Scaling is disabled
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/riscv/obj.go

    		p.As = AEBREAK
    
    	case AMOV:
    		if p.From.Type == obj.TYPE_CONST && p.From.Name == obj.NAME_NONE && p.From.Reg == obj.REG_NONE && int64(int32(p.From.Offset)) != p.From.Offset {
    			ctz := bits.TrailingZeros64(uint64(p.From.Offset))
    			val := p.From.Offset >> ctz
    			if int64(int32(val)) == val {
    				// It's ok. We can handle constants with many trailing zeros.
    				break
    			}
    			// Put >32-bit constants in memory and load them.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 07 03:32:27 UTC 2024
    - 77K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/windows/syscall_windows.go

    }
    
    func Socket(domain, typ, proto int) (fd Handle, err error) {
    	if domain == AF_INET6 && SocketDisableIPv6 {
    		return InvalidHandle, syscall.EAFNOSUPPORT
    	}
    	return socket(int32(domain), int32(typ), int32(proto))
    }
    
    func SetsockoptInt(fd Handle, level, opt int, value int) (err error) {
    	v := int32(value)
    	return Setsockopt(fd, int32(level), int32(opt), (*byte)(unsafe.Pointer(&v)), int32(unsafe.Sizeof(v)))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 22:18:42 UTC 2024
    - 82.8K bytes
    - Viewed (0)
Back to top