Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for CH (0.21 sec)

  1. src/cmd/asm/internal/lex/tokenizer.go

    		line: 1,
    		file: file,
    	}
    }
    
    // We want center dot (·) and division slash (∕) to work as identifier characters.
    func isIdentRune(ch rune, i int) bool {
    	if unicode.IsLetter(ch) {
    		return true
    	}
    	switch ch {
    	case '_': // Underscore; traditional.
    		return true
    	case '\u00B7': // Represents the period in runtime.exit. U+00B7 '·' middle dot
    		return true
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Aug 04 20:35:21 GMT 2022
    - 3K bytes
    - Viewed (0)
  2. 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 Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  3. 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 23 11:13:09 GMT 2024
    - Last Modified: Fri Oct 13 17:10:31 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  4. src/bytes/reader_test.go

    	}
    
    	if b, err := (&Reader{}).ReadByte(); b != 0 || err != io.EOF {
    		t.Errorf("ReadByte: got %d, %v; want 0, io.EOF", b, err)
    	}
    
    	if ch, size, err := (&Reader{}).ReadRune(); ch != 0 || size != 0 || err != io.EOF {
    		t.Errorf("ReadRune: got %d, %d, %v; want 0, 0, io.EOF", ch, size, err)
    	}
    
    	if offset, err := (&Reader{}).Seek(11, io.SeekStart); offset != 11 || err != nil {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Dec 13 18:45:54 GMT 2021
    - 8K bytes
    - Viewed (0)
  5. 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 Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 279.3K bytes
    - Viewed (0)
  6. 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 23 11:13:09 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
Back to top