Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 449 for iota (0.09 sec)

  1. src/cmd/compile/internal/typecheck/bexport.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package typecheck
    
    // Tags. Must be < 0.
    const (
    	// Objects
    	packageTag = -(iota + 1)
    	constTag
    	typeTag
    	varTag
    	funcTag
    	endTag
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 26 21:52:50 UTC 2023
    - 293 bytes
    - Viewed (0)
  2. src/cmd/internal/obj/loong64/a.out.go

    const (
    	NSNAME = 8
    	NSYM   = 50
    	NREG   = 32 // number of general registers
    	NFREG  = 32 // number of floating point registers
    )
    
    const (
    	REG_R0 = obj.RBaseLOONG64 + 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: Wed May 22 02:04:54 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  3. src/syscall/net_fake.go

    package syscall
    
    const (
    	AF_UNSPEC = iota
    	AF_UNIX
    	AF_INET
    	AF_INET6
    )
    
    const (
    	SOCK_STREAM = 1 + iota
    	SOCK_DGRAM
    	SOCK_RAW
    	SOCK_SEQPACKET
    )
    
    const (
    	IPPROTO_IP   = 0
    	IPPROTO_IPV4 = 4
    	IPPROTO_IPV6 = 0x29
    	IPPROTO_TCP  = 6
    	IPPROTO_UDP  = 0x11
    )
    
    const (
    	SOMAXCONN = 0x80
    )
    
    const (
    	_ = iota
    	IPV6_V6ONLY
    	SO_ERROR
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 883 bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top