Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 228 for iota (0.08 sec)

  1. src/cmd/internal/obj/arm64/a.out.go

    const (
    	BIG = 2048 - 8
    )
    
    const (
    	/* mark flags */
    	LABEL = 1 << iota
    	LEAF
    	FLOAT
    	BRANCH
    	LOAD
    	FCMP
    	SYNC
    	LIST
    	FOLL
    	NOSCHED
    )
    
    const (
    	// optab is sorted based on the order of these constants
    	// and the first match is chosen.
    	// The more specific class needs to come earlier.
    	C_NONE   = iota + 1 // starting from 1, leave unclassified Addr's class as 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 17:56:30 UTC 2023
    - 18.1K bytes
    - Viewed (0)
  2. src/cmd/doc/doc_test.go

    			`const ExportedTypedConstant ExportedType = iota`,              // Typed constant.
    			`const ExportedTypedConstant_unexported unexportedType`,        // Typed constant, exported for unexported type.
    			`const ConstLeft2 uint64 ...`,                                  // Typed constant using unexported iota.
    			`const ConstGroup1 unexportedType = iota ...`,                  // Typed constant using unexported type.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 19:16:55 UTC 2023
    - 31.2K bytes
    - Viewed (0)
  3. src/go/printer/testdata/comments.golden

    const c0 = 0	// zero
    const (
    	c1	= iota	// c1
    	c2		// c2
    )
    
    // Alignment of comments in declarations>
    const (
    	_	T	= iota	// comment
    	_			// comment
    	_			// comment
    	_	= iota + 10
    	_	// comments
    
    	_		= 10	// comment
    	_	T	= 20	// comment
    )
    
    const (
    	_____	= iota	// foo
    	_		// bar
    	_	= 0	// bal
    	_		// bat
    )
    
    const (
    	_	T	= iota	// comment
    	_			// comment
    	_			// comment
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 25 23:11:14 UTC 2022
    - 11.3K bytes
    - Viewed (0)
  4. src/syscall/security_windows.go

    		}
    		if e != ERROR_INSUFFICIENT_BUFFER {
    			return "", e
    		}
    		if n <= uint32(len(b)) {
    			return "", e
    		}
    	}
    }
    
    const (
    	// do not reorder
    	NetSetupUnknownStatus = iota
    	NetSetupUnjoined
    	NetSetupWorkgroupName
    	NetSetupDomainName
    )
    
    type UserInfo10 struct {
    	Name       *uint16
    	Comment    *uint16
    	UsrComment *uint16
    	FullName   *uint16
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 16:42:41 UTC 2023
    - 10K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/go/printer/testdata/comments.input

    const c0 = 0  // zero
    const (
    	c1 = iota  // c1
    	c2  // c2
    )
    
    // Alignment of comments in declarations>
    const (
    	_ T = iota  // comment
    	_  // comment
    	_  // comment
    	_ = iota+10
    	_  // comments
    
    	_ = 10  // comment
    	_ T = 20  // comment
    )
    
    const (
    	_____ = iota // foo
    	_ // bar
    	_  = 0    // bal
    	_ // bat
    )
    
    const (
    	_ T = iota // comment
    	_ // comment
    	_ // comment
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 25 23:11:14 UTC 2022
    - 11.3K bytes
    - Viewed (0)
  10. src/cmd/internal/obj/link.go

    	//	for TYPE_FCONST, a float64
    	//	for TYPE_BRANCH, a *Prog (optional)
    	//	for TYPE_TEXTSIZE, an int32 (optional)
    	Val interface{}
    }
    
    type AddrName int8
    
    const (
    	NAME_NONE AddrName = iota
    	NAME_EXTERN
    	NAME_STATIC
    	NAME_AUTO
    	NAME_PARAM
    	// A reference to name@GOT(SB) is a reference to the entry in the global offset
    	// table for 'name'.
    	NAME_GOTREF
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 33.1K bytes
    - Viewed (0)
Back to top