Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 624 for IOTA (0.09 sec)

  1. src/cmd/compile/internal/inline/inlheur/function_properties.go

    	// likewise.
    	FuncPropNeverReturns FuncPropBits = 1 << iota
    )
    
    type ParamPropBits uint32
    
    const (
    	// No info about this param
    	ParamNoInfo ParamPropBits = 0
    
    	// Parameter value feeds unmodified into a top-level interface
    	// call (this assumes the parameter is of interface type).
    	ParamFeedsInterfaceMethodCall ParamPropBits = 1 << iota
    
    	// Parameter value feeds unmodified into an interface call that
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 10 18:52:53 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  2. src/internal/pkgbits/reloc.go

    const (
    	PublicRootIdx  Index = 0
    	PrivateRootIdx Index = 1
    )
    
    const (
    	RelocString RelocKind = iota
    	RelocMeta
    	RelocPosBase
    	RelocPkg
    	RelocName
    	RelocType
    	RelocObj
    	RelocObjExt
    	RelocObjDict
    	RelocBody
    
    	numRelocs = iota
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 10 22:22:48 UTC 2022
    - 835 bytes
    - Viewed (0)
  3. test/fixedbugs/bug006.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    import "os"
    
    const (
    	x float64 = iota
    	g float64 = 4.5 * iota
    )
    
    func main() {
    	if g == 0.0 {
    		print("zero\n")
    	}
    	if g != 4.5 {
    		print(" fail\n")
    		os.Exit(1)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 04:48:57 UTC 2012
    - 350 bytes
    - Viewed (0)
  4. src/go/doc/testdata/g.1.golden

    // The package g is a go/doc test for mixed exported/unexported ...
    PACKAGE g
    
    IMPORTPATH
    	testdata/g
    
    FILENAMES
    	testdata/g.go
    
    CONSTANTS
    	// 
    	const (
    		A, b	= iota, iota
    		c, D
    		E, f
    		G, H
    	)
    
    
    VARIABLES
    	// 
    	var (
    		c1, C2, c3	= 1, 2, 3
    		C4, c5, C6	= 4, 5, 6
    		c7, C8, c9	= 7, 8, 9
    		xx, yy, zz	= 0, 0, 0	// all unexported and hidden
    	)
    
    	// 
    	var (
    		x, X	= f()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 16:29:17 UTC 2018
    - 388 bytes
    - Viewed (0)
  5. test/rename1.go

    // Does not compile.
    
    package main
    
    func main() {
    	var n byte         // ERROR "not a type|expected type"
    	var y = float32(0) // ERROR "cannot call|expected function"
    	const (
    		a = 1 + iota // ERROR "invalid operation|incompatible types|cannot convert"
    	)
    	_, _ = n, y
    }
    
    const (
    	append     = 1
    	bool       = 2
    	byte       = 3
    	complex    = 4
    	complex64  = 5
    	complex128 = 6
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 19 14:07:00 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  6. src/go/doc/testdata/d.0.golden

    FILENAMES
    	testdata/d1.go
    	testdata/d2.go
    
    CONSTANTS
    	// CBx constants should appear before CAx constants. 
    	const (
    		CB2	= iota	// before CB1
    		CB1		// before CB0
    		CB0		// at end
    	)
    
    	// CAx constants should appear after CBx constants. 
    	const (
    		CA2	= iota	// before CA1
    		CA1		// before CA0
    		CA0		// at end
    	)
    
    	// C0 should be first. 
    	const C0 = 0
    
    	// C1 should be second. 
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 1.5K bytes
    - Viewed (0)
  7. tools/istio-iptables/pkg/constants/constants.go

    // so callers should just use these enums to indicate what they want to do.
    type IptablesCmd int
    
    const (
    	IPTables        IptablesCmd = iota
    	IPTablesSave    IptablesCmd = iota
    	IPTablesRestore IptablesCmd = iota
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 01:42:30 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/wasm/a.out.go

    import "cmd/internal/obj"
    
    //go:generate go run ../stringer.go -i $GOFILE -o anames.go -p wasm
    
    const (
    	/* mark flags */
    	DONE          = 1 << iota
    	PRESERVEFLAGS // not allowed to clobber flags
    )
    
    /*
     *	wasm
     */
    const (
    	AGet = obj.ABaseWasm + obj.A_ARCHSPECIFIC + iota
    	ASet
    	ATee
    	ANot // alias for I32Eqz
    
    	// The following are low-level WebAssembly instructions.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 02 05:28:55 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  9. test/fixedbugs/issue6866.go

    // be the identity matrix.
    package main
    
    func main() {
    	if !ok {
    		print()
    		return
    	}
    }
    
    // Hilbert matrix, n = 2
    const (
    	h0_0, h0_1 = 1.0 / (iota + 1), 1.0 / (iota + 2)
    	h1_0, h1_1
    )
    
    // Inverse Hilbert matrix
    const (
    	i0_0 = +1 * b2_1 * b2_1 * b0_0 * b0_0
    	i0_1 = -2 * b2_0 * b3_1 * b1_0 * b1_0
    
    	i1_0 = -2 * b3_1 * b2_0 * b1_1 * b1_1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 02 22:49:47 UTC 2015
    - 1.5K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/basic.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package types2
    
    // 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: Thu Jul 01 22:17:50 UTC 2021
    - 1.5K bytes
    - Viewed (0)
Back to top