Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for ParseUint (0.09 sec)

  1. src/archive/tar/strconv.go

    	// spaces or NULs.
    	// So we remove leading and trailing NULs and spaces to
    	// be sure.
    	b = bytes.Trim(b, " \x00")
    
    	if len(b) == 0 {
    		return 0
    	}
    	x, perr := strconv.ParseUint(p.parseString(b), 8, 64)
    	if perr != nil {
    		p.err = ErrHeader
    	}
    	return int64(x)
    }
    
    func (f *formatter) formatOctal(b []byte, x int64) {
    	if !fitsInOctal(len(b), x) {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Sep 08 17:08:20 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/parse.go

    func (p *Parser) positiveAtoi(str string) int64 {
    	value, err := strconv.ParseInt(str, 0, 64)
    	if err != nil {
    		p.errorf("%s", err)
    	}
    	if value < 0 {
    		p.errorf("%s overflows int64", str)
    	}
    	return value
    }
    
    func (p *Parser) atoi(str string) uint64 {
    	value, err := strconv.ParseUint(str, 0, 64)
    	if err != nil {
    		p.errorf("%s", err)
    	}
    	return value
    }
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Feb 14 15:13:11 UTC 2025
    - 37.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReaderTest.java

            int count = 0;
            int prev = -1;
            Map<String, Object> source;
            while ((source = reader.read()) != null) {
                int current = Integer.parseInt(source.get("field2").toString());
                assertTrue(prev < current);
                prev = current;
                count++;
            }
            assertEquals(num, count);
    
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java

            }
    
            if (limitPercentage.endsWith("%")) {
                this.limitPercentage = Integer.parseInt(limitPercentage.substring(0, limitPercentage.length() - 1));
            } else {
                this.limitPercentage = Integer.parseInt(limitPercentage);
            }
    
            if (this.limitPercentage > 100) {
                this.limitPercentage = 100;
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 11K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java

            final Object obj = get(key);
    
            final int value;
            if (obj == null) {
                value = defaultValue;
            } else {
                value = Integer.parseInt(obj.toString());
            }
    
            return value;
        }
    
        /**
         * Retrieves a setting value as a long.
         * @param key The key of the setting.
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/RobotsTxtHelper.java

                            if (!currentDirectiveList.isEmpty()) {
                                try {
                                    final int crawlDelay = Integer.parseInt(value);
                                    for (final Directive directive : currentDirectiveList) {
                                        directive.setCrawlDelay(Math.max(0, crawlDelay));
                                    }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  7. lib/wasm/wasm_exec.js

    							storeValue(sp + 40, err);
    							this.mem.setUint8(sp + 48, 0);
    						}
    					},
    
    					// func valueLength(v ref) int
    					"syscall/js.valueLength": (sp) => {
    						sp >>>= 0;
    						setInt64(sp + 16, parseInt(loadValue(sp + 8).length));
    					},
    
    					// valuePrepareString(v ref) (ref, int)
    					"syscall/js.valuePrepareString": (sp) => {
    						sp >>>= 0;
    						const str = encoder.encode(String(loadValue(sp + 8)));
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Sun Dec 08 15:34:47 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleTest.java

                }
    
                // Check status code condition
                String statusCodeCondition = conditions.get("statusCode");
                if (statusCodeCondition != null) {
                    int expectedCode = Integer.parseInt(statusCodeCondition);
                    if (responseData.getHttpStatusCode() != expectedCode) {
                        return false;
                    }
                }
    
                return true;
            }
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  9. lib/fips140/v1.0.0.zip

    big.NewRat((1<<d)*int64(x), q) // (2ᵈ / q) * x == (2ᵈ * x) / q // FloatString rounds halves away from 0, and our result should always be positive, // so it should work as we expect. (There's no direct way to round a Rat.) rounded, err := strconv.ParseInt(precise.FloatString(0), 10, 64) if err != nil { panic(err) } // If we rounded up, `rounded` may be equal to 2ᵈ, so we perform a final reduction. return uint16(rounded % (1 << d)) } func TestCompress(t *testing.T) { for d := 1; d < 12; d++ { for n...
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Jan 29 15:10:35 UTC 2025
    - 635K bytes
    - Viewed (0)
Back to top