- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 239 for Universe (0.19 sec)
-
src/cmd/compile/internal/typecheck/universe.go
}{ {"Add", ir.OUNSAFEADD}, {"Slice", ir.OUNSAFESLICE}, {"SliceData", ir.OUNSAFESLICEDATA}, {"String", ir.OUNSAFESTRING}, {"StringData", ir.OUNSAFESTRINGDATA}, } // InitUniverse initializes the universe block. func InitUniverse() { types.InitTypes(func(sym *types.Sym, typ *types.Type) types.Object { n := ir.NewDeclNameAt(src.NoXPos, ir.OTYPE, sym) n.SetType(typ) n.SetTypecheck(1) sym.Def = n return n
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 05 15:20:28 UTC 2023 - 4.7K bytes - Viewed (0) -
src/go/types/universe.go
defPredeclaredNil() defPredeclaredFuncs() universeIota = Universe.Lookup("iota") universeByte = Universe.Lookup("byte").Type() universeRune = Universe.Lookup("rune").Type() universeError = Universe.Lookup("error").Type() universeComparable = Universe.Lookup("comparable") } // Objects with names containing blanks are internal and not entered into // a scope. Objects with exported names are inserted in the unsafe package
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 9.3K bytes - Viewed (0) -
src/cmd/compile/internal/types2/universe.go
defPredeclaredNil() defPredeclaredFuncs() universeIota = Universe.Lookup("iota") universeByte = Universe.Lookup("byte").Type() universeRune = Universe.Lookup("rune").Type() universeError = Universe.Lookup("error").Type() universeComparable = Universe.Lookup("comparable") } // Objects with names containing blanks are internal and not entered into // a scope. Objects with exported names are inserted in the unsafe package
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 9.1K bytes - Viewed (0) -
src/cmd/compile/internal/types/universe.go
Matthew Dempsky <******@****.***> 1669945322 -0800
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jan 26 21:56:49 UTC 2023 - 4K bytes - Viewed (0) -
src/go/ast/resolve.go
p.declare(fileScope, pkgScope, obj) } } // resolve identifiers if importErrors { // don't use the universe scope without correct imports // (objects in the universe may be shadowed by imports; // with missing imports, identifiers might get resolved // incorrectly to universe objects) pkgScope.Outer = nil } i := 0 for _, ident := range file.Unresolved { if !resolve(fileScope, ident) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 5.4K bytes - Viewed (0) -
src/cmd/compile/internal/types2/package.go
// holding the objects declared at package level (TypeNames, // Consts, Vars, and Funcs). // For a nil pkg receiver, Scope returns the Universe scope. func (pkg *Package) Scope() *Scope { if pkg != nil { return pkg.scope } return Universe } // A package is complete if its scope contains (at least) all // exported objects; otherwise it is incomplete.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 06 13:09:19 UTC 2023 - 2.9K bytes - Viewed (0) -
src/go/internal/gcimporter/support.go
types.Typ[types.Float64], types.Typ[types.Complex64], types.Typ[types.Complex128], types.Typ[types.String], // basic type aliases types.Universe.Lookup("byte").Type(), types.Universe.Lookup("rune").Type(), // error types.Universe.Lookup("error").Type(), // untyped types types.Typ[types.UntypedBool], types.Typ[types.UntypedInt], types.Typ[types.UntypedRune],
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 4.1K bytes - Viewed (0) -
src/cmd/compile/internal/types2/object_test.go
t.Errorf("%v: got IsAlias = %v; want %v", obj, got, want) } } // predeclared types check(Unsafe.Scope().Lookup("Pointer").(*TypeName), false) for _, name := range Universe.Names() { if obj, _ := Universe.Lookup(name).(*TypeName); obj != nil { check(obj, name == "any" || name == "byte" || name == "rune") } } // various other types pkg := NewPackage("p", "p")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 18 14:10:44 UTC 2024 - 5.2K bytes - Viewed (0) -
analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/string_templateConst.kt
const val QUESTION = "the ultimate question of life, the universe, and everything" const val ANSWER = 42
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed Feb 15 15:45:22 UTC 2023 - 175 bytes - Viewed (0) -
analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/string_templateConst.txt
expression: "The answer to ${QUESTION} is ${ANSWER}." constant: "The answer to the ultimate question of life, the universe, and everything is 42."
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Fri Jun 07 11:53:09 UTC 2024 - 173 bytes - Viewed (0)