Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 157 for iota (0.08 sec)

  1. src/net/http/fcgi/fcgi.go

    const flagKeepConn = 1
    
    const (
    	maxWrite = 65535 // maximum record body
    	maxPad   = 255
    )
    
    const (
    	roleResponder = iota + 1 // only Responders are implemented.
    	roleAuthorizer
    	roleFilter
    )
    
    const (
    	statusRequestComplete = iota
    	statusCantMultiplex
    	statusOverloaded
    	statusUnknownRole
    )
    
    type header struct {
    	Version       uint8
    	Type          recType
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 11 18:51:39 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/selection.go

    // inserted for "pointerness" are not evaluated until the function is
    // called, so a T.f or (*T).f expression never panics.
    type SelectionKind int
    
    const (
    	FieldVal   SelectionKind = iota // x.f is a struct field selector
    	MethodVal                       // x.f is a method selector
    	MethodExpr                      // x.f is a method expression
    )
    
    // A Selection describes a selector expression x.f.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/staticdata/embed.go

    import (
    	"path"
    	"sort"
    	"strings"
    
    	"cmd/compile/internal/base"
    	"cmd/compile/internal/ir"
    	"cmd/compile/internal/objw"
    	"cmd/compile/internal/types"
    	"cmd/internal/obj"
    )
    
    const (
    	embedUnknown = iota
    	embedBytes
    	embedString
    	embedFiles
    )
    
    func embedFileList(v *ir.Name, kind int) []string {
    	// Build list of files to store.
    	have := make(map[string]bool)
    	var list []string
    	for _, e := range *v.Embed {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 10 18:22:02 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/errors.go

    		// TODO(gri) We may also want to augment the error message and
    		// refer to the position (pos) in the original expression.
    		if check.errpos.Pos().IsKnown() {
    			assert(check.iota != nil)
    			pos = check.errpos
    		}
    
    		// Report invalid syntax trees explicitly.
    		if code == InvalidSyntaxTree {
    			msg = "invalid syntax tree: " + msg
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 22:06:18 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/arch/ppc64/ppc64asm/decode.go

    		off := a.BitFields.ParseSigned(i) << a.Shift
    		neg := int64(-1) << (int(a.Shift) + a.BitFields.NumBits())
    		return Offset(neg | off)
    	}
    }
    
    type ArgType int8
    
    const (
    	TypeUnknown      ArgType = iota
    	TypePCRel                // PC-relative address
    	TypeLabel                // absolute address
    	TypeReg                  // integer register
    	TypeCondRegBit           // conditional register bit (0-31)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 17:16:14 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/slog/slog.go

    // A position describes what is expected to appear in an argument position.
    type position int
    
    const (
    	// key is an argument position that should hold a string key or an Attr.
    	key position = iota
    	// value is an argument position that should hold a value.
    	value
    	// unknown represents that we do not know if position should hold a key or a value.
    	unknown
    )
    
    func run(pass *analysis.Pass) (any, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  7. src/go/parser/interface.go

    }
    
    // A Mode value is a set of flags (or 0).
    // They control the amount of source code parsed and other optional
    // parser functionality.
    type Mode uint
    
    const (
    	PackageClauseOnly    Mode             = 1 << iota // stop parsing after package clause
    	ImportsOnly                                       // stop parsing after import declarations
    	ParseComments                                     // parse comments and add them to AST
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  8. src/cmd/internal/objabi/head.go

    // THE SOFTWARE.
    
    package objabi
    
    import "fmt"
    
    // HeadType is the executable header type.
    type HeadType uint8
    
    const (
    	Hunknown HeadType = iota
    	Hdarwin
    	Hdragonfly
    	Hfreebsd
    	Hjs
    	Hlinux
    	Hnetbsd
    	Hopenbsd
    	Hplan9
    	Hsolaris
    	Hwasip1
    	Hwindows
    	Haix
    )
    
    func (h *HeadType) Set(s string) error {
    	switch s {
    	case "aix":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 30 18:50:57 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  9. src/runtime/sigqueue.go

    	wanted     [(_NSIG + 31) / 32]uint32
    	ignored    [(_NSIG + 31) / 32]uint32
    	recv       [(_NSIG + 31) / 32]uint32
    	state      atomic.Uint32
    	delivering atomic.Uint32
    	inuse      bool
    }
    
    const (
    	sigIdle = iota
    	sigReceiving
    	sigSending
    )
    
    // sigsend delivers a signal from sighandler to the internal signal delivery queue.
    // It reports whether the signal was sent. If not, the caller typically crashes the program.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  10. src/cmd/internal/cov/readcovdata.go

    	Finish()
    }
    
    type CovDataReaderFlags uint32
    
    const (
    	CovDataReaderNoFlags CovDataReaderFlags = 0
    	PanicOnError                            = 1 << iota
    	PanicOnWarning
    )
    
    func (r *CovDataReader) Visit() error {
    	podlist, err := pods.CollectPods(r.indirs, false)
    	if err != nil {
    		return fmt.Errorf("reading inputs: %v", err)
    	}
    	if len(podlist) == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 8.4K bytes
    - Viewed (0)
Back to top