- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 30 for atof (0.02 seconds)
-
cmd/api-resources.go
if values.Get("max-parts") != "" { if maxParts, err = strconv.Atoi(values.Get("max-parts")); err != nil { errCode = ErrInvalidMaxParts return uploadID, partNumberMarker, maxParts, encodingType, errCode } } else { maxParts = maxPartsList } if values.Get("part-number-marker") != "" { if partNumberMarker, err = strconv.Atoi(values.Get("part-number-marker")); err != nil {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 5.2K bytes - Click Count (0) -
src/bufio/example_test.go
scanner := bufio.NewScanner(strings.NewReader(input)) // Create a custom split function by wrapping the existing ScanWords function. split := func(data []byte, atEOF bool) (advance int, token []byte, err error) { advance, token, err = bufio.ScanWords(data, atEOF) if err == nil && token != nil { _, err = strconv.ParseInt(string(token), 10, 32) } return } // Set the split function for the scanning operation.
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Fri Nov 01 21:52:12 GMT 2024 - 5.5K bytes - Click Count (0) -
src/cmd/asm/internal/asm/expr_test.go
if result != test.output { t.Errorf("%d: %q evaluated to %d; expected %d", i, test.input, result, test.output) } tok := p.next() if test.atEOF && tok.ScanToken != scanner.EOF { t.Errorf("%d: %q: at EOF got %s", i, test.input, tok) } else if !test.atEOF && tok.ScanToken == scanner.EOF { t.Errorf("%d: %q: expected not EOF but at EOF", i, test.input) } } } type badExprTest struct { input stringCreated: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Aug 29 07:48:38 GMT 2023 - 3.2K bytes - Click Count (0) -
internal/config/ilm/ilm.go
} if err = config.CheckValidKeys(config.ILMSubSys, kvs, DefaultKVS); err != nil { return cfg, err } tw, err := strconv.Atoi(env.Get(EnvILMTransitionWorkers, kvs.GetWithDefault(transitionWorkers, DefaultKVS))) if err != nil { return cfg, err } ew, err := strconv.Atoi(env.Get(EnvILMExpirationWorkers, kvs.GetWithDefault(expirationWorkers, DefaultKVS))) if err != nil { return cfg, err }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri May 24 23:05:23 GMT 2024 - 1.9K bytes - Click Count (0) -
internal/config/heal/heal.go
} cfg.IOCount, err = strconv.Atoi(env.Get(EnvIOCount, kvs.GetWithDefault(IOCount, DefaultKVS))) if err != nil { return cfg, fmt.Errorf("'heal:max_io' value invalid: %w", err) } if ws := env.Get(EnvDriveWorkers, kvs.GetWithDefault(DriveWorkers, DefaultKVS)); ws != "" { w, err := strconv.Atoi(ws) if err != nil {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Nov 04 19:06:02 GMT 2024 - 4.9K bytes - Click Count (0) -
schema/index.go
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Wed May 21 02:35:56 GMT 2025 - 3.8K bytes - Click Count (0) -
internal/mountinfo/mountinfo_linux.go
if len(fields) != expectedNumFieldsPerLine { // ignore incorrect lines. continue } // Freq should be an integer. if _, err := strconv.Atoi(fields[4]); err != nil { return nil, err } // Pass should be an integer. if _, err := strconv.Atoi(fields[5]); err != nil { return nil, err } mounts = append(mounts, mountInfo{ Device: fields[0], Path: fields[1],
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 4.7K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeTest.kt
parse("text/plain;boundary=foo;charset=utf-8").hashCode(), ) } @Test fun testValidParse() { assertMediaType("text/plain") assertMediaType("application/atom+xml; charset=utf-8") assertMediaType("application/atom+xml; a=1; a=2; b=3") assertMediaType("image/gif; foo=bar") assertMediaType("text/plain; a=1") assertMediaType("text/plain; a=1; a=2; b=3")
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 7.5K bytes - Click Count (0) -
guava/src/com/google/common/util/concurrent/ForwardingFluentFuture.java
* own subclass of {@link ListenableFuture}, complete with a method like {@link #from} to adapt an * existing {@code ListenableFuture}, implemented atop a {@link ForwardingListenableFuture} that * forwards to that future and adds the desired methods. */ @GwtCompatible final class ForwardingFluentFuture<V extends @Nullable Object> extends FluentFuture<V> {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2.4K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ForwardingFluentFuture.java
* own subclass of {@link ListenableFuture}, complete with a method like {@link #from} to adapt an * existing {@code ListenableFuture}, implemented atop a {@link ForwardingListenableFuture} that * forwards to that future and adds the desired methods. */ @GwtCompatible final class ForwardingFluentFuture<V extends @Nullable Object> extends FluentFuture<V> {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2.4K bytes - Click Count (0)