Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 58 for ParseInt (0.08 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java

                        int num = Integer.parseInt(expression.substring(2, expression.length() - 1));
                        filters.add(new HighestVersionFilter(num));
                    } else if ("l".equals(expression)) {
                        filters.add(new LowestVersionFilter());
                    } else if (expression.startsWith("l(") && expression.endsWith(")")) {
                        int num = Integer.parseInt(expression.substring(2, expression.length() - 1));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  2. internal/s3select/sql/value_test.go

    			fields: fields{
    				value: []byte("9223372036854775808"),
    			},
    			// Seems to be what strconv.ParseInt returns
    			want:   math.MaxInt64,
    			wantOK: false,
    		},
    		{
    			name: "min-underflow",
    			fields: fields{
    				value: []byte("-9223372036854775809"),
    			},
    			// Seems to be what strconv.ParseInt returns
    			want:   math.MinInt64,
    			wantOK: false,
    		},
    		{
    			name: "zerospace",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Mar 06 16:56:10 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/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 Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  4. src/archive/tar/reader.go

    		case paxLinkpath:
    			hdr.Linkname = v
    		case paxUname:
    			hdr.Uname = v
    		case paxGname:
    			hdr.Gname = v
    		case paxUid:
    			id64, err = strconv.ParseInt(v, 10, 64)
    			hdr.Uid = int(id64) // Integer overflow possible
    		case paxGid:
    			id64, err = strconv.ParseInt(v, 10, 64)
    			hdr.Gid = int(id64) // Integer overflow possible
    		case paxAtime:
    			hdr.AccessTime, err = parsePAXTime(v)
    		case paxMtime:
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Mar 08 01:59:14 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  5. 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 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 17 16:45:46 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  6. src/main/webapp/js/admin/plugins/timepicker/bootstrap-timepicker.min.js

    2&&e.length%2!==0)return void this.clear();f=d[1]?d[1].toString():"",g=d[2]?d[2].toString():"",e.length>4&&(g=e.slice(-2),e=e.slice(0,-2)),e.length>2&&(f=e.slice(-2),e=e.slice(0,-2)),f.length>2&&(g=f.slice(-2),f=f.slice(0,-2)),e=parseInt(e,10),f=parseInt(f,10),g=parseInt(g,10),isNaN(e)&&(e=0),isNaN(f)&&(f=0),isNaN(g)&&(g=0),g>59&&(g=59),f>59&&(f=59),e>=this.maxHours&&(e=this.maxHours-1),this.showMeridian?(e>12&&(c=2,e-=12),c||(c=1),0===e&&(e=12),h=1===c?"AM":"PM"):12>e&&2===c?e+=12:e>=this.maxHo...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 13 04:21:06 UTC 2020
    - 18.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/Config.java

         */
    
        public static int getInt( String key, int def ) {
            String s = prp.getProperty( key );
            if( s != null ) {
                try {
                    def = Integer.parseInt( s );
                } catch( NumberFormatException nfe ) {
                    if( log.level > 0 )
                        nfe.printStackTrace( log );
                }
            }
            return def;
        }
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 11.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

     */
    public class NtlmHttpURLConnection extends HttpURLConnection {
    
        private static final int MAX_REDIRECTS =
                Integer.parseInt(System.getProperty("http.maxRedirects", "20"));
    
        private static final int LM_COMPATIBILITY =
                Config.getInt("jcifs.smb1.smb.lmCompatibility", 0);
    
        private static final String DEFAULT_DOMAIN;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 20.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/Ints.java

       *
       * <p>Unlike {@link Integer#parseInt(String)}, this method returns {@code null} instead of
       * throwing an exception if parsing fails. Additionally, this method only accepts ASCII digits,
       * and returns {@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.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 31K bytes
    - Viewed (0)
  10. schema/field.go

    			} else {
    				schema.err = fmt.Errorf("invalid serializer type %v", serializerName)
    			}
    		}
    	}
    
    	if num, ok := field.TagSettings["AUTOINCREMENTINCREMENT"]; ok {
    		field.AutoIncrementIncrement, _ = strconv.ParseInt(num, 10, 64)
    	}
    
    	if v, ok := field.TagSettings["DEFAULT"]; ok {
    		field.HasDefaultValue = true
    		field.DefaultValue = v
    	}
    
    	if num, ok := field.TagSettings["SIZE"]; ok {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Apr 15 03:20:20 UTC 2024
    - 32K bytes
    - Viewed (0)
Back to top