Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,288 for Types (0.07 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/cmd/compile/internal/ssa/passbm_test.go

    }
    
    func genFunction(size int) []bloc {
    	var blocs []bloc
    	elemType := types.Types[types.TINT64]
    	ptrType := elemType.PtrTo()
    
    	valn := func(s string, m, n int) string { return fmt.Sprintf("%s%d-%d", s, m, n) }
    	blocs = append(blocs,
    		Bloc("entry",
    			Valu(valn("store", 0, 4), OpInitMem, types.TypeMem, 0, nil),
    			Valu("sb", OpSB, types.Types[types.TUINTPTR], 0, nil),
    			Goto(blockn(1)),
    		),
    	)
    	for i := 1; i < size+1; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/internal/typesinternal/recv.go

    //
    // See also [typeparams.MustDeref], which removes one level of
    // indirection from the type, regardless of named types (analogous to
    // a LOAD instruction).
    func Unpointer(t types.Type) types.Type {
    	if ptr, ok := aliases.Unalias(t).(*types.Pointer); ok {
    		return ptr.Elem()
    	}
    	return t
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  6. internal/pubsub/pubsub.go

    // The mask is checked against the active subscribed types,
    // and 0 will be returned if nobody is subscribed for the type(s).
    func (ps *PubSub[T, M]) NumSubscribers(mask M) int32 {
    	types := Mask(atomic.LoadUint64(&ps.types))
    	if !types.Overlaps(Mask(mask.Mask())) {
    		return 0
    	}
    	return atomic.LoadInt32(&ps.numSubscribers)
    }
    
    // Subscribers returns the number of current subscribers for all types.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Feb 06 16:57:30 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  7. 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)
  8. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/types/KtFe10NewCapturedType.kt

    import org.jetbrains.kotlin.analysis.api.lifetime.withValidityAssertion
    import org.jetbrains.kotlin.analysis.api.types.KaCapturedType
    import org.jetbrains.kotlin.analysis.api.types.KaTypeNullability
    import org.jetbrains.kotlin.analysis.api.types.KaTypeProjection
    import org.jetbrains.kotlin.analysis.api.types.KaUsualClassType
    import org.jetbrains.kotlin.types.checker.NewCapturedType
    
    internal class KaFe10NewCapturedType(
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Jun 10 20:18:28 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/internal/typeparams/common.go

    func GenericAssignableTo(ctxt *types.Context, V, T types.Type) bool {
    	V = aliases.Unalias(V)
    	T = aliases.Unalias(T)
    
    	// If V and T are not both named, or do not have matching non-empty type
    	// parameter lists, fall back on types.AssignableTo.
    
    	VN, Vnamed := V.(*types.Named)
    	TN, Tnamed := T.(*types.Named)
    	if !Vnamed || !Tnamed {
    		return types.AssignableTo(V, T)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/unsafeptr/unsafeptr.go

    		}
    	}
    
    	return false
    }
    
    // hasBasicType reports whether x's type is a types.Basic with the given kind.
    func hasBasicType(info *types.Info, x ast.Expr, kind types.BasicKind) bool {
    	t := info.Types[x].Type
    	if t != nil {
    		t = t.Underlying()
    	}
    	b, ok := t.(*types.Basic)
    	return ok && b.Kind() == kind
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 4.7K bytes
    - Viewed (0)
Back to top