- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 35 for concurrence (1.12 sec)
-
src/cmd/compile/internal/types2/interface.go
} // MarkImplicit marks the interface t as implicit, meaning this interface // corresponds to a constraint literal such as ~T or A|B without explicit // interface embedding. MarkImplicit should be called before any concurrent use // of implicit interfaces. func (t *Interface) MarkImplicit() { t.implicit = true } // NumExplicitMethods returns the number of explicitly declared methods of interface t.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 09 17:24:42 UTC 2023 - 6.2K bytes - Viewed (0) -
src/cmd/compile/internal/types2/api.go
// the alias information is only in the type name, which points directly to // the actual (aliased) type. // // This setting must not differ among concurrent type-checking operations, // since it affects the behavior of Universe.Lookup("any"). // // This flag will eventually be removed (with Go 1.24 at the earliest). EnableAlias bool }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 13:48:53 UTC 2024 - 17.4K bytes - Viewed (0) -
src/cmd/gofmt/gofmt.go
} // A sequencer performs concurrent tasks that may write output, but emits that // output in a deterministic order. type sequencer struct { maxWeight int64 sem *semaphore.Weighted // weighted by input bytes (an approximate proxy for memory overhead) prev <-chan *reporterState // 1-buffered } // newSequencer returns a sequencer that allows concurrent tasks up to maxWeight
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 15.1K bytes - Viewed (0) -
src/cmd/internal/obj/link.go
Std bool // is standard library package // state for writing objects Text []*LSym Data []*LSym // Constant symbols (e.g. $i64.*) are data symbols created late // in the concurrent phase. To ensure a deterministic order, we // add them to a separate list, sort at the end, and append it // to Data. constSyms []*LSym // Windows SEH symbols are also data symbols that can be created
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 33.1K bytes - Viewed (0) -
src/cmd/compile/internal/types2/api_test.go
got, want := A.Type().(*Alias).Rhs().String(), "p.B" if got != want { t.Errorf("A.Rhs = %s, want %s", got, want) } } // Test the hijacking described of "any" described in golang/go#66921, for // (concurrent) type checking. func TestAnyHijacking_Check(t *testing.T) { for _, enableAlias := range []bool{false, true} { t.Run(fmt.Sprintf("EnableAlias=%t", enableAlias), func(t *testing.T) { var wg sync.WaitGroup
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/go/internal/modcmd/download.go
// if any download failed due to a TooNewError, we switch toolchains and try // again. Any downloads that already succeeded will still be in cache. // That won't give optimal concurrency (we'll do two batches of concurrent // downloads instead of all in one batch), and it might add a little overhead // to look up the downloads from the first batch in the module cache when
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 08 19:32:39 UTC 2023 - 13.5K bytes - Viewed (0) -
src/bufio/bufio.go
b.lastRuneSize = -1 return nil } // Buffered returns the number of bytes that can be read from the current buffer. func (b *Reader) Buffered() int { return b.w - b.r } // ReadSlice reads until the first occurrence of delim in the input, // returning a slice pointing at the bytes in the buffer. // The bytes stop being valid at the next read. // If ReadSlice encounters an error before finding a delimiter,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 12 14:39:08 UTC 2023 - 21.8K bytes - Viewed (0) -
src/cmd/compile/internal/types2/named.go
// concurrent use of the type checker API (after type checking or importing has // finished). It is critical that we keep track of state, so that Named types // are constructed exactly once and so that we do not access their details too // soon. // // We achieve this by tracking state with an atomic state variable, and // guarding potentially concurrent calculations with a mutex. At any point in
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 20:03:31 UTC 2024 - 23.9K bytes - Viewed (0) -
src/cmd/compile/internal/types2/unify.go
// // This is a quadratic algorithm, but in practice these stacks // are extremely short (bounded by the nesting depth of interface // type declarations that recur via parameter types, an extremely // rare occurrence). An alternative implementation might use a // "visited" map, but that is probably less efficient overall. q := &ifacePair{xi, yi, p} for p != nil { if p.identical(q) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 16:24:39 UTC 2024 - 27.8K bytes - Viewed (0) -
src/cmd/compile/internal/types2/predicates.go
// This is a quadratic algorithm, but in practice these stacks // are extremely short (bounded by the nesting depth of interface // type declarations that recur via parameter types, an extremely // rare occurrence). An alternative implementation might use a // "visited" map, but that is probably less efficient overall. q := &ifacePair{x, y, p} for p != nil { if p.identical(q) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 17.5K bytes - Viewed (0)