Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 66 for parseLink (0.38 sec)

  1. src/strconv/doc.go

    //	s := strconv.Itoa(-42)
    //
    // These assume decimal and the Go int type.
    //
    // [ParseBool], [ParseFloat], [ParseInt], and [ParseUint] convert strings to values:
    //
    //	b, err := strconv.ParseBool("true")
    //	f, err := strconv.ParseFloat("3.1415", 64)
    //	i, err := strconv.ParseInt("-42", 10, 64)
    //	u, err := strconv.ParseUint("42", 10, 64)
    //
    // The parse functions return the widest type (float64, int64, and uint64),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:28 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. src/strconv/atoi.go

    // IntSize is the size in bits of an int or uint value.
    const IntSize = intSize
    
    const maxUint64 = 1<<64 - 1
    
    // ParseUint is like [ParseInt] but for unsigned numbers.
    //
    // A sign prefix is not permitted.
    func ParseUint(s string, base int, bitSize int) (uint64, error) {
    	const fnParseUint = "ParseUint"
    
    	if s == "" {
    		return 0, syntaxError(fnParseUint, s)
    	}
    
    	base0 := base == 0
    
    	s0 := s
    	switch {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun May 05 00:24:26 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  3. src/cmd/trace/jsontrace.go

    		if startStr, endStr := r.FormValue("start"), r.FormValue("end"); startStr != "" && endStr != "" {
    			var err error
    			start, err = strconv.ParseInt(startStr, 10, 64)
    			if err != nil {
    				log.Printf("failed to parse start parameter %q: %v", startStr, err)
    				return
    			}
    
    			end, err = strconv.ParseInt(endStr, 10, 64)
    			if err != nil {
    				log.Printf("failed to parse end parameter %q: %v", endStr, err)
    				return
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  4. src/cmd/vendor/github.com/google/pprof/profile/legacy_java_profile.go

    				p.PeriodType = &ValueType{
    					Type: "contentions", Unit: "count",
    				}
    				if p.Period, err = strconv.ParseInt(value, 0, 64); err != nil {
    					return nil, fmt.Errorf("failed to parse attribute %s: %v", line, err)
    				}
    			case "contention/ms since reset":
    				millis, err := strconv.ParseInt(value, 0, 64)
    				if err != nil {
    					return nil, fmt.Errorf("failed to parse attribute %s: %v", line, err)
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/util/JvmUtil.java

            if (javaVersion != null) {
                final String[] split = javaVersion.split("[\\._]");
                if (split.length > 0) {
                    version = Integer.parseInt(split[0]);
                    if (version == 1 && split.length > 1) {
                        version = Integer.parseInt(split[1]);
                    }
                }
            }
            return version;
        }
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/validation/CustomSizeValidator.java

            final String minKey = constraintAnnotation.minKey();
            if (StringUtil.isNotBlank(minKey)) {
                min = Integer.parseInt(fessConfig.get(minKey));
            }
            final String maxKey = constraintAnnotation.maxKey();
            if (StringUtil.isNotBlank(maxKey)) {
                max = Integer.parseInt(fessConfig.get(maxKey));
            }
            message = constraintAnnotation.message();
            validateParameters();
        }
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  7. 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 format: " + time);
            }
            values[1] = Integer.parseInt(froms[1]);
            if (values[1] < 0 || values[1] > 59) {
                throw new FessSystemException("Invalid format: " + time);
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/convert/IntegerConversionUtil.java

            } else if (o instanceof String) {
                return toPrimitiveInt((String) o);
            } else if (o instanceof java.util.Date) {
                if (pattern != null) {
                    return Integer.parseInt(new SimpleDateFormat(pattern).format(o));
                }
                return (int) ((java.util.Date) o).getTime();
            } else if (o instanceof Boolean) {
                return ((Boolean) o) ? 1 : 0;
            } else {
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. src/cmd/objdump/main.go

    		dis.Print(os.Stdout, symRE, 0, ^uint64(0), *printCode, *gnuAsm)
    
    	case 3:
    		// disassembly of PC range
    		start, err := strconv.ParseUint(strings.TrimPrefix(flag.Arg(1), "0x"), 16, 64)
    		if err != nil {
    			log.Fatalf("invalid start PC: %v", err)
    		}
    		end, err := strconv.ParseUint(strings.TrimPrefix(flag.Arg(2), "0x"), 16, 64)
    		if err != nil {
    			log.Fatalf("invalid end PC: %v", err)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. cmd/metacache-marker.go

    			o.ID = kv[1]
    		case "return":
    			o.ID = mustGetUUID()
    			o.Create = true
    		case "p": // pool
    			v, err := strconv.ParseInt(kv[1], 10, 64)
    			if err != nil {
    				o.ID = mustGetUUID()
    				o.Create = true
    				continue
    			}
    			o.pool = int(v)
    		case "s": // set
    			v, err := strconv.ParseInt(kv[1], 10, 64)
    			if err != nil {
    				o.ID = mustGetUUID()
    				o.Create = true
    				continue
    			}
    			o.set = int(v)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top