Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 153 of 153 for CST (0.02 sec)

  1. src/reflect/all_test.go

    	// check String form of ChanDir
    	if crt.ChanDir().String() != "<-chan" {
    		t.Errorf("chan dir: have %q, want %q", crt.ChanDir().String(), "<-chan")
    	}
    	if cst.ChanDir().String() != "chan<-" {
    		t.Errorf("chan dir: have %q, want %q", cst.ChanDir().String(), "chan<-")
    	}
    }
    
    func TestChanOfGC(t *testing.T) {
    	done := make(chan bool, 1)
    	go func() {
    		select {
    		case <-done:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  2. doc/go1.17_spec.html

    <p>
    Type definitions may be used to define different boolean, numeric,
    or string types and associate methods with them:
    </p>
    
    <pre>
    type TimeZone int
    
    const (
    	EST TimeZone = -(5 + iota)
    	CST
    	MST
    	PST
    )
    
    func (tz TimeZone) String() string {
    	return fmt.Sprintf("GMT%+dh", tz)
    }
    </pre>
    
    
    <h3 id="Variable_declarations">Variable declarations</h3>
    
    <p>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  3. doc/go_spec.html

    <p>
    Type definitions may be used to define different boolean, numeric,
    or string types and associate methods with them:
    </p>
    
    <pre>
    type TimeZone int
    
    const (
    	EST TimeZone = -(5 + iota)
    	CST
    	MST
    	PST
    )
    
    func (tz TimeZone) String() string {
    	return fmt.Sprintf("GMT%+dh", tz)
    }
    </pre>
    
    <p>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 21:07:21 UTC 2024
    - 281.5K bytes
    - Viewed (1)
Back to top