- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 238 for Universe (0.15 sec)
-
src/go/types/issues_test.go
testFiles(t, []string{"t.go"}, [][]byte{[]byte(tsrc)}, false, withImporter) } func TestIssue50646(t *testing.T) { anyType := Universe.Lookup("any").Type().Underlying() comparableType := Universe.Lookup("comparable").Type() if !Comparable(anyType) { t.Error("any is not a comparable type") } if !Comparable(comparableType) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 28.1K bytes - Viewed (0) -
cmd/update_test.go
envName: "MESOS_CONTAINER_NAME", envValue: "mesos-11111", mode: globalMinioModeErasure, expectedStr: fmt.Sprintf("MinIO (%s; %s; %s; %s; source DEVELOPMENT.GOGET DEVELOPMENT.GOGET DEVELOPMENT.GOGET universe-%s", runtime.GOOS, runtime.GOARCH, globalMinioModeErasure, "dcos", "mesos-1111"), }, { envName: "KUBERNETES_SERVICE_HOST", envValue: "10.11.148.5", mode: globalMinioModeErasure,
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sat Mar 09 03:07:08 UTC 2024 - 10.7K bytes - Viewed (0) -
src/cmd/compile/internal/types2/issues_test.go
testFiles(t, []string{"t.go"}, [][]byte{[]byte(tsrc)}, 0, false, withImporter) } func TestIssue50646(t *testing.T) { anyType := Universe.Lookup("any").Type().Underlying() comparableType := Universe.Lookup("comparable").Type() if !Comparable(anyType) { t.Error("any is not a comparable type") } if !Comparable(comparableType) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 28.1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/types.go
package printf import ( "fmt" "go/ast" "go/types" "golang.org/x/tools/go/analysis" "golang.org/x/tools/internal/aliases" "golang.org/x/tools/internal/typeparams" ) var errorType = types.Universe.Lookup("error").Type().Underlying().(*types.Interface) // matchArgType reports an error if printf verb t is not appropriate for // operand arg. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 8.6K bytes - Viewed (0) -
src/cmd/compile/internal/types2/typestring.go
// (say int), point out where it is declared to avoid confusing // error messages. This doesn't need to be super-elegant; we just // need a clear indication that this is not a predeclared name. if w.ctxt == nil && Universe.Lookup(t.obj.name) != nil { if isTypes2 { w.string(fmt.Sprintf(" /* with %s declared at %v */", t.obj.name, t.obj.Pos())) } else { // Can't print position information because
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 12.2K bytes - Viewed (0) -
src/go/types/typestring.go
// (say int), point out where it is declared to avoid confusing // error messages. This doesn't need to be super-elegant; we just // need a clear indication that this is not a predeclared name. if w.ctxt == nil && Universe.Lookup(t.obj.name) != nil { if isTypes2 { w.string(fmt.Sprintf(" /* with %s declared at %v */", t.obj.name, t.obj.Pos())) } else { // Can't print position information because
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 12.3K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/tests/tests.go
types.Typ[types.Int32], types.Typ[types.Int64], types.Typ[types.Uint], types.Typ[types.Uint8], types.Typ[types.Uint16], types.Typ[types.Uint32], types.Typ[types.Uint64], types.NewSlice(types.Universe.Lookup("byte").Type()), } func run(pass *analysis.Pass) (interface{}, error) { for _, f := range pass.Files { if !strings.HasSuffix(pass.Fset.File(f.Pos()).Name(), "_test.go") { continue }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 14.4K bytes - Viewed (0) -
src/cmd/compile/internal/types/fmt.go
package types import ( "bytes" "encoding/binary" "fmt" "strconv" "sync" "cmd/compile/internal/base" "cmd/internal/notsha256" ) // BuiltinPkg is a fake package that declares the universe block. var BuiltinPkg *Pkg // LocalPkg is the package being compiled. var LocalPkg *Pkg // UnsafePkg is package unsafe. var UnsafePkg *Pkg // BlankSym is the blank (_) symbol. var BlankSym *Sym
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 12 15:41:17 UTC 2023 - 15.7K bytes - Viewed (0) -
src/go/types/generate_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 16.5K bytes - Viewed (0) -
src/cmd/compile/internal/types2/typexpr.go
return // avoid follow-on errors } } // Because the representation of any depends on gotypesalias, we don't check // pointer identity here. if obj.Name() == "any" && obj.Parent() == Universe { if !check.verifyVersionf(e, go1_18, "predeclared %s", e.Value) { return // avoid follow-on errors } } check.recordUse(e, obj)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 16.6K bytes - Viewed (0)