Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 107 for parseList (0.34 sec)

  1. subprojects/core/src/main/java/org/gradle/util/VersionNumber.java

                }
    
                int scanDigit() {
                    int start = pos;
                    while (hasDigit()) {
                        pos++;
                    }
                    return Integer.parseInt(str.substring(start, pos));
                }
    
                public boolean isEnd() {
                    return pos == str.length();
                }
    
                public void skipSeparator() {
                    pos++;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 09:46:00 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  2. src/math/big/int_test.go

    			continue
    		}
    
    		want, err := strconv.ParseUint(s, 0, 64)
    		if err != nil {
    			// check for sign explicitly (ErrRange doesn't cover signed input)
    			if s[0] == '-' || err.(*strconv.NumError).Err == strconv.ErrRange {
    				if x.IsUint64() {
    					t.Errorf("IsUint64(%s) succeeded unexpectedly", s)
    				}
    			} else {
    				t.Errorf("ParseUint(%s) failed", s)
    			}
    			continue
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 58.5K bytes
    - Viewed (0)
  3. src/runtime/traceback_system_test.go

    	getPC := func(line string) (uint64, error) {
    		_, pcstr, ok := strings.Cut(line, " pc=") // e.g. pc=0x%x
    		if !ok {
    			return 0, fmt.Errorf("no pc= for stack frame: %s", line)
    		}
    		return strconv.ParseUint(pcstr, 0, 64) // 0 => allow 0x prefix
    	}
    
    	var (
    		pcs            []uintptr
    		parentSentinel uint64
    		childSentinel  = sentinel()
    		on             = false // are we in the first running goroutine?
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 15:19:04 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  4. platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/VersionNumber.java

                }
    
                int scanDigit() {
                    int start = pos;
                    while (hasDigit()) {
                        pos++;
                    }
                    return Integer.parseInt(str.substring(start, pos));
                }
    
                public boolean isEnd() {
                    return pos == str.length();
                }
    
                public void skipSeparator() {
                    pos++;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  5. src/net/url/url.go

    	}
    	return url, nil
    }
    
    func parseAuthority(authority string) (user *Userinfo, host string, err error) {
    	i := strings.LastIndex(authority, "@")
    	if i < 0 {
    		host, err = parseHost(authority)
    	} else {
    		host, err = parseHost(authority[i+1:])
    	}
    	if err != nil {
    		return nil, "", err
    	}
    	if i < 0 {
    		return nil, host, nil
    	}
    	userinfo := authority[:i]
    	if !validUserinfo(userinfo) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 36.1K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/integTest/groovy/org/gradle/integtests/tooling/ToolingApiClientJdkCompatibilityTest.groovy

                    mainClass = "ToolingApiCompatibilityClient"
                    javaLauncher = javaToolchains.launcherFor {
                        languageVersion = JavaLanguageVersion.of(Integer.parseInt(project.findProperty("clientJdk")))
                    }
                    enableAssertions = true
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 10:21:26 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  7. src/flag/flag.go

    // -- uint Value
    type uintValue uint
    
    func newUintValue(val uint, p *uint) *uintValue {
    	*p = val
    	return (*uintValue)(p)
    }
    
    func (i *uintValue) Set(s string) error {
    	v, err := strconv.ParseUint(s, 0, strconv.IntSize)
    	if err != nil {
    		err = numError(err)
    	}
    	*i = uintValue(v)
    	return err
    }
    
    func (i *uintValue) Get() any { return uint(*i) }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:38:24 UTC 2024
    - 39.7K bytes
    - Viewed (0)
  8. cmd/generic-handlers.go

    	_, redirect := redirectPrefixes[path.Clean(bucket)]
    	if redirect || resource == slashSeparator {
    		if globalBrowserRedirectURL != nil {
    			return globalBrowserRedirectURL
    		}
    		xhost, err := xnet.ParseHost(r.Host)
    		if err != nil {
    			return nil
    		}
    		return &xnet.URL{
    			Host: net.JoinHostPort(xhost.Name, globalMinioConsolePort),
    			Scheme: func() string {
    				scheme := "http"
    				if r.TLS != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 06 01:01:15 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  9. internal/config/api/api.go

    	maxVerStr := env.Get(EnvAPIObjectMaxVersions, "")
    	if maxVerStr == "" {
    		maxVerStr = env.Get(EnvAPIObjectMaxVersionsLegacy, kvs.Get(apiObjectMaxVersions))
    	}
    	if maxVerStr != "" {
    		maxVersions, err := strconv.ParseInt(maxVerStr, 10, 64)
    		if err != nil {
    			return cfg, err
    		}
    		if maxVersions <= 0 {
    			return cfg, fmt.Errorf("invalid object max versions value: %v", maxVersions)
    		}
    		cfg.ObjectMaxVersions = maxVersions
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  10. pkg/config/security/security.go

    			}
    		}
    	}
    	return errs.ErrorOrNil()
    }
    
    func ValidatePorts(ports []string) error {
    	var errs *multierror.Error
    	for _, port := range ports {
    		p, err := strconv.ParseUint(port, 10, 32)
    		if err != nil || p > 65535 {
    			errs = multierror.Append(errs, fmt.Errorf("bad port (%s): %v", port, err))
    		}
    	}
    	return errs.ErrorOrNil()
    }
    
    func validateMapKey(key string) error {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 07 04:43:34 UTC 2024
    - 9.4K bytes
    - Viewed (0)
Back to top