Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/go/types/resolver.go

    				}
    			case constDecl:
    				// declare all constants
    				for i, name := range d.spec.Names {
    					obj := NewConst(name.Pos(), pkg, name.Name, nil, constant.MakeInt64(int64(d.iota)))
    
    					var init ast.Expr
    					if i < len(d.init) {
    						init = d.init[i]
    					}
    
    					d := &declInfo{file: fileScope, vtyp: d.typ, init: init, inherited: d.inherited}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:22:59 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  2. src/encoding/gob/type.go

    	decIndir    int8         // number of indirections to reach the receiver type; may be negative
    }
    
    // externalEncoding bits
    const (
    	xGob    = 1 + iota // GobEncoder or GobDecoder
    	xBinary            // encoding.BinaryMarshaler or encoding.BinaryUnmarshaler
    	xText              // encoding.TextMarshaler or encoding.TextUnmarshaler
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 02:00:26 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/check.go

    	scope         *Scope                    // top-most scope for lookups
    	pos           syntax.Pos                // if valid, identifiers are looked up as if at position pos (used by Eval)
    	iota          constant.Value            // value of iota in a constant declaration; nil otherwise
    	errpos        syntax.Pos                // if valid, identifier position of a constant with inherited initializer
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  4. src/internal/abi/type.go

    }
    
    // A Kind represents the specific kind of type that a Type represents.
    // The zero Kind is not a valid kind.
    type Kind uint8
    
    const (
    	Invalid Kind = iota
    	Bool
    	Int
    	Int8
    	Int16
    	Int32
    	Int64
    	Uint
    	Uint8
    	Uint16
    	Uint32
    	Uint64
    	Uintptr
    	Float32
    	Float64
    	Complex64
    	Complex128
    	Array
    	Chan
    	Func
    	Interface
    	Map
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 17 21:09:59 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/operand.go

    	"cmd/compile/internal/syntax"
    	"fmt"
    	"go/constant"
    	. "internal/types/errors"
    )
    
    // An operandMode specifies the (addressing) mode of an operand.
    type operandMode byte
    
    const (
    	invalid   operandMode = iota // operand is invalid
    	novalue                      // operand represents no value (result of a function call w/o result)
    	builtin                      // operand is a built-in function
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 21:17:10 UTC 2024
    - 11K bytes
    - Viewed (0)
  6. src/crypto/tls/cipher_suites.go

    	// Diffie-Hellman. This means that it should only be selected when the
    	// client indicates that it supports ECC with a curve and point format
    	// that we're happy with.
    	suiteECDHE = 1 << iota
    	// suiteECSign indicates that the cipher suite involves an ECDSA or
    	// EdDSA signature and therefore may only be selected when the server's
    	// certificate is ECDSA or EdDSA. If this is not set then the cipher suite
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  7. src/syscall/syscall_aix.go

    func syscall6(trap, nargs, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno)
    
    // Constant expected by package but not supported
    const (
    	_ = iota
    	TIOCSCTTY
    	SYS_EXECVE
    	SYS_FCNTL
    )
    
    const (
    	F_DUPFD_CLOEXEC = 0
    	// AF_LOCAL doesn't exist on AIX
    	AF_LOCAL = AF_UNIX
    
    	_F_DUP2FD_CLOEXEC = 0
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:50:55 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/mod/module/module.go

    	}
    	return nil
    }
    
    // pathKind indicates what kind of path we're checking. Module paths,
    // import paths, and file paths have different restrictions.
    type pathKind int
    
    const (
    	modulePath pathKind = iota
    	importPath
    	filePath
    )
    
    // checkPath checks that a general path is valid. kind indicates what
    // specific constraints should be applied.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 20:17:07 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  9. src/go/doc/reader.go

    	"make":    true,
    	"new":     true,
    	"panic":   true,
    	"print":   true,
    	"println": true,
    	"real":    true,
    	"recover": true,
    }
    
    var predeclaredConstants = map[string]bool{
    	"false": true,
    	"iota":  true,
    	"nil":   true,
    	"true":  true,
    }
    
    // assumedPackageName returns the assumed package name
    // for a given import path. This is a copy of
    // golang.org/x/tools/internal/imports.ImportPathToAssumedName.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  10. src/internal/trace/gc.go

    type UtilFlags int
    
    const (
    	// UtilSTW means utilization should account for STW events.
    	// This includes non-GC STW events, which are typically user-requested.
    	UtilSTW UtilFlags = 1 << iota
    	// UtilBackground means utilization should account for
    	// background mark workers.
    	UtilBackground
    	// UtilAssist means utilization should account for mark
    	// assists.
    	UtilAssist
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 26K bytes
    - Viewed (0)
Back to top