- Sort Score
- Result 10 results
- Languages All
Results 201 - 210 of 3,458 for Types (0.04 sec)
-
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) -
staging/src/k8s.io/apiserver/pkg/cel/lazy/lazy.go
otherIterator, ok := other.(*iterator) if !ok { return types.MaybeNoSuchOverloadErr(other) } return types.Bool(otherIterator == i) } func (i *iterator) Type() ref.Type { return types.IteratorType } func (i *iterator) Value() any { return nil } func (i *iterator) HasNext() ref.Val { return types.Bool(i.index < len(i.parent.knownValues)) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Aug 23 21:31:27 UTC 2023 - 4.9K 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) -
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) -
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) -
src/cmd/vendor/golang.org/x/tools/internal/typesinternal/recv.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 1.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/library/urls.go
if !ok { return types.MaybeNoSuchOverloadErr(arg) } return types.String(u.EscapedPath()) } func getQuery(arg ref.Val) ref.Val { u, ok := arg.Value().(*url.URL) if !ok { return types.MaybeNoSuchOverloadErr(arg) } result := map[ref.Val]ref.Val{} for k, v := range u.Query() { result[types.String(k)] = types.NewStringList(types.DefaultTypeAdapter, v) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Aug 23 21:31:27 UTC 2023 - 7.9K bytes - Viewed (0) -
src/go/importer/importer.go
packages map[string]*types.Package lookup Lookup } func (m *gcimports) Import(path string) (*types.Package, error) { return m.ImportFrom(path, "" /* no vendoring */, 0) } func (m *gcimports) ImportFrom(path, srcDir string, mode types.ImportMode) (*types.Package, error) { if mode != 0 { panic("mode must be 0") } return gcimporter.Import(m.fset, m.packages, path, srcDir, m.lookup) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 3.6K bytes - Viewed (0) -
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) -
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)