Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 481 for iota (0.09 sec)

  1. 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)
  2. 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)
  3. src/html/template/content.go

    	// the encapsulated content should come from a trusted source,
    	// as it will be included verbatim in the template output.
    	Srcset string
    )
    
    type contentType uint8
    
    const (
    	contentTypePlain contentType = iota
    	contentTypeCSS
    	contentTypeHTML
    	contentTypeHTMLAttr
    	contentTypeJS
    	contentTypeJSStr
    	contentTypeURL
    	contentTypeSrcset
    	// contentTypeUnsafe is used in attr.go for values that affect how
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 01 14:30:25 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  4. 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)
  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/regexp/syntax/regexp.go

    		case OpPlus:
    			b.WriteRune('+')
    		case OpQuest:
    			b.WriteRune('?')
    		case OpRepeat:
    			b.WriteRune('{')
    			b.WriteString(strconv.Itoa(re.Min))
    			if re.Max != re.Min {
    				b.WriteRune(',')
    				if re.Max >= 0 {
    					b.WriteString(strconv.Itoa(re.Max))
    				}
    			}
    			b.WriteRune('}')
    		}
    		if re.Flags&NonGreedy != 0 {
    			b.WriteRune('?')
    		}
    	case OpConcat:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:51 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top