MCPcopy Create free account

hub / github.com/hashintel/hash / functions

Functions18,976 in github.com/hashintel/hash

↓ 28 callersMethodcontains
Returns `true` if the vector contains a value (not `None`) at the given ID index. # Examples ``` # use hashql_core::id::{IdVec, Id as _, newtype}; #
libs/@local/hashql/core/src/id/slice.rs:330
↓ 28 callersMethodcount
()
libs/@hashintel/petrinaut-core/src/simulation/runtime/frame-store.ts:11
↓ 28 callersMethoddecode
( &self, type_id: TypeId, value: JsonValueRef<'_>, )
libs/@local/hashql/eval/src/orchestrator/codec/decode/mod.rs:158
↓ 28 callersMethoddecode
(self, items: S)
libs/@local/harpc/codec/src/lib.rs:74
↓ 28 callersFunctionentityIdFromComponents
( webId: WebId, entityUuid: EntityUuid, draftId?: DraftId, )
libs/@blockprotocol/type-system/typescript/src/native/entity.ts:88
↓ 28 callersMethodinto_iter
(self)
libs/@blockprotocol/type-system/rust/src/knowledge/property/path.rs:146
↓ 28 callersMethodlen
(&self)
libs/@local/graph/postgres-store/src/store/postgres/knowledge/entity/read.rs:72
↓ 28 callersFunctiontake
(self: WriteBuffer)
libs/@local/harpc/client/typescript/src/binary/MutableBuffer.ts:290
↓ 27 callersMethodbuild
(self)
libs/@local/hashql/mir/src/pretty/text.rs:203
↓ 27 callersMethodcancel
(this: void)
libs/@hashintel/petrinaut-core/src/simulation/monte-carlo/runtime/experiment.ts:97
↓ 27 callersMethodcommit
# Errors - if the underlying client cannot commit the transaction
libs/@local/graph/postgres-store/src/store/postgres/mod.rs:3337
↓ 27 callersFunctioncount_regions
( body: &Body<'_>, statement_costs: &TargetArray<StatementCostVec<A>>, terminator_costs: &TargetAr
libs/@local/hashql/mir/src/pass/execution/splitting/mod.rs:71
↓ 27 callersFunctioncreate_link
( api: &mut DatabaseApi<'_>, source: EntityId, target: EntityId, )
libs/@local/graph/postgres-store/tests/deletion/main.rs:352
↓ 27 callersFunctiondeserializeQueryEntitySubgraphResponse
( response: SerializedQueryEntitySubgraphResponse, )
libs/@local/graph/sdk/typescript/src/entity.ts:401
↓ 27 callersFunctionextractVersion
(url: VersionedUrl)
libs/@blockprotocol/type-system/typescript/src/native/url.ts:263
↓ 27 callersFunctiongenerateEntityLabel
( typeData: Subgraph | ClosedMultiEntityType | PartialEntityType | null, entity: { properties: HashEnt
libs/@local/hash-isomorphic-utils/src/generate-entity-label.ts:79
↓ 27 callersMethodinsert_range
(&mut self, range: TextRange)
libs/@local/hashql/syntax-jexpr/src/parser/state.rs:111
↓ 27 callersFunctionpoll_frame_unpin
( body: &mut B, )
libs/@local/harpc/tower/src/body/mod.rs:327
↓ 27 callersMethodsimplify
(self: Type<'heap, Self>, env: &mut SimplifyEnvironment<'_, 'heap>)
libs/@local/hashql/core/src/type/kind/generic/mod.rs:369
↓ 27 callersFunctionsplitEntityId
( entityId: EntityId, )
libs/@blockprotocol/type-system/typescript/src/native/entity.ts:102
↓ 27 callersMethodtype_id
(&self, id: HirId)
libs/@local/hashql/hir/src/map.rs:61
↓ 26 callersMethodas_bytes
(&self)
libs/@local/hashql/core/src/symbol/mod.rs:227
↓ 26 callersFunctionassert_inst_simplify_pass
( name: &'static str, body: Body<'heap>, context: &mut MirContext<'_, 'heap>, )
libs/@local/hashql/mir/src/pass/transform/inst_simplify/tests.rs:32
↓ 26 callersFunctiondecoder
( env: &'env Environment<'heap>, interner: &'env Interner<'heap>, )
libs/@local/hashql/eval/src/orchestrator/codec/decode/tests.rs:18
↓ 26 callersFunctiondominators
( graph: &G, start_node: G::NodeId, )
libs/@local/hashql/core/src/graph/algorithms/dominators/mod.rs:74
↓ 26 callersMethodexecute
Executes the plan. This will run the migrations in the list in the direction specified by the plan. Depending on the direction, the migrations will b
libs/@local/graph/migrations/src/plan.rs:129
↓ 26 callersMethodexpand
Converts a `Report` with a single context into a `Report` with multiple contexts. This function allows for the transformation of a `Report<C>` into a
libs/error-stack/src/report.rs:378
↓ 26 callersMethodfinish
Finalizes the set by sorting and deduplicating the items. This method consumes the `TypeIdSet` and returns a `SmallVec` containing unique `TypeId` va
libs/@local/hashql/core/src/type/collections/type_id_set.rs:110
↓ 26 callersMethodgoto
(id: impl Into<BasicBlockId>)
libs/@local/hashql/mir/src/reify/current.rs:33
↓ 26 callersMethodhash
(&self, state: &mut H)
libs/@local/hashql/core/src/id/vec.rs:643
↓ 26 callersMethodinto_owned
(self)
libs/@local/graph/types/src/embedding.rs:24
↓ 26 callersMethodjoin
( self, #[builder(start_fn)] r#type: JoinType, #[builder(start_fn, into)] from: Self,
libs/@local/graph/postgres-store/src/store/postgres/query/expression/from_item.rs:319
↓ 26 callersMethodto_owned
(&self)
libs/@local/hashql/core/src/id/slice.rs:435
↓ 26 callersMethodunknown
(&self)
libs/@local/hashql/core/src/type/builder.rs:1381
↓ 26 callersFunctionvisit_object
( state: &mut ParserState<'arena, 'source, 'spans>, token: Token<'source>, mut on_item: impl FnMut
libs/@local/hashql/syntax-jexpr/src/parser/object/visit.rs:85
↓ 25 callersMethodas_mut_client
(&mut self)
libs/@local/graph/postgres-store/src/store/postgres/pool.rs:125
↓ 25 callersFunctionassert_begin
(response: &Response, expected: ExpectedBegin<impl AsRef<[u8]> + ?Sized>)
libs/@local/harpc/net/src/session/server/transaction/test.rs:121
↓ 25 callersFunctionassert_decode
(bytes: impl Into<Bytes>, expected: &T, context: T::Context)
libs/@local/harpc/wire-protocol/src/codec/decode.rs:100
↓ 25 callersMethodassign
( mut self, place: impl FnOnce(PlaceBuilder<'env, 'heap, NoLocal>) -> PlaceBuilder<'env, 'heap
libs/@local/hashql/mir/src/builder/basic_block.rs:38
↓ 25 callersMethodbuild_block
(&mut self, block: BasicBlockId)
libs/@local/hashql/mir/src/builder/body.rs:99
↓ 25 callersMethodencode
(self, input: S)
libs/@local/harpc/codec/src/lib.rs:53
↓ 25 callersMethodinsert
Inserts a candidate and re-sorts to maintain ascending cost order.
libs/@local/hashql/mir/src/pass/execution/placement/solve/estimate/mod.rs:101
↓ 25 callersMethodis_empty
(&self)
libs/@local/hashql/core/src/type/kind/struct.rs:65
↓ 25 callersFunctionmake_all_supported_terminator_costs
Creates terminator costs where every target supports every block's terminator.
libs/@local/hashql/mir/src/pass/execution/splitting/tests.rs:96
↓ 25 callersMethodreserve_block
Reserves a new basic block and returns its ID. The block is initialized with a placeholder terminator. Use [`build_block`](Self::build_block) to fill
libs/@local/hashql/mir/src/builder/body.rs:82
↓ 25 callersFunctionresolve
Resolves a place to its ultimate data source by traversing the dependency graph. Starting from `place`, this function follows edges in the dependency
libs/@local/hashql/mir/src/pass/analysis/data_dependency/resolve.rs:376
↓ 25 callersMethodret
Terminates the block with a return.
libs/@local/hashql/mir/src/builder/basic_block.rs:119
↓ 25 callersFunctionsetup_send
( no_delay: bool, )
libs/@local/harpc/net/src/session/server/transaction/test.rs:79
↓ 25 callersFunctionsnapshot_settings
()
libs/@local/hashql/eval/src/postgres/filter/tests.rs:337
↓ 25 callersFunctionuseEntityTypesContextRequired
()
apps/hash-frontend/src/shared/entity-types-context/hooks/use-entity-types-context-required.ts:5
↓ 25 callersFunctionuseIsReadOnly
()
libs/@hashintel/petrinaut/src/react/state/use-is-read-only.ts:14
↓ 25 callersFunctionvisit_array
( state: &mut ParserState<'arena, 'source, 'spans>, token: Token<'source>, mut on_item: impl FnMut
libs/@local/hashql/syntax-jexpr/src/parser/array/visit.rs:36
↓ 25 callersMethodvisit_expr
(&mut self, expr: &mut Expr<'heap>)
libs/@local/hashql/ast/src/visit.rs:189
↓ 24 callersMethodas_ref
(&self)
libs/@local/graph/postgres-store/src/store/postgres/query/expression/identifier.rs:44
↓ 24 callersMethodas_u32
(self)
libs/@local/hashql/core/src/value/primitive/integer.rs:140
↓ 24 callersFunctionassert_codec
(value: &T, context: T::Context)
libs/@local/harpc/wire-protocol/src/codec/decode.rs:129
↓ 24 callersMethodassign_place
( mut self, place: Place<'heap>, rvalue: impl FnOnce(RValueBuilder<'env, 'heap>) -> RV
libs/@local/hashql/mir/src/builder/basic_block.rs:58
↓ 24 callersFunctioncomputeStats
(values: number[])
apps/hash-frontend/src/pages/supply-chain/shared/stats.ts:29
↓ 24 callersMethodcontext
(self, context: C)
libs/@local/graph/migrations/src/plan.rs:224
↓ 24 callersFunctiongetLatestEntityById
( ...args: Parameters<GetLatestEntityByIdFunction<Properties>> )
apps/hash-api/src/graph/knowledge/primitive/entity.ts:192
↓ 24 callersFunctiongetLlmResponse
( llmParams: T, usageTrackingParams: UsageTrackingParams, )
apps/hash-ai-worker-ts/src/activities/shared/get-llm-response.ts:46
↓ 24 callersMethodinsert_type_id
Associates a type ID with the specified HIR node. If the internal storage is not large enough to accommodate the given ID, it will be expanded and fi
libs/@local/hashql/hir/src/map.rs:78
↓ 24 callersMethodinto_iter
(self)
libs/@local/hashql/mir/src/pass/execution/traversal/mod.rs:171
↓ 24 callersMethodmap_category
Transforms the category of each diagnostic. This is useful when moving diagnostics between compilation phases that use different category types. # E
libs/@local/hashql/diagnostics/src/issues.rs:137
↓ 24 callersMethodprovision
(&mut self, id: TypeId)
libs/@local/hashql/core/src/type/environment/simplify.rs:204
↓ 24 callersMethodsyntax
(&self)
libs/@local/hashql/syntax-jexpr/src/lexer/token_kind.rs:49
↓ 24 callersMethodwith_constraints
( mut self, constraints: impl IntoIterator<Item = Constraint<'heap>>, )
libs/@local/hashql/core/src/type/environment/infer.rs:66
↓ 23 callersFunctionall_targets
()
libs/@local/hashql/mir/src/pass/execution/placement/solve/tests.rs:112
↓ 23 callersMethodas_entity
(&self)
libs/@local/hashql/mir/src/pass/execution/traversal/mod.rs:90
↓ 23 callersFunctionbb
(index: u32)
libs/@local/hashql/mir/src/pass/execution/placement/solve/tests.rs:120
↓ 23 callersMethodbuild_policy_set
( &self, actions: impl IntoIterator<Item = ActionName>, )
libs/@local/graph/authorization/src/policies/components.rs:276
↓ 23 callersFunctioncreateSystemPropertyTypeIfNotExists
( context, authentication, { propertyTypeDefinition, migrationState, webShortname }, )
apps/hash-api/src/graph/ensure-system-graph-is-initialized/migrate-ontology-types/util.ts:297
↓ 23 callersMethodcurrent_contexts
Returns an iterator over the current contexts of the `Report`. This method is similar to [`current_context`], but instead of returning a single conte
libs/error-stack/src/report.rs:876
↓ 23 callersFunctiondeserialize
Deserialize a [`Regex`] from a string. # Errors - If the deserialization of the string fails. - If the regex pattern is invalid.
libs/@local/codec/src/serde/mod.rs:63
↓ 23 callersFunctiongetOutgoingLinkAndTargetEntities
( subgraph: Subgraph, entityId: EntityId, interval?: TemporalInterval<TemporalBound, TemporalBound>, )
libs/@blockprotocol/graph/src/stdlib/subgraph/edge/link-entity.ts:300
↓ 23 callersFunctionimplEncode
(closure)
libs/@local/harpc/client/typescript/src/utils.ts:61
↓ 23 callersMethodinsert_range
(&mut self, elems: impl RangeBounds<T>)
libs/@local/hashql/core/src/id/bit_vec/mod.rs:228
↓ 23 callersMethodmap
(self, func: impl FnOnce(T) -> U)
libs/@local/hashql/eval/src/orchestrator/partial.rs:85
↓ 23 callersMethodproject
( self, interner: &Interner<'heap>, r#type: TypeId, kind: ProjectionKind<'heap
libs/@local/hashql/mir/src/body/place.rs:332
↓ 23 callersFunctionsetError
(nextError: string | null)
libs/@hashintel/petrinaut/src/ui/hooks/use-draft-field.ts:65
↓ 23 callersMethodspan
(&mut self, range: Range<usize>)
libs/@local/hashql/syntax-jexpr/src/parser/string/context.rs:30
↓ 23 callersFunctiontake_cyclic
( solver: &mut PlacementSolver<'_, 'alloc, &'alloc Heap, Heap>, )
libs/@local/hashql/mir/src/pass/execution/placement/solve/csp/tests.rs:32
↓ 23 callersMethodtext
()
libs/@hashintel/ds-components/tests/sync-fetch.d.ts:4
↓ 23 callersMethodtuple
(&'this self, fields: impl IntoTypes<'this, 'env, 'heap>)
libs/@local/hashql/core/src/type/builder.rs:1072
↓ 23 callersMethodtuple
( self, operands: impl IntoIterator<Item = impl Into<Operand<'heap>>>, )
libs/@local/hashql/mir/src/builder/rvalue.rs:93
↓ 23 callersMethodvariable_interval
(&self)
libs/@local/graph/store/src/subgraph/temporal_axes.rs:499
↓ 23 callersFunctionversionedUrlFromComponents
( baseUrl: BaseUrl, version: OntologyTypeVersion, )
libs/@blockprotocol/type-system/typescript/src/native/url.ts:328
↓ 22 callersMethodadd_selection_path
(&mut self, path: &'p R::QueryPath<'q>)
libs/@local/graph/postgres-store/src/store/postgres/query/compile.rs:300
↓ 22 callersFunctionalice
()
tests/graph/integration/postgres/sorting.rs:226
↓ 22 callersFunctionassert_data_dependency
( name: &'static str, body: &Body<'heap>, context: &mut MirContext<'_, 'heap>, )
libs/@local/hashql/mir/src/pass/analysis/data_dependency/tests.rs:15
↓ 22 callersFunctionbob
()
tests/graph/integration/postgres/sorting.rs:230
↓ 22 callersFunctioncharles
()
tests/graph/integration/postgres/sorting.rs:234
↓ 22 callersFunctioncheck_principal
( constraint: PrincipalConstraint, value: JsonValue, cedar_string: impl AsRef<str>,
libs/@local/graph/authorization/src/policies/principal/mod.rs:251
↓ 22 callersFunctioncompile_filter_islands
(fixture: &Fixture<'heap>, heap: &'heap Heap)
libs/@local/hashql/eval/src/postgres/filter/tests.rs:153
↓ 22 callersMethodcontains
(&self, block: BasicBlockId)
libs/@local/hashql/mir/src/pass/execution/island/mod.rs:69
↓ 22 callersFunctiongetClosedMultiEntityTypeFromMap
( closedMultiEntityTypes: ClosedMultiEntityTypesRootMap | undefined, entityTypesIds: [VersionedUrl, ...Ver
libs/@local/graph/sdk/typescript/src/entity.ts:924
↓ 22 callersFunctiongetToolCallsFromLlmAssistantMessage
(params: { message: LlmAssistantMessage<ToolName>; })
apps/hash-ai-worker-ts/src/activities/shared/get-llm-response/llm-message.ts:175
↓ 22 callersMethodget_mut
( &mut self, index: R, )
libs/@local/hashql/core/src/id/slice.rs:128
↓ 22 callersFunctionimplDecode
( closure, )
libs/@local/harpc/client/typescript/src/utils.ts:68
↓ 22 callersFunctioninsert
(database: &mut DatabaseTestWrapper)
tests/graph/integration/postgres/sorting.rs:128
← previousnext →201–300 of 18,976, ranked by callers