Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 397 for iota (0.04 sec)

  1. 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)
  2. src/go/ast/scope.go

    //
    // The Data fields contains object-specific data:
    //
    //	Kind    Data type         Data value
    //	Pkg     *Scope            package scope
    //	Con     int               iota for the respective declaration
    //
    // Deprecated: The relationship between Idents and Objects cannot be
    // correctly computed without type information. For example, the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 28 21:32:41 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  3. src/go/types/decl.go

    }
    
    func (check *Checker) constDecl(obj *Const, typ, init ast.Expr, inherited bool) {
    	assert(obj.typ == nil)
    
    	// use the correct value of iota
    	defer func(iota constant.Value, errpos positioner) {
    		check.iota = iota
    		check.errpos = errpos
    	}(check.iota, check.errpos)
    	check.iota = obj.val
    	check.errpos = nil
    
    	// 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
    - 31K bytes
    - Viewed (0)
  4. src/cmd/link/internal/sym/reloc.go

    import (
    	"cmd/internal/objabi"
    	"cmd/internal/sys"
    	"debug/elf"
    	"debug/macho"
    )
    
    // RelocVariant is a linker-internal variation on a relocation.
    type RelocVariant uint8
    
    const (
    	RV_NONE RelocVariant = iota
    	RV_POWER_LO
    	RV_POWER_HI
    	RV_POWER_HA
    	RV_POWER_DS
    
    	// RV_390_DBL is a s390x-specific relocation variant that indicates that
    	// the value to be placed into the relocatable field should first be
    	// divided by 2.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 15:33:31 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  5. src/syscall/syscall_wasip1.go

    // license that can be found in the LICENSE file.
    
    //go:build wasip1
    
    package syscall
    
    import (
    	"errors"
    	"internal/itoa"
    	"internal/oserror"
    	"unsafe"
    )
    
    type Dircookie = uint64
    
    type Filetype = uint8
    
    const (
    	FILETYPE_UNKNOWN Filetype = iota
    	FILETYPE_BLOCK_DEVICE
    	FILETYPE_CHARACTER_DEVICE
    	FILETYPE_DIRECTORY
    	FILETYPE_REGULAR_FILE
    	FILETYPE_SOCKET_DGRAM
    	FILETYPE_SOCKET_STREAM
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  6. src/cmd/internal/obj/riscv/cpu.go

    package riscv
    
    import (
    	"errors"
    	"fmt"
    
    	"cmd/internal/obj"
    )
    
    //go:generate go run ../stringer.go -i $GOFILE -o anames.go -p riscv
    
    const (
    	// Base register numberings.
    	REG_X0 = obj.RBaseRISCV + iota
    	REG_X1
    	REG_X2
    	REG_X3
    	REG_X4
    	REG_X5
    	REG_X6
    	REG_X7
    	REG_X8
    	REG_X9
    	REG_X10
    	REG_X11
    	REG_X12
    	REG_X13
    	REG_X14
    	REG_X15
    	REG_X16
    	REG_X17
    	REG_X18
    	REG_X19
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 14:19:33 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  7. src/go/types/basic.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package types
    
    // BasicKind describes the kind of basic type.
    type BasicKind int
    
    const (
    	Invalid BasicKind = iota // type is invalid
    
    	// predeclared types
    	Bool
    	Int
    	Int8
    	Int16
    	Int32
    	Int64
    	Uint
    	Uint8
    	Uint16
    	Uint32
    	Uint64
    	Uintptr
    	Float32
    	Float64
    	Complex64
    	Complex128
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  8. src/html/template/context.go

    //go:generate stringer -type state
    
    const (
    	// stateText is parsed character data. An HTML parser is in
    	// this state when its parse position is outside an HTML tag,
    	// directive, comment, and special element body.
    	stateText state = iota
    	// stateTag occurs before an HTML attribute or the end of a tag.
    	stateTag
    	// stateAttrName occurs inside an attribute name.
    	// It occurs between the ^'s in ` ^name^ = value`.
    	stateAttrName
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 16 03:29:27 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/internal/stdlib/stdlib.go

    	Kind    Kind
    	Version Version // Go version that first included the symbol
    }
    
    // A Kind indicates the kind of a symbol:
    // function, variable, constant, type, and so on.
    type Kind int8
    
    const (
    	Invalid Kind = iota // Example name:
    	Type                // "Buffer"
    	Func                // "Println"
    	Var                 // "EOF"
    	Const               // "Pi"
    	Field               // "Point.X"
    	Method              // "(*Buffer).Grow"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. src/regexp/syntax/prog.go

    type Prog struct {
    	Inst   []Inst
    	Start  int // index of start instruction
    	NumCap int // number of InstCapture insts in re
    }
    
    // An InstOp is an instruction opcode.
    type InstOp uint8
    
    const (
    	InstAlt InstOp = iota
    	InstAltMatch
    	InstCapture
    	InstEmptyWidth
    	InstMatch
    	InstFail
    	InstNop
    	InstRune
    	InstRune1
    	InstRuneAny
    	InstRuneAnyNotNL
    )
    
    var instOpNames = []string{
    	"InstAlt",
    	"InstAltMatch",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:50:01 UTC 2024
    - 7.7K bytes
    - Viewed (0)
Back to top