Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 449 for iota (0.13 sec)

  1. test/typeparam/graph.go

    					workqueue = append(workqueue, nodePath[_Node, _Edge]{a, ve})
    					visited[a] = true
    				}
    			}
    		}
    	}
    	return nil, errors.New("no path")
    }
    
    type direction int
    
    const (
    	north direction = iota
    	ne
    	east
    	se
    	south
    	sw
    	west
    	nw
    	up
    	down
    )
    
    func (dir direction) String() string {
    	strs := map[direction]string{
    		north: "north",
    		ne:    "ne",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. src/go/types/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.labels(body)
    	}
    
    	if sig.results.Len() > 0 && !check.isTerminating(body, "") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  3. 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)
  4. src/cmd/vendor/golang.org/x/text/unicode/norm/composition.go

    // ssState is used for reporting the segment state after inserting a rune.
    // It is returned by streamSafe.next.
    type ssState int
    
    const (
    	// Indicates a rune was successfully added to the segment.
    	ssSuccess ssState = iota
    	// Indicates a rune starts a new segment and should not be added.
    	ssStarter
    	// Indicates a rune caused a segment overflow and a CGJ should be inserted.
    	ssOverflow
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  5. src/syscall/types_windows.go

    )
    
    const (
    	// do not reorder
    	FILE_NOTIFY_CHANGE_FILE_NAME = 1 << iota
    	FILE_NOTIFY_CHANGE_DIR_NAME
    	FILE_NOTIFY_CHANGE_ATTRIBUTES
    	FILE_NOTIFY_CHANGE_SIZE
    	FILE_NOTIFY_CHANGE_LAST_WRITE
    	FILE_NOTIFY_CHANGE_LAST_ACCESS
    	FILE_NOTIFY_CHANGE_CREATION
    )
    
    const (
    	// do not reorder
    	FILE_ACTION_ADDED = iota + 1
    	FILE_ACTION_REMOVED
    	FILE_ACTION_MODIFIED
    	FILE_ACTION_RENAMED_OLD_NAME
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 06:04:31 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. doc/go_spec.html

    	b = 1 &lt;&lt; iota  // b == 2  (iota == 1)
    	c = 3          // c == 3  (iota == 2, unused)
    	d = 1 &lt;&lt; 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)
  10. 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)
Back to top