Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 155 for parseLink (0.32 sec)

  1. cni/pkg/plugin/sidecar_redirect.go

    	for _, port := range ports {
    		if !dedup[port] {
    			dedup[port] = true
    			keys = append(keys, port)
    		}
    	}
    	return keys
    }
    
    func parsePort(portStr string) (uint16, error) {
    	port, err := strconv.ParseUint(strings.TrimSpace(portStr), 10, 16)
    	if err != nil {
    		return 0, fmt.Errorf("failed parsing port %q: %v", portStr, err)
    	}
    	return uint16(port), nil
    }
    
    func parsePorts(portsString string) ([]int, error) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultSettingsValidator.java

                    }
                    validateStringNotEmpty(problems, "proxies.proxy.host", proxy.getHost(), proxy.getId());
    
                    try {
                        Integer.parseInt(proxy.getPortString());
                    } catch (NumberFormatException e) {
                        addViolation(
                                problems,
                                BuilderProblem.Severity.ERROR,
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/SystemHelper.java

                prop.load(in);
                version = prop.getProperty("fess.version", "0.0.0");
                final String[] values = version.split("\\.");
                majorVersion = Integer.parseInt(values[0]);
                minorVersion = Integer.parseInt(values[1]);
                productVersion = majorVersion + "." + minorVersion;
                System.setProperty("fess.version", version);
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Sun May 26 05:52:29 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  4. pkg/config/validation/agent/extensionprovider.go

    			return err
    		}
    	}
    	return nil
    }
    
    func validateExtensionProviderEnvoyExtAuthzStatusOnError(status string) error {
    	if status == "" {
    		return nil
    	}
    	code, err := strconv.ParseInt(status, 10, 32)
    	if err != nil {
    		return fmt.Errorf("invalid statusOnError value %s: %v", status, err)
    	}
    	if _, found := envoytypev3.StatusCode_name[int32(code)]; !found {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 11K bytes
    - Viewed (0)
  5. src/net/http/fs.go

    				return nil, errors.New("invalid range")
    			}
    			i, err := strconv.ParseInt(end, 10, 64)
    			if i < 0 || err != nil {
    				return nil, errors.New("invalid range")
    			}
    			if i > size {
    				i = size
    			}
    			r.start = size - i
    			r.length = size - r.start
    		} else {
    			i, err := strconv.ParseInt(start, 10, 64)
    			if err != nil || i < 0 {
    				return nil, errors.New("invalid range")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 17:06:47 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  6. pilot/pkg/security/authz/builder/extauthz.go

    }
    
    func parseStatusOnError(status string) (*envoytypev3.HttpStatus, error) {
    	if status == "" {
    		return nil, nil
    	}
    	code, err := strconv.ParseInt(status, 10, 32)
    	if err != nil {
    		return nil, multierror.Prefix(err, fmt.Sprintf("invalid statusOnError %q:", status))
    	}
    	if _, found := envoytypev3.StatusCode_name[int32(code)]; !found {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  7. cmd/handler-api.go

    func cgroupMemLimit() (limit uint64) {
    	buf, err := os.ReadFile(cgroupV2MemLimitFile)
    	if err != nil {
    		buf, err = os.ReadFile(cgroupV1MemLimitFile)
    	}
    	if err != nil {
    		return 0
    	}
    	limit, err = strconv.ParseUint(strings.TrimSpace(string(buf)), 10, 64)
    	if err != nil {
    		// The kernel can return valid but non integer values
    		// but still, no need to interpret more
    		return 0
    	}
    	if limit == cgroupMemNoLimit {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jun 12 08:13:12 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/math/IntMathTest.java

        BigInteger bigY = BigInteger.valueOf(y);
        BigDecimal bigMean =
            new BigDecimal(bigX.add(bigY)).divide(BigDecimal.valueOf(2), BigDecimal.ROUND_FLOOR);
        // parseInt blows up on overflow as opposed to intValue() which does not.
        return Integer.parseInt(bigMean.toString());
      }
    
      private static boolean fitsInInt(BigInteger big) {
        return big.bitLength() <= 31;
      }
    
      @J2ktIncompatible
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  9. src/cmd/go/internal/modfetch/codehost/vcs.go

    		return nil, vcsErrorf("unexpected response from hg log: %q", out)
    	}
    	hash := f[0]
    	version := rev
    	if strings.HasPrefix(hash, version) {
    		version = hash // extend to full hash
    	}
    	t, err := strconv.ParseInt(f[1], 10, 64)
    	if err != nil {
    		return nil, vcsErrorf("invalid time from hg log: %q", out)
    	}
    
    	var tags []string
    	for _, tag := range f[3:] {
    		if tag != "tip" {
    			tags = append(tags, tag)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:50:24 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  10. src/main/webapp/js/admin/popper.min.js

    '==o?'Right':'Bottom';return parseFloat(e['border'+o+'Width'],10)+parseFloat(e['border'+n+'Width'],10)}function h(e,t,o,n){return ee(t['offset'+e],t['scroll'+e],o['client'+e],o['offset'+e],o['scroll'+e],r(10)?parseInt(o['offset'+e])+parseInt(n['margin'+('Height'===e?'Top':'Left')])+parseInt(n['margin'+('Height'===e?'Bottom':'Right')]):0)}function c(e){var t=e.body,o=e.documentElement,n=r(10)&&getComputedStyle(o);return{height:h('Height',t,o,n),width:h('Width',t,o,n)}}function g(e){return le({},e...
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Fri Feb 07 10:28:50 UTC 2020
    - 20.8K bytes
    - Viewed (0)
Back to top