MCPcopy Create free account

hub / github.com/hashintel/hash / functions

Functions18,976 in github.com/hashintel/hash

↓ 14 callersMethodfind
Finds the representative (root) element of the set containing the given element. This operation performs path compression, meaning that subsequent op
libs/@local/hashql/core/src/id/union_find.rs:198
↓ 14 callersMethodfind_block
Finds the [`PlacementBlock`] for `block` in the working array. Linear scan over `blocks`. Fine for typical SCC sizes (3–6 blocks, rarely >12). If prof
libs/@local/hashql/mir/src/pass/execution/placement/solve/csp/mod.rs:112
↓ 14 callersFunctiongetEntityTypeById
( subgraph: Subgraph, entityTypeId: VersionedUrl, )
libs/@blockprotocol/graph/src/stdlib/subgraph/element/entity-type.ts:40
↓ 14 callersMethodids
Returns an iterator over all valid IDs for this slice. The iterator yields IDs from 0 up to (but not including) `bound()`.
libs/@local/hashql/core/src/id/slice.rs:186
↓ 14 callersMethodinsert
(&mut self, path: PathBuf, spec: Spec)
libs/@local/hashql/compiletest/src/harness/test/discover.rs:26
↓ 14 callersMethoditer
(&self)
libs/@local/hashql/core/src/module/locals.rs:111
↓ 14 callersMethodjoin
( self: Type<'heap, Self>, other: Type<'heap, Self>, env: &mut LatticeEnvironment<'_,
libs/@local/hashql/core/src/type/kind/generic/mod.rs:254
↓ 14 callersFunctionlocation
(block: usize, statement_index: usize)
libs/@local/hashql/mir/src/pass/execution/traversal/analysis/tests.rs:46
↓ 14 callersMethodlock
Acquires the lock and returns a guard that dereferences to the locked data. The lock is held until the guard is dropped. Use this when you need to pe
libs/@local/hashql/core/src/sync/lock.rs:403
↓ 14 callersFunctionlogProgress
(logs: StepProgressLog[])
apps/hash-ai-worker-ts/src/activities/shared/log-progress.ts:58
↓ 14 callersMethodparse
Parses a property annotation string and updates self accordingly. # Errors If an annotation is malformed.
libs/@local/hashql/compiletest/src/annotation/directive.rs:71
↓ 14 callersFunctionpipe
()
libs/@local/harpc/client/typescript/src/net/internal/peerConnection.ts:151
↓ 14 callersMethodprime
Populates the table with predefined symbols from [`sym::LOOKUP`]. After priming, interning any predefined symbol string will return its canonical con
libs/@local/hashql/core/src/symbol/table.rs:156
↓ 14 callersMethodscc
Returns the SCC identifier containing the given node.
libs/@local/hashql/core/src/graph/algorithms/tarjan/mod.rs:294
↓ 14 callersFunctionsleep
(ms: number)
libs/@local/hash-isomorphic-utils/src/sleep.ts:6
↓ 14 callersFunctionuseEntityEditor
()
apps/hash-frontend/src/pages/shared/entity/entity-editor/entity-editor-context.tsx:173
↓ 14 callersFunctionuseGraphContext
()
apps/hash-frontend/src/pages/shared/graph-visualizer/graph-container/shared/graph-context.tsx:180
↓ 14 callersMethodvisit_body
(&mut self, _: &Body<'heap>)
libs/@local/hashql/mir/src/pass/transform/ssa_repair/mod.rs:741
↓ 14 callersMethodwrite
Generates TypeScript code from the provided type collection.
libs/@local/codegen/src/typescript.rs:86
↓ 13 callersFunctionaddEntityStoreAction
( state: EditorState, tr: Transaction, action: EntityStorePluginAction, )
libs/@local/hash-isomorphic-utils/src/entity-store-plugin.ts:439
↓ 13 callersMethodadd_distinct_selection_with_ordering
( &mut self, path: &'p R::QueryPath<'q>, distinctness: Distinctness, ordering:
libs/@local/graph/postgres-store/src/store/postgres/query/compile.rs:312
↓ 13 callersMethodadd_projection
( &mut self, span: SpanId, r#type: TypeId, field: Ident<'heap>, )
libs/@local/hashql/core/src/type/environment/infer.rs:128
↓ 13 callersMethodadd_subscript
(&mut self, span: SpanId, r#type: TypeId, index: TypeId)
libs/@local/hashql/core/src/type/environment/infer.rs:154
↓ 13 callersFunctionbitwise
(out_vec: &mut [Word], in_vec: &[Word], op: Op)
libs/@local/hashql/core/src/id/bit_vec/mod.rs:1195
↓ 13 callersMethodconvert_parameters
( &mut self, data_type_provider: &P, )
libs/@local/graph/store/src/filter/mod.rs:1202
↓ 13 callersMethodcost
Returns the total cost (statement base + path transfer load) of placing `block` on `target`. # Panics Debug-asserts that `target` is in the block's
libs/@local/hashql/mir/src/pass/execution/cost/analysis.rs:76
↓ 13 callersFunctioncreateEntity
( ...payload )
apps/hash-frontend/src/components/sandbox/framed-block/framed-block.tsx:96
↓ 13 callersMethodcreate_machine
Creates a new machine with the given ID, or generates a new UUID if none is provided. # Errors - [`PrincipalAlreadyExists`] if a machine with the gi
libs/@local/graph/postgres-store/src/permissions/mod.rs:245
↓ 13 callersFunctiondisableRules
(rules: readonly string[])
libs/@local/eslint/src/deprecated/disable.ts:5
↓ 13 callersFunctionempty_bitset
()
libs/@local/hashql/mir/src/pass/execution/traversal/tests.rs:185
↓ 13 callersMethodextend
Extends `self` with another `Extensions`. If an instance of a specific type exists in both, the one in `self` is overwritten with the one from `other
libs/@local/harpc/tower/src/extensions.rs:277
↓ 13 callersMethodfinish
(self)
libs/@local/hashql/hir/src/lower/dataflow.rs:54
↓ 13 callersMethodfinish_with_terminator
(self, terminator: TerminatorKind<'heap>)
libs/@local/hashql/mir/src/builder/basic_block.rs:161
↓ 13 callersMethodfuse
Fuses blocks in `body` that share the same target assignment. Modifies both `body` and `targets` in place. The `targets` vec is compacted to match th
libs/@local/hashql/mir/src/pass/execution/fusion/mod.rs:252
↓ 13 callersFunctiongetEntityOutgoingLinks
(context, authentication, params)
apps/hash-api/src/graph/knowledge/primitive/entity.ts:620
↓ 13 callersFunctiongetOutgoingLinksForEntity
( subgraph: Subgraph, entityId: EntityId, interval?: TemporalInterval<TemporalBound, TemporalBound>, )
libs/@blockprotocol/graph/src/stdlib/subgraph/edge/link-entity.ts:58
↓ 13 callersFunctiongetSimplifiedAiFlowActionInputs
(params: { inputs: StepInput[]; actionType: T; })
libs/@local/hash-isomorphic-utils/src/flows/action-definitions.ts:774
↓ 13 callersFunctiongetUser
(context, authentication, params)
apps/hash-api/src/graph/knowledge/system-types/user.ts:226
↓ 13 callersMethodget_mut
Returns the property at the given path. # Errors - If the path does not point to a property.
libs/@blockprotocol/type-system/rust/src/knowledge/property/mod.rs:196
↓ 13 callersMethodget_role
Gets a role by its ID. # Errors - [`StoreError`] if a database error occurs [`StoreError`]: PrincipalError::StoreError
libs/@local/graph/postgres-store/src/permissions/mod.rs:663
↓ 13 callersMethodinfer
(&self, id: HoleId)
libs/@local/hashql/core/src/type/inference/mod.rs:349
↓ 13 callersMethodinsert_team
Creates a new team with the given ID and parent actor group, or generates a new UUID if none is provided. # Errors - [`PrincipalAlreadyExists`] if a
libs/@local/graph/postgres-store/src/permissions/mod.rs:445
↓ 13 callersFunctioninstantiate_param
( env: &Environment<'_>, argument: impl TryInto<GenericArgumentId, Error: Debug>, )
libs/@local/hashql/core/src/type/tests.rs:31
↓ 13 callersMethodintersperse
Intersperses documents with a separator.
libs/@local/hashql/core/src/pretty/formatter.rs:295
↓ 13 callersMethodinto_issues
Converts the error into a collection of diagnostic issues. The primary error is inserted at the front of the secondary diagnostics, creating a single
libs/@local/hashql/diagnostics/src/status.rs:252
↓ 13 callersMethodinto_iter
(self)
libs/@local/graph/store/src/subgraph/edges/endpoint.rs:37
↓ 13 callersMethodis_empty
(&self)
libs/@blockprotocol/type-system/rust/src/ontology/data_type/schema/mod.rs:27
↓ 13 callersMethodis_err
(self)
libs/@local/harpc/types/src/response_kind.rs:20
↓ 13 callersMethodnever
(&self)
libs/@local/hashql/core/src/type/builder.rs:1356
↓ 13 callersMethodnext
(&mut self)
libs/error-stack/src/iter.rs:94
↓ 13 callersMethodnext
(&mut self)
libs/@local/hashql/mir/src/body/basic_blocks.rs:30
↓ 13 callersFunctionnot
(filter: Filter<'static, Entity>)
libs/@local/graph/store/src/filter/protection.rs:1057
↓ 13 callersMethodof
Returns the cost for the terminator in `block`, or `None` if the target cannot execute it.
libs/@local/hashql/mir/src/pass/execution/cost/mod.rs:372
↓ 13 callersMethodpatch
( graphAPI: GraphApi, authentication: AuthenticationContext, { entityTypeIds, property
libs/@local/graph/sdk/typescript/src/entity.ts:1177
↓ 13 callersFunctionpurge_params
Helper: purge with default settings (`include_drafts=false`, Ignore link behavior).
libs/@local/graph/postgres-store/tests/deletion/purge.rs:32
↓ 13 callersFunctionresolve
( analysis: string, args: Record<string, unknown> = {}, webId: WebId = WEB_ID, )
apps/hash-api/src/analysis/setup-analysis-handler/resolve-analysis.test.ts:68
↓ 13 callersMethodresolve_type
(&self, r#type: Type<'heap>)
libs/@local/hashql/core/src/type/environment/lattice.rs:139
↓ 13 callersMethodretain
(&mut self, universe: Universe, closure: impl FnMut(&K, &mut V) -> bool)
libs/@local/hashql/core/src/module/universe.rs:571
↓ 13 callersMethodset_variables
(&mut self, variables: VariableLookup)
libs/@local/hashql/core/src/type/environment/lattice.rs:79
↓ 13 callersFunctionsetup_recv
( config: SessionConfig, )
libs/@local/harpc/net/src/session/client/transaction/test.rs:84
↓ 13 callersMethodtype_name
Returns a displayable representation of this value's runtime type. Primitives produce their type name (`"Integer"`, `"String"`), aggregates include t
libs/@local/hashql/mir/src/interpret/value/mod.rs:151
↓ 13 callersFunctionuseActiveWorkspace
()
apps/hash-frontend/src/pages/shared/workspace-context.tsx:34
↓ 13 callersFunctionuseIsReadonly
()
libs/@hashintel/type-editor/src/shared/read-only-context.tsx:5
↓ 13 callersMethodwithout_simplify
(&mut self)
libs/@local/hashql/core/src/type/environment/lattice.rs:108
↓ 12 callersMethodas_mut
(&mut self)
libs/@local/hashql/core/src/type/visit.rs:719
↓ 12 callersFunctionassert_cp_pass
( name: &'static str, body: Body<'heap>, context: &mut MirContext<'_, 'heap>, )
libs/@local/hashql/mir/src/pass/transform/copy_propagation/tests.rs:30
↓ 12 callersMethodassign_role_by_id
Assigns a role to an actor. # Errors - [`PrincipalNotFound`] if the actor or role with the given ID doesn't exist - [`StoreError`] if a database err
libs/@local/graph/postgres-store/src/permissions/mod.rs:730
↓ 12 callersFunctionbuild_graph
( unification: &mut Unification, edges: impl IntoIterator<Item: IntoIterator<Item: Borrow<i32>
libs/@local/hashql/core/src/type/inference/solver/graph.rs:479
↓ 12 callersFunctioncategory
(terminal: &'static TerminalDiagnosticCategory)
libs/@local/hashql/eval/src/orchestrator/error.rs:158
↓ 12 callersFunctioncomputePeriodCost
( monthly: KgDayBucket[] | null | undefined, unitPrice: number | null | undefined, waccRate: number, s
apps/hash-frontend/src/pages/supply-chain/shared/cost.ts:80
↓ 12 callersFunctioncreateEntityType
(ctx, authentication, params)
apps/hash-api/src/graph/ontology/primitive/entity-type.ts:92
↓ 12 callersMethodcreate_user
Creates a new user with the given ID, or generates a new UUID if none is provided. # Errors - [`PrincipalAlreadyExists`] if a user with the given ID
libs/@local/graph/postgres-store/src/permissions/mod.rs:130
↓ 12 callersFunctiondeserializeQueryEntitiesResponse
( response: SerializedQueryEntitiesResponse<PropertyMap>, )
libs/@local/graph/sdk/typescript/src/entity.ts:1609
↓ 12 callersMethodensure_atom
Ensures that a node is an atomic value suitable for ANF. Atoms are the fundamental values in Administrative Normal Form that can be used directly wit
libs/@local/hashql/hir/src/lower/normalization.rs:345
↓ 12 callersMethodfield
(mut self, index: usize, ty: TypeId)
libs/@local/hashql/mir/src/builder/place.rs:66
↓ 12 callersMethodflush
(&mut self)
libs/@local/hashql/compiletest/src/runner/ui/tui.rs:55
↓ 12 callersMethodfold_span
(&mut self, span: SpanId)
libs/@local/hashql/hir/src/fold/mod.rs:166
↓ 12 callersMethodformat
Formats an HIR node into a document. This is the primary entry point for formatting nodes. Returns a [`Doc`] that can be rendered to various output f
libs/@local/hashql/hir/src/pretty.rs:101
↓ 12 callersFunctionfrom_natural
()
libs/@local/codec/src/numeric/real.rs:524
↓ 12 callersFunctiongetSettingsLayout
(page: ReactElement)
apps/hash-frontend/src/pages/shared/settings-layout.tsx:169
↓ 12 callersFunctiongetWebMachineId
( context: { graphApi: GraphApi }, authentication: { actorId: ActorEntityUuid }, { webId }: { webId: Web
libs/@local/hash-backend-utils/src/machine-actors.ts:57
↓ 12 callersMethodget_or_create_system_machine
( &mut self, identifier: &str, )
libs/@local/graph/type-fetcher/src/store.rs:184
↓ 12 callersMethodinit
Initialize the telemetry setup in the current scope. # Errors - [`InitTracingError`], if initializing the [`tracing_subscriber::Registry`] fails.
libs/@local/telemetry/src/lib.rs:195
↓ 12 callersMethodinsert
(&mut self, block: BasicBlockId, cost: Cost)
libs/@local/hashql/mir/src/pass/execution/cost/mod.rs:376
↓ 12 callersMethodinsert
(&mut self, from: TargetId, to: TargetId, mut cost: Cost)
libs/@local/hashql/mir/src/pass/execution/terminator_placement/mod.rs:132
↓ 12 callersMethodintern_generic_arguments
( &self, arguments: &mut [GenericArgument<'heap>], )
libs/@local/hashql/core/src/type/environment/mod.rs:102
↓ 12 callersMethodinto_parts
(self)
libs/@local/harpc/net/src/session/server/transaction/mod.rs:277
↓ 12 callersMethodinto_type
(self, env: &Environment<'heap>)
libs/@local/hashql/core/src/type/inference/variable.rs:31
↓ 12 callersMethodlen
(&self)
libs/@local/hashql/compiletest/src/harness/test/mod.rs:42
↓ 12 callersMethodlower_expr_to_type
(&mut self, expr: Expr<'heap>)
libs/@local/hashql/ast/src/lowering/special_form_expander/mod.rs:257
↓ 12 callersMethodmap
Transforms the [`Realms<T>`] into a [`Realms<U>`] by applying a function to each value. Maps each value in this container to a new value using the pr
libs/@local/hashql/core/src/module/universe.rs:183
↓ 12 callersMethodmap
Transforms each diagnostic using the provided function. # Examples ``` use hashql_diagnostics::{Diagnostic, DiagnosticIssues, Label, Severity}; # us
libs/@local/hashql/diagnostics/src/issues.rs:472
↓ 12 callersMethodnode_count
(&self)
libs/@local/hashql/core/src/graph/algorithms/tarjan/mod.rs:450
↓ 12 callersFunctionnum_words
(domain_size: usize)
libs/@local/hashql/core/src/id/bit_vec/mod.rs:1529
↓ 12 callersMethodof_mut
Returns mutable transition matrices for all successor edges of `block`.
libs/@local/hashql/mir/src/pass/execution/terminator_placement/mod.rs:296
↓ 12 callersMethodon
(self, cpu: Cpu)
libs/darwin-kperf/events/src/lib.rs:909
↓ 12 callersMethodon
( self, conditions: Vec<Expression>, )
libs/@local/graph/postgres-store/src/store/postgres/query/expression/from_item.rs:589
↓ 12 callersMethodpush_back
Appends a value to the end of the list. # Examples ``` # #![feature(allocator_api)] # extern crate alloc; # use alloc::alloc::Global; use hashql_mir
libs/@local/hashql/mir/src/interpret/value/list.rs:131
↓ 12 callersMethodrequired
(&self)
libs/@blockprotocol/type-system/rust/src/ontology/property_type/schema/object/mod.rs:48
↓ 12 callersFunctionselectStat
( stats: StepStats | null | undefined, measure: BaseMeasure, )
apps/hash-frontend/src/pages/supply-chain/shared/measure-context.ts:60
← previousnext →501–600 of 18,976, ranked by callers