Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 483 for iota (0.22 sec)

  1. src/go/types/chan.go

    	dir  ChanDir
    	elem Type
    }
    
    // A ChanDir value indicates a channel direction.
    type ChanDir int
    
    // The direction of a channel is indicated by one of these constants.
    const (
    	SendRecv ChanDir = iota
    	SendOnly
    	RecvOnly
    )
    
    // NewChan returns a new channel type for the given direction and element type.
    func NewChan(dir ChanDir, elem Type) *Chan {
    	return &Chan{dir: dir, elem: elem}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 1K bytes
    - Viewed (0)
  2. 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)
  3. src/go/doc/testdata/b.2.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)
  4. src/go/ast/scope.go

    //
    // The Data fields contains object-specific data:
    //
    //	Kind    Data type         Data value
    //	Pkg     *Scope            package scope
    //	Con     int               iota for the respective declaration
    //
    // Deprecated: The relationship between Idents and Objects cannot be
    // correctly computed without type information. For example, the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 28 21:32:41 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. src/syscall/syscall_wasip1.go

    // license that can be found in the LICENSE file.
    
    //go:build wasip1
    
    package syscall
    
    import (
    	"errors"
    	"internal/itoa"
    	"internal/oserror"
    	"unsafe"
    )
    
    type Dircookie = uint64
    
    type Filetype = uint8
    
    const (
    	FILETYPE_UNKNOWN Filetype = iota
    	FILETYPE_BLOCK_DEVICE
    	FILETYPE_CHARACTER_DEVICE
    	FILETYPE_DIRECTORY
    	FILETYPE_REGULAR_FILE
    	FILETYPE_SOCKET_DGRAM
    	FILETYPE_SOCKET_STREAM
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  6. src/internal/trace/value.go

    type Value struct {
    	kind   ValueKind
    	scalar uint64
    }
    
    // ValueKind is the type of a dynamically-typed value from a trace.
    type ValueKind uint8
    
    const (
    	ValueBad ValueKind = iota
    	ValueUint64
    )
    
    // Kind returns the ValueKind of the value.
    //
    // It represents the underlying structure of the value.
    //
    // New ValueKinds may be added in the future. Users of this type must be robust
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  7. src/cmd/link/internal/sym/reloc.go

    import (
    	"cmd/internal/objabi"
    	"cmd/internal/sys"
    	"debug/elf"
    	"debug/macho"
    )
    
    // RelocVariant is a linker-internal variation on a relocation.
    type RelocVariant uint8
    
    const (
    	RV_NONE RelocVariant = iota
    	RV_POWER_LO
    	RV_POWER_HI
    	RV_POWER_HA
    	RV_POWER_DS
    
    	// RV_390_DBL is a s390x-specific relocation variant that indicates that
    	// the value to be placed into the relocatable field should first be
    	// divided by 2.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 15:33:31 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/arch/arm64/arm64asm/condition_util.go

    	width := uint32(32)
    	if sf == 1 {
    		width = uint32(64)
    	}
    	if imms >= (width - 15) {
    		return (immr % 16) <= (imms - (width - 15))
    	}
    	return false
    }
    
    type sys uint8
    
    const (
    	sys_AT sys = iota
    	sys_DC
    	sys_IC
    	sys_TLBI
    	sys_SYS
    )
    
    func sys_op_4(op1, crn, crm, op2 uint32) sys {
    	sysInst := sysInstFields{uint8(op1), uint8(crn), uint8(crm), uint8(op2)}
    	return sysInst.getType()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 16 22:24:28 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  9. test/fixedbugs/issue33460.go

    // errorcheck
    
    // 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 p
    
    const (
    	zero = iota
    	one
    	two
    	three
    )
    
    const iii int = 0x3
    
    func f(v int) {
    	switch v {
    	case zero, one:
    	case two, one: // ERROR "previous case at LINE-1|duplicate case .*in.* switch"
    
    	case three:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 11 02:26:58 UTC 2022
    - 825 bytes
    - Viewed (0)
  10. 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)
Back to top