- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 100 for State (0.8 sec)
-
src/cmd/go/internal/script/engine.go
// update the engine's stdout and stderr buffers. // // Run itself and the returned WaitFunc may inspect and/or modify the State, // but the State's methods must not be called concurrently after Run has // returned. // // Run may retain and access the args slice until the WaitFunc has returned. Run(s *State, args ...string) (WaitFunc, error) // Usage returns the usage for the command, which the caller must not modify.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 27 01:16:19 UTC 2023 - 22.2K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/poset.go
po.addchild(i2, i1, true) } return true } // Checkpoint saves the current state of the DAG so that it's possible // to later undo this state. // Complexity is O(1). func (po *poset) Checkpoint() { po.undo = append(po.undo, posetUndo{typ: undoCheckpoint}) } // Undo restores the state of the poset to the previous checkpoint. // Complexity depends on the type of operations that were performed
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 04 17:23:05 UTC 2023 - 37.2K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/flagalloc.go
// standard regs, and it runs next.) // For this reason, take care not to add this flag // generator to the remove list. } } // Save live flag state for later. for _, b := range f.Blocks { b.FlagsLiveAtEnd = end[b.ID] != nil } // Remove any now-dead values. // The number of values to remove is likely small,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 31 21:41:20 UTC 2022 - 6.7K bytes - Viewed (0) -
src/cmd/compile/internal/loong64/galign.go
func Init(arch *ssagen.ArchInfo) { arch.LinkArch = &loong64.Linkloong64 arch.REGSP = loong64.REGSP arch.MAXWIDTH = 1 << 50 arch.ZeroRange = zerorange arch.Ginsnop = ginsnop arch.SSAMarkMoves = func(s *ssagen.State, b *ssa.Block) {} arch.SSAGenValue = ssaGenValue arch.SSAGenBlock = ssaGenBlock arch.LoadRegResult = loadRegResult arch.SpillArgReg = spillArgReg
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 19:04:16 UTC 2023 - 649 bytes - Viewed (0) -
src/cmd/compile/internal/ssa/magic.go
// For signed division, we use a similar strategy. // First, we enforce a positive c. // x / c = -(x / (-c)) // This will require an additional Neg op for c<0. // // If x is positive we're in a very similar state // to the unsigned case above. We define: // s = ⎡log2(c)⎤-1 // m = ⎡2^(n+s)/c⎤ // Then // ⎣x / c⎦ = ⎣x * m / 2^(n+s)⎦ // If x is negative we have // ⎡x / c⎤ = ⎣x * m / 2^(n+s)⎦ + 1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:25 UTC 2024 - 15.8K bytes - Viewed (0) -
src/cmd/compile/internal/ppc64/ssa.go
"cmd/internal/obj" "cmd/internal/obj/ppc64" "internal/buildcfg" "math" "strings" ) // ssaMarkMoves marks any MOVXconst ops that need to avoid clobbering flags. func ssaMarkMoves(s *ssagen.State, b *ssa.Block) { // flive := b.FlagsLiveAtEnd // if b.Control != nil && b.Control.Type.IsFlags() { // flive = true // } // for i := len(b.Values) - 1; i >= 0; i-- { // v := b.Values[i]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 19:59:38 UTC 2024 - 55.4K bytes - Viewed (0) -
src/cmd/go/internal/modload/load.go
// ImportFromFiles — both implemented in terms of loadFromRoots, which itself // manipulates an instance of the loader struct. // // Although most of the loading state is maintained in the loader struct, // one key piece - the build list - is a global, so that it can be modified // separate from the loading operation, such as during "go get" // upgrades/downgrades or in "go mod" operations.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 14:56:56 UTC 2024 - 84K bytes - Viewed (0) -
src/cmd/compile/internal/types2/lookup_test.go
lookup := func() { for _, name := range names { typ := scope.Lookup(name).Type() LookupFieldOrMethod(typ, true, pkg, "m") } } // Perform a lookup once, to ensure that any lazily-evaluated state is // complete. lookup() b.ResetTimer() for i := 0; i < b.N; i++ { lookup() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 13 15:31:35 UTC 2022 - 1.2K bytes - Viewed (0) -
src/cmd/cover/cover.go
numStmt int } // Package holds package-specific state. type Package struct { mdb *encodemeta.CoverageMetaDataBuilder counterLengths []int } // Function holds func-specific state. type Func struct { units []coverage.CoverableUnit counterVar string } // File is a wrapper for the state of a file used in the parser.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 34.5K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/deadcode.go
q := f.Cache.allocValueSlice(f.NumValues())[:0] defer f.Cache.freeValueSlice(q) // Starting set: all control values of reachable blocks are live. // Calls are live (because callee can observe the memory state). for _, b := range f.Blocks { if !reachable[b.ID] { continue } for _, v := range b.ControlValues() { if !live[v.ID] { live[v.ID] = true q = append(q, v)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 08 00:29:01 UTC 2023 - 9.2K bytes - Viewed (0)