Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for iota (0.1 sec)

  1. doc/go_spec.html

    	b = 1 << iota  // b == 2  (iota == 1)
    	c = 3          // c == 3  (iota == 2, unused)
    	d = 1 << iota  // d == 8  (iota == 3)
    )
    
    const (
    	u         = iota * 42  // u == 0     (untyped integer constant)
    	v float64 = iota * 42  // v == 42.0  (float64 constant)
    	w         = iota * 42  // w == 84    (untyped integer constant)
    )
    
    const x = iota  // x == 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 21:07:21 UTC 2024
    - 281.5K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssagen/ssa.go

    	if s.softFloat {
    		if c, ok := s.sfcall(op, arg0, arg1); ok {
    			return c
    		}
    	}
    	return s.newValue2(op, t, arg0, arg1)
    }
    
    type instrumentKind uint8
    
    const (
    	instrumentRead = iota
    	instrumentWrite
    	instrumentMove
    )
    
    func (s *state) instrument(t *types.Type, addr *ssa.Value, kind instrumentKind) {
    	s.instrument2(t, addr, nil, kind)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  3. src/net/http/h2_bundle.go

    // https://lists.w3.org/Archives/Public/ietf-http-wg/2016JulSep/0599.html
    //
    // "reserved (remote)" is omitted since the client code does not
    // support server push.
    const (
    	http2stateIdle http2streamState = iota
    	http2stateOpen
    	http2stateHalfClosedLocal
    	http2stateHalfClosedRemote
    	http2stateClosed
    )
    
    var http2stateName = [...]string{
    	http2stateIdle:             "Idle",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 364.1K bytes
    - Viewed (0)
Back to top