Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 46 for iota (0.05 sec)

  1. src/go/printer/testdata/parser.go

    	pos := p.expect(keyword)
    	var lparen, rparen token.Pos
    	var list []ast.Spec
    	if p.tok == token.LPAREN {
    		lparen = p.pos
    		p.next()
    		for iota := 0; p.tok != token.RPAREN && p.tok != token.EOF; iota++ {
    			list = append(list, f(p, p.leadComment, iota))
    		}
    		rparen = p.expect(token.RPAREN)
    		p.expectSemi()
    	} else {
    		list = append(list, f(p, nil, 0))
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 20:19:51 UTC 2023
    - 50.5K bytes
    - Viewed (0)
  2. src/time/format.go

    	stdZeroSecond                                  // "05"
    	stdLongYear              = iota + stdNeedDate  // "2006"
    	stdYear                                        // "06"
    	stdPM                    = iota + stdNeedClock // "PM"
    	stdpm                                          // "pm"
    	stdTZ                    = iota                // "MST"
    	stdISO8601TZ                                   // "Z0700"  // prints Z for UTC
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:28 UTC 2024
    - 49.3K bytes
    - Viewed (0)
  3. src/go/parser/parser.go

    	pos := p.expect(keyword)
    	var lparen, rparen token.Pos
    	var list []ast.Spec
    	if p.tok == token.LPAREN {
    		lparen = p.pos
    		p.next()
    		for iota := 0; p.tok != token.RPAREN && p.tok != token.EOF; iota++ {
    			list = append(list, f(p.leadComment, keyword, iota))
    		}
    		rparen = p.expect(token.RPAREN)
    		p.expectSemi()
    	} else {
    		list = append(list, f(nil, keyword, 0))
    	}
    
    	return &ast.GenDecl{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 08 20:07:50 UTC 2023
    - 72.2K bytes
    - Viewed (0)
  4. src/go/types/expr.go

    				// init expression/func declaration which contains
    				// them: use existing package-level declaration info.
    				decl := check.decl // capture for use in closure below
    				iota := check.iota // capture for use in closure below (go.dev/issue/22345)
    				// Don't type-check right away because the function may
    				// be part of a type definition to which the function
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  5. src/runtime/mgc.go

    // gcBlackenEnabled is 1 if mutator assists and background mark
    // workers are allowed to blacken objects. This must only be set when
    // gcphase == _GCmark.
    var gcBlackenEnabled uint32
    
    const (
    	_GCoff             = iota // GC not running; sweeping in background, write barrier disabled
    	_GCmark                   // GC marking roots and workbufs: allocate black, write barrier ENABLED
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
  6. src/crypto/x509/x509.go

    	for _, details := range signatureAlgorithmDetails {
    		if details.algo == algo {
    			return details.name
    		}
    	}
    	return strconv.Itoa(int(algo))
    }
    
    type PublicKeyAlgorithm int
    
    const (
    	UnknownPublicKeyAlgorithm PublicKeyAlgorithm = iota
    	RSA
    	DSA // Only supported for parsing.
    	ECDSA
    	Ed25519
    )
    
    var publicKeyAlgoName = [...]string{
    	RSA:     "RSA",
    	DSA:     "DSA",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:20:15 UTC 2024
    - 82K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/prove.go

    // license that can be found in the LICENSE file.
    
    package ssa
    
    import (
    	"cmd/internal/src"
    	"fmt"
    	"math"
    )
    
    type branch int
    
    const (
    	unknown branch = iota
    	positive
    	negative
    	// The outedges from a jump table are jumpTable0,
    	// jumpTable0+1, jumpTable0+2, etc. There could be an
    	// arbitrary number so we can't list them all here.
    	jumpTable0
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:30:21 UTC 2024
    - 48.9K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/windows/security_windows.go

    		}
    		if e != ERROR_INSUFFICIENT_BUFFER {
    			return "", e
    		}
    		if n <= uint32(len(b)) {
    			return "", e
    		}
    	}
    }
    
    const (
    	// do not reorder
    	NetSetupUnknownStatus = iota
    	NetSetupUnjoined
    	NetSetupWorkgroupName
    	NetSetupDomainName
    )
    
    type UserInfo10 struct {
    	Name       *uint16
    	Comment    *uint16
    	UsrComment *uint16
    	FullName   *uint16
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 52.5K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/expr.go

    				// init expression/func declaration which contains
    				// them: use existing package-level declaration info.
    				decl := check.decl // capture for use in closure below
    				iota := check.iota // capture for use in closure below (go.dev/issue/22345)
    				// Don't type-check right away because the function may
    				// be part of a type definition to which the function
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types/type.go

    type Object interface {
    	Pos() src.XPos
    	Sym() *Sym
    	Type() *Type
    }
    
    //go:generate stringer -type Kind -trimprefix T type.go
    
    // Kind describes a kind of type.
    type Kind uint8
    
    const (
    	Txxx Kind = iota
    
    	TINT8
    	TUINT8
    	TINT16
    	TUINT16
    	TINT32
    	TUINT32
    	TINT64
    	TUINT64
    	TINT
    	TUINT
    	TUINTPTR
    
    	TCOMPLEX64
    	TCOMPLEX128
    
    	TFLOAT32
    	TFLOAT64
    
    	TBOOL
    
    	TPTR
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 49.5K bytes
    - Viewed (0)
Back to top