Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 397 for iota (0.04 sec)

  1. src/internal/trace/internal/oldtrace/order.go

    package oldtrace
    
    import "errors"
    
    type orderEvent struct {
    	ev   Event
    	proc *proc
    }
    
    type gStatus int
    
    type gState struct {
    	seq    uint64
    	status gStatus
    }
    
    const (
    	gDead gStatus = iota
    	gRunnable
    	gRunning
    	gWaiting
    
    	unordered = ^uint64(0)
    	garbage   = ^uint64(0) - 1
    	noseq     = ^uint64(0)
    	seqinc    = ^uint64(0) - 1
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/syntax/nodes.go

    )
    
    type expr struct {
    	node
    	typeAndValue // After typechecking, contains the results of typechecking this expression.
    }
    
    func (*expr) aExpr() {}
    
    type ChanDir uint
    
    const (
    	_ ChanDir = iota
    	SendOnly
    	RecvOnly
    )
    
    // ----------------------------------------------------------------------------
    // Statements
    
    type (
    	Stmt interface {
    		Node
    		aStmt()
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 14:52:38 UTC 2023
    - 9K bytes
    - Viewed (0)
  3. src/log/syslog/syslog.go

    	// These are the same on Linux, BSD, and OS X.
    	LOG_EMERG Priority = iota
    	LOG_ALERT
    	LOG_CRIT
    	LOG_ERR
    	LOG_WARNING
    	LOG_NOTICE
    	LOG_INFO
    	LOG_DEBUG
    )
    
    const (
    	// Facility.
    
    	// From /usr/include/sys/syslog.h.
    	// These are the same up to LOG_FTP on Linux, BSD, and OS X.
    	LOG_KERN Priority = iota << 3
    	LOG_USER
    	LOG_MAIL
    	LOG_DAEMON
    	LOG_AUTH
    	LOG_SYSLOG
    	LOG_LPR
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 23 22:56:07 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types/identity.go

    // Copyright 2018 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package types
    
    const (
    	identIgnoreTags = 1 << iota
    	identStrict
    )
    
    // Identical reports whether t1 and t2 are identical types, following the spec rules.
    // Receiver parameter types are ignored. Named (defined) types are only equal if they
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 20:57:01 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/typexpr.go

    		return
    
    	case *Const:
    		check.addDeclDep(obj)
    		if !isValid(typ) {
    			return
    		}
    		if obj == universeIota {
    			if check.iota == nil {
    				check.error(e, InvalidIota, "cannot use iota outside constant declaration")
    				return
    			}
    			x.val = check.iota
    		} else {
    			x.val = obj.val
    		}
    		assert(x.val != nil)
    		x.mode = constant_
    
    	case *TypeName:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  6. src/go/token/token.go

    import (
    	"strconv"
    	"unicode"
    	"unicode/utf8"
    )
    
    // Token is the set of lexical tokens of the Go programming language.
    type Token int
    
    // The list of tokens.
    const (
    	// Special tokens
    	ILLEGAL Token = iota
    	EOF
    	COMMENT
    
    	literal_beg
    	// Identifiers and basic type literals
    	// (these tokens stand for classes of literals)
    	IDENT  // main
    	INT    // 12345
    	FLOAT  // 123.45
    	IMAG   // 123.45i
    	CHAR   // 'a'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/universe.go

    }
    
    var predeclaredConsts = [...]struct {
    	name string
    	kind BasicKind
    	val  constant.Value
    }{
    	{"true", UntypedBool, constant.MakeBool(true)},
    	{"false", UntypedBool, constant.MakeBool(false)},
    	{"iota", UntypedInt, constant.MakeInt64(0)},
    }
    
    func defPredeclaredConsts() {
    	for _, c := range predeclaredConsts {
    		def(NewConst(nopos, nil, c.name, Typ[c.kind], c.val))
    	}
    }
    
    func defPredeclaredNil() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  8. src/go/types/universe.go

    }
    
    var predeclaredConsts = [...]struct {
    	name string
    	kind BasicKind
    	val  constant.Value
    }{
    	{"true", UntypedBool, constant.MakeBool(true)},
    	{"false", UntypedBool, constant.MakeBool(false)},
    	{"iota", UntypedInt, constant.MakeInt64(0)},
    }
    
    func defPredeclaredConsts() {
    	for _, c := range predeclaredConsts {
    		def(NewConst(nopos, nil, c.name, Typ[c.kind], c.val))
    	}
    }
    
    func defPredeclaredNil() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  9. src/internal/trace/resources.go

    // GoState represents the state of a goroutine.
    //
    // New GoStates may be added in the future. Users of this type must be robust
    // to that possibility.
    type GoState uint8
    
    const (
    	GoUndetermined GoState = iota // No information is known about the goroutine.
    	GoNotExist                    // Goroutine does not exist.
    	GoRunnable                    // Goroutine is runnable but not running.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 8K bytes
    - Viewed (0)
  10. src/syscall/syscall_js.go

    type Signal int
    
    const (
    	_ Signal = iota
    	SIGCHLD
    	SIGINT
    	SIGKILL
    	SIGTRAP
    	SIGQUIT
    	SIGTERM
    )
    
    func (s Signal) Signal() {}
    
    func (s Signal) String() string {
    	if 0 <= s && int(s) < len(signals) {
    		str := signals[s]
    		if str != "" {
    			return str
    		}
    	}
    	return "signal " + itoa.Itoa(int(s))
    }
    
    var signals = [...]string{}
    
    // File system
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top