- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 571 for we (0.05 sec)
-
src/cmd/go/internal/modload/edit.go
} orig := rs // If we already know what go version we will end up on after the edit, and // the pruning for that version is different, go ahead and apply it now. // // If we are changing from pruned to unpruned, then we MUST check the unpruned // graph for conflicts from the start. (Checking only for pruned conflicts // would miss some that would be introduced later.) //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 15 21:46:32 UTC 2024 - 34.1K bytes - Viewed (0) -
src/cmd/compile/internal/types2/validtype.go
// // Now we reach B[P] again. If we had not adjusted nest, it would // correspond to path, and we would find B[P] in nest, indicating // a cycle, which would clearly be wrong since there's no cycle in // A[string]: // // B[Pā] // nest = A[string] // path = A[A[string]]->B[P]->A[string] <== path contains B[P]! // // But because we use the correct type nest, evaluation proceeds without
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 15 13:22:37 UTC 2024 - 10.2K bytes - Viewed (0) -
src/cmd/go/internal/modcmd/download.go
// which Go version to switch to to download the requested modules, but if we // haven't downloaded the module's go.mod file yet the GoVersion field of its // info struct is not yet populated. // // We also need to be careful to only print the info for each module once // if the -json flag is set. //
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/cmd/compile/internal/types2/decl.go
if typ != nil { obj.typ = check.varType(typ) // We cannot spread the type to all lhs variables if there // are more than one since that would mark them as checked // (see Checker.objDecl) and the assignment of init exprs, // if any, would not be checked. // // TODO(gri) If we have no init expr, we should distribute // a given type otherwise we need to re-evaluate the type
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 29.6K bytes - Viewed (0) -
src/cmd/go/internal/modload/load.go
// pkg.err was already non-nil, so we can reasonably attribute the error // for pkg to either the original error or the one returned by // queryImport. The existing error indicates only that we couldn't find // the package, whereas the query error also explains why we didn't fix // the problem ā so we prefer the latter. pkg.err = err } // err is nil, but we intentionally leave pkg.err non-nil and pkg.mod
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/unify.go
// In all other cases, the method sets must match. // The types unified so we know that corresponding methods // match and we can simply compare the number of methods. // TODO(gri) We may be able to relax this rule and select // the more general interface. But if one of them is a defined // type, it's not clear how to choose and whether we introduce // an order dependency or not. Requiring the same method set
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/cgo/internal/test/buildid_linux.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package cgotest // Test that we have no more than one build ID. In the past we used // to generate a separate build ID for each package using cgo, and the // linker concatenated them all. We don't want that--we only want // one. import ( "bytes" "debug/elf" "os" "testing" ) func testBuildID(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:02 UTC 2023 - 1.7K bytes - Viewed (0) -
src/cmd/go/internal/work/buildid.go
// // For these tools we have no -V=full option to dump the build ID, // but we can run the tool with -v -### to reliably get the compiler proper // and hash that. That will work in the presence of -toolexec. // // In order to get reproducible builds for released compilers, we // detect a released compiler by the absence of "experimental" in the // --version output, and in that case we just use the version string. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:31:25 UTC 2024 - 26.2K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/copyelim.go
// ultimate source of v. v must be a copy op. func copySource(v *Value) *Value { w := v.Args[0] // This loop is just: // for w.Op == OpCopy { // w = w.Args[0] // } // but we take some extra care to make sure we // don't get stuck in an infinite loop. // Infinite copy loops may happen in unreachable code. // (TODO: or can they? Needs a test.) slow := w var advance bool for w.Op == OpCopy {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 14:55:18 UTC 2024 - 3.5K bytes - Viewed (0) -
src/cmd/go/internal/modload/buildlist.go
} for _, m := range rs.rootModules { if inRootPaths[m.Path] { // This root specifies a redundant path. We already retained the // selected version of this path when we saw it before, so omit the // redundant copy regardless of its version. // // When we read the full module graph, we include the dependencies of // every root even if that root is redundant. That better preserves
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 16:04:44 UTC 2024 - 53.8K bytes - Viewed (0)