Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 115 for ParseInt (0.06 sec)

  1. 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: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  2. 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: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 17 12:10:08 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/wizard/AdminWizardAction.java

            final String value = systemProperties.getProperty(key);
            if (value != null) {
                try {
                    return Integer.parseInt(value);
                } catch (final NumberFormatException e) {}
            }
            return defaultValue;
        }
    
        protected Long getDefaultLong(final String key, final Long defaultValue) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  4. src/main/webapp/js/admin/popper.min.js

    ='Left'==o?'Right':'Bottom';return parseFloat(e['border'+o+'Width'])+parseFloat(e['border'+n+'Width'])}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: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  5. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 16 08:43:49 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

        default int getSystemPropertyAsInt(final String key, final int defaultValue) {
            final String value = getSystemProperty(key);
            if (value != null) {
                try {
                    return Integer.parseInt(value);
                } catch (final NumberFormatException e) {
                    // ignore
                }
            }
            return defaultValue;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 87.2K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java

                    if (pos + 2 < decoded.length()) {
                        String hexStr = decoded.substring(pos + 1, pos + 3);
                        char ch = (char) Integer.parseInt(hexStr, 16);
                        decoded = decoded.substring(0, pos) + ch + decoded.substring(pos + 3);
                    }
                }
            }
            return decoded;
        }
    
        public int hashCode() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11K bytes
    - Viewed (0)
  8. internal/config/identity/openid/openid.go

    	defaultExpiryDuration, err := time.ParseDuration(timeout)
    	if err != nil {
    		defaultExpiryDuration = time.Hour
    	}
    	if timeout == "" && dsecs != "" {
    		expirySecs, err := strconv.ParseInt(dsecs, 10, 64)
    		if err != nil {
    			return 0, auth.ErrInvalidDuration
    		}
    
    		// The duration, in seconds, of the role session.
    		// The value can range from 900 seconds (15 minutes)
    		// up to 365 days.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 10 20:16:44 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  9. cmd/signature-v2.go

    		return ErrInvalidQueryParams
    	}
    
    	cred, _, s3Err := checkKeyValid(r, accessKey)
    	if s3Err != ErrNone {
    		return s3Err
    	}
    
    	// Make sure the request has not expired.
    	expiresInt, err := strconv.ParseInt(expires, 10, 64)
    	if err != nil {
    		return ErrMalformedExpires
    	}
    
    	// Check if the presigned URL has expired.
    	if expiresInt < UTCNow().Unix() {
    		return ErrExpiredPresignRequest
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  10. api/maven-api-settings/src/main/mdo/settings.mdo

        }
    
        public void setActive(boolean active) {
            setActiveString(String.valueOf(active));
        }
    
        public int getPort() {
            return (getPortString() != null) ? Integer.parseInt(getPortString()) : 8080;
        }
    
        public void setPort(int port) {
            setPortString(String.valueOf(port));
        }
              </code>
            </codeSegment>
            <codeSegment>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Oct 08 13:46:42 UTC 2024
    - 33.5K bytes
    - Viewed (0)
Back to top