Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for MinInt (0.15 sec)

  1. src/internal/types/testdata/check/const1.go

    	_ = int64(smallestFloat64 /* ERROR "cannot convert" */)
    )
    
    const (
    	_ int = minInt /* ERROR "overflows" */ - 1
    	_ int = minInt
    	_ int = maxInt
    	_ int = maxInt /* ERROR "overflows" */ + 1
    	_ int = smallestFloat64 /* ERROR "truncated" */
    
    	_ = int(minInt /* ERROR "overflows" */ - 1)
    	_ = int(minInt)
    	_ = int(maxInt)
    	_ = int(maxInt /* ERROR "overflows" */ + 1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 16:11:16 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/loopbce.go

    			if step > 0 {
    				if limit.isGenericIntConst() {
    					// Figure out the actual largest value.
    					v := limit.AuxInt
    					if !inclusive {
    						if v == minSignedValue(limit.Type) {
    							return false // < minint is never satisfiable.
    						}
    						v--
    					}
    					if init.isGenericIntConst() {
    						// Use stride to compute a better lower limit.
    						if init.AuxInt > v {
    							return false
    						}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 07 17:37:47 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  3. src/encoding/gob/decgen.go

    	},
    	{
    		"float64",
    		"Float64",
    		`slice[i] = float64FromBits(state.decodeUint())`,
    	},
    	{
    		"int",
    		"Int",
    		`x := state.decodeInt()
    		// MinInt and MaxInt
    		if x < ^int64(^uint(0)>>1) || int64(^uint(0)>>1) < x {
    			error_(ovfl)
    		}
    		slice[i] = int(x)`,
    	},
    	{
    		"int16",
    		"Int16",
    		`x := state.decodeInt()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 14:15:38 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. test/loopbce.go

    		useString(a[i:]) // ERROR "(\([0-9]+\) )?Proved IsSliceInBounds$"
    	}
    	for i := int64(0); i < j+122+int64(-1<<63); i++ { // ERROR "Induction variable: limits \[0,\?\), increment 1$"
    		// len(a)-123+122+MinInt overflows when len(a) == 0, so a bound check is needed here
    		useString(a[i:])
    	}
    }
    
    func nobce3(a [100]int64) [100]int64 {
    	min := int64((-1) << 63)
    	max := int64((1 << 63) - 1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/rewrite.go

    	}
    	if fcs.V {
    		fc |= 8
    	}
    	return fc
    }
    
    // Note: addFlags(x,y) != subFlags(x,-y) in some situations:
    //  - the results of the C flag are different
    //  - the results of the V flag when y==minint are different
    
    // addFlags64 returns the flags that would be set from computing x+y.
    func addFlags64(x, y int64) flagConstant {
    	var fcb flagConstantBuilder
    	fcb.Z = x+y == 0
    	fcb.N = x+y < 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  6. src/runtime/defs_windows_arm64.go

    // So we set both here, to make a working _CONTEXT_CONTROL.
    const _CONTEXT_CONTROL = 0x400003
    
    type neon128 struct {
    	low  uint64
    	high int64
    }
    
    // See https://docs.microsoft.com/en-us/windows/win32/api/winnt/ns-winnt-arm64_nt_context
    type context struct {
    	contextflags uint32
    	cpsr         uint32
    	x            [31]uint64 // fp is x[29], lr is x[30]
    	xsp          uint64
    	pc           uint64
    	v            [32]neon128
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 08:26:52 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  7. pkg/kubelet/kuberuntime/kuberuntime_container_windows.go

    		//   the range and how it relates to number of CPUs is at https://docs.microsoft.com/en-us/windows/win32/api/winnt/ns-winnt-jobobject_cpu_rate_control_information
    		//   For process isolation, these are applied to the job object setting JOB_OBJECT_CPU_RATE_CONTROL_ENABLE, which can be set to either
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 8K bytes
    - Viewed (0)
  8. src/os/types_windows.go

    // isReparseTagNameSurrogate determines whether a tag's associated
    // reparse point is a surrogate for another named entity (for example, a mounted folder).
    //
    // See https://learn.microsoft.com/en-us/windows/win32/api/winnt/nf-winnt-isreparsetagnamesurrogate
    // and https://learn.microsoft.com/en-us/windows/win32/fileio/reparse-point-tags.
    func (fs *fileStat) isReparseTagNameSurrogate() bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:44:48 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  9. maven-model-builder/src/main/java/org/apache/maven/utils/Os.java

         */
        private static final String FAMILY_WIN9X = "win9x";
    
        /**
         * OS family that can be tested for. {@value}
         */
        public static final String FAMILY_NT = "winnt";
    
        /**
         * OS family that can be tested for. {@value}
         */
        private static final String FAMILY_OS2 = "os/2";
    
        /**
         * OS family that can be tested for. {@value}
         */
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon May 13 09:53:45 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/Os.java

         */
        private static final String FAMILY_WIN9X = "win9x";
    
        /**
         * OS family that can be tested for. {@value}
         */
        public static final String FAMILY_NT = "winnt";
    
        /**
         * OS family that can be tested for. {@value}
         */
        private static final String FAMILY_OS2 = "os/2";
    
        /**
         * OS family that can be tested for. {@value}
         */
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 7.3K bytes
    - Viewed (0)
Back to top