Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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)
  2. src/internal/trace/event/requirements.go

    type SchedReqs struct {
    	Thread    Constraint
    	Proc      Constraint
    	Goroutine Constraint
    }
    
    // Constraint represents a various presence requirements.
    type Constraint uint8
    
    const (
    	MustNotHave Constraint = iota
    	MayHave
    	MustHave
    )
    
    // UserGoReqs is a common requirement among events that are running
    // or are close to running user code.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 685 bytes
    - Viewed (0)
  3. 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)
  4. src/go/doc/testdata/b.0.golden

    // 
    PACKAGE b
    
    IMPORTPATH
    	testdata/b
    
    IMPORTS
    	a
    
    FILENAMES
    	testdata/b.go
    
    CONSTANTS
    	// 
    	const (
    		C1	notExported	= iota
    		C2
    	
    		C4
    		C5
    	)
    
    	// 
    	const C notExported = 0
    
    	// 
    	const Pi = 3.14	// Pi
    
    
    VARIABLES
    	// 
    	var (
    		U1, U2, U4, U5	notExported
    	
    		U7	notExported	= 7
    	)
    
    	// 
    	var MaxInt int	// MaxInt
    
    	// 
    	var V notExported
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 11 16:05:02 UTC 2022
    - 766 bytes
    - Viewed (0)
  5. src/runtime/os_wasip1.go

    //go:noescape
    func random_get(buf unsafe.Pointer, bufLen size) errno
    
    type eventtype = uint8
    
    const (
    	eventtypeClock eventtype = iota
    	eventtypeFdRead
    	eventtypeFdWrite
    )
    
    type eventrwflags = uint16
    
    const (
    	fdReadwriteHangup eventrwflags = 1 << iota
    )
    
    type userdata = uint64
    
    // The go:wasmimport directive currently does not accept values of type uint16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 7K bytes
    - Viewed (0)
  6. src/cmd/doc/testdata/pkg.go

    }{
    	{"FieldVal1", 1}: {},
    	{"FieldVal2", 2}: {},
    	{"FieldVal3", 3}: {},
    }
    
    const (
    	_, _ uint64 = 2 * iota, 1 << iota
    	constLeft1, constRight1
    	ConstLeft2, constRight2
    	constLeft3, ConstRight3
    	ConstLeft4, ConstRight4
    )
    
    const (
    	ConstGroup1 unexportedType = iota
    	ConstGroup2
    	ConstGroup3
    )
    
    const ConstGroup4 ExportedType = ExportedType{}
    
    func newLongLine(ss ...string)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 19:16:55 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  7. src/vendor/golang.org/x/text/unicode/bidi/trieval.go

    // Code generated by running "go generate" in golang.org/x/text. DO NOT EDIT.
    
    package bidi
    
    // Class is the Unicode BiDi class. Each rune has a single class.
    type Class uint
    
    const (
    	L       Class = iota // LeftToRight
    	R                    // RightToLeft
    	EN                   // EuropeanNumber
    	ES                   // EuropeanSeparator
    	ET                   // EuropeanTerminator
    	AN                   // ArabicNumber
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 17:16:14 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  8. src/internal/types/testdata/fixedbugs/issue52031.go

    type resultFlags uint
    
    // Example from #52031.
    //
    // The following shifts should not produce errors on Go < 1.13, as their
    // untyped constant operands are representable by type uint.
    const (
    	_ resultFlags = (1 << iota) / 2
    
    	reportEqual
    	reportUnequal
    	reportByIgnore
    	reportByMethod
    	reportByFunc
    	reportByCycle
    )
    
    // Invalid cases.
    var x int = 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:27 UTC 2023
    - 733 bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top