Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 481 for iota (0.04 sec)

  1. src/cmd/compile/internal/types/sym.go

    	//
    	// Deprecated: New code should avoid depending on Sym.Def. Add
    	// mdempsky@ as a reviewer for any CLs involving Sym.Def.
    	Def Object
    
    	flags bitset8
    }
    
    const (
    	symOnExportList = 1 << iota // added to exportlist (no need to add again)
    	symUniq
    	symSiggen // type symbol has been generated
    	symAsm    // on asmlist, for writing to -asmhdr
    	symFunc   // function symbol
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 26 21:56:56 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/hilbert_test.go

    		for j := 0; j < n; j++ {
    			if j > 0 {
    				g.p(", ")
    			}
    			g.p("h%d_%d", i, j)
    		}
    		if i == 0 {
    			g.p(" = ")
    			for j := 0; j < n; j++ {
    				if j > 0 {
    					g.p(", ")
    				}
    				g.p("1.0/(iota + %d)", j+1)
    			}
    		}
    		g.p("\n")
    	}
    	g.p(")\n\n")
    }
    
    func (g *gen) inverse(n int) {
    	g.p(`// Inverse Hilbert matrix
    const (
    `)
    	for i := 0; i < n; i++ {
    		for j := 0; j < n; j++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 13 21:00:12 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top