Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for doesn (0.03 sec)

  1. src/bytes/iter.go

    )
    
    // Lines returns an iterator over the newline-terminated lines in the byte slice s.
    // The lines yielded by the iterator include their terminating newlines.
    // If s is empty, the iterator yields no lines at all.
    // If s does not end in a newline, the final yielded line will not end in a newline.
    // It returns a single-use iterator.
    func Lines(s []byte) iter.Seq[[]byte] {
    	return func(yield func([]byte) bool) {
    		for len(s) > 0 {
    			var line []byte
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 14 18:23:13 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. src/bufio/example_test.go

    		}
    		if !atEOF {
    			return 0, nil, nil
    		}
    		// There is one final token to be delivered, which may be the empty string.
    		// Returning bufio.ErrFinalToken here tells Scan there are no more tokens after this
    		// but does not trigger an error to be returned from Scan itself.
    		return 0, data, bufio.ErrFinalToken
    	}
    	scanner.Split(onComma)
    	// Scan.
    	for scanner.Scan() {
    		fmt.Printf("%q ", scanner.Text())
    	}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. .github/ISSUE_TEMPLATE/11-language-change.yml

          description: If so, how does this proposal differ?
          placeholder: |
           Yes or No
    
           If yes, 
            1. Mention the related proposals 
            2. then describe how this proposal differs       
        validations:
          required: true
    
      - type: textarea
        id: error-handling-proposal
        attributes:
          label: Does this affect error handling?
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Aug 08 19:02:29 UTC 2024
    - 4.7K bytes
    - Viewed (0)
Back to top