Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for CH (0.12 sec)

  1. doc/go1.17_spec.html

    </p>
    
    <pre>
    v1 := &lt;-ch
    v2 = &lt;-ch
    f(&lt;-ch)
    &lt;-strobe  // wait until clock pulse and discard received value
    </pre>
    
    <p>
    A receive expression used in an <a href="#Assignments">assignment</a> or initialization of the special form
    </p>
    
    <pre>
    x, ok = &lt;-ch
    x, ok := &lt;-ch
    var x, ok = &lt;-ch
    var x, ok T = &lt;-ch
    </pre>
    
    <p>
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  2. src/bytes/reader.go

    	r.i--
    	return nil
    }
    
    // ReadRune implements the [io.RuneReader] interface.
    func (r *Reader) ReadRune() (ch rune, size int, err error) {
    	if r.i >= int64(len(r.s)) {
    		r.prevRune = -1
    		return 0, 0, io.EOF
    	}
    	r.prevRune = int(r.i)
    	if c := r.s[r.i]; c < utf8.RuneSelf {
    		r.i++
    		return rune(c), 1, nil
    	}
    	ch, size = utf8.DecodeRune(r.s[r.i:])
    	r.i += int64(size)
    	return
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 17:10:31 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  3. doc/go_spec.html

    </p>
    
    <pre>
    v1 := &lt;-ch
    v2 = &lt;-ch
    f(&lt;-ch)
    &lt;-strobe  // wait until clock pulse and discard received value
    </pre>
    
    <p>
    A receive expression used in an <a href="#Assignment_statements">assignment statement</a> or initialization of the special form
    </p>
    
    <pre>
    x, ok = &lt;-ch
    x, ok := &lt;-ch
    var x, ok = &lt;-ch
    var x, ok T = &lt;-ch
    </pre>
    
    <p>
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  4. src/bytes/bytes.go

    			if bytealg.MaxLen >= width {
    				if bytealg.IndexString(chars, string(r)) >= 0 {
    					return i
    				}
    				continue
    			}
    		}
    		for _, ch := range chars {
    			if r == ch {
    				return i
    			}
    		}
    	}
    	return -1
    }
    
    // LastIndexAny interprets s as a sequence of UTF-8-encoded Unicode code
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
Back to top