- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 93 for scandir (0.04 seconds)
-
cmd/metrics-v3-scanner.go
Shireesh Anjal <******@****.***> 1716578965 +0530
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri May 24 19:29:25 GMT 2024 - 2.8K bytes - Click Count (0) -
docs/config/README.md
usage calculation. The scanner adapts to the system speed and completely pauses when the system is under load. It is possible to adjust the speed of the scanner and thereby the latency of updates being reflected. The delays between each operation of the scanner can be adjusted by the `mc admin config set alias/ delay=15.0`. By default the value is `10.0`. This means the scanner will sleep *10x* the time each operation takes. In most setups this will keep the scanner slow enough to not impact...
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Aug 12 18:20:36 GMT 2025 - 18.1K bytes - Click Count (1) -
src/cmd/asm/internal/lex/lex.go
switch t { case scanner.EOF: return "EOF" case scanner.Ident: return "identifier" case scanner.Int: return "integer constant" case scanner.Float: return "float constant" case scanner.Char: return "rune constant" case scanner.String: return "string constant" case scanner.RawString: return "raw string constant" case scanner.Comment: return "comment" default:Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Aug 29 18:31:05 GMT 2023 - 4.1K bytes - Click Count (0) -
compat/maven-builder-support/src/test/java/org/apache/maven/building/StringSourceTest.java
import java.io.InputStream; import java.util.Scanner; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; class StringSourceTest { @Test void testGetInputStream() throws Exception { StringSource source = new StringSource("Hello World!"); try (InputStream is = source.getInputStream(); Scanner scanner = new Scanner(is)) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.8K bytes - Click Count (0) -
src/bufio/scan_test.go
scanner.Split(ScanWords) if !scanner.Scan() { t.Fatalf("scan failed: %v", scanner.Err()) } if token := scanner.Text(); token != word { t.Fatalf("unexpected token: %v", token) } } // Test that empty tokens, including at end of line or end of file, are found by the scanner. // Issue 8672: Could miss final empty token.
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Fri Sep 22 16:22:42 GMT 2023 - 14.3K bytes - Click Count (0) -
src/bufio/example_test.go
// Buffer contents: Hello, world! // This is a ReadFrom example. } // The simplest use of a Scanner, to read standard input as a set of lines. func ExampleScanner_lines() { scanner := bufio.NewScanner(os.Stdin) for scanner.Scan() { fmt.Println(scanner.Text()) // Println will add back the final '\n' } if err := scanner.Err(); err != nil { fmt.Fprintln(os.Stderr, "reading standard input:", err) } }
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/addr2line/addr2line_test.go
if err != nil { t.Fatalf("%v: %v\n%s", cmd, err, string(out)) } syms := make(map[string]string) scanner := bufio.NewScanner(bytes.NewReader(out)) for scanner.Scan() { f := strings.Fields(scanner.Text()) if len(f) < 3 { continue } syms[f[2]] = f[0] } if err := scanner.Err(); err != nil { t.Fatalf("error reading symbols: %v", err) } return syms }Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Fri Sep 06 13:23:48 GMT 2024 - 3.2K bytes - Click Count (0) -
src/cmd/asm/internal/asm/parse.go
return } // Constant. haveConstant := false switch tok.ScanToken { case scanner.Int, scanner.Float, scanner.String, scanner.Char, '+', '-', '~': haveConstant = true case '(': // Could be parenthesized expression or (R). Must be something, though. tok := p.next() if tok.ScanToken == scanner.EOF { p.errorf("missing right parenthesis") return } rname := tok.String() p.back()Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Wed Nov 12 03:59:40 GMT 2025 - 37.3K bytes - Click Count (0) -
src/bufio/scan.go
// Scan advances the [Scanner] to the next token, which will then be // available through the [Scanner.Bytes] or [Scanner.Text] method. It returns false when // there are no more tokens, either by reaching the end of the input or an error. // After Scan returns false, the [Scanner.Err] method will return any error that // occurred during scanning, except that if it was [io.EOF], [Scanner.Err] // will return nil.
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Wed May 21 18:05:26 GMT 2025 - 14.2K bytes - Click Count (0) -
internal/s3select/jstream/scanner_test.go
t.Skip("Unstable test") data := []byte("abcdefghijklmnopqrstuvwxyz0123456789") var i int r := bytes.NewReader(data) scanner := newScanner(r) for scanner.pos < atomic.LoadInt64(&scanner.end) { c := scanner.next() if scanner.readerErr != nil { t.Fatal(scanner.readerErr) } if c != data[i] { t.Fatalf("expected %s, got %s", string(data[i]), string(c)) }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 3.1K bytes - Click Count (0)