Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 624 for IOTA (0.03 sec)

  1. 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)
  2. src/internal/pkgbits/flags.go

    // Copyright 2022 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package pkgbits
    
    const (
    	flagSyncMarkers = 1 << iota // file format contains sync markers
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 12 19:30:30 UTC 2022
    - 253 bytes
    - Viewed (0)
  3. 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)
  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/cgo/internal/test/issue30527/b.go

    // Copyright 2019 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package issue30527
    
    const (
    	X = 1 << iota
    	Y
    	Z
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 211 bytes
    - Viewed (0)
  6. 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)
  7. test/used.go

    	array[1:1:1]           // ERROR "array\[1:1:1\] .* not used"
    	recover()              // ok
    	<-c                    // ok
    	string(r)              // ERROR "string\(r\) .* not used"
    	iota                   // ERROR "undefined: iota|cannot use iota"
    	real(cp)               // ERROR "real\(cp\) .* not used"
    	imag(cp)               // ERROR "imag\(cp\) .* not used"
    	complex(1, 2)          // ERROR "complex\(1, 2\) .* not used"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 28 08:39:17 UTC 2020
    - 6K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/text/internal/language/common.go

    package language
    
    // This file contains code common to the maketables.go and the package code.
    
    // AliasType is the type of an alias in AliasMap.
    type AliasType int8
    
    const (
    	Deprecated AliasType = iota
    	Macro
    	Legacy
    
    	AliasTypeUnknown AliasType = -1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 334 bytes
    - Viewed (0)
  9. 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)
  10. test/const3.go

    // Test typed integer constants.
    
    package main
    
    import "fmt"
    
    type T int
    
    func (t T) String() string { return fmt.Sprintf("T%d", int(t)) }
    
    const (
    	A T = 1 << (1 << iota)
    	B
    	C
    	D
    	E
    )
    
    func main() {
    	s := fmt.Sprintf("%v %v %v %v %v", A, B, C, D, E)
    	if s != "T2 T4 T16 T256 T65536" {
    		println("type info didn't propagate in const: got", s)
    		panic("fail")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Feb 19 02:19:43 UTC 2012
    - 659 bytes
    - Viewed (0)
Back to top