Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 185 for iota (0.2 sec)

  1. 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)
  2. 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)
  3. src/go/doc/exports.go

    			// identifiers on the LHS with underscore, so that it matches
    			// the sequence of expression on the RHS.
    			//
    			// Similarly, if there are no type and values, then this expression
    			// must be following an iota expression, where order matters.
    			if updateIdentList(s.Names) {
    				r.filterType(nil, s.Type)
    				return true
    			}
    		} else {
    			s.Names = filterIdentList(s.Names)
    			if len(s.Names) > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 01 18:18:07 UTC 2022
    - 8.5K bytes
    - Viewed (0)
  4. src/runtime/traceallocfree.go

    // Runtime -> tracer API for memory events.
    
    package runtime
    
    import (
    	"internal/abi"
    	"runtime/internal/sys"
    )
    
    // Batch type values for the alloc/free experiment.
    const (
    	traceAllocFreeTypesBatch = iota // Contains types. [{id, address, size, ptrspan, name length, name string} ...]
    	traceAllocFreeInfoBatch         // Contains info for interpreting events. [min heap addr, page size, min heap align, min stack align]
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:32:51 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/go/cfg/cfg.go

    	succs2 [2]*Block // underlying array for Succs
    }
    
    // A BlockKind identifies the purpose of a block.
    // It also determines the possible types of its Stmt field.
    type BlockKind uint8
    
    const (
    	KindInvalid BlockKind = iota // Stmt=nil
    
    	KindUnreachable     // unreachable block after {Branch,Return}Stmt / no-return call ExprStmt
    	KindBody            // function body BlockStmt
    	KindForBody         // body of ForStmt
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  6. src/slices/sort.go

    	return i, i < n && cmp(x[i], target) == 0
    }
    
    type sortedHint int // hint for pdqsort when choosing the pivot
    
    const (
    	unknownHint sortedHint = iota
    	increasingHint
    	decreasingHint
    )
    
    // xorshift paper: https://www.jstatsoft.org/article/view/v008i14/xorshift.pdf
    type xorshift uint64
    
    func (r *xorshift) Next() uint64 {
    	*r ^= *r << 13
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 07 23:54:41 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. src/encoding/xml/typeinfo.go

    type fieldInfo struct {
    	idx     []int
    	name    string
    	xmlns   string
    	flags   fieldFlags
    	parents []string
    }
    
    type fieldFlags int
    
    const (
    	fElement fieldFlags = 1 << iota
    	fAttr
    	fCDATA
    	fCharData
    	fInnerXML
    	fComment
    	fAny
    
    	fOmitEmpty
    
    	fMode = fElement | fAttr | fCDATA | fCharData | fInnerXML | fComment | fAny
    
    	xmlName = "XMLName"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 07 00:23:29 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  8. src/image/ycbcr.go

    package image
    
    import (
    	"image/color"
    )
    
    // YCbCrSubsampleRatio is the chroma subsample ratio used in a YCbCr image.
    type YCbCrSubsampleRatio int
    
    const (
    	YCbCrSubsampleRatio444 YCbCrSubsampleRatio = iota
    	YCbCrSubsampleRatio422
    	YCbCrSubsampleRatio420
    	YCbCrSubsampleRatio440
    	YCbCrSubsampleRatio411
    	YCbCrSubsampleRatio410
    )
    
    func (s YCbCrSubsampleRatio) String() string {
    	switch s {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  9. src/io/fs/fs.go

    // changed, although new bits might be added.
    const (
    	// The single letters are the abbreviations
    	// used by the String method's formatting.
    	ModeDir        FileMode = 1 << (32 - 1 - iota) // d: is a directory
    	ModeAppend                                     // a: append-only
    	ModeExclusive                                  // l: exclusive use
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 15 21:21:41 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  10. src/runtime/mklockrank.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
    
    `)
    	for _, rank := range topo {
    		if isPseudo(rank) {
    			fmt.Fprintf(w, "\t// %s\n", rank)
    		} else {
    			fmt.Fprintf(w, "\t%s\n", cname(rank))
    		}
    	}
    	fmt.Fprintf(w, `)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top