Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 33 for uint64max (0.18 sec)

  1. src/flag/flag.go

    	return CommandLine.Uint(name, value, usage)
    }
    
    // Uint64Var defines a uint64 flag with specified name, default value, and usage string.
    // The argument p points to a uint64 variable in which to store the value of the flag.
    func (f *FlagSet) Uint64Var(p *uint64, name string, value uint64, usage string) {
    	f.Var(newUint64Value(value, p), name, usage)
    }
    
    // Uint64Var defines a uint64 flag with specified name, default value, and usage string.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:38:24 UTC 2024
    - 39.7K bytes
    - Viewed (0)
  2. src/go/types/conversions.go

    		case t == nil:
    			// nothing to do
    		case representableConst(x.val, check, t, val):
    			return true
    		case isInteger(x.typ) && isString(t):
    			codepoint := unicode.ReplacementChar
    			if i, ok := constant.Uint64Val(x.val); ok && i <= unicode.MaxRune {
    				codepoint = rune(i)
    			}
    			if val != nil {
    				*val = constant.MakeString(string(codepoint))
    			}
    			return true
    		}
    		return false
    	}
    
    	var ok bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:51:00 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/typecheck/_builtin/runtime.go

    func nilinterhash(p *any, h uintptr) uintptr
    
    // only used on 32-bit
    func int64div(int64, int64) int64
    func uint64div(uint64, uint64) uint64
    func int64mod(int64, int64) int64
    func uint64mod(uint64, uint64) uint64
    func float64toint64(float64) int64
    func float64touint64(float64) uint64
    func float64touint32(float64) uint32
    func int64tofloat64(int64) float64
    func int64tofloat32(int64) float32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/conversions.go

    		case t == nil:
    			// nothing to do
    		case representableConst(x.val, check, t, val):
    			return true
    		case isInteger(x.typ) && isString(t):
    			codepoint := unicode.ReplacementChar
    			if i, ok := constant.Uint64Val(x.val); ok && i <= unicode.MaxRune {
    				codepoint = rune(i)
    			}
    			if val != nil {
    				*val = constant.MakeString(string(codepoint))
    			}
    			return true
    		}
    		return false
    	}
    
    	var ok bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:51:00 UTC 2024
    - 9K bytes
    - Viewed (0)
  5. pkg/test/framework/resource/flags.go

    		"Path to a file containing a DockerConfig secret use for test apps. This will be pushed to all created namespaces."+
    			"Secret should already exist when used with istio.test.stableNamespaces.")
    	flag.Uint64Var(&settingsFromCommandLine.MaxDumps, "istio.test.maxDumps", settingsFromCommandLine.MaxDumps,
    		"Maximum number of full test dumps that are allowed to occur within a test suite.")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 19:04:51 UTC 2024
    - 14K bytes
    - Viewed (0)
  6. src/fmt/scan_test.go

    	int16Val             int16
    	int32Val             int32
    	int64Val             int64
    	uintVal              uint
    	uint8Val             uint8
    	uint16Val            uint16
    	uint32Val            uint32
    	uint64Val            uint64
    	uintptrVal           uintptr
    	float32Val           float32
    	float64Val           float64
    	stringVal            string
    	bytesVal             []byte
    	runeVal              rune
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 20:25:13 UTC 2023
    - 39.3K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/typecheck/const.go

    	}
    
    	// Prevent follow-on errors.
    	return constant.MakeUnknown()
    }
    
    func tostr(v constant.Value) constant.Value {
    	if v.Kind() == constant.Int {
    		r := unicode.ReplacementChar
    		if x, ok := constant.Uint64Val(v); ok && x <= unicode.MaxRune {
    			r = rune(x)
    		}
    		v = constant.MakeString(string(r))
    	}
    	return v
    }
    
    func makeFloat64(f float64) constant.Value {
    	if math.IsInf(f, 0) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 15:20:28 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/typecheck/builtin.go

    	{"strhash", funcTag, 130},
    	{"interhash", funcTag, 130},
    	{"nilinterhash", funcTag, 130},
    	{"int64div", funcTag, 131},
    	{"uint64div", funcTag, 132},
    	{"int64mod", funcTag, 131},
    	{"uint64mod", funcTag, 132},
    	{"float64toint64", funcTag, 133},
    	{"float64touint64", funcTag, 134},
    	{"float64touint32", funcTag, 135},
    	{"int64tofloat64", funcTag, 136},
    	{"int64tofloat32", funcTag, 138},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  9. src/go/constant/value.go

    		return 0, false
    	default:
    		panic(fmt.Sprintf("%v not an Int", x))
    	}
    }
    
    // Uint64Val returns the Go uint64 value of x and whether the result is exact;
    // x must be an [Int] or an [Unknown]. If the result is not exact, its value is undefined.
    // If x is [Unknown], the result is (0, false).
    func Uint64Val(x Value) (uint64, bool) {
    	switch x := x.(type) {
    	case int64Val:
    		return uint64(x), x >= 0
    	case intVal:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 34K bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/test/test.go

    	if C.issue20129 != 2 {
    		t.Errorf("got %v but expected %v", C.issue20129, 2)
    	}
    }
    
    // issue 20369
    
    func test20369(t *testing.T) {
    	if C.XUINT64_MAX != math.MaxUint64 {
    		t.Fatalf("got %v, want %v", uint64(C.XUINT64_MAX), uint64(math.MaxUint64))
    	}
    }
    
    // issue 21668
    
    var issue21668_X = C.x21668
    
    // issue 21708
    
    func test21708(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 48.5K bytes
    - Viewed (0)
Back to top