Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 275 for scanOne (0.15 sec)

  1. src/cmd/compile/internal/ssa/testdata/hist.gdb-opt.nexts

    65:		if len(os.Args) > 1 {
    73:		scanner := bufio.NewScanner(reader)
    74:		for scanner.Scan() { //gdb-opt=(scanner/A)
    scanner = (bufio.Scanner *) <A>
    75:			s := scanner.Text()
    76:			i, err := strconv.ParseInt(s, 10, 64)
    77:			if err != nil { //gdb-dbg=(i) //gdb-opt=(err,hist,i)
    err = {tab = 0x0, data = 0x0}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 04 20:41:52 UTC 2019
    - 4.5K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/text/internal/language/parse.go

    }
    
    func makeScannerString(s string) scanner {
    	scan := scanner{}
    	if len(s) <= len(scan.bytes) {
    		scan.b = scan.bytes[:copy(scan.bytes[:], s)]
    	} else {
    		scan.b = []byte(s)
    	}
    	scan.init()
    	return scan
    }
    
    // makeScanner returns a scanner using b as the input buffer.
    // b is not copied and may be modified by the scanner routines.
    func makeScanner(b []byte) scanner {
    	scan := scanner{b: b}
    	scan.init()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  3. 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...
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Sep 11 21:48:54 UTC 2023
    - 17.7K bytes
    - Viewed (0)
  4. 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)) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sat Apr 15 17:24:20 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  5. 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()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 14:34:57 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/plugin/version/PluginVersionRequest.java

        /**
         * Gets the POM whose build plugins are to be scanned for the version.
         *
         * @return The POM whose build plugins are to be scanned for the version or {@code null} to only search the plugin
         *         repositories.
         */
        Model getPom();
    
        /**
         * Sets the POM whose build plugins are to be scanned for the version.
         *
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/testdata/hist.go

    		var err error
    		reader, err = os.Open(os.Args[1])
    		if err != nil {
    			fmt.Fprintf(os.Stderr, "There was an error opening %s: %v\n", os.Args[1], err)
    			return
    		}
    	}
    	scanner := bufio.NewScanner(reader)
    	for scanner.Scan() { //gdb-opt=(scanner/A)
    		s := scanner.Text()
    		i, err := strconv.ParseInt(s, 10, 64)
    		if err != nil { //gdb-dbg=(i) //gdb-opt=(err,hist,i)
    			fmt.Fprintf(os.Stderr, "There was an error: %v\n", err)
    			return
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 23 18:05:07 UTC 2018
    - 2.4K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/test/abiutilsaux_test.go

    }
    
    type expectedDump struct {
    	dump string
    	file string
    	line int
    }
    
    func tokenize(src string) []string {
    	var s scanner.Scanner
    	s.Init(strings.NewReader(src))
    	res := []string{}
    	for tok := s.Scan(); tok != scanner.EOF; tok = s.Scan() {
    		res = append(res, s.TokenText())
    	}
    	return res
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 18:34:00 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  9. test/fixedbugs/issue50169.go

    // license that can be found in the LICENSE file.
    
    package main
    
    func main() {
    	var x Value
    	NewScanner().Scan(x)
    }
    
    type Value any
    
    type Scanner interface{ Scan(any) error }
    
    func NewScanner() Scanner {
    	return &t{}
    }
    
    type t struct{}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 15 20:26:03 UTC 2021
    - 407 bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/plugin/prefix/PluginPrefixRequest.java

         * Gets the POM whose build plugins are to be scanned for the prefix.
         *
         * @return The POM whose build plugins are to be scanned for the prefix or {@code null} to only search the plugin
         *         repositories.
         */
        Model getPom();
    
        /**
         * Sets the POM whose build plugins are to be scanned for the prefix.
         *
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 3.6K bytes
    - Viewed (0)
Back to top