- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 483 for iota (0.04 sec)
-
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) -
src/go/types/decl.go
} func (check *Checker) constDecl(obj *Const, typ, init ast.Expr, inherited bool) { assert(obj.typ == nil) // use the correct value of iota defer func(iota constant.Value, errpos positioner) { check.iota = iota check.errpos = errpos }(check.iota, check.errpos) check.iota = obj.val check.errpos = nil // 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 - 31K bytes - Viewed (0) -
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) -
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) -
src/go/doc/testdata/b.2.golden
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 11 16:05:02 UTC 2022 - 766 bytes - Viewed (0) -
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) -
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) -
src/text/template/option.go
package template import "strings" // missingKeyAction defines how to respond to indexing a map with a key that is not present. type missingKeyAction int const ( mapInvalid missingKeyAction = iota // Return an invalid reflect.Value. mapZeroValue // Return the zero value for the map element. mapError // Error out ) type option struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 1.9K bytes - Viewed (0) -
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) -
src/go/types/basic.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package types // 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: Wed Apr 03 18:48:38 UTC 2024 - 1.6K bytes - Viewed (0)