- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 43 for concurrence (2.09 sec)
-
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) -
src/cmd/cgo/doc.go
pkg-config directives are concatenated and sent to pkg-config simultaneously to add to each appropriate set of command-line flags. When the cgo directives are parsed, any occurrence of the string ${SRCDIR} will be replaced by the absolute path to the directory containing the source file. This allows pre-compiled static libraries to be included in the package directory and linked properly.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 17:12:16 UTC 2024 - 42.2K bytes - Viewed (0) -
src/cmd/go/internal/load/pkg.go
// packageDataCache maps canonical package names (string) to package metadata. var packageDataCache par.ErrCache[string, *build.Package] // preloadWorkerCount is the number of concurrent goroutines that can load // packages. Experimentally, there are diminishing returns with more than // 4 workers. This was measured on the following machines. // // * MacBookPro with a 4-core Intel Core i7 CPU
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 28 17:00:51 UTC 2024 - 120K bytes - Viewed (0) -
src/cmd/go/internal/modload/init.go
// module in *our* build list got bumped to a different version, but that's // a lot of work for marginal benefit. Instead, fail the command: if users // want to run concurrent commands, they need to start with a complete, // consistent module definition. return nil, fmt.Errorf("existing contents have changed since last read") } return updatedGoMod, nil })
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 18:36:30 UTC 2024 - 69.8K bytes - Viewed (0) -
doc/go_spec.html
</p> <p> Go is a general-purpose language designed with systems programming in mind. It is strongly typed and garbage-collected and has explicit support for concurrent programming. Programs are constructed from <i>packages</i>, whose properties allow efficient management of dependencies. </p> <p> The syntax is compact and simple to parse, allowing for easy analysis
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 21:07:21 UTC 2024 - 281.5K bytes - Viewed (0) -
src/cmd/compile/internal/test/reproduciblebuilds_test.go
} } } }) } } func TestIssue38068(t *testing.T) { testenv.MustHaveGoBuild(t) t.Parallel() // Compile a small package with and without the concurrent // backend, then check to make sure that the resulting archives // are identical. Note: this uses "go tool compile" instead of // "go build" since the latter will generate different build IDs
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 06 18:07:35 UTC 2023 - 2.8K bytes - Viewed (0) -
src/cmd/compile/internal/types2/context.go
// (somewhat obviously). // // However, neither of these purposes require that our hash is perfect, and so // this was not an explicit design goal of the context type. In fact, due to // concurrent use it is convenient not to guarantee de-duplication. // // Nevertheless, in the future it could be helpful to allow users to leverage // contexts to canonicalize instances, and it would probably be possible to
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 28 17:29:21 UTC 2023 - 4.3K bytes - Viewed (0) -
src/cmd/go/internal/modget/query.go
// if one is still needed. // // Note that, unlike sync.Once, pathOnce does not guarantee that a concurrent // call to f for the given path has completed on return. // // pathOnce is safe for concurrent use by multiple goroutines, but note that // multiple concurrent calls will result in the sets being added in // nondeterministic order. func (q *query) pathOnce(path string, f func() pathSet) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 27 15:48:25 UTC 2023 - 11.2K bytes - Viewed (0)