Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 481 for iota (0.11 sec)

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

    		// case of constants and iota.
    		if vspec.Type != nil {
    			typ = vspec.Type
    		}
    
    		for _, ident := range vspec.Names {
    			if showSrc || isExported(ident.Name) {
    				if vspec.Type == nil && vspec.Values == nil && typ != nil {
    					// This a standalone identifier, as in the case of iota usage.
    					// Thus, assume the type comes from the previous type.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 08 20:15:52 UTC 2024
    - 32K bytes
    - Viewed (0)
  3. src/time/format.go

    	stdZeroSecond                                  // "05"
    	stdLongYear              = iota + stdNeedDate  // "2006"
    	stdYear                                        // "06"
    	stdPM                    = iota + stdNeedClock // "PM"
    	stdpm                                          // "pm"
    	stdTZ                    = iota                // "MST"
    	stdISO8601TZ                                   // "Z0700"  // prints Z for UTC
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:28 UTC 2024
    - 49.3K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/text/language/language.go

    }
    
    // CanonType can be used to enable or disable various types of canonicalization.
    type CanonType int
    
    const (
    	// Replace deprecated base languages with their preferred replacements.
    	DeprecatedBase CanonType = 1 << iota
    	// Replace deprecated scripts with their preferred replacements.
    	DeprecatedScript
    	// Replace deprecated regions with their preferred replacements.
    	DeprecatedRegion
    	// Remove redundant scripts.
    	SuppressScript
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  5. src/internal/zstd/block.go

    		return nil
    	}
    
    	return r.execSeqs(data, off, litbuf, seqCount)
    }
    
    // seqCode is the kind of sequence codes we have to handle.
    type seqCode int
    
    const (
    	seqLiteral seqCode = iota
    	seqOffset
    	seqMatch
    )
    
    // seqCodeInfoData is the information needed to set up seqTables and
    // seqTableBits for a particular kind of sequence code.
    type seqCodeInfoData struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 28 17:57:43 UTC 2023
    - 10.2K 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/runtime/metrics.go

    	metrics[name] = d
    	metricsUnlock()
    }
    
    // statDep is a dependency on a group of statistics
    // that a metric might have.
    type statDep uint
    
    const (
    	heapStatsDep statDep = iota // corresponds to heapStatsAggregate
    	sysStatsDep                 // corresponds to sysStatsAggregate
    	cpuStatsDep                 // corresponds to cpuStatsAggregate
    	gcStatsDep                  // corresponds to gcStatsAggregate
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 21:03:13 UTC 2024
    - 26K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top