Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 139 for ParseInt (0.06 seconds)

  1. src/main/java/org/codelibs/fess/helper/IntervalControlHelper.java

            }
            final int[] values = new int[2];
            values[0] = Integer.parseInt(froms[0]);
            if (values[0] < 0 || values[0] > 23) {
                throw new FessSystemException("Invalid hour value: " + values[0] + " in time: " + time + ". Hour must be between 0 and 23");
            }
            values[1] = Integer.parseInt(froms[1]);
            if (values[1] < 0 || values[1] > 59) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Nov 23 12:34:02 GMT 2025
    - 10K bytes
    - Click Count (0)
  2. src/archive/tar/strconv.go

    func parsePAXTime(s string) (time.Time, error) {
    	const maxNanoSecondDigits = 9
    
    	// Split string into seconds and sub-seconds parts.
    	ss, sn, _ := strings.Cut(s, ".")
    
    	// Parse the seconds.
    	secs, err := strconv.ParseInt(ss, 10, 64)
    	if err != nil {
    		return time.Time{}, ErrHeader
    	}
    	if len(sn) == 0 {
    		return time.Unix(secs, 0), nil // No sub-second values
    	}
    
    	// Parse the nanoseconds.
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Dec 30 15:28:53 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  3. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/info/GlobalBuildInfoPlugin.java

                throwInvalidJavaHomeException(
                    description,
                    javaHome,
                    Integer.parseInt(requiredVersion.getMajorVersion()),
                    Integer.parseInt(actualVersion.getMajorVersion())
                );
            }
    
            return actualVersion;
        }
    
        private InstallationLocation getJavaInstallation(File javaHome) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Aug 17 10:02:58 GMT 2021
    - 18.1K bytes
    - Click Count (0)
  4. compat/maven-artifact/src/main/java/org/apache/maven/artifact/repository/ArtifactRepositoryPolicy.java

                }
            } else if (updatePolicy.startsWith(UPDATE_POLICY_INTERVAL)) {
                String s = updatePolicy.substring(UPDATE_POLICY_INTERVAL.length() + 1);
                int minutes = Integer.parseInt(s);
                Calendar cal = Calendar.getInstance();
                cal.add(Calendar.MINUTE, -minutes);
                if (cal.getTime().after(lastModified)) {
                    checkForUpdates = true;
                }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 5.9K bytes
    - Click Count (0)
  5. src/main/webapp/js/admin/adminlte.min.js

    his._config.panelAutoHeightMode)!==a&&e.css(this._config.panelAutoHeightMode,a)}},t._init=function(){var e=this;this.fixLayoutHeight(),!0===this._config.loginRegisterAutoHeight?this.fixLoginRegisterHeight():this._config.loginRegisterAutoHeight===parseInt(this._config.loginRegisterAutoHeight,10)&&setInterval(this.fixLoginRegisterHeight,this._config.loginRegisterAutoHeight),n.default(Le).on("collapsed.lte.treeview expanded.lte.treeview",(function(){e.fixLayoutHeight()})),n.default(Ee).on("mouseenter...
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Oct 26 01:49:09 GMT 2024
    - 45.3K bytes
    - Click Count (0)
  6. internal/jwt/parser.go

    					return errors.New("exp: Expected number")
    				}
    				c.ExpiresAt, err = jsonparser.ParseInt(value)
    				return err
    			}
    		case 'i':
    			if string(key) == "iat" {
    				if dataType != jsonparser.Number {
    					return errors.New("exp: Expected number")
    				}
    				c.IssuedAt, err = jsonparser.ParseInt(value)
    				return err
    			}
    			if string(key) == "iss" {
    				if dataType != jsonparser.String {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  7. internal/config/scanner/scanner.go

    		return cfg, err
    	}
    
    	excessVersions, err := strconv.ParseInt(env.Get(EnvExcessVersions, kvs.GetWithDefault(ExcessVersions, DefaultKVS)), 10, 64)
    	if err != nil {
    		return cfg, err
    	}
    	cfg.ExcessVersions = excessVersions
    
    	excessFolders, err := strconv.ParseInt(env.Get(EnvExcessFolders, kvs.GetWithDefault(ExcessFolders, DefaultKVS)), 10, 64)
    	if err != nil {
    		return cfg, err
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri May 24 23:05:23 GMT 2024
    - 5.5K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/searchlog/SearchForm.java

         */
        public int getPageSize() {
            if (StringUtil.isBlank(size)) {
                return SearchLogPager.DEFAULT_PAGE_SIZE;
            }
            try {
                final int value = Integer.parseInt(size);
                if (value <= 0 || value > ComponentUtil.getFessConfig().getPageSearchlogMaxFetchSizeAsInteger()) {
                    return SearchLogPager.DEFAULT_PAGE_SIZE;
                }
                return value;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  9. src/bufio/example_test.go

    	split := func(data []byte, atEOF bool) (advance int, token []byte, err error) {
    		advance, token, err = bufio.ScanWords(data, atEOF)
    		if err == nil && token != nil {
    			_, err = strconv.ParseInt(string(token), 10, 32)
    		}
    		return
    	}
    	// Set the split function for the scanning operation.
    	scanner.Split(split)
    	// Validate the input
    	for scanner.Scan() {
    		fmt.Printf("%s\n", scanner.Text())
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Nov 01 21:52:12 GMT 2024
    - 5.5K bytes
    - Click Count (0)
  10. cmd/httprange.go

    	if len(offsetBeginString) > 0 {
    		if offsetBeginString[0] == '+' {
    			return nil, fmt.Errorf("Byte position ('%s') must not have a sign", offsetBeginString)
    		} else if offsetBegin, err = strconv.ParseInt(offsetBeginString, 10, 64); err != nil {
    			return nil, fmt.Errorf("'%s' does not have a valid first byte position value", rangeString)
    		} else if offsetBegin < 0 {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 5.9K bytes
    - Click Count (0)
Back to Top