Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 481 for iota (0.17 sec)

  1. src/net/conf.go

    	goos     string   // copy of runtime.GOOS, used for testing
    	mdnsTest mdnsTest // assume /etc/mdns.allow exists, for testing
    }
    
    // mdnsTest is for testing only.
    type mdnsTest int
    
    const (
    	mdnsFromSystem mdnsTest = iota
    	mdnsAssumeExists
    	mdnsAssumeDoesNotExist
    )
    
    var (
    	confOnce sync.Once // guards init of confVal via initConfVal
    	confVal  = &conf{goos: runtime.GOOS}
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 03:13:26 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  2. src/internal/trace/internal/oldtrace/parser.go

    type Frame struct {
    	PC uint64
    	// string ID of the function name
    	Fn uint64
    	// string ID of the file name
    	File uint64
    	Line int
    }
    
    const (
    	// Special P identifiers:
    	FakeP    = 1000000 + iota
    	TimerP   // contains timer unblocks
    	NetpollP // contains network unblocks
    	SyscallP // contains returns from syscalls
    	GCP      // contains GC state
    	ProfileP // contains recording of CPU profile samples
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 46.8K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/expr.go

    				// init expression/func declaration which contains
    				// them: use existing package-level declaration info.
    				decl := check.decl // capture for use in closure below
    				iota := check.iota // capture for use in closure below (go.dev/issue/22345)
    				// Don't type-check right away because the function may
    				// be part of a type definition to which the function
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
  4. src/cmd/cgo/ast.go

    		return
    	}
    
    	for _, exp := range f.ExpFunc {
    		if exp.Func.Name.Name == n.Name.Name {
    			exp.Func = n
    			break
    		}
    	}
    }
    
    type astContext int
    
    const (
    	ctxProg astContext = iota
    	ctxEmbedType
    	ctxType
    	ctxStmt
    	ctxExpr
    	ctxField
    	ctxParam
    	ctxAssign2 // assignment of a single expression to two variables
    	ctxSwitch
    	ctxTypeSwitch
    	ctxFile
    	ctxDecl
    	ctxSpec
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 07 16:54:27 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/sccp.go

    // by just combining constant folding and constant propagation and dead code
    // elimination separately.
    
    // Three level lattice holds compile time knowledge about SSA value
    const (
    	top      int8 = iota // undefined
    	constant             // constant
    	bottom               // not a constant
    )
    
    type lattice struct {
    	tag int8   // lattice type
    	val *Value // constant value
    }
    
    type worklist struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 16:54:50 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  6. src/cmd/internal/test2json/test2json.go

    	"encoding/json"
    	"fmt"
    	"io"
    	"strconv"
    	"strings"
    	"time"
    	"unicode"
    	"unicode/utf8"
    )
    
    // Mode controls details of the conversion.
    type Mode int
    
    const (
    	Timestamp Mode = 1 << iota // include Time in events
    )
    
    // event is the JSON struct we emit.
    type event struct {
    	Time    *time.Time `json:",omitempty"`
    	Action  string
    	Package string     `json:",omitempty"`
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 09 17:33:07 UTC 2022
    - 14.5K bytes
    - Viewed (0)
  7. src/time/zoneinfo_read.go

    	//	number of standard/wall indicators
    	//	number of leap seconds
    	//	number of transition times
    	//	number of local time zones
    	//	number of characters of time zone abbrev strings
    	const (
    		NUTCLocal = iota
    		NStdWall
    		NLeap
    		NTime
    		NZone
    		NChar
    	)
    	var n [6]int
    	for i := 0; i < 6; i++ {
    		nn, ok := d.big4()
    		if !ok {
    			return nil, errBadData
    		}
    		if uint32(int(nn)) != nn {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  8. src/cmd/link/internal/ld/main.go

    // neither true nor false, allowing it to be set from context (e.g. from another
    // flag).
    // *ternaryFlag implements flag.Value.
    type ternaryFlag int
    
    const (
    	ternaryFlagUnset ternaryFlag = iota
    	ternaryFlagFalse
    	ternaryFlagTrue
    )
    
    func (t *ternaryFlag) Set(s string) error {
    	v, err := strconv.ParseBool(s)
    	if err != nil {
    		return err
    	}
    	if v {
    		*t = ternaryFlagTrue
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:59:50 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  9. src/internal/trace/oldtrace.go

    	lastTs         Time
    	procMs         map[ProcID]ThreadID
    	lastStwReason  uint64
    
    	inlineToStringID  []uint64
    	builtinToStringID []uint64
    }
    
    const (
    	// Block reasons
    	sForever = iota
    	sPreempted
    	sGosched
    	sSleep
    	sChanSend
    	sChanRecv
    	sNetwork
    	sSync
    	sSyncCond
    	sSelect
    	sEmpty
    	sMarkAssistWait
    
    	// STW kinds
    	sSTWUnknown
    	sSTWGCMarkTermination
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  10. src/log/slog/value.go

    )
    
    // Kind is the kind of a [Value].
    type Kind int
    
    // The following list is sorted alphabetically, but it's also important that
    // KindAny is 0 so that a zero Value represents nil.
    
    const (
    	KindAny Kind = iota
    	KindBool
    	KindDuration
    	KindFloat64
    	KindInt64
    	KindString
    	KindTime
    	KindUint64
    	KindGroup
    	KindLogValuer
    )
    
    var kindStrings = []string{
    	"Any",
    	"Bool",
    	"Duration",
    	"Float64",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:12:08 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top