Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 115 for ParseInt (0.08 sec)

  1. guava/src/com/google/common/net/HostAndPort.java

          checkArgument(
              !portString.startsWith("+") && CharMatcher.ascii().matchesAllOf(portString),
              "Unparseable port number: %s",
              hostPortString);
          try {
            port = Integer.parseInt(portString);
          } catch (NumberFormatException e) {
            throw new IllegalArgumentException("Unparseable port number: " + hostPortString);
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 22:02:22 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocConverter.java

                Matcher matcher = HEADER_PATTERN.matcher(element);
                if (!matcher.matches()) {
                    return false;
                }
                int depth = Integer.parseInt(matcher.group(1));
                if (sectionDepth == 0) {
                    sectionDepth = depth - 1;
                }
                while (sectionDepth >= depth) {
                    nodes.pop();
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 29.3K bytes
    - Viewed (0)
  3. cmd/storage-rest-server.go

    		return
    	}
    	volume := r.Form.Get(storageRESTVolume)
    	filePath := r.Form.Get(storageRESTFilePath)
    	offset, err := strconv.ParseInt(r.Form.Get(storageRESTOffset), 10, 64)
    	if err != nil {
    		s.writeErrorResponse(w, err)
    		return
    	}
    	length, err := strconv.ParseInt(r.Form.Get(storageRESTLength), 10, 64)
    	if err != nil {
    		s.writeErrorResponse(w, err)
    		return
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 45.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

                    /*
                     * Get ASCII hex value and convert to platform dependent
                     * encoding like EBCDIC perhaps
                     */
                    b[ 0 ] = (byte) ( Integer.parseInt(str.substring(i, i + 2), 16) & 0xFF );
                    out[ j++ ] = ( new String(b, 0, 1, "ASCII") ).charAt(0);
                    i++;
                    state = 0;
                }
            }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 18.8K bytes
    - Viewed (0)
  5. internal/auth/credentials.go

    // ExpToInt64 - convert input interface value to int64.
    func ExpToInt64(expI interface{}) (expAt int64, err error) {
    	switch exp := expI.(type) {
    	case string:
    		expAt, err = strconv.ParseInt(exp, 10, 64)
    	case float64:
    		expAt, err = int64(exp), nil
    	case int64:
    		expAt, err = exp, nil
    	case int:
    		expAt, err = int64(exp), nil
    	case uint64:
    		expAt, err = int64(exp), nil
    	case uint:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 28 17:14:16 UTC 2024
    - 12K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/exec/Crawler.java

                int dayForCleanup = -1;
                if (StringUtil.isNotBlank(options.expires)) {
                    dayForCleanupStr = options.expires;
                    try {
                        dayForCleanup = Integer.parseInt(dayForCleanupStr);
                    } catch (final NumberFormatException e) {}
                } else {
                    dayForCleanup = ComponentUtil.getFessConfig().getDayForCleanup();
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 24K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

                        Snapshot snapshot = new Snapshot();
                        snapshot.setTimestamp(matcher.group(2));
                        try {
                            snapshot.setBuildNumber(Integer.parseInt(matcher.group(3)));
                            artifact.addMetadata(new SnapshotArtifactRepositoryMetadata(artifact, snapshot));
                        } catch (NumberFormatException e) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/Longs.java

       * {@code null} if non-ASCII digits are present in the string.
       *
       * <p>Note that strings prefixed with ASCII {@code '+'} are rejected, even though {@link
       * Integer#parseInt(String)} accepts them.
       *
       * @param string the string representation of a long value
       * @return the long value represented by {@code string}, or {@code null} if {@code string} has a
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/primitives/Longs.java

       * {@code null} if non-ASCII digits are present in the string.
       *
       * <p>Note that strings prefixed with ASCII {@code '+'} are rejected, even though {@link
       * Integer#parseInt(String)} accepts them.
       *
       * @param string the string representation of a long value
       * @return the long value represented by {@code string}, or {@code null} if {@code string} has a
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 29K bytes
    - Viewed (0)
  10. internal/s3select/sql/funceval.go

    	}
    }
    
    func intCast(v *Value) (int64, error) {
    	// This conversion truncates floating point numbers to
    	// integer.
    	strToInt := func(s string) (int64, bool) {
    		i, errI := strconv.ParseInt(s, 10, 64)
    		if errI == nil {
    			return i, true
    		}
    		f, errF := strconv.ParseFloat(s, 64)
    		if errF == nil {
    			return int64(f), true
    		}
    		return 0, false
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 13.2K bytes
    - Viewed (0)
Back to top