Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 448 for iota (0.04 sec)

  1. src/cmd/vendor/golang.org/x/tools/internal/typesinternal/errorcode.go

    	//  of an assignment."
    	//
    	// Example:
    	//  var x = _
    	InvalidBlank
    
    	// InvalidIota occurs when the predeclared identifier iota is used outside
    	// of a constant declaration.
    	//
    	// Example:
    	//  var x = iota
    	InvalidIota
    
    	// MissingInitBody occurs when an init function is missing its body.
    	//
    	// Example:
    	//  func init()
    	MissingInitBody
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 34K bytes
    - Viewed (0)
  2. src/syscall/js/js.go

    	gcPtr *ref      // used to trigger the finalizer when the Value is not referenced any more
    }
    
    const (
    	// the type flags need to be in sync with wasm_exec.js
    	typeFlagNone = iota
    	typeFlagObject
    	typeFlagString
    	typeFlagSymbol
    	typeFlagFunction
    )
    
    func makeValue(r ref) Value {
    	var gcPtr *ref
    	typeFlag := (r >> 32) & 7
    	if (r>>32)&nanHead == nanHead && typeFlag != typeFlagNone {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 19 14:35:26 UTC 2024
    - 19.5K 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/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)
  5. 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)
  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/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)
  8. 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)
  9. 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)
  10. 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)
Back to top