- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 46 for iota (0.08 sec)
-
src/cmd/go/internal/modget/get.go
// lookup per module, and we don't want to load information that's neither // relevant nor actionable. type modFlags int const ( resolved modFlags = 1 << iota // version resolved by 'go get' named // explicitly named on command line or provides a named package hasPkg // needed to build named packages
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 18:26:32 UTC 2024 - 66.5K bytes - Viewed (0) -
src/runtime/mheap.go
// to safely deal with potentially invalid pointers, since resolving // such pointers may race with a span being allocated. type mSpanState uint8 const ( mSpanDead mSpanState = iota mSpanInUse // allocated for garbage collected heap mSpanManual // allocated for manual management (e.g., stack allocator) ) // mSpanStateNames are the names of the span states, indexed by
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:31:00 UTC 2024 - 78K bytes - Viewed (0) -
src/cmd/go/internal/modload/load.go
// imports to be in "all" (such as when the test is itself within the main // module, or when ld.allClosesOverTests is true). pkgInAll loadPkgFlags = 1 << iota // pkgIsRoot indicates that the package matches one of the root package // patterns requested by the caller. // // If LoadTests is set, then when pkgIsRoot and pkgImportsLoaded are both set,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 14:56:56 UTC 2024 - 84K bytes - Viewed (0) -
src/testing/testing.go
c.Cleanup(func() { os.Unsetenv(key) }) } } // panicHandling controls the panic handling used by runCleanup. type panicHandling int const ( normalPanic panicHandling = iota recoverAndReturnPanic ) // runCleanup is called at the end of the test. // If ph is recoverAndReturnPanic, it will catch panics, and return the // recovered value if any.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 76.1K bytes - Viewed (0) -
src/cmd/cgo/gcc.go
} if stderr == "" { fatalf("%s produced no output\non input:\n%s", gccBaseCmd[0], b.Bytes()) } completed := false sniff := make([]int, len(names)) const ( notType = 1 << iota notIntConst notNumConst notStrLiteral notDeclared ) sawUnmatchedErrors := false for _, line := range strings.Split(stderr, "\n") { // Ignore warnings and random comments, with one
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:50:06 UTC 2024 - 97K bytes - Viewed (0) -
src/cmd/link/internal/ld/lib.go
if err != io.EOF { log.Fatalf("reading input: %v", err) } return -1 } return int(c) } type markKind uint8 // for postorder traversal const ( _ markKind = iota visiting visited ) func postorder(libs []*sym.Library) []*sym.Library { order := make([]*sym.Library, 0, len(libs)) // hold the result mark := make(map[*sym.Library]markKind, len(libs))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 18:45:27 UTC 2024 - 88.6K bytes - Viewed (0) -
src/cmd/compile/internal/types2/api_test.go
{`package f6b; var _ = 1e-2000i`, `1e-2000i`, `complex128`, `(0 + 0i)`}, {`package f7b; var _ = -1e-2000i`, `-1e-2000i`, `complex128`, `(0 + 0i)`}, {`package g0; const (a = len([iota]int{}); b; c); const _ = c`, `c`, `int`, `2`}, // go.dev/issue/22341 {`package g1; var(j int32; s int; n = 1.0<<s == j)`, `1.0`, `int32`, `1`}, // go.dev/issue/48422 } for _, test := range tests {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 93.3K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/regalloc.go
"cmd/compile/internal/ir" "cmd/compile/internal/types" "cmd/internal/src" "cmd/internal/sys" "fmt" "internal/buildcfg" "math/bits" "unsafe" ) const ( moveSpills = iota logSpills regDebug stackDebug ) // distance is a measure of how far into the future values are used. // distance is measured in units of instructions. const ( likelyDistance = 1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 17:49:56 UTC 2023 - 87.2K bytes - Viewed (0) -
src/cmd/link/internal/ppc64/asm.go
var hasPCrel = buildcfg.GOPPC64 >= 10 && buildcfg.GOOS == "linux" const ( // For genstub, the type of stub required by the caller. STUB_TOC = iota STUB_PCREL ) var stubStrs = []string{ STUB_TOC: "_callstub_toc", STUB_PCREL: "_callstub_pcrel", } const ( OP_TOCRESTORE = 0xe8410018 // ld r2,24(r1)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 19 20:54:08 UTC 2024 - 63.7K bytes - Viewed (0) -
src/runtime/traceback.go
// // Note that there are a small number of fatal situations that will throw // regardless of unwindPrintErrors or unwindSilentErrors. unwindPrintErrors unwindFlags = 1 << iota // unwindSilentErrors silently ignores errors during unwinding. unwindSilentErrors // unwindTrap indicates that the initial PC and SP are from a trap, not a // return PC from a call. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 55.1K bytes - Viewed (0)