Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Sscanln (0.27 sec)

  1. src/fmt/doc.go

    An analogous set of functions scans formatted text to yield
    values.  [Scan], [Scanf] and [Scanln] read from [os.Stdin]; [Fscan],
    [Fscanf] and [Fscanln] read from a specified [io.Reader]; [Sscan],
    [Sscanf] and [Sscanln] read from an argument string.
    
    [Scan], [Fscan], [Sscan] treat newlines in the input as spaces.
    
    [Scanln], [Fscanln] and [Sscanln] stop scanning at a newline and
    require that the items be followed by a newline or EOF.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:56:20 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  2. src/fmt/scan.go

    func Sscan(str string, a ...any) (n int, err error) {
    	return Fscan((*stringReader)(&str), a...)
    }
    
    // Sscanln is similar to [Sscan], but stops scanning at a newline and
    // after the final item there must be a newline or EOF.
    func Sscanln(str string, a ...any) (n int, err error) {
    	return Fscanln((*stringReader)(&str), a...)
    }
    
    // Sscanf scans the argument string, storing successive space-separated
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:56:20 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  3. operator/cmd/mesh/shared.go

    }
    
    // Confirm waits for a user to confirm with the supplied message.
    func Confirm(msg string, writer io.Writer) bool {
    	for {
    		_, _ = fmt.Fprintf(writer, "%s ", msg)
    		var response string
    		_, err := fmt.Scanln(&response)
    		if err != nil {
    			return false
    		}
    		switch strings.ToUpper(response) {
    		case "Y", "YES":
    			return true
    		case "N", "NO":
    			return false
    		}
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 29 02:29:02 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"Fprintf", Func, 0},
    		{"Fprintln", Func, 0},
    		{"Fscan", Func, 0},
    		{"Fscanf", Func, 0},
    		{"Fscanln", Func, 0},
    		{"GoStringer", Type, 0},
    		{"Print", Func, 0},
    		{"Printf", Func, 0},
    		{"Println", Func, 0},
    		{"Scan", Func, 0},
    		{"ScanState", Type, 0},
    		{"Scanf", Func, 0},
    		{"Scanln", Func, 0},
    		{"Scanner", Type, 0},
    		{"Sprint", Func, 0},
    		{"Sprintf", Func, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  5. cmd/common-main.go

    			fmt.Println("Refer to the docs here on how to run it as a Windows Service https://github.com/minio/minio-service/tree/master/windows")
    			fmt.Println("Press the Enter Key to Exit")
    			fmt.Scanln()
    			os.Exit(1)
    		}
    	}
    
    	logger.Init(GOPATH, GOROOT)
    	logger.RegisterError(config.FmtError)
    
    	globalBatchJobsMetrics = batchJobMetrics{metrics: make(map[string]*batchJobInfo)}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 31.5K bytes
    - Viewed (0)
Back to top