Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for ParseUint (0.06 sec)

  1. schema/field.go

    		field.DataType = Uint
    		if field.HasDefaultValue && !skipParseDefaultValue {
    			if field.DefaultValueInterface, err = strconv.ParseUint(field.DefaultValue, 0, 64); err != nil {
    				schema.err = fmt.Errorf("failed to parse %s as default value for uint, got error: %v", field.DefaultValue, err)
    			}
    		}
    	case reflect.Float32, reflect.Float64:
    		field.DataType = Float
    		if field.HasDefaultValue && !skipParseDefaultValue {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Aug 20 04:51:17 UTC 2025
    - 32K bytes
    - Viewed (0)
  2. cmd/admin-handlers.go

    	blockSizeStr := r.Form.Get("blocksize")
    	fileSizeStr := r.Form.Get("filesize")
    
    	blockSize, err := strconv.ParseUint(blockSizeStr, 10, 64)
    	if err != nil {
    		blockSize = 4 * humanize.MiByte // default value
    	}
    
    	fileSize, err := strconv.ParseUint(fileSizeStr, 10, 64)
    	if err != nil {
    		fileSize = 1 * humanize.GiByte // default value
    	}
    
    	opts := madmin.DriveSpeedTestOpts{
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 99.6K bytes
    - Viewed (0)
  3. cmd/bucket-replication-utils.go

    	if len(parts) != 4 {
    		return sz, fmt.Errorf("invalid Content-Range header %s", cr)
    	}
    	if parts[3] == "*" {
    		return -1, nil
    	}
    	var usz uint64
    	usz, err = strconv.ParseUint(parts[3], 10, 64)
    	if err != nil {
    		return sz, err
    	}
    	return int64(usz), nil
    }
    
    func extractReplicateDiffOpts(q url.Values) (opts madmin.ReplDiffOpts) {
    	opts.Verbose = q.Get("verbose") == "true"
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 26K bytes
    - Viewed (0)
  4. src/main/java/jcifs/config/PropertyConfiguration.java

                try {
                    this.smbConnectionTimeout = Integer.parseInt(value);
                } catch (NumberFormatException e) {
                    // Invalid value ignored
                }
            }
    
            value = props.getProperty("jcifs.smb.client.soTimeout");
            if (value != null) {
                try {
                    this.smbSocketTimeout = Integer.parseInt(value);
                } catch (NumberFormatException e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/TestLockingTest.java

                    if (args[ai].equals("-t")) {
                        ai++;
                        t.numThreads = Integer.parseInt(args[ai]);
                    } else if (args[ai].equals("-i")) {
                        ai++;
                        t.numIter = Integer.parseInt(args[ai]);
                    } else if (args[ai].equals("-d")) {
                        ai++;
                        t.delay = Long.parseLong(args[ai]);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/pac/kerberos/KerberosApRequestTest.java

            // pvno [0] INTEGER 5
            v.add(new DERTaggedObject(true, 0, new ASN1Integer(Integer.parseInt(KerberosConstants.KERBEROS_VERSION))));
            // msg-type [1] INTEGER 14 (AP-REQ)
            v.add(new DERTaggedObject(true, 1, new ASN1Integer(Integer.parseInt(KerberosConstants.KERBEROS_AP_REQ))));
            // ap-options [2] BIT STRING
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/convert/IntegerConversionUtil.java

            case java.util.Date d -> pattern != null ? Integer.parseInt(new SimpleDateFormat(pattern).format(d)) : (int) d.getTime();
            case Boolean b -> b ? 1 : 0;
            default -> toPrimitiveInt(o.toString());
            };
        }
    
        private static int toPrimitiveInt(final String s) {
            if (StringUtil.isEmpty(s)) {
                return 0;
            }
            return Integer.parseInt(DecimalFormatUtil.normalize(s));
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/opensearch/config/exentity/DataConfig.java

                        smbAuth.setServer(hostname);
                        if (StringUtil.isNotBlank(port)) {
                            try {
                                smbAuth.setPort(Integer.parseInt(port));
                            } catch (final NumberFormatException e) {
                                logger.warn("Failed to parse {}", port, e);
                            }
                        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  9. 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: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/dcerpc/DcerpcBinding.java

                        p = iface.indexOf('.', c + 1);
                        this.uuid = new UUID(iface.substring(0, c));
                        this.major = Integer.parseInt(iface.substring(c + 1, p));
                        this.minor = Integer.parseInt(iface.substring(p + 1));
                        return;
                    }
                }
                throw new DcerpcException("Bad endpoint: " + this.endpoint);
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5K bytes
    - Viewed (0)
Back to top