Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 449 for iota (0.04 sec)

  1. src/image/jpeg/writer.go

    	8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,
    	8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,
    	8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,
    }
    
    type quantIndex int
    
    const (
    	quantIndexLuminance quantIndex = iota
    	quantIndexChrominance
    	nQuantIndex
    )
    
    // unscaledQuant are the unscaled quantization tables in zig-zag order. Each
    // encoder copies and scales the tables according to its quality parameter.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 17.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/resolver.go

    					check.declare(fileScope, nil, pkgName, nopos)
    				}
    
    			case *syntax.ConstDecl:
    				// iota is the index of the current constDecl within the group
    				if first < 0 || s.Group == nil || file.DeclList[index-1].(*syntax.ConstDecl).Group != s.Group {
    					first = index
    					last = nil
    				}
    				iota := constant.MakeInt64(int64(index - first))
    
    				// determine which initialization expressions to use
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 14:10:44 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. src/cmd/compile/internal/ssa/_gen/main.go

    		if a.pkg != "" {
    			fmt.Fprintf(w, "%q\n", a.pkg)
    		}
    	}
    	fmt.Fprintln(w, ")")
    
    	// generate Block* declarations
    	fmt.Fprintln(w, "const (")
    	fmt.Fprintln(w, "BlockInvalid BlockKind = iota")
    	for _, a := range archs {
    		fmt.Fprintln(w)
    		for _, d := range a.blocks {
    			fmt.Fprintf(w, "Block%s%s\n", a.Name(), d.name)
    		}
    	}
    	fmt.Fprintln(w, ")")
    
    	// generate block kind string method
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 22:42:34 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  7. 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)
  8. src/cmd/compile/internal/types2/stmt.go

    	defer func(env environment, indent int) {
    		check.environment = env
    		check.indent = indent
    	}(check.environment, check.indent)
    	check.environment = environment{
    		decl:  decl,
    		scope: sig.scope,
    		iota:  iota,
    		sig:   sig,
    	}
    	check.indent = 0
    
    	check.stmtList(0, body.List)
    
    	if check.hasLabel && !check.conf.IgnoreBranchErrors {
    		check.labels(body)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  9. src/runtime/lockrank.go

    // in addition to satisfying the partial order in lockPartialOrder.
    // A few ranks allow self-cycles, which are specified in lockPartialOrder.
    const (
    	lockRankUnknown lockRank = iota
    
    	lockRankSysmon
    	lockRankScavenge
    	lockRankForcegc
    	lockRankDefer
    	lockRankSweepWaiters
    	lockRankAssistQueue
    	lockRankSweep
    	lockRankTestR
    	lockRankTestW
    	lockRankTimerSend
    	lockRankAllocmW
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  10. src/go/types/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 != nil && check.errpos.Pos().IsValid() {
    			assert(check.iota != nil)
    			posn = 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
    - 8.5K bytes
    - Viewed (0)
Back to top