- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 1,207 for Types (0.13 sec)
-
src/cmd/vendor/golang.org/x/tools/go/types/typeutil/methodsetcache.go
} // MethodSet returns the method set of type T. It is thread-safe. // // If cache is nil, this function is equivalent to types.NewMethodSet(T). // Utility functions can thus expose an optional *MethodSetCache // parameter to clients that care about performance. func (cache *MethodSetCache) MethodSet(T types.Type) *types.MethodSet { if cache == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 23 18:08:27 UTC 2024 - 2.1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/types/typeutil/ui.go
// contains each method belonging to *T if there is no identically // named method on T itself. // // This corresponds to user intuition about method sets; // this function is intended only for user interfaces. // // The order of the result is as for types.MethodSet(T). func IntuitiveMethodSet(T types.Type, msets *MethodSetCache) []*types.Selection { isPointerToConcrete := func(T types.Type) bool {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 1.7K bytes - Viewed (0) -
analysis/analysis-api-fir/tests-gen/org/jetbrains/kotlin/analysis/api/fir/test/cases/generated/cases/types/FirIdeNormalAnalysisLibraryBinaryModuleAbbreviatedTypeTestGenerated.java
} @Test @TestMetadata("ListAlias.kt") public void testListAlias() { runTest("analysis/analysis-api/testData/types/abbreviatedType/ListAlias.kt"); } @Test @TestMetadata("ListAliasFromLibrary.kt") public void testListAliasFromLibrary() { runTest("analysis/analysis-api/testData/types/abbreviatedType/ListAliasFromLibrary.kt");
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 08 12:27:48 UTC 2024 - 7.8K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/aliases/aliases_go122.go
return Unalias(alias) } // Unalias is a wrapper of types.Unalias. func Unalias(t types.Type) types.Type { return types.Unalias(t) } // newAlias is an internal alias around types.NewAlias. // Direct usage is discouraged as the moment. // Try to use NewAlias instead. func newAlias(tname *types.TypeName, rhs types.Type) *Alias { a := types.NewAlias(tname, rhs)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/facts/imports.go
func importMap(imports []*types.Package) map[string]*types.Package { objects := make(map[types.Object]bool) typs := make(map[types.Type]bool) // Named and TypeParam packages := make(map[string]*types.Package) var addObj func(obj types.Object) var addType func(T types.Type) addObj = func(obj types.Object) { if !objects[obj] { objects[obj] = true addType(obj.Type())
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 3.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/stringintconv/string.go
vtypes, err := structuralTypes(V) if err != nil { return // invalid type } var V0 types.Type // integral type in the type set of V for _, vt := range vtypes { u, _ := vt.Underlying().(*types.Basic) if u != nil && u.Info()&types.IsInteger != 0 { switch u.Kind() { case types.Byte, types.Rune, types.UntypedRune: continue } V0 = vt break } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 5.2K bytes - Viewed (0) -
analysis/analysis-api-standalone/tests-gen/org/jetbrains/kotlin/analysis/api/standalone/fir/test/cases/generated/cases/types/FirStandaloneNormalAnalysisLibraryBinaryModuleAbbreviatedTypeTestGenerated.java
} @Test @TestMetadata("ListAlias.kt") public void testListAlias() { runTest("analysis/analysis-api/testData/types/abbreviatedType/ListAlias.kt"); } @Test @TestMetadata("ListAliasFromLibrary.kt") public void testListAliasFromLibrary() { runTest("analysis/analysis-api/testData/types/abbreviatedType/ListAliasFromLibrary.kt");
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 08 12:27:48 UTC 2024 - 7.9K bytes - Viewed (0) -
pkg/kubelet/util/queue/work_queue_test.go
q.Enqueue(types.UID("foo1"), -1*time.Minute) q.Enqueue(types.UID("foo2"), -1*time.Minute) q.Enqueue(types.UID("foo3"), 1*time.Minute) q.Enqueue(types.UID("foo4"), 1*time.Minute) expected := []types.UID{types.UID("foo1"), types.UID("foo2")} compareResults(t, expected, q.GetWork()) compareResults(t, []types.UID{}, q.GetWork()) // Dial the time to 1 hour ahead. clock.Step(time.Hour) expected = []types.UID{types.UID("foo3"), types.UID("foo4")}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 2.4K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10TypeCreator.kt
import org.jetbrains.kotlin.analysis.api.descriptors.types.KaFe10ClassErrorType import org.jetbrains.kotlin.analysis.api.descriptors.types.KaFe10UsualClassType import org.jetbrains.kotlin.analysis.api.descriptors.types.base.KaFe10Type import org.jetbrains.kotlin.analysis.api.lifetime.KaLifetimeToken import org.jetbrains.kotlin.analysis.api.types.KaStarTypeProjection import org.jetbrains.kotlin.analysis.api.types.KaType
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Mon Jun 10 20:18:28 UTC 2024 - 4.7K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/testinggoroutine/util.go
import ( "go/ast" "go/types" "golang.org/x/tools/go/ast/astutil" "golang.org/x/tools/internal/typeparams" ) // AST and types utilities that not specific to testinggoroutines. // localFunctionDecls returns a mapping from *types.Func to *ast.FuncDecl in files. func localFunctionDecls(info *types.Info, files []*ast.File) func(*types.Func) *ast.FuncDecl { var fnDecls map[*types.Func]*ast.FuncDecl // computed lazily
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 2.4K bytes - Viewed (0)