Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 449 for iota (0.11 sec)

  1. src/internal/types/testdata/check/const1.go

    	logSizeofUintptr = uint(mp>>8&1 + mp>>16&1 + mp>>32&1)
    )
    
    const (
    	minInt8 = -1<<(8<<iota - 1)
    	minInt16
    	minInt32
    	minInt64
    	minInt = -1<<(8<<logSizeofInt - 1)
    )
    
    const (
    	maxInt8 = 1<<(8<<iota - 1) - 1
    	maxInt16
    	maxInt32
    	maxInt64
    	maxInt = 1<<(8<<logSizeofInt - 1) - 1
    )
    
    const (
    	maxUint8 = 1<<(8<<iota) - 1
    	maxUint16
    	maxUint32
    	maxUint64
    	maxUint    = 1<<(8<<logSizeofUint) - 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 16:11:16 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/decl.go

    func (check *Checker) constDecl(obj *Const, typ, init syntax.Expr, inherited bool) {
    	assert(obj.typ == nil)
    
    	// use the correct value of iota and errpos
    	defer func(iota constant.Value, errpos syntax.Pos) {
    		check.iota = iota
    		check.errpos = errpos
    	}(check.iota, check.errpos)
    	check.iota = obj.val
    	check.errpos = nopos
    
    	// provide valid constant value under all circumstances
    	obj.val = constant.MakeUnknown()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/syntax/tokens.go

    // not represent the literal kind well anymore. Remove it?
    const (
    	IntLit LitKind = iota
    	FloatLit
    	ImagLit
    	RuneLit
    	StringLit
    )
    
    type Operator uint
    
    //go:generate stringer -type Operator -linecomment tokens.go
    
    const (
    	_ Operator = iota
    
    	// Def is the : in :=
    	Def   // :
    	Not   // !
    	Recv  // <-
    	Tilde // ~
    
    	// precOrOr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 14:52:38 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  4. src/internal/abi/rangefuncconsts.go

    // and panic indicators, and the runtime, which turns them into more meaningful strings
    // For best code generation, RF_DONE and RF_READY should be 0 and 1.
    const (
    	RF_DONE          = RF_State(iota) // body of loop has exited in a non-panic way
    	RF_READY                          // body of loop has not exited yet, is not running  -- this is not a panic index
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:04:30 UTC 2024
    - 940 bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/test/issue30527/b.go

    // Copyright 2019 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 issue30527
    
    const (
    	X = 1 << iota
    	Y
    	Z
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 211 bytes
    - Viewed (0)
  6. src/go/types/chan.go

    	dir  ChanDir
    	elem Type
    }
    
    // A ChanDir value indicates a channel direction.
    type ChanDir int
    
    // The direction of a channel is indicated by one of these constants.
    const (
    	SendRecv ChanDir = iota
    	SendOnly
    	RecvOnly
    )
    
    // NewChan returns a new channel type for the given direction and element type.
    func NewChan(dir ChanDir, elem Type) *Chan {
    	return &Chan{dir: dir, elem: elem}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 1K bytes
    - Viewed (0)
  7. src/cmd/internal/obj/mips/a.out.go

    const (
    	NSNAME = 8
    	NSYM   = 50
    	NREG   = 32 /* number of general registers */
    	NFREG  = 32 /* number of floating point registers */
    	NWREG  = 32 /* number of MSA registers */
    )
    
    const (
    	REG_R0 = obj.RBaseMIPS + iota // must be a multiple of 32
    	REG_R1
    	REG_R2
    	REG_R3
    	REG_R4
    	REG_R5
    	REG_R6
    	REG_R7
    	REG_R8
    	REG_R9
    	REG_R10
    	REG_R11
    	REG_R12
    	REG_R13
    	REG_R14
    	REG_R15
    	REG_R16
    	REG_R17
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 08 12:17:12 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/text/internal/language/common.go

    package language
    
    // This file contains code common to the maketables.go and the package code.
    
    // AliasType is the type of an alias in AliasMap.
    type AliasType int8
    
    const (
    	Deprecated AliasType = iota
    	Macro
    	Legacy
    
    	AliasTypeUnknown AliasType = -1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 334 bytes
    - Viewed (0)
  9. src/cmd/internal/obj/s390x/a.out.go

    const (
    	BIG    = 32768 - 8
    	DISP12 = 4096
    	DISP16 = 65536
    	DISP20 = 1048576
    )
    
    const (
    	// mark flags
    	LEAF = 1 << iota
    	BRANCH
    	USETMP // generated code of this Prog uses REGTMP
    )
    
    const ( // comments from func aclass in asmz.go
    	C_NONE     = iota
    	C_REG      // general-purpose register (64-bit)
    	C_FREG     // floating-point register (64-bit)
    	C_VREG     // vector register (128-bit)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 16:41:03 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  10. src/internal/trace/value.go

    type Value struct {
    	kind   ValueKind
    	scalar uint64
    }
    
    // ValueKind is the type of a dynamically-typed value from a trace.
    type ValueKind uint8
    
    const (
    	ValueBad ValueKind = iota
    	ValueUint64
    )
    
    // Kind returns the ValueKind of the value.
    //
    // It represents the underlying structure of the value.
    //
    // New ValueKinds may be added in the future. Users of this type must be robust
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.2K bytes
    - Viewed (0)
Back to top