Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 228 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/cmd/dist/util.go

    	sort.Strings(out)
    	keep := out[:0]
    	for _, x := range out {
    		if len(keep) == 0 || keep[len(keep)-1] != x {
    			keep = append(keep, x)
    		}
    	}
    	return keep
    }
    
    const (
    	CheckExit = 1 << iota
    	ShowOutput
    	Background
    )
    
    var outputLock sync.Mutex
    
    // run is like runEnv with no additional environment.
    func run(dir string, mode int, cmd ...string) string {
    	return runEnv(dir, mode, nil, cmd...)
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 23 17:50:29 UTC 2023
    - 11.2K 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/runtime/runtime1.go

    // The cached value is a uint32 in which the low bits
    // are the "crash" and "all" settings and the remaining
    // bits are the traceback value (0 off, 1 on, 2 include system).
    const (
    	tracebackCrash = 1 << iota
    	tracebackAll
    	tracebackShift = iota
    )
    
    var traceback_cache uint32 = 2 << tracebackShift
    var traceback_env uint32
    
    // gotraceback returns the current traceback settings.
    //
    // If level is 0, suppress all tracebacks.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 19.3K 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/runtime/mfinal.go

    	fin     [(_FinBlockSize - 2*goarch.PtrSize - 2*4) / unsafe.Sizeof(finalizer{})]finalizer
    }
    
    var fingStatus atomic.Uint32
    
    // finalizer goroutine status.
    const (
    	fingUninitialized uint32 = iota
    	fingCreated       uint32 = 1 << (iota - 1)
    	fingRunningFinalizer
    	fingWait
    	fingWake
    )
    
    var finlock mutex  // protects the following variables
    var fing *g        // goroutine that runs finalizers
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 01:56:56 UTC 2024
    - 19K bytes
    - Viewed (0)
  10. src/crypto/tls/quic.go

    	"errors"
    	"fmt"
    )
    
    // QUICEncryptionLevel represents a QUIC encryption level used to transmit
    // handshake messages.
    type QUICEncryptionLevel int
    
    const (
    	QUICEncryptionLevelInitial = QUICEncryptionLevel(iota)
    	QUICEncryptionLevelEarly
    	QUICEncryptionLevelHandshake
    	QUICEncryptionLevelApplication
    )
    
    func (l QUICEncryptionLevel) String() string {
    	switch l {
    	case QUICEncryptionLevelInitial:
    		return "Initial"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:23:54 UTC 2024
    - 15.1K bytes
    - Viewed (0)
Back to top